mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-15 17:47:49 +08:00
Add elastic.js type definitions. (#10423)
* Add elastic.js type definitions. * Fix tests. * Fix tests. * Fix meta information format.
This commit is contained in:
6
elastic.js/elastic.js-tests.ts
Normal file
6
elastic.js/elastic.js-tests.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
/// <reference path="elastic.js.d.ts"/>
|
||||
|
||||
let body = new elasticjs.Request({})
|
||||
.query(new elasticjs.MatchQuery('title_field', 'testQuery'))
|
||||
.facet(new elasticjs.TermsFacet('tags').field('tags'))
|
||||
.toJSON();
|
||||
8972
elastic.js/elastic.js.d.ts
vendored
Normal file
8972
elastic.js/elastic.js.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user