This commit is contained in:
Aya Morisawa 2017-01-03 06:08:44 +09:00
parent 643da34c4f
commit 318709f2fa

View file

@ -12,7 +12,7 @@ client.ping({
// Undocumented params are appended to the query string
hello: 'elasticsearch!'
}, error => {
} as any, error => {
if (error) {
console.error('elasticsearch is down!');
}