Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for DocumentFragment in TypeScript #28

Merged
merged 4 commits into from
Jan 17, 2019
Merged

Conversation

fregante
Copy link
Collaborator

Use as:

import {React} from 'dom-chef';

Source: microsoft/TypeScript#20469

Useful for: refined-github/refined-github#1726

cc @sindresorhus

Use as:

import {React} from 'dom-chef';
index.js Outdated Show resolved Hide resolved
index.js Show resolved Hide resolved
@sindresorhus
Copy link

Can you document it?


```
TS17016: JSX fragment is not supported when using --jsxFactory
```
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this to possibly reach people who google that and to make the exact error clear.

@fregante fregante merged commit a043368 into master Jan 17, 2019
@fregante fregante deleted the typescript-fragment branch January 17, 2019 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants