zabirauf || Zohaib
  • Home
  • Twitter
  • Résumé
  • Contact
Subscribe

typescript

A collection of 4 posts
typescript

Fence your TypeScript, for saner project boundaries

Solve the problem of dependency creep and add boundaries to your TypeScript project to limit what is exported and imported from a package.
Jun 9, 2020 4 min read
Using path aliases in React Native created with Expo and Typescript
typescript

Using path aliases in React Native created with Expo and Typescript

Managing big apps have its own problems and one of them is managing imports. Typescript allows you to have path aliases which makes it easier to refer to modules. In this tutorial we will see how we can use path aliases in React Native app created using Expo and Typescript.
Aug 8, 2019 2 min read
typescript

Leverage union types in Typescript to avoid invalid states

Typescript has a type system which provides more capabilities than the type system in C# and Java. The one that I found to be very useful is the union type in Typescript. Let's define what a union type is Union Type In javascript libraries you might see that a function
Jul 4, 2017 2 min read
typescript

Creating object based on interface type in Typescript

Interface in Typescript is used to tell the compiler what the shape of the JS object should look like. It is a compile time construct hence it will not have generated code as type checking in Typescript is only done at compile time rather than runtime. I'm learning Typescript and
May 12, 2017 1 min read
zabirauf || Zohaib © 2023
Powered by Ghost