You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
When running dtslint, it tries to parse the types from NextJS and throws an error given there's a // ts-ignore comment somewhere on them:
$ npx dtslint types
Error: At /Users/lluis.agusti/Code/next-auth/node_modules/next/types/index.d.ts:{"line":14,"character":6}: 'ts-ignore' is forbidden.
at /Users/lluis.agusti/Code/next-auth/node_modules/dtslint/bin/index.js:198:19
at Generator.next (<anonymous>)
at fulfilled (/Users/lluis.agusti/Code/next-auth/node_modules/dtslint/bin/index.js:6:58)
Following the docs, I tried to override that linting rule by writing my own tslint.json but it didn't make the error go away ( maybe it only applies to our declaration files? )