https://github.com/pratikpc/removefirstargfromallfunctionofclassandintersectingfromparent
https://github.com/pratikpc/removefirstargfromallfunctionofclassandintersectingfromparent
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pratikpc/removefirstargfromallfunctionofclassandintersectingfromparent
- Owner: pratikpc
- License: isc
- Created: 2021-06-13T17:50:10.000Z (about 5 years ago)
- Default Branch: develop
- Last Pushed: 2021-06-13T18:04:03.000Z (about 5 years ago)
- Last Synced: 2025-03-16T22:48:25.625Z (over 1 year ago)
- Language: TypeScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```sh
npm install @pratikpc/removefirstargfromallfunctionofclassandintersectingfromparent --save
```
### Usage
```typescript
import removefirstargfromallfunctionofclassandintersectingfromparent from "@pratikpc/removefirstargfromallfunctionofclassandintersectingfromparent";
function X(): removefirstargfromallfunctionofclassandintersectingfromparent<
Parent,
Child
> {}
```
## Note
This only changes the return type.
Change functions yourself