@angular/compiler-cli 14.1.0-next.2 → 14.1.0-rc.0

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.
Files changed (84) hide show
  1. package/bundles/{chunk-KGCKQ2PH.js → chunk-24DFPZCS.js} +10 -2
  2. package/bundles/chunk-24DFPZCS.js.map +6 -0
  3. package/bundles/{chunk-W6KM7BUM.js → chunk-4JF5LVDW.js} +5 -8
  4. package/bundles/chunk-4JF5LVDW.js.map +6 -0
  5. package/bundles/{chunk-R4NY3TJC.js → chunk-ACXPVP2W.js} +1 -1
  6. package/bundles/chunk-ACXPVP2W.js.map +6 -0
  7. package/bundles/{chunk-SO3HP2WO.js → chunk-ATB3HJXN.js} +8 -11
  8. package/bundles/chunk-ATB3HJXN.js.map +6 -0
  9. package/bundles/{chunk-WGBFSDVQ.js → chunk-CYVTLM4Z.js} +2 -6
  10. package/bundles/chunk-CYVTLM4Z.js.map +6 -0
  11. package/bundles/{chunk-LX5Q27EF.js → chunk-E7NQQTT7.js} +1 -1
  12. package/bundles/{chunk-LX5Q27EF.js.map → chunk-E7NQQTT7.js.map} +1 -1
  13. package/bundles/{chunk-QGR2YCRK.js → chunk-F2UCYAES.js} +19 -23
  14. package/bundles/chunk-F2UCYAES.js.map +6 -0
  15. package/bundles/{chunk-OLGEBPBY.js → chunk-FM6NPN5V.js} +3 -3
  16. package/bundles/{chunk-OLGEBPBY.js.map → chunk-FM6NPN5V.js.map} +0 -0
  17. package/bundles/{chunk-U2GR6UX6.js → chunk-GDAOEMFN.js} +11 -12
  18. package/bundles/chunk-GDAOEMFN.js.map +6 -0
  19. package/bundles/{chunk-5OLIDMUF.js → chunk-J6ZMRNVQ.js} +5 -9
  20. package/bundles/chunk-J6ZMRNVQ.js.map +6 -0
  21. package/bundles/{chunk-32MQTE7C.js → chunk-LPUQQ2CH.js} +56 -49
  22. package/bundles/chunk-LPUQQ2CH.js.map +6 -0
  23. package/bundles/{chunk-2IMT6JFI.js → chunk-NFCN3OZI.js} +1 -1
  24. package/bundles/chunk-NFCN3OZI.js.map +6 -0
  25. package/bundles/{chunk-T7MYRXIE.js → chunk-TOKOIIBI.js} +2 -2
  26. package/bundles/chunk-TOKOIIBI.js.map +6 -0
  27. package/bundles/{chunk-DSIJ6FBS.js → chunk-WAXJ3P3Y.js} +251 -91
  28. package/bundles/chunk-WAXJ3P3Y.js.map +6 -0
  29. package/bundles/{chunk-GMSUYBZP.js → chunk-XYNRD7NE.js} +1 -33
  30. package/bundles/{chunk-GMSUYBZP.js.map → chunk-XYNRD7NE.js.map} +0 -0
  31. package/bundles/index.js +11 -13
  32. package/bundles/index.js.map +1 -1
  33. package/bundles/linker/babel/index.js +13 -17
  34. package/bundles/linker/babel/index.js.map +1 -1
  35. package/bundles/linker/index.js +5 -5
  36. package/bundles/ngcc/index.js +11 -11
  37. package/bundles/ngcc/main-ngcc.js +12 -12
  38. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +11 -11
  39. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
  40. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +3 -3
  41. package/bundles/private/bazel.js +2 -2
  42. package/bundles/private/localize.js +4 -4
  43. package/bundles/private/migrations.js +6 -6
  44. package/bundles/private/tooling.js +3 -3
  45. package/bundles/src/bin/ng_xi18n.js +9 -12
  46. package/bundles/src/bin/ng_xi18n.js.map +1 -1
  47. package/bundles/src/bin/ngc.js +8 -8
  48. package/bundles_metadata.json +1 -1
  49. package/linker/src/linker_import_generator.d.ts +1 -1
  50. package/ngcc/src/host/commonjs_umd_utils.d.ts +2 -2
  51. package/ngcc/src/host/esm5_host.d.ts +1 -1
  52. package/ngcc/src/packages/build_marker.d.ts +1 -1
  53. package/package.json +2 -2
  54. package/src/ngtsc/core/api/src/public_options.d.ts +1 -1
  55. package/src/ngtsc/core/src/compiler.d.ts +2 -2
  56. package/src/ngtsc/diagnostics/src/error_code.d.ts +49 -1
  57. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +5 -1
  58. package/src/ngtsc/incremental/src/state.d.ts +1 -1
  59. package/src/ngtsc/indexer/src/context.d.ts +1 -1
  60. package/src/ngtsc/metadata/src/registry.d.ts +2 -1
  61. package/src/ngtsc/perf/src/recorder.d.ts +1 -1
  62. package/src/ngtsc/reflection/src/host.d.ts +1 -1
  63. package/src/ngtsc/scope/src/dependency.d.ts +1 -1
  64. package/src/ngtsc/translator/src/api/ast_factory.d.ts +2 -2
  65. package/src/ngtsc/translator/src/import_manager.d.ts +1 -1
  66. package/src/ngtsc/typecheck/extended/api/extended_template_checker.d.ts +1 -1
  67. package/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.d.ts +11 -0
  68. package/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.d.ts +11 -0
  69. package/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.d.ts +11 -0
  70. package/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.d.ts +11 -0
  71. package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
  72. package/src/transformers/api.d.ts +2 -2
  73. package/bundles/chunk-2IMT6JFI.js.map +0 -6
  74. package/bundles/chunk-32MQTE7C.js.map +0 -6
  75. package/bundles/chunk-5OLIDMUF.js.map +0 -6
  76. package/bundles/chunk-DSIJ6FBS.js.map +0 -6
  77. package/bundles/chunk-KGCKQ2PH.js.map +0 -6
  78. package/bundles/chunk-QGR2YCRK.js.map +0 -6
  79. package/bundles/chunk-R4NY3TJC.js.map +0 -6
  80. package/bundles/chunk-SO3HP2WO.js.map +0 -6
  81. package/bundles/chunk-T7MYRXIE.js.map +0 -6
  82. package/bundles/chunk-U2GR6UX6.js.map +0 -6
  83. package/bundles/chunk-W6KM7BUM.js.map +0 -6
  84. package/bundles/chunk-WGBFSDVQ.js.map +0 -6
