Skip to content

WIP: Add failing test for synthetic default #101

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

Closed

Conversation

amacleay
Copy link

@amacleay amacleay commented Jun 18, 2018

This PR is just here to demonstrate an issue; it may not even be an issue with this package Feel free to close if this is just noisy.

Adds a new test file which imports React with a synthetic default:

import React from 'react';

instead of

import * as React from 'react';

This should be fine using the compiler option allowSyntheticDefaultImports;
however it induces a test failure.

Adds a new test file which imports `React` with a synthetic default:

```
import React from 'react';
```
instead of
```
import * as React from 'react';
```

This should be fine using the compiler option allowSyntheticDefaultImports;
however it induces a test failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant