Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

Commit

Permalink
Make model params optional
Browse files Browse the repository at this point in the history
  • Loading branch information
theroncross committed Aug 29, 2017
1 parent 8e16dd8 commit 8d01dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/ember/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ namespace Ember {
the promise resolves, and the resolved value of the promise
will be used as the model for this route.
*/
model(params: {}, transition: EmberStates.Transition): any | Rsvp.Promise<any, any>;
model(params?: {}, transition?: EmberStates.Transition): any | Rsvp.Promise<any, any>;

/**
Returns the model of a parent (or any ancestor) route
Expand Down

0 comments on commit 8d01dbf

Please sign in to comment.