Explorar o código

TS SimpleEntityValue fix

Leszek Wiesner %!s(int64=4) %!d(string=hai) anos
pai
achega
bf9594c7af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      content-directory-schemas/src/helpers/InputParser.ts

+ 1 - 1
content-directory-schemas/src/helpers/InputParser.ts

@@ -20,7 +20,7 @@ import { CreateClass } from '../../types/extrinsics/CreateClass'
 import { EntityBatch } from '../../types/EntityBatch'
 import { getInputs } from './inputs'
 
-type SimpleEntityValue = string | boolean | number | string[] | boolean[] | number[] | undefined
+type SimpleEntityValue = string | boolean | number | string[] | boolean[] | number[] | undefined | null
 // Input without "new" or "extising" keywords
 type SimpleEntityInput = { [K: string]: SimpleEntityValue }