Skip to content

angularCompilerOptions.strictTemplates in tsconfig.app.json generates error TS2741: Property 'options' is missing in type 'ITreeOptions' but required in type 'TreeOptions' #795

@KeithGillette

Description

@KeithGillette

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 TreeOptions in 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions