Skip to content

Commit 30129ae

Browse files
committed
Minor fix for index test case.
1 parent d7d08e6 commit 30129ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cases/compiler/regexValidatedTypeIndex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface UsersCollection {
1313
[gmail: Gmail]: GmailUser;
1414
}
1515

16-
let collection: UsersCollection;
16+
let collection: UsersCollection = {};
1717
let someEmail = 'test@example.com';
1818
let someGmail = '[email protected]';
1919

0 commit comments

Comments
 (0)