type tweak

This commit is contained in:
lingdocs 2021-09-04 16:20:46 +04:00
parent 35b91c12b7
commit a4eddf82d2
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@lingdocs/pashto-inflector",
"version": "0.9.5",
"version": "0.9.6",
"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",

View File

@ -29,7 +29,7 @@ function Examples({
ex,
opts,
}: {
ex?: PsStringWSub | PsStringWSub[],
ex?: PsStringWSub | PsStringWSub[] | T.PsJSX | T.PsJSX[],
children: PsStringWSub | PsStringWSub[],
opts: T.TextOptions,
}) {

View File

@ -12,7 +12,7 @@ export type PsString = {
} & {
e?: string;
};
export type PsJSX = { p: JSX.Element, f: JSX.Element };
export type PsJSX = { p: JSX.Element, f: JSX.Element, e?: JSX.Element | string };
export type DictionaryInfo = {
title: string;