Module src/core/functools/warning
Functions
warn
Type parameters
Parameters
Returns T extends (...args: infer A) => infer R ? WarnedFn<A, R> : T
Parameters
Returns void
Type parameters
Parameters
Returns T extends (...args: infer A) => infer R ? WarnedFn<A, R> : T
warned
- warned(target: object, key: string | symbol, descriptor: PropertyDescriptor): void
- warned(opts?: WarnOptions): Function
Parameters
target: object
key: string | symbol
descriptor: PropertyDescriptor
Returns void
Parameters
Returns Function
core/functools/warning
This module provides a bunch of functions and decorators to mark functions with different warnings.