Files
SnowLuma/.pnpm-store/v11/files/6a/cb4c4d012d08a67bc48b57b7a29025239f925ef0fa2576c516cd67f4c154c39529698e743e1a6031cc53a7eadaead9bae7f5dec487d4d0c6501b7202936959
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

15 lines
397 B
Plaintext

import Options from '../../Options'
import { MatchEstimated } from '../../types'
export default (options: Options, match: MatchEstimated) => {
let warning = options.translations.warnings.extendedRepeat
if (match.baseToken.length === 1) {
warning = options.translations.warnings.simpleRepeat
}
return {
warning,
suggestions: [options.translations.suggestions.repeated],
}
}