Angular error TS2564: Property 'xx' has no initializer and is not definitely assigned in the constructor.

Angular About 151 words

解决办法

编辑tsconfig.json

compilerOptions下添加:"strictPropertyInitialization":false

{
  "compilerOptions": {
    "strictPropertyInitialization":false,
  } 
}
Views: 1,701 · Posted: 2022-08-18

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh