Fix typo in TypeScript 3.1 release notes PR996

This commit is contained in:
zhongsp 2019-09-17 20:09:09 +08:00
parent b3bcdebdb7
commit 363716af47

View File

@ -40,7 +40,7 @@ readImage.sync = (path: string) => {
此外这种属性声明的方式允许我们表达一些常见的模式例如React无状态函数型组件SFCs里的`defaultProps`和`propTpes` 。
```ts
export const FooComponent => ({ name }) => (
export const FooComponent = ({ name }) => (
<div>Hello! I am {name}</div>
);