refactor: not appropriate to put the global declaration in styles/types.ts

This commit is contained in:
Lin Onetwo authored and DarkSky committed 2022-12-22 11:11:35 +08:00
1 parent eeb2be8664
commit cc790dcbc2
2 files changed
+7 -6

No files matched your search

-6
View File
@@ -121,9 +121,3 @@ export interface AffineThemeCSSVariables {
declare module '@emotion/react' {
export interface Theme extends AffineTheme {}
}
declare global {
interface Window {
CLIENT_APP?: boolean;
}
}
+7
View File
@@ -0,0 +1,7 @@
declare global {
interface Window {
CLIENT_APP?: boolean;
}
}
export {};