Skip to content

Commit

Permalink
chore(typings): export types
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Jun 13, 2018
1 parent e768453 commit ff6de34
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ declare module 'egg' {
}

// egg-core
class EggLoader {
export class EggLoader {
options: EggLoaderOptions;

constructor(options: EggLoaderOptions);
Expand All @@ -1053,9 +1053,9 @@ declare module 'egg' {

/**
* App worker process Loader, will load plugins
* @see https://github.com/eggjs/egg-loader
* @see https://github.com/eggjs/egg-core
*/
class AppWorkerLoader extends EggLoader {
export class AppWorkerLoader extends EggLoader {
constructor(options: EggLoaderOptions);

loadConfig(): void;
Expand All @@ -1067,13 +1067,13 @@ declare module 'egg' {
* Agent worker process loader
* @see https://github.com/eggjs/egg-loader
*/
class AgentWorkerLoader extends EggLoader {
export class AgentWorkerLoader extends EggLoader {
constructor(options: EggLoaderOptions);

loadConfig(): void;

load(): void;
}

class Subscription extends BaseContextClass { }
export class Subscription extends BaseContextClass { }
}

0 comments on commit ff6de34

Please sign in to comment.