Skip to content

Commit 4407abd

Browse files
committed
feat: export PrimitiveLiteralType
1 parent 368f08b commit 4407abd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/index.js.flow

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import NumericLiteralType from './types/NumericLiteralType'
1515
import ObjectType from './types/ObjectType'
1616
import ObjectTypeProperty from './types/ObjectTypeProperty'
1717
import oneOf from './oneOf'
18+
import PrimitiveLiteralType from './types/PrimitiveLiteralType'
1819
import RecordType from './types/RecordType'
1920
import RuntimeTypeError from './errorReporting/RuntimeTypeError'
2021
import RuntimeTypeErrorItem from './errorReporting/RuntimeTypeErrorItem'
@@ -47,6 +48,7 @@ export {
4748
ObjectType,
4849
ObjectTypeProperty,
4950
oneOf,
51+
PrimitiveLiteralType,
5052
RecordType,
5153
RuntimeTypeError,
5254
RuntimeTypeErrorItem,

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import NumericLiteralType from './types/NumericLiteralType'
1313
import ObjectType from './types/ObjectType'
1414
import ObjectTypeProperty from './types/ObjectTypeProperty'
1515
import oneOf from './oneOf'
16+
import PrimitiveLiteralType from './types/PrimitiveLiteralType'
1617
import RecordType from './types/RecordType'
1718
import RuntimeTypeError from './errorReporting/RuntimeTypeError'
1819
import RuntimeTypeErrorItem from './errorReporting/RuntimeTypeErrorItem'
@@ -45,6 +46,7 @@ export {
4546
ObjectType,
4647
ObjectTypeProperty,
4748
oneOf,
49+
PrimitiveLiteralType,
4850
RecordType,
4951
RuntimeTypeError,
5052
RuntimeTypeErrorItem,

0 commit comments

Comments
 (0)