Skip to content

Instantly share code, notes, and snippets.

View xavhan's full-sized avatar
💭
Hello

Xavier Haniquaut xavhan

💭
Hello
View GitHub Profile
#!/usr/bin/env zx
// you need zx installed
// run with `zx smoketest.mjs`
const BASEURL = 'http://localhost:3000';
const COMMON = [
'header',
'footer',
]
@xavhan
xavhan / deprecated.ts
Created December 1, 2021 14:02
Use TS to force document your deprecations
const log = true; // comming from logging service (dont log in prod)
//
type Deprecation = {
what: string;
because: string;
recommendation: string;
adr_link: string;
}