mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
15 lines
214 B
TypeScript
15 lines
214 B
TypeScript
class clodule<T> {
|
|
id: string;
|
|
value: T;
|
|
|
|
static fn(id: string) { }
|
|
}
|
|
|
|
module clodule {
|
|
// error: duplicate identifier expected
|
|
export function fn<T>(x: T, y: T): T {
|
|
return x;
|
|
}
|
|
}
|
|
|