From 33926297495aae936a3ef54b6f9509cb83ebf1d5 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Wed, 15 Sep 2021 04:54:32 -0700 Subject: [PATCH] Fix some type issues --- src/App.tsx | 2 +- src/types.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index f9535c0..7e4318e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -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, "ø") diff --git a/src/types.ts b/src/types.ts index 6fa554b..b04f7e5 100644 --- a/src/types.ts +++ b/src/types.ts @@ -16,6 +16,8 @@ interface SaiEntryProps { eng: string; syn_category: string; morph_type: string; + etym: string; + semantic_field: string; notes: string; }