UNPKG

@stylable/core

Version:

CSS for Components

18 lines 723 B
export declare function setFieldForDeprecation(object: object, fieldName: string, options?: { objectType?: string; pleaseUse?: string; enumerable?: boolean; valueOnThis?: boolean; }): void; export declare function wrapFunctionForDeprecation<FUNC extends (this: any, ...args: any[]) => any>(func: FUNC, options: { name: string; pleaseUse?: string; }): FUNC; export declare function warnOnce(warning: string): void; /** * prevent deprecation warn calls during action * @param action to be called with no deprecation warnings * @returns return value of action */ export declare function ignoreDeprecationWarn<T extends () => any>(action: T): ReturnType<T>; //# sourceMappingURL=deprecation.d.ts.map