From 2ceb04697b2cfb3e546108dee127070303712eea Mon Sep 17 00:00:00 2001 From: Victor Voisin Date: Wed, 17 Jul 2019 17:04:01 +0200 Subject: [PATCH] Fix typo in comments (#912) --- docs/typescript.asciidoc | 4 ++-- test/types/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/typescript.asciidoc b/docs/typescript.asciidoc index 237b27084..e6f1ca8c3 100644 --- a/docs/typescript.asciidoc +++ b/docs/typescript.asciidoc @@ -52,7 +52,7 @@ interface SearchResponse { } } -// Define the intefrace of the source object +// Define the interface of the source object interface Source { foo: string } @@ -123,7 +123,7 @@ interface SearchResponse { aggregations?: any; } -// Define the intefrace of the source object +// Define the interface of the source object interface Source { foo: string } diff --git a/test/types/index.ts b/test/types/index.ts index 2aa0526e9..fb72ff965 100644 --- a/test/types/index.ts +++ b/test/types/index.ts @@ -128,7 +128,7 @@ const searchParams: RequestParams.Search = { } } -// Dewfine the interface of the search response +// Define the interface of the search response interface SearchResponse { hits: { hits: Array<{ @@ -137,7 +137,7 @@ interface SearchResponse { } } -// Define the intefrace of the source object +// Define the interface of the source object interface Source { foo: string }