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

Typescript issues, have to turn of skipLibCheck #215

Open
vongohren opened this issue Apr 14, 2022 · 0 comments
Open

Typescript issues, have to turn of skipLibCheck #215

vongohren opened this issue Apr 14, 2022 · 0 comments

Comments

@vongohren
Copy link
Contributor

$ rimraf dist/ && tsc
node_modules/@transmute/did-key-ed25519/dist/index.d.ts:4:65 - error TS2694: Namespace '"node_modules/@transmute/did-key-ed25519/node_modules/@transmute/did-key-common/dist/types/index"' has no exported member 'DidDocument'.

4     didDocument: import("@transmute/did-key-common/dist/types").DidDocument;
                                                                  ~~~~~~~~~~~

node_modules/@transmute/did-key-ed25519/dist/index.d.ts:7:102 - error TS2694: Namespace '"node_modules/@transmute/did-key-ed25519/node_modules/@transmute/did-key-common/dist/types/index"' has no exported member 'ResolutionOptions'.

7 export declare const resolve: (did: string, options?: import("@transmute/did-key-common/dist/types").ResolutionOptions | undefined) => Promise<import("@transmute/did-key-common/dist/types").ResolutionResponse>;
                                                                                                       ~~~~~~~~~~~~~~~~~

node_modules/@transmute/did-key-ed25519/dist/index.d.ts:7:191 - error TS2694: Namespace '"node_modules/@transmute/did-key-ed25519/node_modules/@transmute/did-key-common/dist/types/index"' has no exported member 'ResolutionResponse'.

7 export declare const resolve: (did: string, options?: import("@transmute/did-key-common/dist/types").ResolutionOptions | undefined) => Promise<import("@transmute/did-key-common/dist/types").ResolutionResponse>;

Im getting these nested TS errors.
Currently using 0.7.0-unstable.51 and these libs

    "@transmute/credentials-context": "0.7.0-unstable.51",
    "@transmute/ed25519-signature-2018": "0.7.0-unstable.51",
    "@transmute/json-web-signature": "^0.7.0-unstable.51",
    "@transmute/vc.js": "^0.7.0-unstable.51",


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

1 participant