Skip to content

Commit

Permalink
Update README.md (#302)
Browse files Browse the repository at this point in the history
Co-authored-by: Denis DelGrosso <85250797+ddelgrosso1@users.noreply.github.com>
  • Loading branch information
maneesht and ddelgrosso1 committed Jul 19, 2023
1 parent 4c91c9e commit cd9e6d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For TypeScript, you can use `@types/request`.

```ts
import {teenyRequest as request} from 'teeny-request';
import r as * from 'request'; // Only for type declarations
import * as r from 'request'; // Only for type declarations

request({uri: 'http://ip.jsontest.com/'}, (error: any, response: r.Response, body: any) => {
console.log('error:', error); // Print the error if one occurred
Expand Down

0 comments on commit cd9e6d9

Please sign in to comment.