diff options
author | Kuuuube <61125188+Kuuuube@users.noreply.github.com> | 2024-02-12 01:10:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 06:10:52 +0000 |
commit | fd48f18f8aa05a362f3168cbddcc03659e7510db (patch) | |
tree | 56d0eef7b54c19aae04f3a43bdcdf5a2d4409733 /types | |
parent | 92f6652ade62264cbdd600ec44c7581ec8e23b08 (diff) |
Add and fix tests with options upgrades (#671)24.2.12.0
* Add and fix tests and options applying
* Fix comma
* Add test file to json.json
* Fix direction of conjugation handlebars update
* Add frequency and cloze-body-kana to upgrade
* Use Array.isArray() instead of arbitrary length check
* Add pitch-accent-categories handlebar
* programmatically get upgrade files
* add type
---------
Co-authored-by: Cashew <tungbinem@gmail.com>
Diffstat (limited to 'types')
-rw-r--r-- | types/ext/options-util.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/types/ext/options-util.d.ts b/types/ext/options-util.d.ts index 62cf5ab6..18201e18 100644 --- a/types/ext/options-util.d.ts +++ b/types/ext/options-util.d.ts @@ -24,3 +24,8 @@ export type IntermediateOptions = Core.SafeAny; export type LegacyUpdateFunction = (options: LegacyOptions) => void; export type UpdateFunction = (options: IntermediateOptions) => void | Promise<void>; + +export type TemplateFieldUpdate = { + version: number; + changes: string; +}; |