Skip to content

Commit

Permalink
feat(vite): relax restriction on theme type var
Browse files Browse the repository at this point in the history
  • Loading branch information
equt committed Aug 11, 2022
1 parent ec5013a commit bc50a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/index.ts
Expand Up @@ -20,7 +20,7 @@ export * from './modes/per-module'
export * from './modes/vue-scoped'
export * from './modes/svelte-scoped'

export function defineConfig<Theme extends {}>(config: VitePluginConfig<Theme>) {
export function defineConfig<T>(config: VitePluginConfig<T>) {
return config
}

Expand Down

0 comments on commit bc50a65

Please sign in to comment.