mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
7 lines
118 B
TypeScript
7 lines
118 B
TypeScript
declare module string {
|
|
interface X { }
|
|
export function foo(s: string);
|
|
}
|
|
string.foo("abc");
|
|
var x: string.X;
|