@angular/core

defineInjectable

constant
Deprecated
  
    const defineInjectable: <T>(opts: { token: unknown; providedIn?: Type<any> | "root" | "platform" | "any" | "environment"; factory: () => T; }) => unknown;
  
  
Jump to details