flow generic type for function [removed]arrow functions)

前端 未结 3 616
旧巷少年郎
旧巷少年郎 2021-02-07 21:48

I usually try to keep flow function types separate from their implementation. It\'s a slightly more readable when I write:

type Fn = string => string;
const a         


        
3条回答
提交回复
热议问题