re: What was your win this week? VIEW POST

VIEW FULL DISCUSSION
 

This week, I helped improve the code coverage in our front-end code base as well as merge code coverage reports. Outside of work, I'm close to finishing the enabling of strict mode in TypeScript for the Refined GithHub browser extension (Chrome, Firefox).

Enable strict-mode for TypeScript #1783

Basically going with the non-null assertion operator in almost all places, because as mentioned in github.com/sindresorhus/refined-gi..., the assumption with the extension is that the DOM nodes referenced in most cases are expected to be there. If they aren't, the extension breaks, a bug is filed and it's fixed.

One thing to note @bfred-it, is currently dom-chef types need to handle JSX (Element and IntrinsicElements) or we import @types/react.

Tenacious D animated gif
code of conduct - report abuse