Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Move JSX types to local namespace #914

Open
jcfranco opened this issue Apr 18, 2018 · 1 comment
Open

Move JSX types to local namespace #914

jcfranco opened this issue Apr 18, 2018 · 1 comment

Comments

@jcfranco
Copy link

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
Copy link
Contributor

We plan to update this when we move to TypeScript 2.9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants