elastic / enterprise-search-js

Official Node.js client for Elastic Enterprise Search, App Search, and Workplace Search.
https://www.elastic.co/guide/en/enterprise-search-clients/index.html
Apache License 2.0
2 stars 10 forks source link

Fix imports in index.d.ts #17

Closed sethmlarson closed 2 years ago

sethmlarson commented 2 years ago

Closes https://github.com/elastic/enterprise-search-js/issues/16 The imports were pointing to src and non-existent lib/types (instead of lib and lib/utils).

Tested by building packages/enterprise-search locally and running tsc and ts-node on this file:

import { Client } from '.';
console.log(Client);
sethmlarson commented 2 years ago

Failures in CI seem related to: https://github.com/nodejs/undici/issues/1740

sethmlarson commented 2 years ago

Confirmed from original reporter that this would fix their issue: https://github.com/elastic/enterprise-search-js/issues/16#issuecomment-1299087160