我正在练习类型,然后遇到了这种问题,我看了一些帖子,仍然无法\xe2\x80\x99找出原因。
\ntype A = (() => true) extends Record<string, any> ? true : false; // => true\ntype B = (() => true) extends Record<string, unknown> ? true : false; // false\nRun Code Online (Sandbox Code Playgroud)\n