20 lines
		
	
	
		
			669 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			669 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /**
 | |
|  * @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 {Type} from '../interface/type';
 | |
| import {InjectionToken} from './injection_token';
 | |
| 
 | |
| 
 | |
| /**
 | |
|  * An internal token whose presence in an injector indicates that the injector should treat itself
 | |
|  * as a root scoped injector when processing requests for unknown tokens which may indicate
 | |
|  * they are provided in the root scope.
 | |
|  */
 | |
| export const APP_ROOT = new InjectionToken<boolean>(
 | |
|     'The presence of this token marks an injector as being the root injector.');
 |