摘要:
Requirement is if pass in initialData, then return type should not contain undefined, otherwise, it should. import { it } from "vitest"; import { Equa 阅读全文
posted @ 2023-02-02 15:51
Zhentiw
阅读(20)
评论(0)
推荐(0)
摘要:
When we pass in "div" to document.querySelector, it returns an HTMLDivElement or null. Similarly, when we pass it "span" we're getting an HTMLSpanElem 阅读全文
posted @ 2023-02-02 15:42
Zhentiw
阅读(34)
评论(0)
推荐(0)
摘要:
Here's a function called returnWhatIPassInExceptFor1: function returnWhatIPassInExceptFor1(t: unknown): unknown { if (t 1) { return 2; } return t; } W 阅读全文
posted @ 2023-02-02 01:15
Zhentiw
阅读(41)
评论(0)
推荐(0)

浙公网安备 33010602011771号