➜ deno --version
deno 1.2.2
v8 8.5.216
typescript 3.9.2
Running deno info --no-check cli.ts on https://github.com/halvardssm/deno-nessie throws the following error:
error: Uncaught SyntaxError: Unexpected token '['
public available_actions: Array<Command> = [];
^
at <https://deno.land/x/[email protected]/src/Kernel.ts>:35:1
FYI kind of unrelated, but you won't be able to run it on deno v1.2.2 because dependencies nessie uses are std v0.55.0
@bartlomieju looks like the type stripping isn't stripping types. 😭
@ebebbington this was while trying to get a graph of dependencies to help fix that :wink:
@ebebbington this was while trying to get a graph of dependencies to help fix that 😉
Oh yeah course! 🤣
Reported in SWC repo https://github.com/swc-project/swc/issues/921
This issue will be fixed in v1.2.3 next week.
Most helpful comment
@bartlomieju looks like the type stripping isn't stripping types. 😭