Skip to content

Commit

Permalink
fix(typings): Corrected create() argument types
Browse files Browse the repository at this point in the history
Relates to aurelia#46
  • Loading branch information
s-hoff committed Jan 2, 2017
1 parent c2afa55 commit 0885999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component-tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class ComponentTester {
return this;
}

create(bootstrap: (aurelia: Aurelia) => Promise<void>): Promise<void> {
create(bootstrap: (configure: (aurelia: Aurelia) => Promise<void>) => Promise<void>): Promise<void> {
return bootstrap(aurelia => {
return Promise.resolve(this.configure(aurelia)).then(() => {
if (this._resources) {
Expand Down

0 comments on commit 0885999

Please sign in to comment.