docs(typo): fix invalid TypeScript synatx in example

Closes #4870
This commit is contained in:
Constantin Gavrilete 2015-10-23 11:02:02 +02:00
parent 84d1f93d83
commit de6774cd97
1 changed files with 1 additions and 1 deletions

View File

@ -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');
* }