We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5993a6b commit c8ed882Copy full SHA for c8ed882
framework-ts/yadan/index.ts
@@ -1,32 +1,13 @@
1
-import {
2
- AgentWorkerLoader,
3
- AppWorkerLoader,
4
- BaseContextClass,
5
- Controller as EggController,
6
- Service,
7
- Subscription,
8
-} from 'egg'
9
-// import * as egg from 'egg'
+import * as egg from 'egg'
10
11
import Agent from './lib/agent'
12
import Application from './lib/application'
13
import startCluster from './lib/cluster'
14
15
-// export = {
16
-// ...egg,
17
-// Agent,
18
-// Application,
19
-// startCluster,
20
-// }
21
-
22
-export {
23
- startCluster,
24
- Application,
+const newEgg = {
+ ...egg,
25
Agent,
26
27
28
- EggController as Controller,
29
30
31
+ Application,
+ startCluster,
32
}
+export = newEgg
0 commit comments