You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.
I tried using this lib in a Type Script project, but it complains
yarn tsc
yarn run v1.13.0
$ tsc
../../node_modules/uport-did-resolver/lib/register.d.ts:10:47 - error TS2304: Cannot find name 'UportLiteRegistry'.
10 export default function register(configured?: UportLiteRegistry): void;
~~~~~~~~~~~~~~~~~
Found 2 errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
What I did to get past it was to add the interface to the node_module lib folder, meaning the compiled code:
This stop the complaint and I could continue. But I think the problem is that the root vendor.d.ts file is never imported somehow, meaning that it acctually never knows its type.
Or any other idea?
The text was updated successfully, but these errors were encountered:
I tried using this lib in a Type Script project, but it complains
What I did to get past it was to add the interface to the node_module lib folder, meaning the compiled code:
This stop the complaint and I could continue. But I think the problem is that the root vendor.d.ts file is never imported somehow, meaning that it acctually never knows its type.
Or any other idea?
The text was updated successfully, but these errors were encountered: