diff --git a/functions/src/word-list-maker.ts b/functions/src/word-list-maker.ts index f3df002..e978367 100644 --- a/functions/src/word-list-maker.ts +++ b/functions/src/word-list-maker.ts @@ -6,10 +6,10 @@ import { } from "@lingdocs/inflect"; import { isNounOrAdjEntry } from "@lingdocs/inflect/dist/lib/src/type-predicates"; -type PSHash = string & { ___brand: "a hash of PSString" }; +type PSHash = `${string}X${string}`; function makeHash(o: T.PsString): PSHash { - return `${o.p}X${o.f}` as PSHash; + return `${o.p}X${o.f}`; } export function splitWords(o: T.PsString): T.PsString[] {