Skip to content

Commit e93f61c

Browse files
committed
Add string literal completion test
1 parent 863fc2c commit e93f61c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/// <reference path="fourslash.ts" />
2+
// @strict: true
3+
4+
//// declare function get<T, K extends keyof T>(obj: T, key: K): T[K];
5+
//// get({ hello: 123, world: 456 }, "/**/");
6+
7+
verify.completions({
8+
marker: "",
9+
includes: ['hello', 'world']
10+
});
11+

0 commit comments

Comments
 (0)