angular-docs-cn/packages/core/test/bundling/injection/index.ts

12 lines
297 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Google Inc. 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.io/license
*/
import {INJECTOR, ScopedService} from './usage';
INJECTOR.get(ScopedService).doSomething();