We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc29eb4 commit 2cfbeb6Copy full SHA for 2cfbeb6
advanced/class.md
@@ -33,7 +33,7 @@ TypeScript 除了实现了所有 ES6 中的类的功能以外,还添加了一
33
34
```js
35
class Animal {
36
- public name;
+ name;
37
constructor(name) {
38
this.name = name;
39
}
0 commit comments