You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
angularCompilerOptions.strictTemplates in tsconfig.app.json generates error TS2741: Property 'options' is missing in type 'ITreeOptions' but required in type 'TreeOptions'#795
Closed
KeithGillette opened this issue
Feb 19, 2020
· 0 comments
· Fixed by #831
AOT build under Angular 9 with angularCompilerOptions.strictTemplates: true in tsconfig.app.json generates error TS2741: Property 'options' is missing in type 'ITreeOptions' but required in type 'TreeOptions' because the @Input options is incorrectly typed as TreeOptionsin the code, requiring a full TreeOptions object to be passed from the controller binding, though the documentation clearly states the @Input options is an object of type ITreeOptions, which is a partial of TreeOptions.
The text was updated successfully, but these errors were encountered:
AOT build under Angular 9 with
angularCompilerOptions.strictTemplates: true
intsconfig.app.json
generateserror TS2741: Property 'options' is missing in type 'ITreeOptions' but required in type 'TreeOptions'
because the@Input options
is incorrectly typed asTreeOptions
in the code, requiring a fullTreeOptions
object to be passed from the controller binding, though the documentation clearly states the@Input options
is an object of typeITreeOptions
, which is a partial ofTreeOptions
.The text was updated successfully, but these errors were encountered: