File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed
goldens/public-api/compiler-cli
compiler-cli/src/ngtsc/core/api/src
language-service/testing/src Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,15 @@ export interface MiscOptions {
60
60
compileNonExportedClasses? : boolean ;
61
61
disableTypeScriptVersionCheck? : boolean ;
62
62
forbidOrphanComponents? : boolean ;
63
- typeCheckHostBindings? : boolean ;
64
63
}
65
64
66
65
// @public
67
- export interface StrictTemplateOptions {
66
+ export interface TargetOptions {
67
+ compilationMode? : ' full' | ' partial' | ' experimental-local' ;
68
+ }
69
+
70
+ // @public
71
+ export interface TypeCheckingOptions {
68
72
strictAttributeTypes? : boolean ;
69
73
strictContextGenerics? : boolean ;
70
74
strictDomEventTypes? : boolean ;
@@ -76,11 +80,7 @@ export interface StrictTemplateOptions {
76
80
strictOutputEventTypes? : boolean ;
8000
77
81
strictSafeNavigationTypes? : boolean ;
78
82
strictTemplates? : boolean ;
79
- }
80
-
81
- // @public
82
- export interface TargetOptions {
83
- compilationMode? : ' full' | ' partial' | ' experimental-local' ;
83
+ typeCheckHostBindings? : boolean ;
84
84
}
85
85
86
86
// (No @packageDocumentation comment for this package)
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import {
14
14
I18nOptions ,
15
15
LegacyNgcOptions ,
16
16
MiscOptions ,
17
- StrictTemplateOptions ,
17
+ TypeCheckingOptions ,
18
18
TargetOptions
8000
,
19
19
} from './public_options' ;
20
20
@@ -148,7 +148,7 @@ export interface NgCompilerOptions
148
148
LegacyNgcOptions ,
149
149
BazelAndG3Options ,
150
150
DiagnosticOptions ,
151
- StrictTemplateOptions ,
151
+ TypeCheckingOptions ,
152
152
TestOnlyOptions ,
153
153
I18nOptions ,
154
154
TargetOptions ,
Original file line number Diff line number Diff line change @@ -89,11 +89,14 @@ export interface LegacyNgcOptions {
89
89
}
90
90
91
91
/**
92
- * Options related to template type-checking and its strictness.
92
+ * Options related to Angular-specific type-checking and its strictness.
93
93
*
94
94
* @publicApi
95
95
*/
96
- export interface StrictTemplateOptions {
96
+ export interface TypeCheckingOptions {
97
+ /** Whether type checking of host bindings is enabled. */
98
+ typeCheckHostBindings ?: boolean ;
99
+
97
100
/**
98
101
* If `true`, implies all template strictness flags below (unless individually disabled).
99
102
*
@@ -430,9 +433,6 @@ export interface TargetOptions {
430
433
* @publicApi
431
434
*/
432
435
export interface MiscOptions {
433
- /** Whether type checking of host bindings is enabled. */
434
- typeCheckHostBindings ?: boolean ;
435
-
436
436
/**
437
437
* Whether the compiler should avoid generating code for classes that haven't been exported.
438
438
* Defaults to `true`.
Original file line number Diff line number Diff line change 9
9
import {
10
10
InternalOptions ,
11
11
LegacyNgcOptions ,
12
- StrictTemplateOptions ,
12
+ TypeCheckingOptions ,
13
13
} from '@angular/compiler-cli/src/ngtsc/core/api' ;
14
14
import {
15
15
absoluteFrom ,
@@ -63,7 +63,7 @@ function writeTsconfig(
63
63
) ;
64
64
}
65
65
66
- export type TestableOptions = StrictTemplateOptions &
66
+ export type TestableOptions = TypeCheckingOptions &
67
67
InternalOptions &
68
68
Pick < LegacyNgcOptions , 'fullTemplateTypeCheck' > ;
69
69
You can’t perform that action at this time.
0 commit comments