touchup type

This commit is contained in:
adueck 2023-01-22 21:20:15 +05:00
parent 7800686870
commit 9ea9fecb28
1 changed files with 2 additions and 2 deletions

View File

@ -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[] {