added side type alias and added some validation to RSIO

This commit is contained in:
Mikayla Fischler
2023-10-19 23:22:04 -04:00
parent ff4a5a68d9
commit 4869c00c0e
3 changed files with 53 additions and 32 deletions

View File

@@ -252,6 +252,14 @@ types.ALARM_STATE_NAMES = {
-- STRING TYPES --
--#region
---@alias side
---|"top"
---|"bottom"
---|"left"
---|"right"
---|"front"
---|"back"
---@alias os_event
---| "alarm"
---| "char"