@angular/language-service 12.2.9 → 12.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/ivy.js +10 -10
- package/bundles/language-service.js +14 -7
- package/package.json +1 -1
package/bundles/ivy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v12.2.
|
|
2
|
+
* @license Angular v12.2.10
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -20074,7 +20074,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
20074
20074
|
* Use of this source code is governed by an MIT-style license that can be
|
|
20075
20075
|
* found in the LICENSE file at https://angular.io/license
|
|
20076
20076
|
*/
|
|
20077
|
-
const VERSION$1 = new Version('12.2.
|
|
20077
|
+
const VERSION$1 = new Version('12.2.10');
|
|
20078
20078
|
|
|
20079
20079
|
/**
|
|
20080
20080
|
* @license
|
|
@@ -20713,7 +20713,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
20713
20713
|
function compileDeclareClassMetadata(metadata) {
|
|
20714
20714
|
const definitionMap = new DefinitionMap();
|
|
20715
20715
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
20716
|
-
definitionMap.set('version', literal('12.2.
|
|
20716
|
+
definitionMap.set('version', literal('12.2.10'));
|
|
20717
20717
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
20718
20718
|
definitionMap.set('type', metadata.type);
|
|
20719
20719
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -20753,7 +20753,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
20753
20753
|
function createDirectiveDefinitionMap(meta) {
|
|
20754
20754
|
const definitionMap = new DefinitionMap();
|
|
20755
20755
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
20756
|
-
definitionMap.set('version', literal('12.2.
|
|
20756
|
+
definitionMap.set('version', literal('12.2.10'));
|
|
20757
20757
|
// e.g. `type: MyDirective`
|
|
20758
20758
|
definitionMap.set('type', meta.internalType);
|
|
20759
20759
|
// e.g. `selector: 'some-dir'`
|
|
@@ -20970,7 +20970,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
20970
20970
|
function compileDeclareFactoryFunction(meta) {
|
|
20971
20971
|
const definitionMap = new DefinitionMap();
|
|
20972
20972
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
20973
|
-
definitionMap.set('version', literal('12.2.
|
|
20973
|
+
definitionMap.set('version', literal('12.2.10'));
|
|
20974
20974
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
20975
20975
|
definitionMap.set('type', meta.internalType);
|
|
20976
20976
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -21012,7 +21012,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21012
21012
|
function createInjectableDefinitionMap(meta) {
|
|
21013
21013
|
const definitionMap = new DefinitionMap();
|
|
21014
21014
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
21015
|
-
definitionMap.set('version', literal('12.2.
|
|
21015
|
+
definitionMap.set('version', literal('12.2.10'));
|
|
21016
21016
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
21017
21017
|
definitionMap.set('type', meta.internalType);
|
|
21018
21018
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -21091,7 +21091,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21091
21091
|
function createInjectorDefinitionMap(meta) {
|
|
21092
21092
|
const definitionMap = new DefinitionMap();
|
|
21093
21093
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
21094
|
-
definitionMap.set('version', literal('12.2.
|
|
21094
|
+
definitionMap.set('version', literal('12.2.10'));
|
|
21095
21095
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
21096
21096
|
definitionMap.set('type', meta.internalType);
|
|
21097
21097
|
definitionMap.set('providers', meta.providers);
|
|
@@ -21128,7 +21128,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21128
21128
|
function createNgModuleDefinitionMap(meta) {
|
|
21129
21129
|
const definitionMap = new DefinitionMap();
|
|
21130
21130
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
21131
|
-
definitionMap.set('version', literal('12.2.
|
|
21131
|
+
definitionMap.set('version', literal('12.2.10'));
|
|
21132
21132
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
21133
21133
|
definitionMap.set('type', meta.internalType);
|
|
21134
21134
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -21186,7 +21186,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21186
21186
|
function createPipeDefinitionMap(meta) {
|
|
21187
21187
|
const definitionMap = new DefinitionMap();
|
|
21188
21188
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
21189
|
-
definitionMap.set('version', literal('12.2.
|
|
21189
|
+
definitionMap.set('version', literal('12.2.10'));
|
|
21190
21190
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
21191
21191
|
// e.g. `type: MyPipe`
|
|
21192
21192
|
definitionMap.set('type', meta.internalType);
|
|
@@ -21218,7 +21218,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'os', 'typescript', 'fs', '
|
|
|
21218
21218
|
* Use of this source code is governed by an MIT-style license that can be
|
|
21219
21219
|
* found in the LICENSE file at https://angular.io/license
|
|
21220
21220
|
*/
|
|
21221
|
-
const VERSION$2 = new Version('12.2.
|
|
21221
|
+
const VERSION$2 = new Version('12.2.10');
|
|
21222
21222
|
|
|
21223
21223
|
/**
|
|
21224
21224
|
* @license
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v12.2.
|
|
2
|
+
* @license Angular v12.2.10
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -21611,7 +21611,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'typescript', 'path'], func
|
|
|
21611
21611
|
* Use of this source code is governed by an MIT-style license that can be
|
|
21612
21612
|
* found in the LICENSE file at https://angular.io/license
|
|
21613
21613
|
*/
|
|
21614
|
-
const VERSION$1 = new Version('12.2.
|
|
21614
|
+
const VERSION$1 = new Version('12.2.10');
|
|
21615
21615
|
|
|
21616
21616
|
/**
|
|
21617
21617
|
* @license
|
|
@@ -32143,11 +32143,11 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'typescript', 'path'], func
|
|
|
32143
32143
|
* parameterized type.
|
|
32144
32144
|
*
|
|
32145
32145
|
* `InjectionToken` is parameterized on `T` which is the type of object which will be returned by
|
|
32146
|
-
* the `Injector`. This provides additional level of type safety.
|
|
32146
|
+
* the `Injector`. This provides an additional level of type safety.
|
|
32147
32147
|
*
|
|
32148
32148
|
* ```
|
|
32149
32149
|
* interface MyInterface {...}
|
|
32150
|
-
*
|
|
32150
|
+
* const myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));
|
|
32151
32151
|
* // myInterface is inferred to be MyInterface.
|
|
32152
32152
|
* ```
|
|
32153
32153
|
*
|
|
@@ -32155,14 +32155,15 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'typescript', 'path'], func
|
|
|
32155
32155
|
* (possibly by creating) a default value of the parameterized type `T`. This sets up the
|
|
32156
32156
|
* `InjectionToken` using this factory as a provider as if it was defined explicitly in the
|
|
32157
32157
|
* application's root injector. If the factory function, which takes zero arguments, needs to inject
|
|
32158
|
-
* dependencies, it can do so using the `inject` function.
|
|
32158
|
+
* dependencies, it can do so using the `inject` function.
|
|
32159
|
+
* As you can see in the Tree-shakable InjectionToken example below.
|
|
32159
32160
|
*
|
|
32160
32161
|
* Additionally, if a `factory` is specified you can also specify the `providedIn` option, which
|
|
32161
32162
|
* overrides the above behavior and marks the token as belonging to a particular `@NgModule`. As
|
|
32162
32163
|
* mentioned above, `'root'` is the default value for `providedIn`.
|
|
32163
32164
|
*
|
|
32164
32165
|
* @usageNotes
|
|
32165
|
-
* ### Basic
|
|
32166
|
+
* ### Basic Examples
|
|
32166
32167
|
*
|
|
32167
32168
|
* ### Plain InjectionToken
|
|
32168
32169
|
*
|
|
@@ -32176,6 +32177,12 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'typescript', 'path'], func
|
|
|
32176
32177
|
* @publicApi
|
|
32177
32178
|
*/
|
|
32178
32179
|
class InjectionToken {
|
|
32180
|
+
/**
|
|
32181
|
+
* @param _desc Description for the token,
|
|
32182
|
+
* used only for debugging purposes,
|
|
32183
|
+
* it should but does not need to be unique
|
|
32184
|
+
* @param options Options for the token's usage, as described above
|
|
32185
|
+
*/
|
|
32179
32186
|
constructor(_desc, options) {
|
|
32180
32187
|
this._desc = _desc;
|
|
32181
32188
|
/** @internal */
|
|
@@ -36826,7 +36833,7 @@ define(['exports', 'typescript/lib/tsserverlibrary', 'typescript', 'path'], func
|
|
|
36826
36833
|
/**
|
|
36827
36834
|
* @publicApi
|
|
36828
36835
|
*/
|
|
36829
|
-
const VERSION$2 = new Version$1('12.2.
|
|
36836
|
+
const VERSION$2 = new Version$1('12.2.10');
|
|
36830
36837
|
|
|
36831
36838
|
/**
|
|
36832
36839
|
* @license
|