near-typescript-json-schema
Advanced tools
Comparing version 0.54.1 to 0.55.0
20
api.md
@@ -1831,18 +1831,20 @@ _Auto-generated file. Updated with NPM deploy. Update manually with 'yarn docs'._ | ||
boolean1: boolean = true; | ||
boolean1: boolean = true; | ||
number1: number = 1; | ||
number1: number = 1; | ||
/** @TJS-type integer */ | ||
integer1: number = 1; | ||
integer2: integer = 1; | ||
integer1: number = 1; | ||
integer2: integer = 1; | ||
string1: string = "defaultValue"; | ||
bigint1: bigint = null; | ||
array1: Array<any> = null; | ||
string1: string = "defaultValue"; | ||
array1: Array<any> = null; | ||
array2: Array<number> = null; | ||
object1: any = null; | ||
object2: {} = null; | ||
object3: object = null; | ||
object1: any = null; | ||
object2: {} = null; | ||
object3: object = null; | ||
@@ -1849,0 +1851,0 @@ } |
@@ -453,2 +453,5 @@ "use strict"; | ||
} | ||
else if (flags & ts.TypeFlags.BigInt) { | ||
definition.type = "integer"; | ||
} | ||
else if (flags & ts.TypeFlags.Boolean) { | ||
@@ -455,0 +458,0 @@ definition.type = "boolean"; |
{ | ||
"name": "near-typescript-json-schema", | ||
"version": "0.54.1", | ||
"version": "0.55.0", | ||
"description": "typescript-json-schema generates JSON Schema files from your Typescript sources", | ||
@@ -5,0 +5,0 @@ "main": "dist/typescript-json-schema.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
235084
3336