(path: string, query: string, state: any)
| 200 | } |
| 201 | |
| 202 | private pushHistory(path: string, query: string, state: any) { |
| 203 | if (this._historyIndex > 0) { |
| 204 | this._history.splice(this._historyIndex + 1); |
| 205 | } |
| 206 | this._history.push(new LocationState(path, query, state)); |
| 207 | this._historyIndex = this._history.length - 1; |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | class LocationState { |
no test coverage detected