mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +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 {}
|