new @ember/controller transitionToRoute method (#42808)

Co-authored-by: Kevin Hinterlong <hinterlong@verizonmedia.com>
This commit is contained in:
Kevin Hinterlong 2020-03-14 20:20:45 -05:00 committed by GitHub
parent 5e3bb0afa9
commit ccd1e01846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ type QueryParamScopeTypes = 'controller' | 'model';
export interface ControllerMixin extends ActionHandler {
replaceRoute(name: string, ...args: any[]): void;
transitionToRoute(name: string, ...args: any[]): void;
transitionToRoute(...args: any[]): void;
model: any;
queryParams: string | string[] | Array<{ [key: string]: {
type?: QueryParamTypes,