DEV Community

Discussion on: What was your win this week?

Collapse
 
nickytonline profile image
Nick Taylor • Edited

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