Fix some type issues

This commit is contained in:
Greg Shuflin 2021-09-15 04:54:32 -07:00
parent 20d3cb3084
commit 3392629749
2 changed files with 3 additions and 1 deletions

View File

@ -105,7 +105,7 @@ const Results = (props: ResultsProps) => {
const convertSearchBoxShorthand = (input: string, conlang: Conlang): string => {
if (conlang === Conlang.Saimiar) {
return input
return (input as any)
.replaceAll(/ee/g, "ê")
.replaceAll(/oo/g, "ô")
.replaceAll(/o'/g, "ø")

View File

@ -16,6 +16,8 @@ interface SaiEntryProps {
eng: string;
syn_category: string;
morph_type: string;
etym: string;
semantic_field: string;
notes: string;
}