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

Support JSX (.tsx) #32

Merged
merged 3 commits into from
Feb 9, 2016
Merged

Support JSX (.tsx) #32

merged 3 commits into from
Feb 9, 2016

Conversation

teppeis
Copy link
Owner

@teppeis teppeis commented Feb 9, 2016

fix #30

If options.jsx is JsxEmit.Preserve or JsxEmit.React, TypeScript
compiler accepts JSX.

If you use JsxEmit.React, give 2nd arg false to ignore semantic errors like:

```js
var tss = new TypeScriptSimple({jsx: ts.JsxEmit.React}, false);
```
@teppeis teppeis changed the title Support JSX (.tsx) #30 Support JSX (.tsx) Feb 9, 2016
teppeis added a commit that referenced this pull request Feb 9, 2016
@teppeis teppeis merged commit cc2790a into master Feb 9, 2016
@teppeis teppeis deleted the jsx branch February 9, 2016 12:53
@qndrey
Copy link

qndrey commented Feb 9, 2016

👍

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

Successfully merging this pull request may close these issues.

Is there a way to add support for .tsx files?
2 participants