cycold / cycold.github.io

Please dot not star...
4 stars 1 forks source link

flow #125

Closed cycold closed 8 years ago

cycold commented 8 years ago

isReservedTag?: (tag: string) => ?boolean;

?boolean 表示值只能是boolean, null, undefined(void)

expectHTML?: boolean 表示expectHTML只能是void(undefined)或者boolean

https://flowtype.org/docs/builtins.html#null-and-void