Skip to content

Commit d46edfd

Browse files
committed
cleaned up typescript
1 parent 87aac50 commit d46edfd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/types/TodoType.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ export class TodoType {
3333
if (url.split(":")[0].toString() == "untitled") {
3434
middle = "; Line Number: ";
3535
}
36-
let path = url + middle + this.getLineNumber().toString();
36+
let path = url + middle + this.getLineNumber();
3737
return `From ${path}\n----------------------------------\n${this.getContent()}`;
3838
}
3939

4040
toString(): string {
41-
return this.getFile().toString() + "\n" + this.getContent.toString();
41+
return this.getFile() + "\n" + this.getContent;
4242
}
4343
}

0 commit comments

Comments
 (0)