mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-14 14:00:26 +00: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:
@@ -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();
|
||||
Vendored
+8972
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user