File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ import * as network_options from '../../generic/network-options';
2828import * as model from './model' ;
2929import * as dialogs from './dialogs' ;
3030import * as jsurl from 'jsurl' ;
31- import uparams from 'uparams' ;
31+ // TODO: remove uparams as it doesn't work with ES6 imports and TypeScript,
32+ // see https://github.com/uProxy/uproxy/issues/2782
33+ import uparams = require( 'uparams' ) ;
3234import * as crypto from 'crypto' ;
3335import * as jdenticon from 'jdenticon' ;
3436
Original file line number Diff line number Diff line change 11// Type definitions for the uparams module
2+ // TODO: remove uparams as it doesn't work with ES6 imports and TypeScript,
3+ // see https://github.com/uProxy/uproxy/issues/2782
24
35declare module 'uparams' {
46 // The uparams module is itself a function, rather than an object with
57 // member functions.
68 function uparams ( s :string ) : any ;
7- export default uparams ;
9+ export = uparams ;
810}
You can’t perform that action at this time.
0 commit comments