mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-06 07:39:02 +02:00
[web] Move window object typescript declaration file to a more general location (#7244)
GitOrigin-RevId: 87e30b16fa48e1aaebba76bed19d8c583a4cf1ca
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
"frontend/js/**/*.*",
|
||||
"modules/**/frontend/js/**/*.*",
|
||||
"test/frontend/**/*.*",
|
||||
"modules/**/test/frontend/**/*.*"
|
||||
"modules/**/test/frontend/**/*.*",
|
||||
"types"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
declare global {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
interface Window {
|
||||
sl_debugging: boolean
|
||||
user: {
|
||||
id: string
|
||||
}
|
||||
}
|
||||
}
|
||||
export {} // pretend this is a module
|
||||
Reference in New Issue
Block a user