mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add test
This commit is contained in:
+5
-1
@@ -79,4 +79,8 @@ const z4 = z && b;
|
||||
const z5 = z && v;
|
||||
const z6 = z && u;
|
||||
const z7 = z && n;
|
||||
const z8 = z && z;
|
||||
const z8 = z && z;
|
||||
|
||||
function f1<T extends string | number | boolean | undefined | null>(t: T) {
|
||||
const r1 = t && [0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user