摘要: Define function / variable in global scope globalThis.myFunc = () => true; // doesn't compile globalThis.myVar = 1; // doesn't compile it("Should let 阅读全文
posted @ 2023-02-06 21:04 Zhentiw 阅读(21) 评论(0) 推荐(0) 编辑
摘要: In this exercise, we're going to look at a really interesting property of branded types when they're used with index signatures. Here we have our User 阅读全文
posted @ 2023-02-06 03:38 Zhentiw 阅读(17) 评论(0) 推荐(0) 编辑