Files
Andrew BradleyandGitHub 7f6b241c72 Wider print width (#2012)
* increase formatting print-width to 120; 80 hurts legibility of TS too much

* apply formatting

* fix
2023-05-07 18:11:57 -04:00

14 lines
465 B
TypeScript

import { foo } from './foo.js';
import { bar } from './bar.js';
import { baz } from './baz.js';
import { biff } from './biff.js';
import { libfoo } from 'libfoo';
// Test import builtin modules
import { readFileSync } from 'fs';
if (typeof readFileSync !== 'function') throw new Error('failed to import builtin module');
if (typeof module !== 'undefined') throw new Error('module should not exist in ESM');
console.log(`${foo} ${bar} ${baz} ${biff} ${libfoo}`);