We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb6702e commit 9ce2821Copy full SHA for 9ce2821
packages/schema-typescript/src/schema.ts
@@ -130,7 +130,7 @@ function createInterfaceDeclaration(
130
if (schema.additionalProperties) {
131
const additionalType =
132
typeof schema.additionalProperties === 'boolean'
133
- ? t.tsStringKeyword()
+ ? t.tsAnyKeyword()
134
: getTypeForProp(ctx, schema.additionalProperties, [], schema);
135
const indexSignature = t.tsIndexSignature(
136
[t.identifier('key')], // index name, can be any valid name
0 commit comments