From c319e7e707f8b5817cd18e0f6420a510011e2170 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Fri, 21 Jul 2023 03:28:55 +0800 Subject: [PATCH] fix: type check in plugins (#3337) --- plugins/hello-world/src/app.tsx | 4 ++-- tsconfig.json | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/hello-world/src/app.tsx b/plugins/hello-world/src/app.tsx index a809e3b491..149e29d788 100644 --- a/plugins/hello-world/src/app.tsx +++ b/plugins/hello-world/src/app.tsx @@ -1,5 +1,5 @@ import { IconButton, Tooltip } from '@affine/component'; -import { AffineLogoSBlue2_1Icon } from '@blocksuite/icons'; +import { Logo1Icon } from '@blocksuite/icons'; import { useCallback } from 'react'; export const HeaderItem = () => { @@ -10,7 +10,7 @@ export const HeaderItem = () => { console.log('clicked hello world!'); }, [])} > - + ); diff --git a/tsconfig.json b/tsconfig.json index cb69ec5421..5172333b43 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -117,9 +117,15 @@ { "path": "./plugins/bookmark-block" }, + { + "path": "./plugins/bookmark" + }, { "path": "./plugins/copilot" }, + { + "path": "./plugins/hello-world" + }, // Packages { "path": "./packages/cli"