appbaseio / searchbox

Lightweight and performance oriented search box UI component libraries for React, Vue, React Native, JS and Flutter
Apache License 2.0
182 stars 21 forks source link

error TS2691: An import path cannot end with a '.d.ts' extension #348

Open gsabbih6 opened 1 year ago

gsabbih6 commented 1 year ago

Describe the bug Error: node_modules/@appbaseio/searchbase/dist/@appbaseio/Base.d.ts:15:5 - error TS2339: Property 'libAlias' does not exist on type 'BaseConfig'.

libAlias,


Error: node_modules/@appbaseio/searchbase/dist/@appbaseio/index.d.ts:1:24 - error TS2691: An import path cannot end with a '.d.ts' extension. Consider importing './types.js' instead.

1 import * as types from './types.d.ts';

**To Reproduce**
Steps to reproduce the behavior:
1. Angular 15 used
2. @angular/searchbase installed with npm 
3. Search component added to my component and build
4. See error

**Expected behavior**
How do i fix this ?
lilonpro commented 1 year ago

I am having the same issue, were you able to find a solution?

gsabbih6 commented 1 year ago

I am having the same issue, were you able to find a solution?

Nope, I moved to @elastic/search-ui. It too had some issues with angular but I fixed that easily