namespace drunk { import binding = drunk . binding ; import Binding = drunk . Binding ; @ binding ( 'disabled' ) class DisabledBinding extends Binding { element : HTMLButtonElement ; update ( disabled ) { this . element . disabled = ! ! disabled ; } } }