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

TSLint error when importing #71

Closed
crxmail opened this issue Feb 26, 2020 · 1 comment
Closed

TSLint error when importing #71

crxmail opened this issue Feb 26, 2020 · 1 comment

Comments

@crxmail
Copy link

crxmail commented Feb 26, 2020

import * as bent from 'bent';

results in error message when compiling

ERROR in [at-loader] ./node_modules/@types/bent/index.d.ts:50:26
TS2304: Cannot find name 'Response'.

installed typescript package is
"@types/bent": "^7.0.1",

Could be fixed by adding the import Response from https

@mikeal
Copy link
Owner

mikeal commented Feb 26, 2020

This project doesn’t maintain the type defs so I have no idea what this error is or what to do about it.

@mikeal mikeal closed this as completed Feb 26, 2020
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

No branches or pull requests

2 participants