Why async function* inferred as () => {}?

后端 未结 0 740
北荒
北荒 2021-01-17 15:32
async function* foo() {}
type T = typeof foo // inferred as () => {} in 4.0.2

Is it a bug or not supported currently?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题