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

Lose gen Type of Typescript #93

Open
sonygod opened this issue Jul 21, 2021 · 0 comments
Open

Lose gen Type of Typescript #93

sonygod opened this issue Jul 21, 2021 · 0 comments

Comments

@sonygod
Copy link

sonygod commented Jul 21, 2021

from web3.js

export class Eth {


    Contract: new (
        jsonInterface: AbiItem[] | AbiItem,
        address?: string,
        options?: ContractOptions
    ) => Contract;
    Iban: new (iban: string) => Iban;

and call

            var contact=new web3.eth.Contract(.....)

will gen

:jsRequire("web3-eth", "Eth") extern class Eth {
	
	var Contract : { };//it's seem wrong here 
	var Iban : { };//it's seem wrong here
}
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