Skip to content

Commit a481be7

Browse files
committed
remove comments regarding error messages
1 parent b66fea6 commit a481be7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/cases/compiler/noImplicitAnyStringIndexerOnObject.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,16 @@
33
var a = {}["hello"];
44
var b: string = { '': 'foo' }[''];
55

6-
// Should give suggestion 'c.get'
76
var c = {
87
get: (key: string) => 'foobar'
98
};
109
c['hello'];
1110

12-
// Should give suggestion 'd.set'
1311
var d = {
1412
set: (key: string) => 'foobar'
1513
};
1614
d['hello'];
1715

18-
// Should give suggestion 'e.get or e.set'
1916
var e = {
2017
set: (key: string) => 'foobar',
2118
get: (key: string) => 'foobar'

0 commit comments

Comments
 (0)