Why the ES2015 module syntax is preferred over custom TypeScript namespaces?

前端 未结 0 3028
后悔当初
后悔当初 2021-01-30 12:43

From typescript-eslint docs:

Custom TypeScript modules (module foo {}) and namespaces (namespace foo {}) are considered outdate

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