mirror of
https://github.com/archtechx/todo-system.git
synced 2025-12-12 00:54:03 +00:00
Ignore colons (fix #2)
This commit is contained in:
parent
9fe36adf20
commit
e83185a687
4 changed files with 26 additions and 14 deletions
|
|
@ -2,7 +2,7 @@ function add(foo: any, bar: any): any { // todo@types
|
|||
return foo + bar;
|
||||
}
|
||||
|
||||
function subtract(foo: any, bar: any): any { // todo@types add types
|
||||
function subtract(foo: any, bar: any): any { // todo@types: add types
|
||||
return foo - bar;
|
||||
}
|
||||
|
||||
|
|
@ -24,12 +24,12 @@ function greet2(name: string) { // todo1 add return typehint
|
|||
console.log(`Hello ${name}`);
|
||||
}
|
||||
|
||||
function echo(str: string) { // todo2 add return typehint
|
||||
function echo(str: string) { // todo2: add return typehint
|
||||
console.log(str);
|
||||
}
|
||||
|
||||
// console.log('foo'); // todo
|
||||
|
||||
// todo generic todo 2
|
||||
// todo: generic todo 2
|
||||
// TODO: generic todo 3
|
||||
// todo11 invalid todo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue