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
'const' modifier can only appear on a type parameter of a function, method or class
const Context extends TOpt['context'] = TOpt['context'],
node_modules\i18next\typescript\t.d.ts
export type ParseKeys< Ns extends Namespace = DefaultNamespace, TOpt extends TOptions = {}, KPrefix = undefined, Keys extends $Dictionary = KeysByTOptions<TOpt>, ActualNS extends Namespace = NsByTOptions<Ns, TOpt>, const Context extends TOpt['context'] = TOpt['context'], > = $IsResourcesDefined extends true ? FilterKeysByContext< | ParseKeysByKeyPrefix<Keys[$FirstNamespace<ActualNS>], KPrefix> | ParseKeysByNamespaces<ActualNS, Keys> | ParseKeysByFallbackNs<Keys>, Context > : string;
export type ParseKeys< Ns extends Namespace = DefaultNamespace, TOpt extends TOptions = {}, KPrefix = undefined, Keys extends $Dictionary = KeysByTOptions<TOpt>, ActualNS extends Namespace = NsByTOptions<Ns, TOpt>, Context extends TOpt['context'] = TOpt['context'], > = $IsResourcesDefined extends true ? FilterKeysByContext< | ParseKeysByKeyPrefix<Keys[$FirstNamespace<ActualNS>], KPrefix> | ParseKeysByNamespaces<ActualNS, Keys> | ParseKeysByFallbackNs<Keys>, Context > : string;
The text was updated successfully, but these errors were encountered:
same here
Sorry, something went wrong.
I'll take a look at this issue later.
I think that the issue is present when compilerOptions.skipLibCheck is false. Right it is set to true, so that's why test haven't catch it:
compilerOptions.skipLibCheck
false
true
i18next/tsconfig.json
Line 15 in e8efbf0
skipLibCheck
ParseKeysByNamespaces
marcalexiei
Successfully merging a pull request may close this issue.
🐛 Bug Report
'const' modifier can only appear on a type parameter of a function, method or class
const Context extends TOpt['context'] = TOpt['context'],
To Reproduce
node_modules\i18next\typescript\t.d.ts
Expected behavior
Your Environment
The text was updated successfully, but these errors were encountered: