Skip to content

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz committed Sep 23, 2024
1 parent c2381b6 commit 6b1be0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/applet/src/modules/custom-inspector/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function getInspectorInfo() {
})
rpc.value.getPluginSettings(props.pluginId).then((settings) => {
if (settings.options) {
// @ts-expect-error skip type check
pluginSettings.value = settings
}
else {
Expand Down
1 change: 1 addition & 0 deletions packages/applet/src/modules/pinia/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ onRpcConnected(() => {
const pluginDescriptorId = 'dev.esm.pinia'
rpc.value.getPluginSettings(pluginDescriptorId).then((settings) => {
if (settings.options) {
// @ts-expect-error skip type check
pluginSettings.value = settings
}
else {
Expand Down

0 comments on commit 6b1be0e

Please sign in to comment.