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
Write a short summary of the bug in here.
When using typia with Index Signatures, invalid JavaScript is generated:
typia
"string" === typeof value[0] || $report(_exceptionable, { path: _path + $join(key[0]", expected: "string", value: value[0] })
https://typia.io/playground/?script=JYWwDg9gTgLgBDAnmYBDOAzKERwERIqp4DcAUGcAHYwCmUGqAxrXAGIQRwDeZccYVDAAWAZwD8ALh59+cANpYc00TCjUA5gF1p81eqrby-AL7kTFJhCqq4AN1QAbYABMhtaQApqYAK4xpXyoAayoIAHcqAEo4AF4APgRkNAA6AEkANSdXIWBrAB4OCETY2UJUpihadyznNzoAUQBHXydRQs54zyjyMisbCEdaFMcIDU9efgc69wAaMhMesiA
import typia from "typia"; interface Foo { paths?: { [from: string]: [string]; }; } const validate: (input: unknown) => typia.IValidation<Foo> = typia.createValidateEquals<Foo>(); console.log({ validate, });
The text was updated successfully, but these errors were encountered:
1235aa2
Merge pull request #1180 from samchon/feature/join
ab2db4e
Fix #1179: tuple type in dynamic object case.
Uprade to v6.5.5, then be fixed.
Sorry, something went wrong.
Thank you @samchon. It works like a charm.
samchon
No branches or pull requests
Bug Report
📝 Summary
Write a short summary of the bug in here.
When using
typia
with Index Signatures, invalid JavaScript is generated:⏯ Playground Link
https://typia.io/playground/?script=JYWwDg9gTgLgBDAnmYBDOAzKERwERIqp4DcAUGcAHYwCmUGqAxrXAGIQRwDeZccYVDAAWAZwD8ALh59+cANpYc00TCjUA5gF1p81eqrby-AL7kTFJhCqq4AN1QAbYABMhtaQApqYAK4xpXyoAayoIAHcqAEo4AF4APgRkNAA6AEkANSdXIWBrAB4OCETY2UJUpihadyznNzoAUQBHXydRQs54zyjyMisbCEdaFMcIDU9efgc69wAaMhMesiA
💻 Code occuring the bug
The text was updated successfully, but these errors were encountered: