Refactor import statements to use ES6 module syntax and remove unused declarations
This commit is contained in:
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
declare module '*.module.scss' {
|
||||
const styles: { [className: string]: string };
|
||||
export = styles;
|
||||
}
|
||||
@@ -15,7 +15,7 @@ import { RecurringEventsDataService } from './RecurringEventsDataService';
|
||||
import { EventsLayout, IEventDateRange, IEventsListOption, IRecurringEvent } from './RecurringEventsTypes';
|
||||
import RecurringEvents from './components/RecurringEvents';
|
||||
import { IRecurringEventsProps } from './components/IRecurringEventsProps';
|
||||
import styles = require('./components/RecurringEvents.module.scss');
|
||||
import styles from './components/RecurringEvents.module.scss';
|
||||
|
||||
export interface IRecurringEventsWebPartProps {
|
||||
title: string;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from 'react';
|
||||
import { IRecurringEvent } from '../RecurringEventsTypes';
|
||||
import styles = require('./RecurringEvents.module.scss');
|
||||
import styles from './RecurringEvents.module.scss';
|
||||
import { IRecurringEventsProps } from './IRecurringEventsProps';
|
||||
|
||||
export default class RecurringEvents extends React.Component<IRecurringEventsProps, {}> {
|
||||
|
||||
Reference in New Issue
Block a user