mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
385 B
TypeScript
19 lines
385 B
TypeScript
//// [tests/cases/conformance/interfaces/interfaceDeclarations/interfaceExtendingOptionalChain.ts] ////
|
|
|
|
//// [interfaceExtendingOptionalChain.ts]
|
|
namespace Foo {
|
|
export class Bar {}
|
|
}
|
|
|
|
interface C1 extends Foo?.Bar {}
|
|
|
|
|
|
//// [interfaceExtendingOptionalChain.js]
|
|
"use strict";
|
|
var Foo;
|
|
(function (Foo) {
|
|
class Bar {
|
|
}
|
|
Foo.Bar = Bar;
|
|
})(Foo || (Foo = {}));
|