Skip to content

[CONTRIB] Stronger typing, better support for { result } type of output #3

Description

@pretentious7

Hey,

I'm one of the developers of feather (https://github.com/pretentious7/Feather), I've also been using a small set of mocks to test smartweave contracts with jest. I have better typing support so the output of execute shows up as

export type ContractHandlerOutput =
	| {state: StateInterface}
	| {result: ResultInterface};

Would there be interest in a pr adding this support? Also, project linter specs would be cool.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions