dojo / widget-core

:rocket: Dojo 2 - widget authoring system.
http://dojo.io
Other
34 stars 39 forks source link

Move JSX types to local namespace #914

Open jcfranco opened 6 years ago

jcfranco commented 6 years ago

Enhancement

It'd be nice to move the global JSX typings to a local namespace since TypeScript 2.8 now resolves JSX via the factory function. This is also recommended in their release notes:

Going forward, we recommend that new JSX-oriented libraries avoid placing JSX in the global scope, and instead export it from the same location as the respective factory function.

matt-gadd commented 6 years ago

We plan to update this when we move to TypeScript 2.9