# HG changeset patch # User cin # Date 2020-09-03 00:56:38 # Node ID 32b72f33756d3d10553b743f0b9f4504148cf97d # Parent 02ffb530b1a904f06513ac1e21cf4c91a1495540 NodeBindSpec now conforms the dojo specification diff --git a/src/main/ts/declare.ts b/src/main/ts/declare.ts --- a/src/main/ts/declare.ts +++ b/src/main/ts/declare.ts @@ -186,7 +186,10 @@ function makeGetterName(prop: string) { interface NodeBindSpec { node: string; - type: string; + type: "attribute" | "innerText" | "textContent" | "innerHTML" | "class" | "toggleClass"; + attribute?: string; + + className?: string; } /**