W3cubDocs

/Angular

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–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/defineInjectable