Skip to content

Unable to use "Create an RSA instance" in TypeScript #23

@kokororin

Description

@kokororin

The code below:

import cryptoWasm from '@originjs/crypto-js-wasm';

const rsa = new cryptoWasm.algo.RSA();

Results in the following error:

This expression is not constructable.
Type 'WasmRSAAlgoClass' has no construct signatures.

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