function getData(data: T): T { // 返回 data return data; } // 任务: // 1. 用 number 调用 // 2. 用 string 调用 // 3. 输出结果