📜  typescript lambda 类型参数 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:28.646000             🧑  作者: Mango

代码示例1
// For .ts (not .tsx)
const func = () => { 
}

// For react Typescript (.tsx)
const func = () => {
}

// For older versions of react typescript
const func = () => {
  
}