10 lines
143 B
TypeScript
10 lines
143 B
TypeScript
|
// @filename: a.ts
|
||
|
class A {
|
||
|
protected foo() {}
|
||
|
}
|
||
|
// @filename: b.ts
|
||
|
interface A { }
|
||
|
|
||
|
class B extends A {
|
||
|
protected foo() {}
|
||
|
}
|