From b28e828f1e9360fdcdd8eeafea35efe3e12a80bc Mon Sep 17 00:00:00 2001 From: adueck Date: Fri, 3 Feb 2023 00:37:50 +0500 Subject: [PATCH] cleanup Examples --- package-lock.json | 4 ++-- package.json | 2 +- src/components/package.json | 2 +- src/components/src/Examples.tsx | 6 ++---- src/lib/package.json | 2 +- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4ab158b..3843716 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pashto-inflector", - "version": "5.7.11", + "version": "5.7.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pashto-inflector", - "version": "5.7.11", + "version": "5.7.12", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index af0404a..be1966f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pashto-inflector", - "version": "5.7.11", + "version": "5.7.12", "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/components/package.json b/src/components/package.json index 672e86a..ca0fd48 100644 --- a/src/components/package.json +++ b/src/components/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/ps-react", - "version": "5.7.11", + "version": "5.7.12", "description": "Pashto inflector library module with React components", "main": "dist/components/library.js", "module": "dist/components/library.js", diff --git a/src/components/src/Examples.tsx b/src/components/src/Examples.tsx index ae0f147..3e8d6bc 100644 --- a/src/components/src/Examples.tsx +++ b/src/components/src/Examples.tsx @@ -50,12 +50,10 @@ function Examples(props: ({ ); return Array.isArray(examples) ?
- {/* @ts-ignore */} - {examples.map((example, i) => {example})} + {examples.map((example, i) => {example as PsStringWSub})}
: - // @ts-ignore - {examples}; + {examples as PsStringWSub}; } export default Examples; \ No newline at end of file diff --git a/src/lib/package.json b/src/lib/package.json index 6ce26a3..22a5c7f 100644 --- a/src/lib/package.json +++ b/src/lib/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/inflect", - "version": "5.7.11", + "version": "5.7.12", "description": "Pashto inflector library", "main": "dist/index.js", "types": "dist/lib/library.d.ts",