Skip to content
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

Fix/spelling error default #120

Merged
merged 2 commits into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-fsrs",
"version": "4.1.2",
"version": "4.1.3",
"description": "ts-fsrs is a versatile package based on TypeScript that supports ES modules, CommonJS, and UMD. It implements the Free Spaced Repetition Scheduler (FSRS) algorithm, enabling developers to integrate FSRS into their flashcard applications to enhance the user learning experience.",
"main": "dist/index.cjs",
"umd": "dist/index.umd.js",
Expand Down
6 changes: 3 additions & 3 deletions src/fsrs/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export const default_w = [
0.6567,
]
export const default_enable_fuzz = false
export const defualt_enable_short_term = true
export const default_enable_short_term = true

export const FSRSVersion: string = 'v4.1.2 using FSRS V5.0'
export const FSRSVersion: string = 'v4.1.3 using FSRS V5.0'

export const generatorParameters = (
props?: Partial<FSRSParameters>
Expand All @@ -30,7 +30,7 @@ export const generatorParameters = (
maximum_interval: props?.maximum_interval || default_maximum_interval,
w: w,
enable_fuzz: props?.enable_fuzz ?? default_enable_fuzz,
enable_short_term: props?.enable_short_term ?? defualt_enable_short_term,
enable_short_term: props?.enable_short_term ?? default_enable_short_term,
} satisfies FSRSParameters
}

Expand Down