chimurai / http-proxy-middleware

:zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more
MIT License
10.7k stars 834 forks source link

docs(README): update TS example #800

Closed jsjoeio closed 5 months ago

jsjoeio commented 2 years ago

Description

Updates the TypeScript example

Motivation and Context

Makes it up to date.

How has this been tested?

Tested locally

Types of changes

Checklist:

chimurai commented 2 years ago

The proposed change is dependent on the settings of your tsconfig.json. These is no right or wrong. Really depends on your project...

jsjoeio commented 2 years ago

The proposed change is dependent on the settings of your tsconfig.json. These is no right or wrong. Really depends on your project...

Ah well I was just trying to make it easier to copy & paste the TS example from the README. If you disagree, feel free to reject PR and close

chimurai commented 5 months ago

keeping types as part of documentation