File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
/** @module transition */ /** for typedoc */
2
+ import { stringify } from "../common/strings" ;
2
3
import { trace } from "../common/trace" ;
3
4
import { services } from "../common/coreservices" ;
4
5
import {
@@ -257,7 +258,7 @@ export class Transition implements IHookRegistry {
257
258
const getData = ( token : any ) => {
258
259
var resolvable = resolveContext . getResolvable ( token ) ;
259
260
if ( resolvable === undefined ) {
260
- throw new Error ( " Dependency Injection token not found: ${stringify(token)}" ) ;
261
+ throw new Error ( ` Dependency Injection token not found: ${ stringify ( token ) } ` ) ;
261
262
}
262
263
return resolvable . data ;
263
264
} ;
@@ -580,4 +581,4 @@ export class Transition implements IHookRegistry {
580
581
581
582
return `Transition#${ id } ( '${ from } '${ fromParams } -> ${ toValid } '${ to } '${ toParams } )` ;
582
583
}
583
- }
584
+ }
You can’t perform that action at this time.
0 commit comments