@@ -12,7 +12,7 @@ import { ImportGenerator, NamedImport } from '../../src/ngtsc/translator';
12
12
  * render, such as Babel.
13
13
  *
14
14
  * Note that, in the linker, there can only be imports from `@angular/core` and that these imports
15
- * must be achieved by property access on an `ng` namespace identifer, which is passed in via the
15
+ * must be achieved by property access on an `ng` namespace identifier, which is passed in via the
16
16
  * constructor.
17
17
  */
18
18
  export declare class LinkerImportGenerator<TExpression> implements ImportGenerator<TExpression> {
@@ -60,7 +60,7 @@ export interface RequireCall extends ts.CallExpression {
60
60
  export declare function findNamespaceOfIdentifier(id: ts.Identifier): ts.Identifier | null;
61
61
  /**
62
62
  * Return the `RequireCall` that is used to initialize the specified `ts.Identifier`, if the
63
- * specified indentifier was indeed initialized with a require call in a declaration of the form:
63
+ * specified identifier was indeed initialized with a require call in a declaration of the form:
64
64
  * `var <id> = require('...')`
65
65
  */
66
66
  export declare function findRequireCallReference(id: ts.Identifier, checker: ts.TypeChecker): RequireCall | null;
@@ -135,7 +135,7 @@ export interface ExportsStatement extends ts.ExpressionStatement {
135
135
  */
136
136
  export declare function isExportsStatement(stmt: ts.Node): stmt is ExportsStatement;
137
137
  /**
138
- * Find the far right hand side of a sequence of aliased assignements of the form
138
+ * Find the far right hand side of a sequence of aliased assignments of the form
139
139
  *
140
140
  * ```
141
141
  * exports.MyClass = alias1 = alias2 = <<declaration>>
@@ -97,7 +97,7 @@ export declare class Esm5ReflectionHost extends Esm2015ReflectionHost {
97
97
  * where the information is stored on a static method of the class.
98
98
  *
99
99
  * In this case the decorators are stored in the body of a method
100
- * (`ctorParatemers`) attached to the constructor function.
100
+ * (`ctorParameters`) attached to the constructor function.
101
101
  *
102
102
  * Note that unlike ESM2015 this is a function expression rather than an arrow
103
103
  * function:
@@ -9,7 +9,7 @@
9
9
  import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
10
10
  import { PackageJsonUpdater } from '../writing/package_json_updater';
11
11
  import { EntryPointPackageJson, PackageJsonFormatProperties } from './entry_point';
12
- export declare const NGCC_VERSION = "14.1.0-next.2";
12
+ export declare const NGCC_VERSION = "14.1.0-rc.0";
13
13
  /**
14
14
  * Returns true if there is a format in this entry-point that was compiled with an outdated version
15
15
  * of ngcc.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler-cli",
3
- "version": "14.1.0-next.2",
3
+ "version": "14.1.0-rc.0",
4
4
  "description": "Angular - the compiler CLI for Node.js",
5
5
  "typings": "index.d.ts",
6
6
  "bin": {
@@ -65,7 +65,7 @@
65
65
  "yargs": "^17.2.1"
66
66
  },
67
67
  "peerDependencies": {
68
- "@angular/compiler": "14.1.0-next.2",
68
+ "@angular/compiler": "14.1.0-rc.0",
69
69
  "typescript": ">=4.6.2 <4.8"
70
70
  },
71
71
  "repository": {
@@ -42,7 +42,7 @@ export interface LegacyNgcOptions {
42
42
  * option only one .metadata.json file is produced that contains all the metadata
43
43
  * necessary for symbols exported from the library index.
44
44
  * In the generated .ngfactory.ts files flat module index is used to import symbols
45
- * including both the public API from the library index as well as shrowded internal
45
+ * including both the public API from the library index as well as shrouded internal
46
46
  * symbols.
47
47
  * By default the .ts file supplied in the `files` field is assumed to be the
48
48
  * library index. If more than one is specified, uses `libraryIndex` to select the
@@ -220,8 +220,8 @@ export declare class NgCompiler {
220
220
  *
221
221
  * Normally, this operation happens lazily whenever `getDiagnostics` or `prepareEmit` are called.
222
222
  * However, certain consumers may wish to allow for an asynchronous phase of analysis, where
223
- * resources such as `styleUrls` are resolved asynchonously. In these cases `analyzeAsync` must be
224
- * called first, and its `Promise` awaited prior to calling any other APIs of `NgCompiler`.
223
+ * resources such as `styleUrls` are resolved asynchronously. In these cases `analyzeAsync` must
224
+ * be called first, and its `Promise` awaited prior to calling any other APIs of `NgCompiler`.
225
225
  */
226
226
  analyzeAsync(): Promise<void>;
227
227
  /**
@@ -174,7 +174,7 @@ export declare enum ErrorCode {
174
174
  */
175
175
  DUPLICATE_VARIABLE_DECLARATION = 8006,
176
176
  /**
177
- * A template has a two way binding (two bindings created by a single syntactial element)
177
+ * A template has a two way binding (two bindings created by a single syntactical element)
178
178
  * in which the input and output are going to different places.
179
179
  */
180
180
  SPLIT_TWO_WAY_BINDING = 8007,
@@ -201,6 +201,54 @@ export declare enum ErrorCode {
201
201
  * but the `CommonModule` is not imported.
202
202
  */
203
203
  MISSING_CONTROL_FLOW_DIRECTIVE = 8103,
204
+ /**
205
+ * A text attribute is not interpreted as a binding but likely intended to be.
206
+ *
207
+ * For example:
208
+ * ```
209
+ * <div
210
+ * attr.x="value"
211
+ * class.blue="true"
212
+ * style.margin-right.px="5">
213
+ * </div>
214
+ * ```
215
+ *
216
+ * All of the above attributes will just be static text attributes and will not be interpreted as
217
+ * bindings by the compiler.
218
+ */
219
+ TEXT_ATTRIBUTE_NOT_BINDING = 8104,
220
+ /**
221
+ * NgForOf is used in a template, but the user forgot to include let
222
+ * in their statement.
223
+ *
224
+ * For example:
225
+ * ```
226
+ * <ul><li *ngFor="item of items">{{item["name"]}};</li></ul>
227
+ * ```
228
+ */
229
+ MISSING_NGFOROF_LET = 8105,
230
+ /**
231
+ * Indicates that the binding suffix is not supported
232
+ *
233
+ * Style bindings support suffixes like `stlye.width.px`, `.em`, and `.%`.
234
+ * These suffixes are _not_ supported for attribute bindings.
235
+ *
236
+ * For example `[attr.width.px]="5"` becomes `width.px="5"` when bound.
237
+ * This is almost certainly unintentional and this error is meant to
238
+ * surface this mistake to the developer.
239
+ */
240
+ SUFFIX_NOT_SUPPORTED = 8106,
241
+ /**
242
+ * The left side of an optional chain operation is not nullable.
243
+ *
244
+ * ```
245
+ * {{ foo?.bar }}
246
+ * {{ foo?.['bar'] }}
247
+ * {{ foo?.() }}
248
+ * ```
249
+ * When the type of foo doesn't include `null` or `undefined`.
250
+ */
251
+ OPTIONAL_CHAIN_NOT_NULLABLE = 8107,
204
252
  /**
205
253
  * The template type-checking engine would need to generate an inline type check block for a
206
254
  * component, but the current type-checking environment doesn't support it.
@@ -18,5 +18,9 @@
18
18
  export declare enum ExtendedTemplateDiagnosticName {
19
19
  INVALID_BANANA_IN_BOX = "invalidBananaInBox",
20
20
  NULLISH_COALESCING_NOT_NULLABLE = "nullishCoalescingNotNullable",
21
- MISSING_CONTROL_FLOW_DIRECTIVE = "missingControlFlowDirective"
21
+ OPTIONAL_CHAIN_NOT_NULLABLE = "optionalChainNotNullable",
22
+ MISSING_CONTROL_FLOW_DIRECTIVE = "missingControlFlowDirective",
23
+ TEXT_ATTRIBUTE_NOT_BINDING = "textAttributeNotBinding",
24
+ MISSING_NGFOROF_LET = "missingNgForOfLet",
25
+ SUFFIX_NOT_SUPPORTED = "suffixNotSupported"
22
26
  }
@@ -68,7 +68,7 @@ export interface AnalyzedIncrementalState {
68
68
  * Incremental state for a compilation that has not been successfully analyzed, but that can be
69
69
  * based on a previous compilation which was.
70
70
  *
71
- * This is the state produced by an incremeental compilation until its own analysis succeeds. If
71
+ * This is the state produced by an incremental compilation until its own analysis succeeds. If
72
72
  * analysis fails, this state carries forward information about which files have changed since the
73
73
  * last successful build (the `lastAnalyzedState`), so that the next incremental build can consider
74
74
  * the total delta between the `lastAnalyzedState` and the current program in its incremental
@@ -38,7 +38,7 @@ export interface ComponentInfo {
38
38
  };
39
39
  }
40
40
  /**
41
- * A context for storing indexing infromation about components of a program.
41
+ * A context for storing indexing information about components of a program.
42
42
  *
43
43
  * An `IndexingContext` collects component and template analysis information from
44
44
  * `DecoratorHandler`s and exposes them to be indexed.
@@ -25,7 +25,8 @@ export declare class LocalMetadataRegistry implements MetadataRegistry, Metadata
25
25
  registerPipeMetadata(meta: PipeMeta): void;
26
26
  }
27
27
  /**
28
- * A `MetadataRegistry` which registers metdata with multiple delegate `MetadataRegistry` instances.
28
+ * A `MetadataRegistry` which registers metadata with multiple delegate `MetadataRegistry`
29
+ * instances.
29
30
  */
30
31
  export declare class CompoundMetadataRegistry implements MetadataRegistry {
31
32
  private registries;
@@ -26,7 +26,7 @@ export declare class ActivePerfRecorder implements PerfRecorder {
26
26
  private currentPhase;
27
27
  private currentPhaseEntered;
28
28
  /**
29
- * Creates an `ActivePerfRecoder` with its zero point set to the current time.
29
+ * Creates an `ActivePerfRecorder` with its zero point set to the current time.
30
30
  */
31
31
  static zeroedToNow(): ActivePerfRecorder;
32
32
  private constructor();
@@ -620,7 +620,7 @@ export interface ReflectionHost {
620
620
  * Determine if an identifier was imported from another module and return `Import` metadata
621
621
  * describing its origin.
622
622
  *
623
- * @param id a TypeScript `ts.Identifer` to reflect.
623
+ * @param id a TypeScript `ts.Identifier` to reflect.
624
624
  *
625
625
  * @returns metadata about the `Import` if the identifier was imported from another module, or
626
626
  * `null` if the identifier doesn't resolve to an import but instead is locally defined.
@@ -35,7 +35,7 @@ export declare class MetadataDtsModuleScopeResolver implements DtsModuleScopeRes
35
35
  * Resolve a `Reference`'d NgModule from a .d.ts file and produce a transitive `ExportScope`
36
36
  * listing the directives and pipes which that NgModule exports to others.
37
37
  *
38
- * This operation relies on a `Reference` instead of a direct TypeScrpt node as the `Reference`s
38
+ * This operation relies on a `Reference` instead of a direct TypeScript node as the `Reference`s
39
39
  * produced depend on how the original NgModule was imported.
40
40
  */
41
41
  resolve(ref: Reference<ClassDeclaration>): ExportScope | null;
@@ -22,7 +22,7 @@ export interface AstFactory<TStatement, TExpression> {
22
22
  */
23
23
  attachComments(statement: TStatement, leadingComments: LeadingComment[]): void;
24
24
  /**
25
- * Create a literal array expresion (e.g. `[expr1, expr2]`).
25
+ * Create a literal array expression (e.g. `[expr1, expr2]`).
26
26
  *
27
27
  * @param elements a collection of the expressions to appear in each array slot.
28
28
  */
@@ -52,7 +52,7 @@ export interface AstFactory<TStatement, TExpression> {
52
52
  * Create an expression that is calling the `callee` with the given `args`.
53
53
  *
54
54
  * @param callee an expression that evaluates to a function to be called.
55
- * @param args the arugments to be passed to the call.
55
+ * @param args the arguments to be passed to the call.
56
56
  * @param pure whether to mark the call as pure (having no side-effects).
57
57
  */
58
58
  createCallExpression(callee: TExpression, args: TExpression[], pure: boolean): TExpression;
@@ -15,7 +15,7 @@ import { ImportGenerator, NamedImport } from './api/import_generator';
15
15
  export interface Import {
16
16
  /** The name of the module that has been imported. */
17
17
  specifier: string;
18
- /** The `ts.Identifer` by which the imported module is known. */
18
+ /** The `ts.Identifier` by which the imported module is known. */
19
19
  qualifier: ts.Identifier;
20
20
  }
21
21
  export declare class ImportManager implements ImportGenerator<ts.Identifier> {
@@ -9,7 +9,7 @@
9
9
  import ts from 'typescript';
10
10
  import { TemplateDiagnostic } from '../../api';
11
11
  /**
12
- * Interface to generate extended template diangostics from the component tempaltes.
12
+ * Interface to generate extended template diagnostics from the component templates.
13
13
  */
14
14
  export interface ExtendedTemplateChecker {
15
15
  /**
@@ -0,0 +1,11 @@
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
+ */
8
+ /// <amd-module name="@angular/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let" />
9
+ import { ErrorCode, ExtendedTemplateDiagnosticName } from '../../../../diagnostics';
10
+ import { TemplateCheckFactory } from '../../api';
11
+ export declare const factory: TemplateCheckFactory<ErrorCode.MISSING_NGFOROF_LET, ExtendedTemplateDiagnosticName.MISSING_NGFOROF_LET>;
@@ -0,0 +1,11 @@
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
+ */
8
+ /// <amd-module name="@angular/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable" />
9
+ import { ErrorCode, ExtendedTemplateDiagnosticName } from '../../../../diagnostics';
10
+ import { TemplateCheckFactory } from '../../api';
11
+ export declare const factory: TemplateCheckFactory<ErrorCode.OPTIONAL_CHAIN_NOT_NULLABLE, ExtendedTemplateDiagnosticName.OPTIONAL_CHAIN_NOT_NULLABLE>;
@@ -0,0 +1,11 @@
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
+ */
8
+ /// <amd-module name="@angular/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported" />
9
+ import { ErrorCode, ExtendedTemplateDiagnosticName } from '../../../../diagnostics';
10
+ import { TemplateCheckFactory } from '../../api';
11
+ export declare const factory: TemplateCheckFactory<ErrorCode.SUFFIX_NOT_SUPPORTED, ExtendedTemplateDiagnosticName.SUFFIX_NOT_SUPPORTED>;
@@ -0,0 +1,11 @@
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
+ */
8
+ /// <amd-module name="@angular/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding" />
9
+ import { ErrorCode, ExtendedTemplateDiagnosticName } from '../../../../diagnostics';
10
+ import { TemplateCheckFactory } from '../../api';
11
+ export declare const factory: TemplateCheckFactory<ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING, ExtendedTemplateDiagnosticName.TEXT_ATTRIBUTE_NOT_BINDING>;
@@ -58,7 +58,7 @@ export declare enum TcbInliningRequirement {
58
58
  */
59
59
  None = 2
60
60
  }
61
- export declare function requiresInlineTypeCheckBlock(ref: Reference<ClassDeclaration<ts.ClassDeclaration>>, env: ReferenceEmitEnvironment, usedPipes: Map<string, Reference<ClassDeclaration<ts.ClassDeclaration>>>, reflector: ReflectionHost): TcbInliningRequirement;
61
+ export declare function requiresInlineTypeCheckBlock(ref: Reference<ClassDeclaration<ts.ClassDeclaration>>, env: ReferenceEmitEnvironment, usedPipes: Reference<ClassDeclaration<ts.ClassDeclaration>>[], reflector: ReflectionHost): TcbInliningRequirement;
62
62
  /** Maps a shim position back to a template location. */
63
63
  export declare function getTemplateMapping(shimSf: ts.SourceFile, position: number, resolver: TemplateSourceResolver, isDiagnosticRequest: boolean): FullTemplateMapping | null;
64
64
  export declare function findTypeCheckBlock(file: ts.SourceFile, id: TemplateId, isDiagnosticRequest: boolean): ts.Node | null;
@@ -61,12 +61,12 @@ export interface CompilerHost extends ts.CompilerHost, ExtendedTsCompilerHost {
61
61
  * E.g.
62
62
  * `some_file.ts` -> `some_file.d.ts`
63
63
  *
64
- * @param referringSrcFileName the soure file that refers to fileName
64
+ * @param referringSrcFileName the source file that refers to fileName
65
65
  */
66
66
  toSummaryFileName?(fileName: string, referringSrcFileName: string): string;
67
67
  /**
68
68
  * Converts a fileName that was processed by `toSummaryFileName` back into a real fileName
69
- * given the fileName of the library that is referrig to it.
69
+ * given the fileName of the library that is referring to it.
70
70
  */
71
71
  fromSummaryFileName?(fileName: string, referringLibFileName: string): string;
72
72
  /**
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../packages/compiler-cli/src/ngtsc/reflection/src/typescript.ts", "../../../../../../packages/compiler-cli/src/ngtsc/reflection/src/host.ts", "../../../../../../packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.ts", "../../../../../../packages/compiler-cli/src/ngtsc/reflection/src/util.ts", "../../../../../../packages/compiler-cli/src/ngtsc/reflection/index.ts"],
4
- "mappings": ";;;;;;AAQA;;;ACAA;AARA,AA0EO,IAAM,YAAY;EACvB,cAAc,CAAC,cAAiC;AAC9C,QAAI,UAAU,SAAS,MAAM;AAC3B,aAAO,UAAU;WACZ;AAEL,aAAQ,UAAiC;;EAE7C;;AAYI,+BAAgC,KAAkB;AACtD,SAAO,GAAG,aAAa,GAAG,KACtB,GAAG,2BAA2B,GAAG,KAAK,GAAG,aAAa,IAAI,UAAU,KACpE,GAAG,aAAa,IAAI,IAAI;AAC9B;AAsBA,IAAY;AAAZ,AAAA,UAAY,kBAAe;AACzB,mBAAA,iBAAA,iBAAA,KAAA;AACA,mBAAA,iBAAA,YAAA,KAAA;AACA,mBAAA,iBAAA,YAAA,KAAA;AACA,mBAAA,iBAAA,cAAA,KAAA;AACA,mBAAA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