// 命名导出 — Node.js ECMAScript 标准命名导出语义
// 测试：export const, export function

export const PI = 3.14159;
export const E = 2.71828;

export function add(a: number, b: number): number {
    return a + b;
}

export function multiply(a: number, b: number): number {
    return a * b;
}

export function square(x: number): number {
    return x * x;
}
