OneBite.Dev - Coding blog in a bite size

🧑‍🚀 Blog for learning typescript

typescript blog posts, coding tips and trick in a bitesize to help you learn typescript.

How to declare type in Object destructuring typescript

Learn how to declare type in typescript when using Object destructuring in Javascript

typescript

How to declare object property type in typescript

Lets learn How to declare object property type in typescript using interface

typescript

Declare possible values of string in typescript

How to declare possible values of string in typescript. So we get an error if the provided parameter is wrong or have a typo?

typescript

What is type for onClick event in reactJS using typescript

What is the correct type when using onClick event in reactJS using typescript

react typescript

How to resolve Option --resolveJsonModule cannot be specified without node module resolution strategy.ts

This is how to resolve Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy.ts error on typescript tsconfig.json file

typescript

How to use typescript in existing NextJS project

I already have a running NextJS project but I want to start using typescript. Lets see how to add typescript in existing NextJS project

nextjs typescript