From de6774cd97b9cc69441b633f2ca3cfa82cb6ab5c Mon Sep 17 00:00:00 2001 From: Constantin Gavrilete Date: Fri, 23 Oct 2015 11:02:02 +0200 Subject: [PATCH] docs(typo): fix invalid TypeScript synatx in example Closes #4870 --- modules/angular2/src/router/instruction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/angular2/src/router/instruction.ts b/modules/angular2/src/router/instruction.ts index d253f695f7..c7907a6e39 100644 --- a/modules/angular2/src/router/instruction.ts +++ b/modules/angular2/src/router/instruction.ts @@ -26,7 +26,7 @@ import {Url} from './url_parser'; * * @Component({ template: 'user: {{id}}' }) * class UserCmp { - * string: id; + * id: string; * constructor(params: RouteParams) { * this.id = params.get('id'); * }