12 lines
210 B
TypeScript
12 lines
210 B
TypeScript
//// [interfaceThatHidesBaseProperty.ts]
|
|
interface Base {
|
|
x: { a: number };
|
|
}
|
|
|
|
interface Derived extends Base {
|
|
x: {
|
|
a: number; b: number;
|
|
};
|
|
}
|
|
|
|
//// [interfaceThatHidesBaseProperty.js]
|