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

Fix tsc not catching typescript errors #34

Open
chrstph-dvx opened this issue Feb 24, 2023 · 1 comment
Open

Fix tsc not catching typescript errors #34

chrstph-dvx opened this issue Feb 24, 2023 · 1 comment
Labels

Comments

@chrstph-dvx
Copy link
Contributor

Currently yarn run tsc catch errors from node_modules folder:

❯ yarn run tsc
yarn run v1.22.19
$ /home/.../.bin/tsc
node_modules/@wagmi/core/dist/contracts-3880ee54.d.ts:144:91 - error TS1005: '?' expected.

144 }, TOptions extends Options = DefaultOptions> = TFunction['inputs'] extends infer TInputs extends readonly AbiParameter[] ? Or<IsNever<TInputs>, NotEqual<TAbi, Abi>> extends true ? {
                                                                                              ~~~~~~~

node_modules/@wagmi/core/dist/contracts-3880ee54.d.ts:144:99 - error TS1005: ':' expected.

144 }, TOptions extends Options = DefaultOptions> = TFunction['inputs'] extends infer TInputs extends readonly AbiParameter[] ? Or<IsNever<TInputs>, NotEqual<TAbi, Abi>> extends true ? {
                                                                                                      ~~~~~~~~

It should only catch errors from our own files

@shapkarin
Copy link

shapkarin commented Dec 27, 2023

Outdated bountie?

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

No branches or pull requests

3 participants