8 lines
No EOL
102 B
TypeScript
8 lines
No EOL
102 B
TypeScript
// @declaration: true
|
|
|
|
class C<T> {
|
|
x: T;
|
|
foo(a: T): T {
|
|
return this.x;
|
|
}
|
|
} |