diff --git a/package.json b/package.json index 761c239..153c715 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "computercraft-ts", - "version": "1.0.2", + "version": "1.0.3", "description": "", "license": "ISC", "author": "", diff --git a/types/index.d.ts b/types/index.d.ts index e18c605..b23432e 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1116,6 +1116,12 @@ declare global { * Get and set redstone signals adjacent to this computer. */ namespace redstone { + /** + * Returns a table containing the six sides of the computer. Namely, "top", "bottom", "left", "right", "front" and "back". + * @returns A table of valid sides. + */ + function getSides(): string[]; + /** * Gets the current redstone output on a specific side. * @param side The side to get