From 6761ff8dfeb5f390c2cbb55160e37fad3e222342 Mon Sep 17 00:00:00 2001 From: janis Date: Mon, 15 Jan 2024 15:43:03 +0100 Subject: [PATCH] some more docs --- src/impress.ts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/impress.ts b/src/impress.ts index c299c4d..dba1d1d 100644 --- a/src/impress.ts +++ b/src/impress.ts @@ -92,9 +92,19 @@ * @param {number} rotation.z The rotation in degrees around the z-axis * @returns {promise} This promise resolves as a boolean, indicating success or failure */ - var moveTo = ( coordinates: object, rotation: object ): Promise => new Promise( ( resolve, reject ) => { - resolve( true ); - } ); + var moveTo = ( coordinates: object, rotation: object ): Promise => { + return new Promise( ( resolve, reject ) => { + + } ); + } + + /** + * You can use this function to get all registered impress steps. + * @returns {Array} + */ + const getSteps = ():Array => { + return []; + } return { init