|
1 | 1 | declare module '@ember/application' { |
2 | 2 | import Engine from '@ember/engine'; |
3 | | - import ApplicationInstance from '@ember/application/instance'; |
| 3 | + import ApplicationInstance, { BootOptions } from '@ember/application/instance'; |
4 | 4 | import EventDispatcher from '@ember/application/-private/event-dispatcher'; |
5 | 5 | import { EventDispatcherEvents } from '@ember/application/types'; |
6 | 6 | import Router from '@ember/routing/router'; |
7 | 7 | import Registry from '@ember/application/-private/registry'; |
8 | 8 | import { AnyFn } from 'ember/-private/type-utils'; |
9 | | - import Owner, { Resolver } from '@ember/owner'; |
10 | | - import type GlimmerComponent from '@glimmer/component'; |
11 | | - import EmberObject from '@ember/object'; |
| 9 | + import Owner from '@ember/owner'; |
12 | 10 |
|
13 | 11 | // Shut off default exporting; we don't want anything but the *intended* |
14 | 12 | // public API present. |
@@ -82,10 +80,6 @@ declare module '@ember/application' { |
82 | 80 | * The Ember.EventDispatcher responsible for delegating events to this application's views. |
83 | 81 | */ |
84 | 82 | eventDispatcher: EventDispatcher; |
85 | | - /** |
86 | | - * Set this to provide an alternate class to `DefaultResolver` |
87 | | - */ |
88 | | - resolver: Resolver | null; |
89 | 83 | /** |
90 | 84 | * The root DOM element of the Application. This can be specified as an |
91 | 85 | * element or a jQuery-compatible selector string. |
@@ -114,6 +108,8 @@ declare module '@ember/application' { |
114 | 108 | * Create an ApplicationInstance for this Application. |
115 | 109 | */ |
116 | 110 | buildInstance(options?: object): ApplicationInstance; |
| 111 | + |
| 112 | + visit(url: string, options: BootOptions): Promise<ApplicationInstance>; |
117 | 113 | } |
118 | 114 |
|
119 | 115 | /** |
|
0 commit comments