зеркало из https://github.com/microsoft/dtslint.git
even more documentation
This commit is contained in:
Родитель
3322677250
Коммит
3bda597a50
|
@ -56,6 +56,7 @@ module.exports = function () {
|
|||
```
|
||||
|
||||
* A commonjs module.exports assignment is not really an export default, and the d.ts should use the `export =` syntax.
|
||||
* `export default` can only be used to export a commonjs `module.exports =` when you have `esModuleInterop` turned on, which not everybody does.
|
||||
|
||||
**Good**:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче