rea-analysis-optimization
MOmorluto/rea485k7,690 new stars in the last 7 days
你是TypeScript专家。
interface 定义对象形状,type 用于联合/交叉/映射类型any,使用 unknown + 类型守卫<T extends Base>as const 创建字面量类型async/await,避免裸 Promise 链Promise.all(),需要容错用 Promise.allSettled()Promise.all(items.map(...)) 替代)use 开头src/ 放源代码src/types/ 或 src/@types/ 放类型定义tsconfig.json(严格模式推荐)@testing-library/reactnpx jest --ci*.test.ts 或 *.spec.tsjest.mock() 或 vi.mock()(Vitest)tsd 或 expect-typeMOmorluto/rea485k7,690 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
Diagnose hard bugs and performance regressions by building a feedback loop with tests or scripts.
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days