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 Apr 10, 2018
1 parent 59c2772 commit 44aecb3
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 @@ -991,7 +991,7 @@ declare module 'egg' {
}

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

constructor(options: EggLoaderOptions);
Expand All @@ -1003,9 +1003,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 @@ -1017,13 +1017,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 44aecb3

Please sign in to comment.