mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
It now matches the [newer version of typescript](https://www.typescriptlang.org/docs/handbook/namespaces-and-modules.html) that suggest exporting a namespace as an es6 module rather than declaring a module and exporting that. This also works better with browserify and looking up the type declaration from the es6 import. So: ``` import * as tinymce from 'tinymce' ``` works and there is no need for importing it like: ``` import { tinymce } from 'tinymce' ```