This commit is contained in:
Aya Morisawa 2017-01-03 06:08:44 +09:00
parent 29a6218ab4
commit 041f9d73ba

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!');
}