File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 11import { Config } from './config'
22
3- // Provide custom type information for config, overriding the default empty types.
4- // TODO: Remove this as soon as https://github.com/nuxt/framework/issues/1785 is resolved.
3+ interface NuxtIconModuleOptions {
4+ size ?: string | false
5+ class ?: string
6+ aliases ?: { [ alias : string ] : string }
7+ }
8+
59declare module '@nuxt/schema' {
10+ // Provide custom type information for config, overriding the default empty types.
11+ // TODO: Remove this as soon as https://github.com/nuxt/framework/issues/1785 is resolved.
612 // eslint-disable-next-line @typescript-eslint/no-empty-interface -- Don't know how to reexport in a module declariation
713 interface RuntimeConfig extends Config { }
14+
15+ // Workaround for bug in icon modules
16+ // TODO: Remove this as soon as https://github.com/nuxt-modules/icon/pull/63 is merged/resolved.
17+ interface AppConfig {
18+ nuxtIcon ?: NuxtIconModuleOptions
19+ }
820}
921
1022// Provide custom type information for page metadata
You can’t perform that action at this time.
0 commit comments