Skip to content

Commit

Permalink
chore: update trigger type
Browse files Browse the repository at this point in the history
  • Loading branch information
JerrysShan committed Jun 1, 2022
1 parent 0398aad commit 72f550b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ArtusInjectEnum } from './constant';
import { ArtusStdError, ExceptionHandler } from './exception';
import { HookFunction, LifecycleManager } from './lifecycle';
import { LoaderFactory, Manifest } from './loader';
import { Application, ApplicationInitOptions } from './types';
import { Application, ApplicationInitOptions, TriggerType } from './types';
import Trigger from './trigger';
import ConfigurationHandler from './configuration';
import { ArtusLogger, Logger } from './logger';
Expand Down Expand Up @@ -42,7 +42,7 @@ export class ArtusApplication implements Application {
return this.container.get(ArtusInjectEnum.Packages);
}

get trigger(): Trigger {
get trigger(): TriggerType {
return this.container.get(ArtusInjectEnum.Trigger);
}

Expand Down Expand Up @@ -117,6 +117,4 @@ export class ArtusApplication implements Application {
}
}

export {
Application
};
export { Application };

0 comments on commit 72f550b

Please sign in to comment.