Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pretentious7 opened this issue Apr 16, 2021 · 0 comments

Comments

@pretentious7
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant