angular/packages/core/primitives/di/index.ts
iteriani ec01599987 refactor(core): Add Constructor type to injection types (#62265)
This allows us to pass in constructors into the inject function

PR Close #62265
2025-06-26 15:55:23 +00:00

14 lines
608 B
TypeScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
export {setCurrentInjector, getCurrentInjector, inject} from './src/injector';
export type {Injector} from './src/injector';
export {NOT_FOUND, NotFoundError, isNotFound} from './src/not_found';
export type {NotFound} from './src/not_found';
export type {InjectionToken, ɵɵInjectableDeclaration} from './src/injection_token';
export {defineInjectable, registerInjectable} from './src/injection_token';