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

后端 未结 0 596
旧巷少年郎
旧巷少年郎 2021-02-11 15:33

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         


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