diff --git a/package.json b/package.json index 1a46eb6..29821ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "2.3.0", + "version": "2.3.1", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/types.ts b/src/types.ts index 1e3dc7e..5d9429f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -712,6 +712,6 @@ export type EntryFeederSingleType = X[] | export type EntryLookupPortal = { search: (s: string) => X[], - getByTs: (s: number) => X, + getByTs: (ts: number) => (X | undefined), }