fix: fix types
This commit is contained in:
11
demo/simple/src/define/app.ts
Normal file
11
demo/simple/src/define/app.ts
Normal 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'));
|
@@ -8,6 +8,7 @@
|
||||
"allowJs": true,
|
||||
"newLine": "LF",
|
||||
"baseUrl": "./",
|
||||
"rootDir": "./",
|
||||
"typeRoots": [
|
||||
"node_modules/@types",
|
||||
],
|
||||
|
Reference in New Issue
Block a user