Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecated typings #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dkress59
Copy link

@dkress59 dkress59 commented Sep 4, 2021

Hello, everyone,

I believe this will also fix issues #16 and #33:
I am currently converting an express-app (which among other things server-side-renders a react-spa) to a NestJS monorepo and am running into issues as soon as I import something from your library. I identified the source of the problem to be in the deprecated @types/request package (in my case an import from uuid v3.x, current uuid version is 8.x).

This PR swaps out the deprecated typings with the @types/node package by DefinitelyTyped ("The repository for high quality TypeScript type definitions") that covers all node built-ins.

Someone from #23 should probably also take a look at this.

…with @types/node by DefinitelyTyped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant