flowtype – 函数声明中可重用函数类型的语法 2019年7月28日 编程问答 0条评论 249次阅读 0人点赞 这是您将变量/常量注释为保存特定类型的函数的方法: declare type TFunction = () => any; const foo: TFunction = function foo() {}; 声明函…