Fix some type issues
This commit is contained in:
parent
20d3cb3084
commit
3392629749
@ -105,7 +105,7 @@ const Results = (props: ResultsProps) => {
|
|||||||
|
|
||||||
const convertSearchBoxShorthand = (input: string, conlang: Conlang): string => {
|
const convertSearchBoxShorthand = (input: string, conlang: Conlang): string => {
|
||||||
if (conlang === Conlang.Saimiar) {
|
if (conlang === Conlang.Saimiar) {
|
||||||
return input
|
return (input as any)
|
||||||
.replaceAll(/ee/g, "ê")
|
.replaceAll(/ee/g, "ê")
|
||||||
.replaceAll(/oo/g, "ô")
|
.replaceAll(/oo/g, "ô")
|
||||||
.replaceAll(/o'/g, "ø")
|
.replaceAll(/o'/g, "ø")
|
||||||
|
@ -16,6 +16,8 @@ interface SaiEntryProps {
|
|||||||
eng: string;
|
eng: string;
|
||||||
syn_category: string;
|
syn_category: string;
|
||||||
morph_type: string;
|
morph_type: string;
|
||||||
|
etym: string;
|
||||||
|
semantic_field: string;
|
||||||
notes: string;
|
notes: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user