mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
remove type aliases
This commit is contained in:
parent
141f0e59f5
commit
cea9ae62d8
58 changed files with 412 additions and 455 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { AttachCardData, GameEventMeta } from 'types';
|
||||
import type { Event_AttachCard } from 'generated/proto/event_attach_card_pb';
|
||||
import type { GameEventMeta } from 'types';
|
||||
import { GamePersistence } from '../../persistence';
|
||||
|
||||
export function attachCard(data: AttachCardData, meta: GameEventMeta): void {
|
||||
export function attachCard(data: Event_AttachCard, meta: GameEventMeta): void {
|
||||
GamePersistence.cardAttached(meta.gameId, meta.playerId, data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue