morpheme-match-textlint
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [2.0.1](https://github.com/azu/morpheme-match/compare/v2.0.0...v2.0.1) (2019-07-07) | ||
### Bug Fixes | ||
* **textlint:** fix typing ([ef7c371](https://github.com/azu/morpheme-match/commit/ef7c371)) | ||
# 2.0.0 (2019-06-14) | ||
@@ -8,0 +19,0 @@ |
@@ -30,3 +30,7 @@ import { ExpectedDictionary, ExpectedDictionaries } from "morpheme-match-all"; | ||
}; | ||
export declare const createTextlintMatcher: <T extends ExpectedTokenWithCapture>(options: ReporterOptions<T>) => (text: string) => Promise<MatchTextlintResult<T>[]>; | ||
export declare const createTextlintMatcher: <T extends ExpectedTokenWithCapture>(options: ReporterOptions<T & Partial<import("morpheme-match").Token> & import("morpheme-match").ExpectedTokenAdditional & { | ||
[index: string]: any; | ||
} & { | ||
_capture?: string | undefined; | ||
}>) => (text: string) => Promise<MatchTextlintResult<T>[]>; | ||
export {}; |
{ | ||
"name": "morpheme-match-textlint", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "morpheme-match for textlint rule.", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"dependencies": { | ||
"morpheme-match-all": "^2.0.0" | ||
"morpheme-match-all": "^2.0.1" | ||
}, | ||
@@ -52,3 +52,3 @@ "devDependencies": { | ||
"email": "azuciao@gmail.com", | ||
"gitHead": "3c3aa522a214e319eac7bfd7817dbd23b7a56cb0" | ||
"gitHead": "3db2244de74b77cdfdd14dded7b2822a2cd6d141" | ||
} |
@@ -87,3 +87,3 @@ import {createMatcher as createMathAll, ExpectedDictionary, ExpectedDictionaries} from "morpheme-match-all"; | ||
export const createTextlintMatcher = <T extends ExpectedTokenWithCapture>(options: ReporterOptions<T>) => { | ||
export const createTextlintMatcher = <T extends ExpectedTokenWithCapture>(options: ReporterOptions<T & ExpectedTokenWithCapture>) => { | ||
const matchAll = createMathAll(options.dictionaries); | ||
@@ -90,0 +90,0 @@ const tokenize = options.tokenize; |
Sorry, the diff of this file is not supported yet
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
17301
234
Updatedmorpheme-match-all@^2.0.1