Skip to content

Commit

Permalink
Make the options, optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalrymple committed Nov 13, 2018
1 parent c1519b8 commit 9e632bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infrastructure/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export function bundler(services = {}) {
return class Bundle {
[serviceName: string]: BaseService;

constructor(options: any) {
constructor(options?: any) {
Object.entries(services).forEach(([name, ser]: [string, any]) => {
this[name] = new ser(options);
});
Expand Down

0 comments on commit 9e632bc

Please sign in to comment.