For release 0.4, I had to work on something bigger and something difficult. This blog is divided into 2 other blogs; Preparing for release 0.4, working on release 0.4 and final release.
Looking for a Project and issue
I always wanted to contribute to a project which is turning big. I tried to looking around alot finding such project, later I recalled about a project that got my attention during Hacktober but I did not do it because it was way to big for me to understand. The project is ts-extras. I think it is a big project since its developer sindresorhus is a professional open source contributor and has given many npm packages to the community. I want to be in one of his projects. Although he is currently working on many projects and packages, I choose this because this package is not large in size but very useful for everyone that gives Essential utilities for TypeScript projects. It helps in things like finding is-empty, is-finite, assert-error and other functionalities of a typescript project. Now, there was one more such functionality to be added to the project of is-equal. I thought to work on it.
Understanding the Issue
It might sound easy in the first and thats one of the reason I was attracted to during Hacktober fest(my early days of opensource development) but I later found out that it needs much more typescript and programming knowledge than the few lines of code. This is because comparing to varibales, types and a variable and type is not easy when you dont have a function or module to help you. And yes thats correct, this issue aims in building that function so that it would be easier to comparing those things in the future.
Planning
Although I do not have expert knowledge of typescript, my aim was to contribute to this issue. I started by finding online help and blogs that can help in better understanding and some idea of the solution but there no great content that can I found that can help me with this issue as those discussion on the internet were making use of helper module to solve it and those helper modules were very complex and had 1000s of line of code which was not allowed in the project(the project is made to make work simple and easily modifyable). But, reading those discussions did help me understand how people are using such functions and gave me an idea of how the end result should look
Top comments (0)