@@ -6,7 +6,6 @@ import {createBodyCursor} from '@solid-primitives/cursor'
66import { makeEventListener } from '@solid-primitives/event-listener'
77import * as num from '@nothing-but/utils/num'
88import { useDebugger } from '@solid-devtools/debugger/bundled'
9- import * as debug from '@solid-devtools/debugger/types'
109import { Icon , MountIcons , createDevtools } from '@solid-devtools/frontend'
1110import { useIsMobile , useIsTouch , atom } from '@solid-devtools/shared/primitives'
1211import { msg } from '@solid-devtools/shared/utils'
@@ -15,10 +14,9 @@ import frontendStyles from '@solid-devtools/frontend/dist/styles.css'
1514import overlayStyles from './styles.css'
1615
1716export type OverlayOptions = {
18- defaultOpen ?: boolean
19- alwaysOpen ?: boolean
20- noPadding ?: boolean
21- debuggerOptions ?: debug . DebuggerOptions < any >
17+ defaultOpen ?: boolean
18+ alwaysOpen ?: boolean
19+ noPadding ?: boolean
2220}
2321
2422export function attachDevtoolsOverlay ( props ?: OverlayOptions ) : ( ( ) => void ) {
@@ -43,9 +41,9 @@ export function attachDevtoolsOverlay(props?: OverlayOptions): (() => void) {
4341
4442const Overlay : s . Component < OverlayOptions > = props => {
4543
46- let { alwaysOpen, debuggerOptions , defaultOpen, noPadding} = props
44+ let { alwaysOpen, defaultOpen, noPadding} = props
4745
48- const instance = useDebugger ( debuggerOptions )
46+ const instance = useDebugger ( )
4947
5048 if ( defaultOpen || alwaysOpen ) {
5149 instance . toggleEnabled ( true )
0 commit comments