diff --git a/packages/types/src/Literals.ts b/packages/types/src/Literals.ts new file mode 100644 index 0000000..a4be205 --- /dev/null +++ b/packages/types/src/Literals.ts @@ -0,0 +1,2 @@ +export type LiteralPick = I; +export type LiteralExclude = Exclude; diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 2236d8f..539201a 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -16,5 +16,6 @@ export type * from './TypeGuards.js'; export type * from './VoidProps.js'; export type * from './FunctionOnly.js'; export type * from './FunctionParams.js'; +export type * from './Literals.js'; export type { Class } from 'type-fest';