Browse Source

Pull request #3587: 无jira任务 补充类型

Merge in VISUAL/fineui from ~IMP/fineui_fui:es6 to es6

* commit 'd355e5113ac9c9437c3320c18d37188f02ae2da3':
  无jira任务 补充类型
  补充routerView类型
  无jira任务 补充类型
  无jira任务 补充类型
es6
imp-张健 2 years ago
parent
commit
a6f0a05a5b
  1. 3
      package.json
  2. 4
      packages/fineui/typescript/router/router.ts

3
package.json

@ -15,7 +15,8 @@
"dev:demo": "pnpm --dir packages/demo dev",
"dev:fineui": "pnpm --dir packages/fineui dev",
"build": "pnpm --dir packages/fineui build",
"build:demo": "pnpm --dir packages/demo build"
"build:demo": "pnpm --dir packages/demo build",
"tsc": "pnpm --dir packages/fineui tsc"
},
"devDependencies": {
"@babel/cli": "^7.21.0",

4
packages/fineui/typescript/router/router.ts

@ -1,3 +1,5 @@
import { Widget } from '../core/widget';
type Component = any
type Dictionary<T> = { [key: string]: T }
type ErrorHandler = (err: Error) => void
@ -244,6 +246,6 @@ export declare class RouterWidget {
static xtype: string;
}
export declare class RouterView {
export declare class RouterView extends Widget {
static xtype: string;
}

Loading…
Cancel
Save