Skip to content

Commit

Permalink
Merge pull request #8 from env0/fix-skip-type-check-flag
Browse files Browse the repository at this point in the history
Fix - noTypeCheck => skipTypeCheck
  • Loading branch information
roni-frantchi authored Nov 24, 2020
2 parents a90e0b3 + 161181b commit 814d0a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "env0-ts-transform-json-schema",
"version": "2.0.12",
"version": "2.0.13",
"description": "Generate inline JSON schema from TypeScript types",
"files": [
"lib",
Expand Down
2 changes: 1 addition & 1 deletion src/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const getTransformer = (program: ts.Program) => {
const options = argNode ? getOptions(argNode) : {
required: true,
noExtraProps: true,
noTypeCheck: true
skipTypeCheck: true
};

if (typeof symbol === "undefined" || symbol === null) {
Expand Down

0 comments on commit 814d0a4

Please sign in to comment.