Posts under typescript
Typescript: Convert Enum to Array
Abhishek EH | Apr 22, 2023 | 2 Min Read
Guide on different ways to convert typescript enum to to array. Also discusses how to convert when values are present and when values are not present
Object is possibly 'undefined' error in TypeScript [Solved]
Abhishek EH | Feb 22, 2023 | 5 Min Read
How to publish React component to npm
Abhishek EH | May 20, 2022 | 8 Min Read
Step by step guide on how to package a react component using rollup and publish it to npm so that it can be reused in other projects.
How to fix Argument of type 'HTMLElement | null' is not assignable to parameter of type 'Element | DocumentFragment'.
Abhishek EH | Apr 15, 2022 | 2 Min Read
Tutorial on how to fix the error Argument of type 'HTMLElement | null' is not assignable to parameter of type 'Element | DocumentFragment'.