monkeytype/packages/schemas
Leonabcd123 13b75f46bf
feat(test): add indicate typos both (@Leonabcd123) (#7072)
### Description

Added a "both" option to indicate typos that keeps the replace
functionality, and makes the below functionality show the correct
instead of the incorrect letters. We just check whether the mode is
`both` when deciding whether to pass `input` to `createHintsHtml` or to
pass `currentWord`. All functionality of replace and below is kept by
just adding or operators to check whether indicateTypos is `both` OR
replace/below.

Implementing #7024

---------

Co-authored-by: Jack <jack@monkeytype.com>
2025-11-15 10:46:31 +01:00
..
__tests__ test: don't use globals for vitest (@fehmer) (#6871) 2025-08-14 11:25:44 +02:00
src feat(test): add indicate typos both (@Leonabcd123) (#7072) 2025-11-15 10:46:31 +01:00
.eslintrc.cjs
.oxlintrc.json chore: change oxlint config to jsonc 2025-09-11 22:04:48 +02:00
package.json chore: update vitest to 4.0.8 (@fehmer) (#7096) 2025-11-12 12:42:30 +01:00
tsconfig.json
tsup.config.js
vitest.config.ts test: don't use globals for vitest (@fehmer) (#6871) 2025-08-14 11:25:44 +02:00