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/src/r3_symbols.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
     
    464464 *
    465465 * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by
    466  * the `Injector`. This provides additional level of type safety.
     466 * the `Injector`. This provides an additional level of type safety.
    467467 *
    468468 * ```
    469469 * interface MyInterface {...}
    470  * var myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));
     470 * const myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));
    471471 * // myInterface is inferred to be MyInterface.
    472472 * ```
     
    476476 * `InjectionToken` using this factory as a provider as if it was defined explicitly in the
    477477 * application's root injector. If the factory function, which takes zero arguments, needs to inject
    478  * dependencies, it can do so using the `inject` function. See below for an example.
     478 * dependencies, it can do so using the `inject` function.
     479 * As you can see in the Tree-shakable InjectionToken example below.
    479480 *
    480481 * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which
     
    483484 *
    484485 * @usageNotes
    485  * ### Basic Example
     486 * ### Basic Examples
    486487 *
    487488 * ### Plain InjectionToken
     
    499500    protected _desc: string;
    500501    readonly ɵprov: unknown;
     502    /**
     503     * @param _desc   Description for the token,
     504     *                used only for debugging purposes,
     505     *                it should but does not need to be unique
     506     * @param options Options for the token's usage, as described above
     507     */
    501508    constructor(_desc: string, options?: {
    502509        providedIn?: Type<any> | 'root' | 'platform' | 'any' | null;
Note: See TracChangeset for help on using the changeset viewer.