在 const request = { method: "GET" } 中,request.method 通常被推断成什么类型?

来自 字面量类型
TypeScript 6 入门 2分钟

在 const request = { method: "GET" } 中,request.method 通常被推断成什么类型?

报告错误