We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8cefa commit 5e9d24cCopy full SHA for 5e9d24c
tests/env/typescript-node/src/index.ts
@@ -15,10 +15,13 @@ const config = {
15
apiKey: 'masterKey',
16
}
17
18
-interface Movie {
+export interface Movie {
19
id: number
20
title: string
21
genre?: string
22
+ comment?: string
23
+ isNull?: null
24
+ isTrue?: true
25
26
27
const client = new MeiliSearch(config)
tests/search.test.ts
@@ -9,6 +9,7 @@ import {
9
getClient,
10
datasetWithNests,
11
} from './utils/meilisearch-test-utils'
12
+import { Movie } from './env/typescript-node/src'
13
14
const index = {
uid: 'movies_test',
@@ -17,7 +18,7 @@ const emptyIndex = {
uid: 'empty_test',
-const dataset = [
+const dataset: Movie[] = [
{
id: 123,
title: 'Pride and Prejudice',
0 commit comments