Skip to content

Commit 3530288

Browse files
committed
Using require for packages without default export
1 parent 6037b1b commit 3530288

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib_src/julia-client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
55
*/
66
let JuliaClient;
7-
import etch from 'etch';
7+
const etch = require('etch');
88
import commands from './package/commands';
99
import config from './package/config';
1010
import menu from './package/menu';
11-
import settings from './package/settings';
11+
const settings = require('./package/settings');
1212
import toolbar from './package/toolbar';
13-
import semver from 'semver';
13+
const semver = require('semver');
1414

1515
// TODO: Update me when tagging a new relase:
16-
const INK_VERSION_COMPAT = "^0.12.3";
16+
const INK_VERSION_COMPAT = "^0.12.3"
1717

1818
const INK_LINK = '[`ink`](https://github.com/JunoLab/atom-ink)';
1919
const LANGUAGE_JULIA_LINK = '[`language-julia`](https://github.com/JuliaEditorSupport/atom-language-julia)';

0 commit comments

Comments
 (0)