Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Commit

Permalink
# Changed:
Browse files Browse the repository at this point in the history
- tslintエラーを修正
  • Loading branch information
bw-phint committed Dec 17, 2018
1 parent 3b25908 commit af76e28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/repo/screeningWork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class ScreeningWorkRepository {
};
const whereOption = <Sequelize.WhereOptions<typeof params>>findOption.where;
if (typeof params.boxOfficeStart === 'object' && !(params.boxOfficeStart instanceof Date)) {
const boxOfficeStart = (<factory.common.IDateSearch>params.boxOfficeStart);
const boxOfficeStart = params.boxOfficeStart;
whereOption.boxOfficeStart = { };
if (boxOfficeStart.from !== undefined) {
whereOption.boxOfficeStart = {
Expand All @@ -33,8 +33,8 @@ export default class ScreeningWorkRepository {
}
}

if (typeof params.boxOfficeEnd === 'object' && !(params.boxOfficeStart instanceof Date)) {
const boxOfficeEnd = (<factory.common.IDateSearch>params.boxOfficeEnd);
if (typeof params.boxOfficeEnd === 'object' && !(params.boxOfficeEnd instanceof Date)) {
const boxOfficeEnd = params.boxOfficeEnd;
whereOption.boxOfficeEnd = { };
if (boxOfficeEnd.from !== undefined) {
whereOption.boxOfficeEnd = {
Expand Down
4 changes: 2 additions & 2 deletions src/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
*/
import AccountRepository from './repo/account';
import IncomeRepository from './repo/income';
import ScreeingWorkRepository from './repo/screeningWork';
import ScreeningWorkRepository from './repo/screeningWork';
import TheaterRepository from './repo/theater';

export class Account extends AccountRepository { }

export class Income extends IncomeRepository { }

export class ScreeningWork extends ScreeingWorkRepository { }
export class ScreeningWork extends ScreeningWorkRepository { }

export class Theater extends TheaterRepository { }

0 comments on commit af76e28

Please sign in to comment.