mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +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 {}
|