diff --git a/src/index.d.ts b/src/index.d.ts index 48f7bb0..e9d7d48 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -8926,7 +8926,7 @@ declare namespace esb { * @param {string} type One of `boolean`, `composite`, `date`, `double`, `geo_point`, `ip`, `keyword`, `long`, `lookup`. * @returns {void} */ - type(type: 'boolean' | 'composite' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup'); + type(type: 'boolean' | 'composite' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup'): void; /** * Sets the source of the script. @@ -8934,7 +8934,7 @@ declare namespace esb { * @param {string} script * @returns {void} */ - script(script: string); + script(script: string): void; /** * Override default `toJSON` to return DSL representation for the `script`.