We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
When I add httpie to an angular project I get the following error:
Error: node_modules/httpie/index.d.ts:1:21 - error TS2307: Cannot find module 'url' or its corresponding type declarations. 1 import { Url } from 'url';
As a workaround, I just removed the 'import' statement and the 'Url' references and it seems to work fine.
export function send<T = any>(method: string, uri: string | URL, opts?: Partial<Options>): Promise<Response<T>>; declare function method<T = any>(uri: string | URL, opts?: Partial<Options>): Promise<Response<T>>;
If it really doesn't break anything, maybe this patch can be pushed to the repository.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
When I add httpie to an angular project I get the following error:
As a workaround, I just removed the 'import' statement and the 'Url' references and it seems to work fine.
If it really doesn't break anything, maybe this patch can be pushed to the repository.
The text was updated successfully, but these errors were encountered: