Skip to content

Commit

Permalink
no type check = better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
roni-frantchi committed Oct 15, 2020
1 parent 9bb4952 commit a90e0b3
Show file tree
Hide file tree
Showing 2 changed files with 3 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.11",
"version": "2.0.12",
"description": "Generate inline JSON schema from TypeScript types",
"files": [
"lib",
Expand Down
3 changes: 2 additions & 1 deletion src/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export const getTransformer = (program: ts.Program) => {
const argNode = node.arguments[0];
const options = argNode ? getOptions(argNode) : {
required: true,
noExtraProps: true
noExtraProps: true,
noTypeCheck: true
};

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

0 comments on commit a90e0b3

Please sign in to comment.