Skip to content

ts编译报错:Property 'setSearchVal' has no initializer and is not definitely assigned in the constructor. #14

@cathy1024

Description

@cathy1024

问题描述:
TS2564: Property 'setSearchVal' has no initializer and is not definitely assigned in the constructor.

解决方法:修改tsconfig.json,compilerOptions下面加上"strictPropertyInitialization": false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions