TypeScript

by amindunited

HTML

<div id="app"></div>

CSS

body {
  background: #20262E;
  padding: 20px;
  font-family: Helvetica;
}

#app {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  transition: all 0.2s;
  text-align: center;
}

TypeScript

interface FooConstructor {
  parse:any;
  moop?: any = function () {
  	console.log('can I just?', this);
  };
}

const foo: Foo = 'MAAAAAaaaaa';

console.log('foo', typeof foo, foo);