Skip to content

Feature request: Configuration option to disable generation of [k: string]: unknown #335

Closed
@binaryunary

Description

@binaryunary

Hi,

Would you consider adding a config option to disable generation of [k: string]: unknown; if additionalProperties is not explicitly set to false?

I understand that technically the current behavior is correct as it follows the spec but [k: string]: unknown; allows referencing any arbitrary properties and makes it difficult to catch errors at compile time.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions