style: restrict type import (#1589)

This commit is contained in:
Himself65
2023-03-15 11:58:43 -05:00
committed by GitHub
parent 6ab2f83e13
commit efcf1fcaa0
154 changed files with 332 additions and 307 deletions

View File

@@ -1,7 +1,8 @@
import { toast } from '@affine/component';
import { MessageCode } from '@affine/datacenter';
import type { MessageCode } from '@affine/datacenter';
import { messages } from '@affine/datacenter';
import React, { useEffect } from 'react';
import type React from 'react';
import { useEffect } from 'react';
declare global {
interface DocumentEventMap {