Fix some tsserver suggestions.

master
Tom Hacohen 5 years ago
parent 444ab72c80
commit 29d4153e60

@ -1,5 +1,5 @@
import * as React from 'react'; import * as React from 'react';
import * as sjcl from 'sjcl'; import sjcl from 'sjcl';
import { List, ListItem } from '../widgets/List'; import { List, ListItem } from '../widgets/List';

@ -3,7 +3,7 @@ import { connect } from 'react-redux';
import { Action } from 'redux-actions'; import { Action } from 'redux-actions';
import { Route, Switch, Redirect, RouteComponentProps, withRouter } from 'react-router'; import { Route, Switch, Redirect, RouteComponentProps, withRouter } from 'react-router';
import * as moment from 'moment'; import moment from 'moment';
import 'moment/locale/en-gb'; import 'moment/locale/en-gb';
import { List, Map } from 'immutable'; import { List, Map } from 'immutable';

@ -3,7 +3,7 @@ import { USER, PASSWORD, keyBase64 } from './TestConstants';
import { stringToByteArray } from './Helpers'; import { stringToByteArray } from './Helpers';
import * as sjcl from 'sjcl'; import sjcl from 'sjcl';
sjcl.random.addEntropy('seedForTheTests', 1024, 'FakeSeed'); sjcl.random.addEntropy('seedForTheTests', 1024, 'FakeSeed');
it('Derive key', () => { it('Derive key', () => {

@ -1,4 +1,4 @@
import * as sjcl from 'sjcl'; import sjcl from 'sjcl';
import NodeRSA from 'node-rsa'; import NodeRSA from 'node-rsa';
import * as Constants from './Constants'; import * as Constants from './Constants';

@ -1,6 +1,6 @@
import * as EteSync from './EteSync'; import * as EteSync from './EteSync';
import * as sjcl from 'sjcl'; import sjcl from 'sjcl';
import { USER, PASSWORD, keyBase64 } from './TestConstants'; import { USER, PASSWORD, keyBase64 } from './TestConstants';

@ -1,4 +1,4 @@
import * as sjcl from 'sjcl'; import sjcl from 'sjcl';
import URI from 'urijs'; import URI from 'urijs';
import * as Constants from './Constants'; import * as Constants from './Constants';

@ -1,7 +1,7 @@
import * as React from 'react'; import * as React from 'react';
import BigCalendar, { View } from 'react-big-calendar'; import BigCalendar, { View } from 'react-big-calendar';
import 'react-big-calendar/lib/css/react-big-calendar.css'; import 'react-big-calendar/lib/css/react-big-calendar.css';
import * as moment from 'moment'; import moment from 'moment';
import * as ICAL from 'ical.js'; import * as ICAL from 'ical.js';
import { EventType } from '../pim-types'; import { EventType } from '../pim-types';

@ -1,5 +1,5 @@
import * as React from 'react'; import * as React from 'react';
import * as sjcl from 'sjcl'; import sjcl from 'sjcl';
import { byte, base64 } from '../api/Helpers'; import { byte, base64 } from '../api/Helpers';

Loading…
Cancel
Save