Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with dtn #339

Open
UltiRequiem opened this issue Mar 30, 2022 · 1 comment
Open

Not working with dtn #339

UltiRequiem opened this issue Mar 30, 2022 · 1 comment

Comments

@UltiRequiem
Copy link

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/cliffy@v0.22.2/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/dnt@0.22.0/mod.ts:276:13)
    at async buildPackage (https://deno.land/x/ultirequiem@0.0.11/node_support.ts:41:3)
@UltiRequiem
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant