I hereby claim:
- I am mgechev on github.
- I am mgechev (https://keybase.io/mgechev) on keybase.
- I have a public key ASBKbUc_z2gSL7zGFwAuOZrhqMx6LB1pBMEkoCGvibAJbwo
To claim this, I am signing this object:
import { HttpClient } from '@angular/common/http'; | |
@Component({...}) | |
export class AppComponent { | |
client: any; | |
constructor(http: HttpClient) { | |
this.client = http; | |
} | |
handleClick() { |
@Component({...}) | |
class AppComponent { | |
@Input() title = ''; | |
} |
@Component({...}) | |
class AppComponent { | |
@Input() title: string; | |
} |
ng new my-app --strict |
// constants.js | |
export const PI = 3.14159265357989; |
data:text/html,<body onload="setInterval(()=>document.body.innerText=new Date().toLocaleTimeString())"></body> |
ng add @angular/bazel |
npm install -g @angular/bazel | |
ng new my-app --collection=@angular/bazel |
I hereby claim:
To claim this, I am signing this object:
const isOp = t => /\+|\-|\*|\//.test(t); | |
const isNum = n => /\d/.test(n); | |
const parse = (ts, i = 0) => { | |
if (i >= ts.length) return [null, i]; | |
if (isOp(ts[i])) { | |
const node = { op: ts[i] }; | |
const children = []; | |
let current; | |
let idx = i + 1; |