[ ] ๐ Documentation (updates to the documentation or readme)
[ ] ๐ Bug fix (a non-breaking change that fixes an issue)
[x] ๐ Enhancement (improving an existing functionality)
[ ] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
When you get data from runtimeConfig, you get the type unknown
export interface ModuleOptions {
size?: number,
}
_nuxt.options.runtimeConfig.public.myModule.size // "_nuxt.options.runtimeConfig.public.myModule" is of type "unknown"
๐ Linked issue
โ Type of change
๐ Description
When you get data from runtimeConfig, you get the type unknown
after,Able to recognize types