File tree Expand file tree Collapse file tree
javascript/packages/dev-tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,8 +115,18 @@ if (typeof window !== "undefined" && typeof document !== "undefined") {
115115 document . addEventListener ( "turbo:visit" , initializeDevTools )
116116}
117117
118+ declare global {
119+ interface Window {
120+ ReActionViewDevTools : {
121+ init : typeof initReActionViewDevTools
122+ ReActionViewDevTools : typeof ReActionViewDevTools
123+ HerbOverlay : typeof HerbOverlay
124+ }
125+ }
126+ }
127+
118128if ( typeof window !== "undefined" ) {
119- ( window as any ) . ReActionViewDevTools = {
129+ window . ReActionViewDevTools = {
120130 init : initReActionViewDevTools ,
121131 ReActionViewDevTools,
122132 HerbOverlay
Original file line number Diff line number Diff line change 1313 },
1414 "include" : [" src/**/*" ],
1515 "exclude" : [" node_modules" , " dist" ]
16- }
16+ }
You can’t perform that action at this time.
0 commit comments