Skip to content

Commit 832a0cf

Browse files
committed
added null to SchemaType; exported SchemaType
1 parent 7eedde8 commit 832a0cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/classes/Entity.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ import parseProjections, { ProjectionAttributes } from '../lib/projectionBuilder
2121
import { error, transformAttr, isEmpty } from '../lib/utils'
2222
import { Document } from 'aws-sdk/clients/textract'
2323

24-
type SchemaType =
24+
export type SchemaType =
2525
| string
2626
| number
2727
| boolean
28+
| null
2829
| { [key: string]: SchemaType }
2930
| SchemaType[]
3031

0 commit comments

Comments
 (0)