Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jfollmann/declaration-merging-ts
Sample to use Declaration Merging with Typescript
https://github.com/jfollmann/declaration-merging-ts
axios declaration-merging module-argumentation nodejs typescript
Last synced: 15 days ago
JSON representation
Sample to use Declaration Merging with Typescript
- Host: GitHub
- URL: https://github.com/jfollmann/declaration-merging-ts
- Owner: jfollmann
- Created: 2021-07-21T03:17:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-25T15:20:02.000Z (about 3 years ago)
- Last Synced: 2024-11-07T09:52:54.848Z (2 months ago)
- Topics: axios, declaration-merging, module-argumentation, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Declaration Merging TS
This project aims to demonstrate the use of the declaration merging feature of typescript.
Each example demonstrates a way to implement a time counter for requests executed with axios.
The last example (sample03.ts), defines extended properties for the axios from declaration merging.
This project was created for study purposes only.[Typescript Documentation](https://www.typescriptlang.org/docs/handbook/declaration-merging.html)
## Install Dependencies:
```bash
npm i
```## Run samples:
```bash
npm run run:01
``````bash
npm run run:02
``````bash
npm run run:03
```