Skip to content

Commit c8ed882

Browse files
committed
chore: update export
1 parent 5993a6b commit c8ed882

File tree

1 file changed

+6
-25
lines changed

1 file changed

+6
-25
lines changed

framework-ts/yadan/index.ts

+6-25
Original file line numberDiff line numberDiff line change
@@ -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'
1+
import * as egg from 'egg'
102

113
import Agent from './lib/agent'
124
import Application from './lib/application'
135
import startCluster from './lib/cluster'
146

15-
// export = {
16-
// ...egg,
17-
// Agent,
18-
// Application,
19-
// startCluster,
20-
// }
21-
22-
export {
23-
startCluster,
24-
Application,
7+
const newEgg = {
8+
...egg,
259
Agent,
26-
AppWorkerLoader,
27-
AgentWorkerLoader,
28-
EggController as Controller,
29-
Service,
30-
Subscription,
31-
BaseContextClass,
10+
Application,
11+
startCluster,
3212
}
13+
export = newEgg

0 commit comments

Comments
 (0)