refactor: not appropriate to put the global declaration in styles/types.ts
This commit is contained in:
parent
eeb2be8664
commit
cc790dcbc2
@ -121,9 +121,3 @@ export interface AffineThemeCSSVariables {
|
|||||||
declare module '@emotion/react' {
|
declare module '@emotion/react' {
|
||||||
export interface Theme extends AffineTheme {}
|
export interface Theme extends AffineTheme {}
|
||||||
}
|
}
|
||||||
|
|
||||||
declare global {
|
|
||||||
interface Window {
|
|
||||||
CLIENT_APP?: boolean;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
7
packages/app/src/types.ts
Normal file
7
packages/app/src/types.ts
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
declare global {
|
||||||
|
interface Window {
|
||||||
|
CLIENT_APP?: boolean;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export {};
|
Loading…
x
Reference in New Issue
Block a user