1.0.0 • Published 3 years ago
@pratikpc/removefirstargfromallfunctionofclassandintersectingfromparent v1.0.0
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
1.0.0
3 years ago