8 lines
No EOL
138 B
TypeScript
8 lines
No EOL
138 B
TypeScript
class C implements I {
|
|
public foo(x: any) { return x; }
|
|
private x = 1;
|
|
}
|
|
|
|
interface I extends C {
|
|
other(x: any): any;
|
|
} |