We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
citty 0.1.11 nodejs 16 pnpm 8
https://stackblitz.com/edit/stackblitz-starters-kvn1gq?file=src%2Findex.ts
Type 'ParsedArgs<ArgsDef>' is not assignable to type 'Record<"blah", string>'
{ "compilerOptions": { "target": "ESNext", "module": "ESNext", "moduleResolution": "Node", "esModuleInterop": true, "strict": true }, "include": ["src"] }
The ts error is gone when i set strict to false in tsconfig.json
strict
false
No response
The text was updated successfully, but these errors were encountered:
@pi0 created a PR #38 to fix this 🙏🏻
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Environment
citty 0.1.11
nodejs 16
pnpm 8
Reproduction
https://stackblitz.com/edit/stackblitz-starters-kvn1gq?file=src%2Findex.ts
Describe the bug
Type 'ParsedArgs<ArgsDef>' is not assignable to type 'Record<"blah", string>'
TS config:
Additional context
The ts error is gone when i set
strict
tofalse
in tsconfig.jsonLogs
No response
The text was updated successfully, but these errors were encountered: