1.0.0 • Published 3 years ago

@pratikpc/removefirstargfromallfunctionofclassandintersectingfromparent v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

removefirstargfromallfunctionofclassandintersectingfromparent

This is a TypeScript package
Remove the first arg from every function of the given class.
Also remove all parent class (including those present in child class) Functions

Usage

Install

npm install @pratikpc/removefirstargfromallfunctionofclassandintersectingfromparent --save

Usage

import removefirstargfromallfunctionofclassandintersectingfromparent from "@pratikpc/removefirstargfromallfunctionofclassandintersectingfromparent";

function X(): removefirstargfromallfunctionofclassandintersectingfromparent<
  Parent,
  Child
> {}

Note

This only changes the return type.
Change functions yourself