UNPKG

@hstech/ts-lint

Version:

> A shareable tslint + prettier config

17 lines (13 loc) 284 B
interface test { hey: string; } export const newFunction = (str: string): Promise<void> => Promise.resolve(); const str = ''; const num = 0; const isNull = false; const nullVar: string | null = null; (async () => { await new Promise(resolve => { resolve(null); }); })();