From 05b989b6be2e38021e4650803c0defa9d6525fde Mon Sep 17 00:00:00 2001 From: qwdsds <50311944+qwdsds@users.noreply.github.com> Date: Fri, 27 Dec 2024 10:58:18 +0800 Subject: [PATCH] chore: fix typos --- packages/adapter-sqljs/src/types.ts | 2 +- packages/client-twitter/src/utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/adapter-sqljs/src/types.ts b/packages/adapter-sqljs/src/types.ts index 42dfdf9847b..90b119ff855 100644 --- a/packages/adapter-sqljs/src/types.ts +++ b/packages/adapter-sqljs/src/types.ts @@ -169,7 +169,7 @@ export declare class Database { getRowsModified(): number; /** - * Analyze a result code, return null if no error occured, and throw an + * Analyze a result code, return null if no error occurred, and throw an * error with a descriptive message otherwise * @see [https://sql.js.org/documentation/Database.html#["handleError"]](https://sql.js.org/documentation/Database.html#%5B%22handleError%22%5D) */ diff --git a/packages/client-twitter/src/utils.ts b/packages/client-twitter/src/utils.ts index b1b0cb1b52d..0e7db5d9868 100644 --- a/packages/client-twitter/src/utils.ts +++ b/packages/client-twitter/src/utils.ts @@ -247,7 +247,7 @@ export async function sendTweet( sentTweets.push(finalTweet); previousTweetId = finalTweet.id; } else { - console.error("Error sending chunk", chunk, "repsonse:", body); + console.error("Error sending chunk", chunk, "response:", body); } // Wait a bit between tweets to avoid rate limiting issues