hunspell-reader
Advanced tools
Comparing version 6.14.2 to 6.14.3
import type { AffInfo, AffWord, AffWordFlags, Fx, Rule, Substitution } from './affDef'; | ||
import { Converter } from './converter'; | ||
/** The `word` field in a Converted AffWord has been converted using the OCONV mapping */ | ||
export declare type ConvertedAffWord = AffWord; | ||
export type ConvertedAffWord = AffWord; | ||
export declare class Aff { | ||
@@ -6,0 +6,0 @@ affInfo: AffInfo; |
@@ -9,3 +9,3 @@ export interface Fx { | ||
} | ||
export declare type Substitutions = Map<string, SubstitutionSet>; | ||
export type Substitutions = Map<string, SubstitutionSet>; | ||
export interface Substitution { | ||
@@ -12,0 +12,0 @@ remove: string; |
@@ -29,3 +29,3 @@ import { Aff } from './aff'; | ||
} | ||
declare type Afx = Map<string, Fx>; | ||
type Afx = Map<string, Fx>; | ||
export declare const testing: { | ||
@@ -32,0 +32,0 @@ parseAffixRule: typeof parseAffixRule; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import * as stream from 'stream'; | ||
export declare type Streamable = string | Buffer; | ||
export declare type IterableLike<T> = Iterable<T> | IterableIterator<T>; | ||
export type Streamable = string | Buffer; | ||
export type IterableLike<T> = Iterable<T> | IterableIterator<T>; | ||
/** | ||
@@ -7,0 +7,0 @@ * Transform an iterable into a node readable stream. |
@@ -5,7 +5,7 @@ export interface WordInfo { | ||
} | ||
export declare type Dictionary<T, K extends string | number = string> = { | ||
export type Dictionary<T, K extends string | number = string> = { | ||
[index in K]: T; | ||
}; | ||
export declare type Filter<T, U> = T extends U ? T : never; | ||
export declare type Mapping<F, T> = keyof F extends string ? Dictionary<T, Filter<keyof F, string>> : never; | ||
export type Filter<T, U> = T extends U ? T : never; | ||
export type Mapping<F, T> = keyof F extends string ? Dictionary<T, Filter<keyof F, string>> : never; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "hunspell-reader", | ||
"version": "6.14.2", | ||
"version": "6.14.3", | ||
"description": "A library for reading Hunspell Dictionary Files", | ||
@@ -41,3 +41,3 @@ "bin": "bin.js", | ||
"@types/fs-extra": "^9.0.13", | ||
"@types/jest": "^29.2.2", | ||
"@types/jest": "^29.2.3", | ||
"@types/node": "^18.11.9", | ||
@@ -47,3 +47,3 @@ "jest": "^29.3.1", | ||
"ts-jest": "^29.0.3", | ||
"typescript": "^4.8.4" | ||
"typescript": "^4.9.3" | ||
}, | ||
@@ -59,3 +59,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "ea9692380357e9e890c20f15b1200cc1c6c3a2df" | ||
"gitHead": "df0efdbb0dc7b084579130ba5fe97441c0ab67ca" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63906