Is in planning to support suffix with ".mjs"?
koji-k opened this issue · comments
gentype generates tsx
file assuming bs.js
.
(I know this is limitation of gentype)
like:
// @ts-ignore: Implicit any on import
import * as HelloRescriptBS__Es6Import from './HelloRescript.bs';
HelloRescript.bs.js
does not exists. there is HelloRescript.mjs
.
I want to use gentype with TypeScript for Svelte application.
And for test bs-jest
.
For Svelte, ReScript must be builded as es6.
And suffix must be ".mjs" for bs-jst.
I hope that some time be supported "mjs".
Like this? #522
Yes!!
Thank you very much for your so quick response and action!
I tried to build current code of master branch of genType.
and i tested with the created GenType.exe my Svelte application and Jest tests.
Everything worked fine!
I can not wait for this commit to be officially released.
really thanks :)
Fantastic.
I guess you're unblocked and don't need a new release straight away.