-
Notifications
You must be signed in to change notification settings - Fork 28
feat: moving node imports over to using the node: prefix #729
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| import type { Har } from 'har-format'; | ||
| import type Oas from 'oas'; | ||
| import type { Operation } from 'oas'; | ||
| import type { HttpMethods } from 'oas/dist/rmoas.types'; | ||
|
|
@@ -121,7 +122,7 @@ export default class APICore { | |
| init.signal = controller.signal; | ||
| } | ||
|
|
||
| return fetchHar(har as any, { | ||
| return fetchHar(har as Har, { | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The HAR coming out of |
||
| files: data.files || {}, | ||
| init, | ||
| userAgent: this.userAgent, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,6 +8,7 @@ export default async function parseResponse<HTTPStatus extends number = number>( | |
|
|
||
| const responseBody = await response.text(); | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
| let data: any = responseBody; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i'm guessing
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unfort not |
||
| if (isJSON) { | ||
| try { | ||
|
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no idea why i loaded
fs/promiseslike this. the things you find in small refactors...