From d2b2673fc40bca00a52be7a1e6b1eafb0fde54e7 Mon Sep 17 00:00:00 2001 From: ningmengchongshui <916415899@qq.com> Date: Mon, 10 Jun 2024 00:14:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0ts=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/{local.js => local.ts} | 0 tsconfig.json | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) rename src/{local.js => local.ts} (100%) diff --git a/src/local.js b/src/local.ts similarity index 100% rename from src/local.js rename to src/local.ts diff --git a/tsconfig.json b/tsconfig.json index 83d2635..6d1403b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,11 @@ "jsx": "react", "allowJs": false, "suppressImplicitAnyIndexErrors": true, - "typeRoots": ["node_modules/@types"] + "typeRoots": ["node_modules/@types"], + "paths": { + "#miao": ["./plugins/miao-plugin/components/index.js"], + "#miao.models": ["./plugins/miao-plugin/models/index.js"] + } }, "ts-node": { "esm": true,