Browse Source

TS SimpleEntityValue fix

Leszek Wiesner 4 years ago
parent
commit
bf9594c7af
1 changed files with 1 additions and 1 deletions
  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 }