zabirauf || Zohaib
Topic

typescript

posts
Jun 9, 2020

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.

4 min read min read
Aug 7, 2019

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.

2 min read min read
Jul 3, 2017

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

2 min read min read
May 12, 2017

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

1 min read min read