Skip to content

Invoke union#25

Open
emera1d wants to merge 10 commits intomasterfrom
invoke_union
Open

Invoke union#25
emera1d wants to merge 10 commits intomasterfrom
invoke_union

Conversation

@emera1d
Copy link

@emera1d emera1d commented Oct 15, 2021

No description provided.

src/invoke.ts Outdated
| InvokeScriptCallBinaryArgument
| InvokeScriptCallBooleanArgument
| InvokeScriptCallIntegerArgument<LONG>
| InvokeScriptCallUnionArgument
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be InvokeScriptCallUnionArgument<LONG>

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

InvokeScriptCallUnionArgument is not generic type

src/invoke.ts Outdated
> = InvokeScriptCallArgumentGeneric<EInvokeArgumentType.INTEGER, LONG>;
export type InvokeScriptCallUnionArgument = InvokeScriptCallArgumentGeneric<
EInvokeArgumentType.UNION,
boolean | string | Base64string | Long
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LONG?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is only type Long, no need for generics

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

Successfully merging this pull request may close these issues.

3 participants