diff --git a/packages/shadcn-vue/src/utils.ts b/packages/shadcn-vue/src/utils.ts index 195096ee..9b6b5045 100644 --- a/packages/shadcn-vue/src/utils.ts +++ b/packages/shadcn-vue/src/utils.ts @@ -2,7 +2,7 @@ import type { ClassValue } from 'clsx' import { clsx } from 'clsx' import { twMerge } from 'tailwind-merge' -export type ShortEmits> = { +export type ParseEmits> = { [K in keyof T]: (...args: T[K]) => void; } diff --git a/packages/shadcn-vue/tsconfig.json b/packages/shadcn-vue/tsconfig.json index 67ecd6d1..74f5f866 100644 --- a/packages/shadcn-vue/tsconfig.json +++ b/packages/shadcn-vue/tsconfig.json @@ -21,6 +21,7 @@ "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, + "baseUrl": "./", "paths": { "@/*": ["src/*"] }