Closed danstarns closed 4 years ago
With this change, you removed the conflict and it looks all good. The transpiled code looks equivalent to the previews one, and the module will be imported like this:
In pure Javascript
const forEmitOf = require('for-emit-of');
With TypeScript using "esModuleInterop": true compilerOption:
import forEmitOf from "for-emit-of";
// or
import forEmitOf = require("for-emit-of");
* With TypeScript using **"esModuleInterop": false** compilerOption:
```ts
import forEmitOf = require("for-emit-of");
I successfully tested it in the four scenarios, If that's the behavior you intend to have, then you're good to go :)
@Farenheith Thanks for taking the time to look 👍
Closes [#9 ]
Remove types script Removes Babel Fix conflicting type definitions
Supports