We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b3da6b commit 13985dfCopy full SHA for 13985df
1 file changed
src/client/initialize.ts
@@ -3,6 +3,7 @@ import {
3
PluginConfig,
4
PluginInstance,
5
PluginMessageResponse,
6
+ PluginStyle,
7
WorkbookSelection,
8
WorkbookVariable,
9
} from '../types';
@@ -225,7 +226,7 @@ export function initialize<T = {}>(): PluginInstance<T> {
225
226
},
227
228
style: {
- subscribe(callback: (style: any) => void) {
229
+ subscribe(callback: (style: PluginStyle) => void) {
230
on('wb:plugin:style:update', callback);
231
return () => off('wb:plugin:style:update', callback);
232
0 commit comments