9 lines
304 B
TypeScript
9 lines
304 B
TypeScript
import * as tg from "generic-type-guard";
|
|
|
|
export const isSetPlayerDetailsMessage =
|
|
new tg.IsInterface().withProperties({
|
|
name: tg.isString,
|
|
characterLayers: tg.isArray(tg.isString)
|
|
}).get();
|
|
export type SetPlayerDetailsMessage = tg.GuardedType<typeof isSetPlayerDetailsMessage>;
|