更新:接口
This commit is contained in:
2
web-server/typings/app/controller/index.d.ts
vendored
2
web-server/typings/app/controller/index.d.ts
vendored
@@ -5,11 +5,13 @@ import 'egg';
|
||||
import ExportAccount from '../../../app/controller/account';
|
||||
import ExportGame from '../../../app/controller/game';
|
||||
import ExportHome from '../../../app/controller/home';
|
||||
import ExportUpdate from '../../../app/controller/update';
|
||||
|
||||
declare module 'egg' {
|
||||
interface IController {
|
||||
account: ExportAccount;
|
||||
game: ExportGame;
|
||||
home: ExportHome;
|
||||
update: ExportUpdate;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user