We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d2c3b1 commit 880204aCopy full SHA for 880204a
framework-ts/yadan/index.ts
@@ -1,13 +1,16 @@
1
-import * as egg from 'egg'
+import { BaseContextClass, Controller, EggApplication, Service } from 'egg'
2
3
import Agent from './lib/agent'
4
import Application from './lib/application'
5
import startCluster from './lib/cluster'
6
7
-const newEgg = {
8
- ...egg,
+export {
9
Agent,
10
Application,
11
startCluster,
+
12
+ BaseContextClass,
13
+ Controller,
14
+ EggApplication,
15
+ Service,
16
}
-export = newEgg
0 commit comments