You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vue version: 2.7.7
index.d.ts line 7 needs changing to include the PluginFunction generic type.
It is currently: export declare const StoryblokVue: PluginObject<SbSDKOptions>;
It should be: export declare const StoryblokVue: PluginObject<SbSDKOptions> | PluginFunction<SbSDKOptions>
to match Vue use types:
use<T>( plugin: PluginObject<T> | PluginFunction<T>, options?: T ): VueConstructor<V>
Typescript error: Argument of type 'PluginObject' is not assignable to parameter of type 'PluginObject | PluginFunction'.
The text was updated successfully, but these errors were encountered:
Vue version: 2.7.7
index.d.ts line 7 needs changing to include the PluginFunction generic type.
It is currently:
export declare const StoryblokVue: PluginObject<SbSDKOptions>;
It should be:
export declare const StoryblokVue: PluginObject<SbSDKOptions> | PluginFunction<SbSDKOptions>
to match Vue use types:
use<T>( plugin: PluginObject<T> | PluginFunction<T>, options?: T ): VueConstructor<V>
Typescript error: Argument of type 'PluginObject' is not assignable to parameter of type 'PluginObject | PluginFunction'.
The text was updated successfully, but these errors were encountered: