deno-cliffy
deno-cliffy copied to clipboard
Not working with dtn
You can get this output at the moment of running https://github.com/UltiRequiem/is-number/blob/main/scripts/node_support.ts
node/src/deps/deno.land/x/[email protected]/command/command.ts:1243:34 - error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
1243 protected error(error: Error): Error {
~~~~~
error: Uncaught (in promise) Error: Had 1 diagnostics.
throw new Error(`Had ${diagnostics.length} diagnostics.`);
^
at build (https://deno.land/x/[email protected]/mod.ts:276:13)
at async buildPackage (https://deno.land/x/[email protected]/node_support.ts:41:3)
I get it working deactivating type-checking, but not ideal https://github.com/denoland/dnt#disabling-type-checking-testing-declaration-emit-or-commonjsumd-output