UNPKG

ember-source

Version:

A JavaScript framework for creating ambitious web applications

46 lines (45 loc) 1.33 kB
declare module '@ember/-internals/deprecations' { import type { DeprecationOptions } from '@ember/debug/lib/deprecate'; export function emberVersionGte(until: string, emberVersion?: number): boolean; export function isRemoved(options: DeprecationOptions): boolean; interface DeprecationObject { options: DeprecationOptions; test: boolean; isEnabled: boolean; isRemoved: boolean; } export const DEPRECATIONS: { DEPRECATE_IMPORT_EMBER(importName: string): { options: DeprecationOptions; test: boolean; isEnabled: boolean; isRemoved: boolean; }; DEPRECATE_IMPLICIT_ROUTE_MODEL: { options: DeprecationOptions; test: boolean; isEnabled: boolean; isRemoved: boolean; }; DEPRECATE_TEMPLATE_ACTION: { options: DeprecationOptions; test: boolean; isEnabled: boolean; isRemoved: boolean; }; DEPRECATE_COMPONENT_TEMPLATE_RESOLVING: { options: DeprecationOptions; test: boolean; isEnabled: boolean; isRemoved: boolean; }; DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS: { options: DeprecationOptions; test: boolean; isEnabled: boolean; isRemoved: boolean; }; }; export function deprecateUntil(message: string, deprecation: DeprecationObject): void; export {}; }