TypeScript

by d102791estiny

HTML

<input type="button" value="click" onclick="test()">

TypeScript

function test() {
	alert("test");
}