Skip to content

Commit

Permalink
chore: change ts expect error to ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Aug 14, 2024
1 parent ee08197 commit 47502ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export class Bot<
} = {
method: "POST",

Check failure on line 236 in src/bot.ts

View workflow job for this annotation

GitHub Actions / publish_package

Object literal may only specify known properties, and 'method' does not exist in type 'Omit<FetchRequestInit, "headers"> & { headers: Headers; }'.

Check failure on line 236 in src/bot.ts

View workflow job for this annotation

GitHub Actions / publish_package

Object literal may only specify known properties, and 'method' does not exist in type 'Omit<FetchRequestInit, "headers"> & { headers: Headers; }'.

Check failure on line 236 in src/bot.ts

View workflow job for this annotation

GitHub Actions / publish_package

Object literal may only specify known properties, and 'method' does not exist in type 'Omit<FetchRequestInit, "headers"> & { headers: Headers; }'.
...this.options.api.fetchOptions,
// @ts-expect-error types node/bun and global missmatch
// @ts-ignore types node/bun and global missmatch
headers: new Headers(this.options.api.fetchOptions?.headers),
};

Expand Down

0 comments on commit 47502ce

Please sign in to comment.