From 546dcd049e25a6826244d1ce5fa4a7c2adc4f22a Mon Sep 17 00:00:00 2001 From: K <1175047471@qq.com> Date: Thu, 11 Jan 2024 15:27:05 +0800 Subject: [PATCH] chore: fix type not exported --- src/types/utils.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/utils.d.ts b/src/types/utils.d.ts index bd16325..9a6bbbd 100644 --- a/src/types/utils.d.ts +++ b/src/types/utils.d.ts @@ -4,7 +4,7 @@ export type DynamicProps = { [P in keyof T]: Ref | T[P] | ComputedRef } -type StringLiteralsToType +export type StringLiteralsToType = T extends 'string' ? string : T extends 'number'