flow原始数据类型:
boolean,string,number,null,undefined,Symbols(es6中支持)
实例:
// @flow
function method(x: number, y: string, z: boolean) {// ...
}
method(3.14, "hello", true);
// @flow
function method(x: number, y: string, z: boolean) {// ...
}
method(3.14, "hello", true);
本文标题:原始数据类型
本文链接:https://www.haomeiwen.com/subject/svehzxtx.html
网友评论