You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contract.at actually returns a Promise so the type should be
interface Contract extends ContractNew<any[]> {
deployed(): Promise;
at(address: string): Promise;
address: string;
contractName: string;
}
Sorry i just noticed there was already a PR for the first one ! Although i think this is not truffle 5 specific, as far as i recall, contract.at() has always returned a Promise
Contract.at actually returns a Promise so the type should be
interface Contract extends ContractNew<any[]> {
deployed(): Promise;
at(address: string): Promise;
address: string;
contractName: string;
}
+method Deployer.then() is missing (cf truffle documentation here : https://www.trufflesuite.com/docs/truffle/getting-started/running-migrations#deployer-then-function-)
Could you please publish a fixed version ? Thanks.
The text was updated successfully, but these errors were encountered: