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; } /**