Ask questions`deno bundle` produce typescript file
Are there plans to support typescript output for the
deno bundle command?
Are there plans to emit typescript declaration files when creating an esm bundle with
I think these are important features.
Answer questions kitsonk
I don't think anyone said TypeScript is the source of truth. It is a first class language. Outputting to a TypeScript bundle is inefficient, as it would require reparsing again. Outputting the
.d.ts file is just as truthful as outputting TypeScript and more efficient and subsequent consumption.
Source maps is #4499.