@types/lunr
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -134,6 +134,6 @@ // Type definitions for lunr.js 2.3 | ||
* | ||
* @param field - The name of a field to index in all documents. | ||
* @param fieldName - The name of a field to index in all documents. | ||
* @param attributes - Optional attributes associated with this field. | ||
*/ | ||
field(field: string, attributes?: object): void; | ||
field(fieldName: string, attributes?: { boost?: number, extractor?: (doc: object) => string | object | object[] }): void; | ||
@@ -175,3 +175,3 @@ /** | ||
*/ | ||
add(doc: object, attributes?: object): void; | ||
add(doc: object, attributes?: { boost?: number }): void; | ||
@@ -178,0 +178,0 @@ /** |
{ | ||
"name": "@types/lunr", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"description": "TypeScript definitions for lunr.js", | ||
@@ -19,11 +19,12 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/lunr" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "a347c706f3f81e2da6a41eed488aed37d54bbb1fc8d026dec7aab567270a560f", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "13fb64f06acf3dc6d7725c9ce31fc2a50c77eef63de9d879be01bf655b0158e9", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for lunr.js ( https://github.com/olivernn/lunr.js ). | ||
This package contains type definitions for lunr.js (https://github.com/olivernn/lunr.js). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lunr | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lunr. | ||
Additional Details | ||
* Last updated: Wed, 13 Feb 2019 21:04:28 GMT | ||
### Additional Details | ||
* Last updated: Tue, 31 Mar 2020 22:41:06 GMT | ||
* Dependencies: none | ||
* Global values: lunr | ||
* Global values: `lunr` | ||
# Credits | ||
These definitions were written by Sean Tan <https://github.com/seantanly>, Andrés Pérez <https://github.com/hokiegeek>. | ||
These definitions were written by [Sean Tan](https://github.com/seantanly), and [Andrés Pérez](https://github.com/hokiegeek). |
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
41037