From 9e02f7d4e569aa4200c43de9b14d019f8ef768c6 Mon Sep 17 00:00:00 2001 From: linyuan Date: Wed, 20 Mar 2024 11:20:47 +0800 Subject: [PATCH] feature: Component extraction --- .eslintrc.cjs | 1 + src/type/common.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index d6c9537..42dfa8e 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -10,6 +10,7 @@ module.exports = { parser: '@typescript-eslint/parser', plugins: ['react-refresh'], rules: { + "@typescript-eslint/no-explicit-any": ["off"], 'react-refresh/only-export-components': [ 'warn', { allowConstantExport: true }, diff --git a/src/type/common.ts b/src/type/common.ts index 3653164..5d065b9 100644 --- a/src/type/common.ts +++ b/src/type/common.ts @@ -1,3 +1,3 @@ export interface AnyObject { - [key: string]: unknown + [key: string]: any }