UNPKG

472 BTypeScriptView Raw
1/**
2 * Method property decorator factory. Augments original method with
3 * deprecation message (via console), shown when method is invoked.
4 * Accepts optional message arg. Throws error if assigned property
5 * is not a function.
6 *
7 * @param msg - deprecation message
8 */
9export declare const deprecated: (msg?: string, log?: {
10 (...data: any[]): void;
11 (message?: any, ...optionalParams: any[]): void;
12}) => MethodDecorator;
13//# sourceMappingURL=deprecated.d.ts.map
\No newline at end of file