searchbox icon indicating copy to clipboard operation
searchbox copied to clipboard

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

Open gsabbih6 opened this issue 2 years ago • 2 comments

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 ?

gsabbih6 avatar Feb 02 '23 18:02 gsabbih6

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

lilonpro avatar Feb 19 '23 00:02 lilonpro

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

gsabbih6 avatar Feb 19 '23 00:02 gsabbih6