Skip to content

TS2717: ClientSdk interface declated twice in dist and in src #2

@andriyviychuk

Description

@andriyviychuk
Screenshot 2024-02-21 at 16 30 35

Causes and compile error because the interface is declared in ClientSdk.ts and SdkLoader.d.ts
node_modules/@solidgate/client-sdk-loader/src/services/SdkLoader.ts
uses node_modules/@solidgate/client-sdk-loader/src/interfaces/ClientSdk.ts

To fix this in my project, I need to explicitly import the import from dist to avoid this error.
import { ClientSdk } from '@solidgate/client-sdk-loader/dist';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions