From d42f67cf6803f87de94aecbbbcac835751b707d2 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Mon, 21 Mar 2022 18:53:31 +0000 Subject: [PATCH] Add a Playtype Alias --- common/package.json | 2 +- common/src/types.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/package.json b/common/package.json index 81806c7f4..5d0f0fd88 100644 --- a/common/package.json +++ b/common/package.json @@ -1,6 +1,6 @@ { "name": "tachi-common", - "version": "0.6.11", + "version": "0.6.12", "description": "Common Types & Utilities for Tachi", "main": "js/index.js", "files": [ diff --git a/common/src/types.ts b/common/src/types.ts index dc0f64836..c06c1c00d 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -1566,3 +1566,5 @@ export interface RecentlyViewedFolderDocument { folderID: string; lastViewed: number; } + +export type Playtype = Playtypes[Game];