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'