Skip to content

Discrepency between docs and code on createActor method. #51

@nathanosdev

Description

@nathanosdev

Doc:

const actor = pic.createActor<_SERVICE>({ idlFactory, canisterId });

Code:

createActor<T = ActorInterface>(interfaceFactory: IDL.InterfaceFactory, canisterId: Principal): Actor<T>;

The doc is the intended interface.

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