Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/@angular/core/core.d.ts

    r59329aa re29cc2e  
    11/**
    2  * @license Angular v12.2.9
     2 * @license Angular v12.2.13
    33 * (c) 2010-2021 Google LLC. https://angular.io/
    44 * License: MIT
     
    35793579 *
    35803580 * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by
    3581  * the `Injector`. This provides additional level of type safety.
     3581 * the `Injector`. This provides an additional level of type safety.
    35823582 *
    35833583 * ```
    35843584 * interface MyInterface {...}
    3585  * var myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));
     3585 * const myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));
    35863586 * // myInterface is inferred to be MyInterface.
    35873587 * ```
     
    35913591 * `InjectionToken` using this factory as a provider as if it was defined explicitly in the
    35923592 * application's root injector. If the factory function, which takes zero arguments, needs to inject
    3593  * dependencies, it can do so using the `inject` function. See below for an example.
     3593 * dependencies, it can do so using the `inject` function.
     3594 * As you can see in the Tree-shakable InjectionToken example below.
    35943595 *
    35953596 * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which
     
    35983599 *
    35993600 * @usageNotes
    3600  * ### Basic Example
     3601 * ### Basic Examples
    36013602 *
    36023603 * ### Plain InjectionToken
     
    36143615    protected _desc: string;
    36153616    readonly ɵprov: unknown;
     3617    /**
     3618     * @param _desc   Description for the token,
     3619     *                used only for debugging purposes,
     3620     *                it should but does not need to be unique
     3621     * @param options Options for the token's usage, as described above
     3622     */
    36163623    constructor(_desc: string, options?: {
    36173624        providedIn?: Type<any> | 'root' | 'platform' | 'any' | null;
Note: See TracChangeset for help on using the changeset viewer.