Closed cycold closed 8 years ago
isReservedTag?: (tag: string) => ?boolean;
?boolean 表示值只能是boolean, null, undefined(void)
?boolean
expectHTML?: boolean 表示expectHTML只能是void(undefined)或者boolean
expectHTML?: boolean
https://flowtype.org/docs/builtins.html#null-and-void
isReservedTag?: (tag: string) => ?boolean;
?boolean
表示值只能是boolean, null, undefined(void)expectHTML?: boolean
表示expectHTML只能是void(undefined)或者booleanhttps://flowtype.org/docs/builtins.html#null-and-void