UNPKG

563 BTypeScriptView Raw
1import PropTypes from 'prop-types';
2export interface DeprecatedDecorator {
3 (version: string, oldProps?: Record<string, any> | null, message?: string): (ComposedComponent: any) => any;
4 deprecatePropValues: (...args: any[]) => PropTypes.Validator<unknown>;
5 warnDeprecatedProps: (...args: any[]) => void;
6 warnDeprecatedComponent: (...args: any[]) => void;
7 changedPackageWarning: (...args: any[]) => string;
8}
9declare const deprecated: DeprecatedDecorator;
10export default deprecated;
11export { deprecated };
12//# sourceMappingURL=deprecated.d.ts.map
\No newline at end of file