chen__45
export function getHandlers(obj: Raw) { return handlers.get(obj.constructor) // 这里报错 } The initial value of Object.prototype.constructor is the standard built-in Object constructor.
isAdmin 方法没加类型推断 导致编译失败 --- 受教了