Explain “export =” and “export as namespace” syntax in TypeScript

后端 未结 0 1223
栀梦
栀梦 2021-02-11 15:54

I am trying to make use of the type declarations files in the DefinitelyTyped repository. Many of these files use the following pattern:

export = React;
export a         


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