Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gsabbih6 opened this issue Feb 2, 2023 · 2 comments
Open

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

gsabbih6 opened this issue Feb 2, 2023 · 2 comments

Comments

@gsabbih6
Copy link

gsabbih6 commented Feb 2, 2023

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
Copy link

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

@gsabbih6
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants