about summary refs log tree commit diff
path: root/src/lib/api/feed-manip.ts
diff options
context:
space:
mode:
authorIkko Eltociear Ashimine <eltociear@gmail.com>2023-07-06 01:49:45 +0900
committerGitHub <noreply@github.com>2023-07-05 09:49:45 -0700
commit3498c1d2393e622ab556e337e12243c37618489e (patch)
tree8a2e94a02ae43bed2eb8d5f4be39ded6123d5576 /src/lib/api/feed-manip.ts
parent9750c393a00ad935fe0e7278572e693016ba7e30 (diff)
downloadvoidsky-3498c1d2393e622ab556e337e12243c37618489e.tar.zst
fix: typo in feed-manip.ts (#967)
prefered -> preferred
Diffstat (limited to 'src/lib/api/feed-manip.ts')
-rw-r--r--src/lib/api/feed-manip.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/api/feed-manip.ts b/src/lib/api/feed-manip.ts
index 97665429d..f4bf6cdff 100644
--- a/src/lib/api/feed-manip.ts
+++ b/src/lib/api/feed-manip.ts
@@ -237,7 +237,7 @@ export class FeedTuner {
   /**
    * This function filters a list of FeedViewPostsSlice items based on whether they contain text in a
    * preferred language.
-   * @param {string[]} preferredLangsCode2 - An array of prefered language codes in ISO 639-1 or ISO 639-2 format.
+   * @param {string[]} preferredLangsCode2 - An array of preferred language codes in ISO 639-1 or ISO 639-2 format.
    * @returns A function that takes in a `FeedTuner` and an array of `FeedViewPostsSlice` objects and
    * returns an array of `FeedViewPostsSlice` objects.
    */