File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -137,14 +137,15 @@ export type RegistryScriptInput<
137
137
scriptInput ?: ScriptInput
138
138
scriptOptions ?: Omit < NuxtUseScriptOptions , Bundelable extends true ? '' : 'bundle' | Usable extends true ? '' : 'use' >
139
139
} )
140
- | ( CanBypassOptions extends true ? {
140
+ | Partial < InferInput < T > > & (
141
+ CanBypassOptions extends true ? {
141
142
/**
142
143
* A unique key to use for the script, this can be used to load multiple of the same script with different options.
143
144
*/
144
- key ?: string
145
- scriptInput : Required < Pick < ScriptInput , 'src' > > & ScriptInput
146
- scriptOptions ?: Omit < NuxtUseScriptOptions , Bundelable extends true ? '' : 'bundle' | Usable extends true ? '' : 'use' >
147
- } : never )
145
+ key ?: string
146
+ scriptInput : Required < Pick < ScriptInput , 'src' > > & ScriptInput
147
+ scriptOptions ?: Omit < NuxtUseScriptOptions , Bundelable extends true ? '' : 'bundle' | Usable extends true ? '' : 'use' >
148
+ } : never )
148
149
149
150
export interface RegistryScript {
150
151
import ?: Import // might just be a component
You can’t perform that action at this time.
0 commit comments