Support for Elasticsearch 7.7 (#1192)
This commit is contained in:
committed by
GitHub
parent
be6257380e
commit
51169d5efa
13
test/types/serializer.test-d.ts
Normal file
13
test/types/serializer.test-d.ts
Normal file
@ -0,0 +1,13 @@
|
||||
// Licensed to Elasticsearch B.V under one or more agreements.
|
||||
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
||||
// See the LICENSE file in the project root for more information
|
||||
|
||||
import { expectType } from 'tsd'
|
||||
import { Serializer } from '../../'
|
||||
|
||||
const serializer = new Serializer()
|
||||
|
||||
expectType<string>(serializer.serialize({}))
|
||||
expectType<any>(serializer.deserialize(''))
|
||||
expectType<string>(serializer.ndserialize([]))
|
||||
expectType<string>(serializer.qserialize({}))
|
||||
Reference in New Issue
Block a user