Add tests

This commit is contained in:
Anders Hejlsberg 2019-04-06 07:59:39 -10:00
parent f93f8d32c4
commit cd646dab7e

View File

@ -0,0 +1,7 @@
// @strict: true
// Repro from #30720
type Maybe<T> = T | undefined;
declare function concatMaybe<T>(...args: (Maybe<T> | Maybe<T>[])[]): T[];
concatMaybe([1, 2, 3], 4);