Browse Source

TS SimpleEntityValue fix

Leszek Wiesner 4 năm trước cách đây
mục cha
commit
bf9594c7af
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 }