chore: rename parseEmit, fix tsconfig baseURL missing

This commit is contained in:
zernonia 2023-08-23 15:06:14 +08:00
parent ff1e54bddd
commit 2eb1131e03
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import type { ClassValue } from 'clsx'
import { clsx } from 'clsx'
import { twMerge } from 'tailwind-merge'
export type ShortEmits<T extends Record<string, any>> = {
export type ParseEmits<T extends Record<string, any>> = {
[K in keyof T]: (...args: T[K]) => void;
}

View File

@ -21,6 +21,7 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}