add AllWordsWithInflections type
This commit is contained in:
parent
edeffc3c6a
commit
ae12336f85
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "5.4.1",
|
"version": "5.4.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "5.4.1",
|
"version": "5.4.2",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "pashto-inflector",
|
"name": "pashto-inflector",
|
||||||
"version": "5.4.1",
|
"version": "5.4.2",
|
||||||
"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",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/ps-react",
|
"name": "@lingdocs/ps-react",
|
||||||
"version": "5.4.1",
|
"version": "5.4.2",
|
||||||
"description": "Pashto inflector library module with React components",
|
"description": "Pashto inflector library module with React components",
|
||||||
"main": "dist/components/library.js",
|
"main": "dist/components/library.js",
|
||||||
"module": "dist/components/library.js",
|
"module": "dist/components/library.js",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/inflect",
|
"name": "@lingdocs/inflect",
|
||||||
"version": "5.4.1",
|
"version": "5.4.2",
|
||||||
"description": "Pashto inflector library",
|
"description": "Pashto inflector library",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/lib/library.d.ts",
|
"types": "dist/lib/library.d.ts",
|
||||||
|
|
|
@ -28,6 +28,11 @@ export type Dictionary = {
|
||||||
entries: DictionaryEntry[];
|
entries: DictionaryEntry[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type WordlistWithInflections = {
|
||||||
|
info: DictionaryInfo,
|
||||||
|
words: PsString[],
|
||||||
|
};
|
||||||
|
|
||||||
// TODO: MAKE THIS A RECORD TYPE
|
// TODO: MAKE THIS A RECORD TYPE
|
||||||
// Record<RequiredNumberFields, number> && Record<RequiredStringFields, string> &&
|
// Record<RequiredNumberFields, number> && Record<RequiredStringFields, string> &&
|
||||||
// Partial<Record<StringFields, string>> && Partial<Record<NumberFields, number>>
|
// Partial<Record<StringFields, string>> && Partial<Record<NumberFields, number>>
|
||||||
|
|
Loading…
Reference in New Issue