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);