Skip to content

Commit 0f06ca4

Browse files
committed
add extra test case
1 parent 2e2526a commit 0f06ca4

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// @strict: true
2+
3+
//// type A/*1*/ = { [K in keyof { a?: string }]-?: string }
4+
//// type B/*2*/ = { [K in keyof A]: string | undefined }
5+
6+
verify.quickInfoAt("1", `type A = {
7+
a: string;
8+
}`);
9+
verify.quickInfoAt("2", `type B = {
10+
a: string | undefined;
11+
}`);

0 commit comments

Comments
 (0)