WtInput.new({type: "text", onChange: (\e -> props.onChange(props.id, e.target.value))})
numrows.times(\i -> generated.push(Expense.new({id: @props.id + i, onChange: @props.onChange})))
@@rows += 1 in js should call setState
prices[parentid][id] = price
let values = keys.map(\k -> @@prices[section][k])
double hash lookupp jujst doesn't work
setSales e := @@salesPerYear = parseInt(e.target.value)
suggestedRetailPrice := (@totalCost() + @profitDesired()) / ((100 - 6.5)/100)
subCost section := @@prices[section] ^ doesn't add a return
add support for ts interfaces:
export interface HelloWorldProps {
name: string;
}