mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-13 02:23:10 +08:00
8 lines
250 B
TypeScript
8 lines
250 B
TypeScript
// A module whose exports have the same names and types as some of
|
|
// lib.ts's, so `typeof import("./shape.ts")` accepts lib.ts's namespace.
|
|
export const label: string = "shape";
|
|
|
|
export function add(a: number, b: number): number {
|
|
return a * b;
|
|
}
|