成员
jo_ren
参与的讨论
Annotation or satisfies for a config object
For config objects I've mostly moved from const config: Config = {...} to {...} satisfies Config. With the annotation, config…
Keep loops and conditions out of build.gradle
Ran into a build.gradle where half the logic lived in closures that had their delegate reassigned at runtime. Took a while to…
NOT IN and one NULL
SELECT * FROM orders o WHERE o.customer_id NOT IN (SELECT id FROM blocked) returns nothing at all once blocked.id holds a sin…
ESM default import, CommonJS types
Got stuck importing a sibling package from the ESM side of a monorepo. @repo/ui has no "type" field in its package.json, and…