fix: fix types

This commit is contained in:
2025-05-14 21:04:25 +08:00
parent fc35b531e1
commit aeeb205e1e
12 changed files with 64 additions and 15 deletions

View File

@@ -0,0 +1,11 @@
// import { App } from '@kevisual/router';
import { QueryRouterServer as App } from '@kevisual/router';
import { QueryUtil } from '@kevisual/router/define';
const app = new App();
const w = QueryUtil.create({
a: { path: 'a', description: 'sdf' },
});
app.route(w.get('a'));

View File

@@ -8,6 +8,7 @@
"allowJs": true,
"newLine": "LF",
"baseUrl": "./",
"rootDir": "./",
"typeRoots": [
"node_modules/@types",
],