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 }