Skip to content

Commit

Permalink
update tsImport type to include arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed May 24, 2023
1 parent 15adeeb commit ff088ae
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# changelog

## 0.75.5

- update `@ryanatkn/json-schema-to-typescript` dep,
changing `tsImport` type from `string` to `string | string[]`

## 0.75.4

- export `VocabSchema` type from root
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"dependencies": {
"@feltjs/util": "^0.8.0",
"@rollup/pluginutils": "^5.0.2",
"@ryanatkn/json-schema-to-typescript": "^11.1.4",
"@ryanatkn/json-schema-to-typescript": "^11.1.5",
"@types/source-map-support": "^0.5.6",
"cheap-watch": "^1.0.4",
"es-module-lexer": "^1.2.1",
Expand Down
1 change: 1 addition & 0 deletions src/gen/fixtures/someTestObject.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const SomeTestObjectSchema: VocabSchema = {
},
},
required: ['a', 'b'],
tsImport: [],
additionalProperties: false,
};

Expand Down

0 comments on commit ff088ae

Please sign in to comment.