fix: type import (#2715)

This commit is contained in:
Himself65
2023-06-07 22:47:02 +08:00
committed by GitHub
parent 008a05a470
commit 7f2006488e
24 changed files with 60 additions and 91 deletions

View File

@@ -1,12 +1,20 @@
/// <reference types="@blocksuite/global" />
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference path="./global.d.ts" />
import { assertEquals } from '@blocksuite/global/utils';
import getConfig from 'next/config';
import { z } from 'zod';
import { UaHelper } from './ua-helper';
declare global {
interface Window {
appInfo: {
electron: boolean;
};
apis: any;
events: any;
}
}
export const buildFlagsSchema = z.object({
/**
* todo: remove this build flag when filter feature is ready.