package with `-` in name produces invalid module name with `-`
Closed this issue · 0 comments
Booksbaum commented
package with - in name produces invalid module name with -
node --require esm .\build\cli\ts2fable.js .\node_modules\@types\strip-bom\index.d.ts ./strip-bom.fs
ts2fable 0.0.0
export ..\node_modules@types\strip-bom\index.d.ts
createIExportsModule [strip-bom],
strip-bom.fs:
module rec strip-bom
//...module name with - is invalid and should be in double-backticks:
module rec ``strip-bom``
//...