diff options
author | 杨宇千 <crupest@outlook.com> | 2019-03-11 21:30:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-11 21:30:22 +0800 |
commit | 988e07fce184b72c35020e4bde4079bdd305fb7c (patch) | |
tree | 9770d2ac8ce0b856928fcc83cf943b077e63f5c8 /Timeline/ClientApp/src/app/todo | |
parent | 6f02dc7094d1304501e7ffd6c39ecf89369202c7 (diff) | |
parent | 9a11e4f5081d6dff7f1587e636f39de4b8983753 (diff) | |
download | timeline-988e07fce184b72c35020e4bde4079bdd305fb7c.tar.gz timeline-988e07fce184b72c35020e4bde4079bdd305fb7c.tar.bz2 timeline-988e07fce184b72c35020e4bde4079bdd305fb7c.zip |
Merge pull request #12 from crupest/strict
Use strict check of typescript compiler.
Diffstat (limited to 'Timeline/ClientApp/src/app/todo')
-rw-r--r-- | Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts b/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts index 2ea6997a..b5c51229 100644 --- a/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts +++ b/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts @@ -1,4 +1,5 @@ import { Component, Input } from '@angular/core'; + import { TodoItem } from '../todo-item'; @Component({ @@ -7,7 +8,5 @@ import { TodoItem } from '../todo-item'; styleUrls: ['./todo-item.component.css', '../todo-list-color-block.css'] }) export class TodoItemComponent { - - @Input() item: TodoItem; - + @Input() item!: TodoItem; } |