diff --git a/src/transition/transition.ts b/src/transition/transition.ts index 821690bd3..10a93513e 100644 --- a/src/transition/transition.ts +++ b/src/transition/transition.ts @@ -1,4 +1,5 @@ /** @module transition */ /** for typedoc */ +import {stringify} from "../common/strings"; import {trace} from "../common/trace"; import {services} from "../common/coreservices"; import { @@ -235,7 +236,7 @@ export class Transition implements IHookRegistry { const getData = (token: any) => { var resolvable = resolveContext.getResolvable(token); if (resolvable === undefined) { - throw new Error("Dependency Injection token not found: ${stringify(token)}"); + throw new Error(`Dependency Injection token not found: ${stringify(token)}`); } return resolvable.data; }; @@ -538,4 +539,4 @@ export class Transition implements IHookRegistry { return `Transition#${id}( '${from}'${fromParams} -> ${toValid}'${to}'${toParams} )`; } -} \ No newline at end of file +}