dts2hx
dts2hx copied to clipboard
Lose gen Type of Typescript
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
}