new @ember/controller transitionToRoute method (#42808)

Co-authored-by: Kevin Hinterlong <hinterlong@verizonmedia.com>
This commit is contained in:
Kevin Hinterlong
2020-03-14 18:20:45 -07:00
committed by GitHub
co-authored by Kevin Hinterlong
parent 5e3bb0afa9
commit ccd1e01846
+1
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,