mirror of
https://github.com/swc-project/swc.git
synced 2024-12-03 00:54:25 +03:00
14 lines
328 B
TypeScript
14 lines
328 B
TypeScript
|
// @Filename: types.ts
|
||
|
export interface Component {}
|
||
|
|
||
|
// @Filename: ns.ts
|
||
|
import type * as types from './types';
|
||
|
export { types };
|
||
|
|
||
|
// @Filename: index.ts
|
||
|
import type * as types from './types';
|
||
|
import * as nestedNamespace from './ns';
|
||
|
|
||
|
class C implements types.Component {}
|
||
|
class D implements nestedNamespace.types.Component {}
|