( key: string, value: T, options?: WindowPostMessageOptions, )
| 12 | ) => postMessage({ pluginMessage: message }, options); |
| 13 | |
| 14 | export const postUISettingsChangingMessage = <T>( |
| 15 | key: string, |
| 16 | value: T, |
| 17 | options?: WindowPostMessageOptions, |
| 18 | ) => { |
| 19 | const message: SettingWillChangeMessage<T> = { |
| 20 | type: "pluginSettingWillChange", |
| 21 | key, |
| 22 | value, |
| 23 | }; |
| 24 | postUIMessage(message, options); |
| 25 | }; |
no test coverage detected