mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 17:00:36 +01:00
@@ -149,7 +149,7 @@ export function getTemplates(options: ModuleOptions, uiConfig: Record<string, an
|
||||
templates.push({
|
||||
filename: 'types/ui.d.ts',
|
||||
getContents: () => `import * as ui from '#build/ui'
|
||||
import type { DeepPartial } from '@nuxt/ui'
|
||||
import type { TVConfig } from '@nuxt/ui'
|
||||
import type { defaultConfig } from 'tailwind-variants'
|
||||
import colors from 'tailwindcss/colors'
|
||||
|
||||
@@ -165,7 +165,7 @@ type AppConfigUI = {
|
||||
}
|
||||
icons?: Partial<typeof icons>
|
||||
tv?: typeof defaultConfig
|
||||
} & DeepPartial<typeof ui>
|
||||
} & TVConfig<typeof ui>
|
||||
|
||||
declare module '@nuxt/schema' {
|
||||
interface AppConfigInput {
|
||||
|
||||
Reference in New Issue
Block a user