deno-cliffy icon indicating copy to clipboard operation
deno-cliffy copied to clipboard

Not working with dtn

Open UltiRequiem opened this issue 2 years ago • 1 comments

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)

UltiRequiem avatar Mar 30 '22 03:03 UltiRequiem

I get it working deactivating type-checking, but not ideal https://github.com/denoland/dnt#disabling-type-checking-testing-declaration-emit-or-commonjsumd-output

UltiRequiem avatar Mar 30 '22 03:03 UltiRequiem