23 lines
No EOL
339 B
TypeScript
23 lines
No EOL
339 B
TypeScript
// @module: amd
|
|
|
|
// @filename: a.ts
|
|
export class A {
|
|
protected protected: any;
|
|
|
|
protected setProtected(val: any) {
|
|
this.protected = val;
|
|
}
|
|
}
|
|
|
|
// @filename: b.ts
|
|
import {A} from './a';
|
|
|
|
declare module "./a" {
|
|
interface A { }
|
|
}
|
|
|
|
export class B extends A {
|
|
protected setProtected() {
|
|
|
|
}
|
|
} |