Skip to content

Instantly share code, notes, and snippets.

View qix's full-sized avatar

Josh Yudaken qix

View GitHub Profile
@qix
qix / samples
Created November 25, 2017 18:41
☇ &\spelling-ampersand\and sign · &\spelling-ampersand\and · c\spelling-letter\C ⮕ null
☇ 's\s\s ⮕ null
☇ )\right-parenthesis\close bracket ⮕ null
☇ )\right-parenthesis\right bracket · right ⮕ null
☇ ,\comma\comma ⮕ null
☇ ;\semicolon\semicolon ⮕ null
☇ Cancel ⮕ [cancel]
☇ D\uppercase-letter\capital D ⮕ null
☇ Delta ⮕ null
☇ Dick ⮕ null
const ts = require('typescript');
const prettier = require('prettier');
const any = () => ts.createTypeReferenceNode('any', []);
function replaceParameters(parameters) {
let changed = false;
const rv = parameters.map(param => {
changed = changed || (!param.questionToken && !param.initializer) || !param.type;

Keybase proof

I hereby claim:

  • I am qix on github.
  • I am jyud (https://keybase.io/jyud) on keybase.
  • I have a public key ASBsoOOfBcULa-jMMEOcdcKtfY6QtNLKdq-GZC8a5THyZQo

To claim this, I am signing this object: