type tweak
This commit is contained in:
parent
35b91c12b7
commit
a4eddf82d2
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/pashto-inflector",
|
"name": "@lingdocs/pashto-inflector",
|
||||||
"version": "0.9.5",
|
"version": "0.9.6",
|
||||||
"author": "lingdocs.com",
|
"author": "lingdocs.com",
|
||||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||||
"homepage": "https://verbs.lingdocs.com",
|
"homepage": "https://verbs.lingdocs.com",
|
||||||
|
|
|
@ -29,7 +29,7 @@ function Examples({
|
||||||
ex,
|
ex,
|
||||||
opts,
|
opts,
|
||||||
}: {
|
}: {
|
||||||
ex?: PsStringWSub | PsStringWSub[],
|
ex?: PsStringWSub | PsStringWSub[] | T.PsJSX | T.PsJSX[],
|
||||||
children: PsStringWSub | PsStringWSub[],
|
children: PsStringWSub | PsStringWSub[],
|
||||||
opts: T.TextOptions,
|
opts: T.TextOptions,
|
||||||
}) {
|
}) {
|
||||||
|
|
|
@ -12,7 +12,7 @@ export type PsString = {
|
||||||
} & {
|
} & {
|
||||||
e?: string;
|
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 = {
|
export type DictionaryInfo = {
|
||||||
title: string;
|
title: string;
|
||||||
|
|
Loading…
Reference in New Issue