@types/lunr
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -335,3 +335,3 @@ // Type definitions for lunr.js 2.1 | ||
*/ | ||
query(fn: Index.QueryBuilder): Index.Result; | ||
query(fn: Index.QueryBuilder): Index.Result[]; | ||
@@ -554,2 +554,3 @@ /** | ||
* @typedef {Object} lunr.Query~Clause | ||
* @property {string} term | ||
* @property {string[]} fields - The fields in an index this clause should be matched against. | ||
@@ -562,2 +563,3 @@ * @property {number} [boost=1] - Any boost that should be applied when matching this clause. | ||
interface Clause { | ||
term: string; | ||
fields: string[]; | ||
@@ -564,0 +566,0 @@ boost: number; |
{ | ||
"name": "@types/lunr", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "TypeScript definitions for lunr.js", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "739c740cb8ce7599a9b9740a4d64865d81872b27b1bdb6efbc6b62f1aa2ae429", | ||
"typesPublisherContentHash": "7500e9cd65d87da5641880708c960544458bbdf91ea09a752436b83d9ec04753", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 26 Sep 2017 18:18:49 GMT | ||
* Last updated: Fri, 13 Oct 2017 22:26:39 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: lunr |
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
41824
918