@angular/core
Version:
Angular - the core framework
24 lines (20 loc) • 590 B
JavaScript
/**
* @license Angular v20.2.3
* (c) 2010-2025 Google LLC. https://angular.io/
* License: MIT
*/
export { NOT_FOUND, NotFoundError, getCurrentInjector, inject, isNotFound, setCurrentInjector } from '../not_found.mjs';
function defineInjectable(opts) {
return {
token: opts.token,
providedIn: opts.providedIn || null,
factory: opts.factory,
value: undefined,
};
}
function registerInjectable(ctor, declaration) {
ctor.ɵprov = declaration;
return ctor;
}
export { defineInjectable, registerInjectable };
//# sourceMappingURL=di.mjs.map