Octal!
Octal!2w ago

deno_ast 1:1 token location mapping

Is there a way to have transpiled token locations correspond to where they're located in the original source? For example, if you have
let x: string = "hello world";
let x: string = "hello world";
It would transpile to
let x = "hello world";
let x = "hello world";
2 Replies
ioB
ioB2w ago
ts-blank-space
A small, fast, pure JavaScript type-stripper that uses the official TypeScript parser.
ioB
ioB2w ago
Ah, I just saw the title of the question, I don't think deno ast supports this (because the underlying parser doesn't)

Did you find this page helpful?