Skip to content

Commit ff8af0b

Browse files
authored
Merge pull request dynamodb-toolbox#128 from famouspotatoes/master
added null to SchemaType; exported SchemaType
2 parents 7eedde8 + 832a0cf commit ff8af0b

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)