@storyblok/js 1.6.5 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { SbSDKOptions, StoryblokBridgeConfigV2, StoryData, SbInitResult } from "./types";
|
2
|
-
export declare const useStoryblokBridge: <T =
|
1
|
+
import { SbSDKOptions, StoryblokBridgeConfigV2, StoryData, SbInitResult, StoryblokComponentType } from "./types";
|
2
|
+
export declare const useStoryblokBridge: <T extends StoryblokComponentType<string> = any>(id: Number, cb: (newStory: StoryData<T>) => void, options?: StoryblokBridgeConfigV2) => void;
|
3
3
|
export { default as apiPlugin } from "./modules/api";
|
4
4
|
export { default as storyblokEditable } from "./modules/editable";
|
5
5
|
export declare const storyblokInit: (pluginOptions?: SbSDKOptions) => SbInitResult;
|