Skip to content

Commit

Permalink
Fix/spelling error default (#120)
Browse files Browse the repository at this point in the history
* Fix/spelling error: `default_enable_short_term`

* bump version to 4.1.3
  • Loading branch information
ishiko732 authored Sep 1, 2024
1 parent 760ed1f commit 18a19bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 18a19bb

Please sign in to comment.