mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -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 { GameEventMeta, SetCounterData } from 'types';
|
||||
import type { Event_SetCounter } from 'generated/proto/event_set_counter_pb';
|
||||
import type { GameEventMeta } from 'types';
|
||||
import { GamePersistence } from '../../persistence';
|
||||
|
||||
export function setCounter(data: SetCounterData, meta: GameEventMeta): void {
|
||||
export function setCounter(data: Event_SetCounter, meta: GameEventMeta): void {
|
||||
GamePersistence.counterSet(meta.gameId, meta.playerId, data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue