You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a workaround, I configured my build script to copy all .mts files into a temporary directory, rename their extension to .ts and run better-docs against the temporary directory. This works fine.
Please update the code to accept ".cts" and ".mts" files as discussed at microsoft/TypeScript#27957 (comment)
Currently, I am getting the following error:
ERROR: Unable to parse C:\Users\Gili\Documents\requirements.js\src\ArrayAsserter.mts: Unexpected token, expected "from" (2:0)
in a project that used to work just fine when the extension was
.ts
. I cannot use a.ts
extension for reasons discussed in that other GitHub ticket.Thank you.
The text was updated successfully, but these errors were encountered: