From 4290c29a0b50eaca4f37b70e7ae559392961b935 Mon Sep 17 00:00:00 2001 From: Simon Fan Date: Sat, 27 Feb 2021 15:26:46 -0300 Subject: [PATCH] feat(type): expose CORE_EXPRESSIONS --- src/__snapshots__/index.spec.ts.snap | 1 + src/expressions/type.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/__snapshots__/index.spec.ts.snap b/src/__snapshots__/index.spec.ts.snap index 2f53fe2..468d5c4 100644 --- a/src/__snapshots__/index.spec.ts.snap +++ b/src/__snapshots__/index.spec.ts.snap @@ -90,6 +90,7 @@ Array [ "$stringToLowerCase", "$stringInterpolate", "STRING_EXPRESSIONS", + "CORE_TYPES", "typeExpressions", "$type", "$isType", diff --git a/src/expressions/type.ts b/src/expressions/type.ts index e526de6..832cada 100644 --- a/src/expressions/type.ts +++ b/src/expressions/type.ts @@ -60,7 +60,7 @@ export const typeExpressions = ( const [$type, $isType] = typeExpressions(CORE_TYPES) -export { $type, $isType } +export { $type, $isType, CORE_TYPES } export const TYPE_EXPRESSIONS = { $type,