Skip to content

Commit

Permalink
remove Events from model.class type because dappkit still needs to im…
Browse files Browse the repository at this point in the history
…plement it
  • Loading branch information
moshmage committed Aug 25, 2022
1 parent 81450fd commit 6df7458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transpiler.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function dappkitTranspiler(contractJsonFile = "", options = {}) {
eventFileName: paramCase(modelName),
options}),
modelName,
modelNameAppendix: ` extends Model<${modelName}Methods${events.length > 0 ? ", Events.PromiEvents" : ""}> implements Deployable`,
modelNameAppendix: ` extends Model<${modelName}Methods> implements Deployable`,
type: "class",
isModel: true,
deployJsonAbi: true,
Expand Down

0 comments on commit 6df7458

Please sign in to comment.