source: trip-planner-front/node_modules/@angular/cdk/portal/portal-injector.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 686 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Injector } from '@angular/core';
9/**
10 * Custom injector to be used when providing custom
11 * injection tokens to components inside a portal.
12 * @docs-private
13 * @deprecated Use `Injector.create` instead.
14 * @breaking-change 11.0.0
15 */
16export declare class PortalInjector implements Injector {
17 private _parentInjector;
18 private _customTokens;
19 constructor(_parentInjector: Injector, _customTokens: WeakMap<any, any>);
20 get(token: any, notFoundValue?: any): any;
21}
Note: See TracBrowser for help on using the repository browser.