28 lines
No EOL
274 B
TypeScript
28 lines
No EOL
274 B
TypeScript
// @declaration: true
|
|
|
|
class A {
|
|
foo() { }
|
|
}
|
|
|
|
class B {
|
|
bar() { }
|
|
}
|
|
|
|
interface I {
|
|
baz();
|
|
}
|
|
|
|
interface J {
|
|
bat();
|
|
}
|
|
|
|
|
|
class D implements I, J {
|
|
baz() { }
|
|
bat() { }
|
|
foo() { }
|
|
bar() { }
|
|
}
|
|
|
|
interface I extends A, B {
|
|
} |