Skip to content

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

Description

@gsabbih6

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions