| 1 |
|
| 2 |
|
| 3 |
type T = string; |
| 4 |
declare module 'test' { |
| 5 |
import type { JSONSchema7 } from 'json-schema'; |
| 6 |
declare var a: number; |
| 7 |
declare function foo(a: JSONSchema7): string; |
| 8 |
declare export function concatPath(dirA: string, dirB: T): string; |
| 9 |
declare export class A {} |
| 10 |
} |
| 11 |
|
| 12 |
declare module 'test/submodule' { |
| 13 |
import type { JSONSchema7 } from 'json-schema'; |
| 14 |
declare var a: number; |
| 15 |
declare function foo(a: JSONSchema7): string; |
| 16 |
declare export function concatPath(dirA: string, dirB: string): string; |
| 17 |
declare export class A {} |
| 18 |
} |