From 08a963fe431fef949706fd13e889865c725dd39e Mon Sep 17 00:00:00 2001 From: linyuan Date: Wed, 20 Mar 2024 11:16:35 +0800 Subject: [PATCH] feature: Component extraction --- package.json | 2 ++ src/type/common.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 61d849f..d2ec62b 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,8 @@ "type": "module", "scripts": { "dev": "vite", + + "test": "jest", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" diff --git a/src/type/common.ts b/src/type/common.ts index 5d065b9..3653164 100644 --- a/src/type/common.ts +++ b/src/type/common.ts @@ -1,3 +1,3 @@ export interface AnyObject { - [key: string]: any + [key: string]: unknown }