Skip to content

Commit 0dbb7ce

Browse files
committed
fix: configurable defineProperties of devtools hooks
1 parent 9b56805 commit 0dbb7ce

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/devtools-kit/src/core/iframe/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export function detectIframeApp(target: Window | typeof globalThis, inIframe = f
4242
get() {
4343
return hook
4444
},
45+
configurable: true,
4546
})
4647
}
4748

packages/devtools-kit/src/core/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export function initDevTools() {
137137
get() {
138138
return _devtoolsHook
139139
},
140+
configurable: true,
140141
})
141142
}
142143
else {

0 commit comments

Comments
 (0)