Skip to content

[Feature Request] Include TypeScript declaration in npm package #345

Closed
@joshuaavalon

Description

@joshuaavalon

Since this package is already written in TypeScript, why not include TypeScript declaration in the npm package?

You just need to add the following lines to tsconfig.json

{
  "compilerOptions": {
    "declaration": true
  }
}

and packacge.json

{
  "types": "./dist/index.d.ts"
}

You can keep the declaration up to date instead of requiring to update @types/http-proxy-middleware separately.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions