json-schema-to-typescript
json-schema-to-typescript copied to clipboard
wrongly transformed array of string
hello ... i found an issue eslint-types/eslint-define-config that i think comes from the transformation of the jsonschema to typescript
this schema:
https://github.com/eslint/eslint/blob/b91f9dc072f17f5ea79803deb86cf002d031b4cf/lib/rules/camelcase.js#L30
is transformed
to
{
ignoreDestructuring?: boolean
ignoreImports?: boolean
ignoreGlobals?: boolean
properties?: "always" | "never"
allow?: [] | [string]
}
the issue is allow should be string[] instead of [string]