5 lines
No EOL
124 B
TypeScript
5 lines
No EOL
124 B
TypeScript
function foo<T>(x = class { static prop: T }): T {
|
|
return undefined;
|
|
}
|
|
|
|
foo(class { static prop = "hello" }).length; |