File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
packages/react-router/lib/router Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 238238- mm-jpoole
239239- modex98
240240- morleytatro
241+ - mrcwbr
241242- ms10596
242243- mspiess
243244- mtendekuyokwa19
Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ export function createBrowserHistory(
373373 ) ;
374374 }
375375
376- function createBrowserHref ( window : Window , to : To ) {
376+ function createBrowserHref ( _window : Window , to : To ) {
377377 return typeof to === "string" ? to : createPath ( to ) ;
378378 }
379379
Original file line number Diff line number Diff line change @@ -1645,8 +1645,6 @@ export class ErrorResponseImpl implements ErrorResponse {
16451645 status : number ;
16461646 statusText : string ;
16471647 data : any ;
1648- private error ?: Error ;
1649- private internal : boolean ;
16501648
16511649 constructor (
16521650 status : number ,
@@ -1656,10 +1654,8 @@ export class ErrorResponseImpl implements ErrorResponse {
16561654 ) {
16571655 this . status = status ;
16581656 this . statusText = statusText || "" ;
1659- this . internal = internal ;
16601657 if ( data instanceof Error ) {
16611658 this . data = data . toString ( ) ;
1662- this . error = data ;
16631659 } else {
16641660 this . data = data ;
16651661 }
You can’t perform that action at this time.
0 commit comments