While working recently on an NPM library built with Rollout, I noticed that the folder structure changed, and some TypeScript definition files, the .d.ts ones, weren't in the final build where they were supposed to be. After fixing this, I created an integrity checker that ensured that all TypeScript definition files were there they should… Continue reading How to ensure that TypeScript definition files are in the final build
Tag: typescript
TypeScript: make selected properties optional with Partial & Omit
When you use the utility Partial on a type, it will make all the type properties optional. Let's see how we can compose this utility with another one, Omit, to make optional only certain properties of this type. We'll finally create a utility type using TypeScript generics to apply this on any type we want.… Continue reading TypeScript: make selected properties optional with Partial & Omit
How to create a Bidirectional Map in JavaScript
How to properly create and publish a Deno CLI tool
New Angular TypeScript support changes in version 10
5 reasons why Deno will stop using TypeScript
Publish a Deno module in 3 quick steps
10 great resources to learn and work with Deno
Deno 1.0 launches: a secure runtime for JavaScript
Deno is a new runtime (like Node.js) that aims to provide a productive and secure scripting environment for JavaScript and TypeScript. It has been created by Ryal Dahl, the original creator of Node.js, to be a secure environment for the modern JavaScript/TypeScript developer, incorporating the recent advances in JavaScript of the last years. It's funny… Continue reading Deno 1.0 launches: a secure runtime for JavaScript