There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
refactor: not appropriate to put the global declaration in styles/types.ts
Lin Onetwocc790dcbc2b1
diff --git a/packages/app/src/styles/types.ts b/packages/app/src/styles/types.tsindex e5a2c3ecd5..155842eebc 100644--- a/packages/app/src/styles/types.ts+++ b/packages/app/src/styles/types.ts@@ -121,9 +121,3 @@ export interface AffineThemeCSSVariables {declare module '@emotion/react' {export interface Theme extends AffineTheme {}}--declare global {- interface Window {- CLIENT_APP?: boolean;- }-}diff --git a/packages/app/src/types.ts b/packages/app/src/types.tsnew file mode 100644index 0000000000..b3d1620796--- /dev/null+++ b/packages/app/src/types.ts@@ -0,0 +1,7 @@+declare global {+ interface Window {+ CLIENT_APP?: boolean;+ }+}++export {};