Export a kibana restricted type definition (#1239)

This commit is contained in:
Tomas Della Vedova
2020-07-06 11:49:12 +02:00
committed by GitHub
parent 8d7859d2e2
commit 34a9176fbf
7 changed files with 655 additions and 16 deletions

View File

@ -4,7 +4,7 @@
import { expectType } from 'tsd'
import { Client, ApiError, ApiResponse, RequestEvent, ResurrectEvent } from '../../'
import { TransportRequestCallback, TransportRequestPromise } from '../..//lib/Transport';
import { TransportRequestCallback, TransportRequestPromise } from '../../lib/Transport'
const client = new Client({
node: 'http://localhost:9200'
@ -120,4 +120,4 @@ client.on('resurrect', (err, meta) => {
} catch (err) {
expectType<any>(err)
}
}
}