Property 'jws' does not exist on type 'typeof jsrsasign'
imamnghr opened this issue · 3 comments
imamnghr commented
Property 'jws' does not exist on type 'typeof jsrsasign'
kjur commented
How did you used jws? By Node or on the browser?
imamnghr commented
How did you used jws? By Node or on the browser?
i use the browser, i solve the problem but need to update the jsrsasign.d.ts in my node_modules like this
namespace jws {
namespace JWS {
function sign(algorithm: string, header: string, payload: string, key: string): string;
}
}
kjur commented
Please ask jsrsasign.d.ts support for it. "jsrsasign.d.ts" is not official one.