From Get docs
< @angular/coreAngular/docs/8/api/core/defineinjectable


const deprecated

Deprecated: in v8, delete after v10. This API should be used only be generated code, and that code should now use ɵɵdefineInjectable instead.

const defineInjectable: <T>(opts: { token: unknown; providedIn?: Type<any> | "root" | "any"; factory: () => T; }) => never;

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.