Fixed types test
This commit is contained in:
@ -68,7 +68,6 @@ client.info((err: errors.ElasticsearchClientError | null, result: ApiResponse) =
|
|||||||
|
|
||||||
client.index({
|
client.index({
|
||||||
index: 'test',
|
index: 'test',
|
||||||
type: 'test',
|
|
||||||
id: 'test',
|
id: 'test',
|
||||||
body: { hello: 'world' }
|
body: { hello: 'world' }
|
||||||
}, (err: errors.ElasticsearchClientError | null, result: ApiResponse) => {})
|
}, (err: errors.ElasticsearchClientError | null, result: ApiResponse) => {})
|
||||||
@ -76,7 +75,6 @@ client.index({
|
|||||||
// request options
|
// request options
|
||||||
client.index({
|
client.index({
|
||||||
index: 'test',
|
index: 'test',
|
||||||
type: 'test',
|
|
||||||
id: 'test',
|
id: 'test',
|
||||||
body: { hello: 'world' }
|
body: { hello: 'world' }
|
||||||
}, {
|
}, {
|
||||||
@ -96,7 +94,6 @@ client.info()
|
|||||||
|
|
||||||
client.index({
|
client.index({
|
||||||
index: 'test',
|
index: 'test',
|
||||||
type: 'test',
|
|
||||||
id: 'test',
|
id: 'test',
|
||||||
body: { hello: 'world' }
|
body: { hello: 'world' }
|
||||||
})
|
})
|
||||||
@ -106,7 +103,6 @@ client.index({
|
|||||||
// request options
|
// request options
|
||||||
client.index({
|
client.index({
|
||||||
index: 'test',
|
index: 'test',
|
||||||
type: 'test',
|
|
||||||
id: 'test',
|
id: 'test',
|
||||||
body: { hello: 'world' }
|
body: { hello: 'world' }
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Reference in New Issue
Block a user