这是tslint 成员访问规则。
在 tslint.json中 ,更改:
"member-access": true
至:
"member-access": [true, "no-public"] // Or false. Read the rule and see what you want.

这是tslint 成员访问规则。
在 tslint.json中 ,更改:
"member-access": true
至:
"member-access": [true, "no-public"] // Or false. Read the rule and see what you want.