Skip to content

Commit 7f9dda2

Browse files
authored
minor: fix window.oxide (#2975)
1 parent 063d043 commit 7f9dda2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/api/window.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ function logHeading(s: string) {
3838
}
3939

4040
if (typeof window !== 'undefined') {
41-
// @ts-expect-error
42-
window.oxide = api.methods
41+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
42+
;(window as any).oxide = api
4343
// @ts-expect-error
4444
window.oxql = {
4545
query: async (q: string) => {

0 commit comments

Comments
 (0)