diff --git a/src/models/repositories/games/reversi/game.ts b/src/models/repositories/games/reversi/game.ts index 121a3cad74..9adb386fa9 100644 --- a/src/models/repositories/games/reversi/game.ts +++ b/src/models/repositories/games/reversi/game.ts @@ -2,9 +2,7 @@ import { User } from '@/models/entities/user'; import { EntityRepository, Repository } from 'typeorm'; import { Users } from '../../../index'; import { ReversiGame } from '@/models/entities/games/reversi/game'; -import { SchemaType } from '@/misc/schema'; - -export type PackedReversiGame = SchemaType; +import { Packed } from '@/misc/schema'; @EntityRepository(ReversiGame) export class ReversiGameRepository extends Repository { @@ -14,7 +12,7 @@ export class ReversiGameRepository extends Repository { options?: { detail?: boolean } - ): Promise { + ): Promise> { const opts = Object.assign({ detail: true }, options);