appbaseio / appbaseio/searchbox

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

Open
#348 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
193
Forks
21
PR merge metrics
No merged PRs in 30d

Description

**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 ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.