Definition file that prevents compiler warnings on some platforms. Still unexplained because tsc is installed local to the project.

This commit is contained in:
Matt McWilliams 2023-08-06 14:58:26 -04:00
parent c4119ab7cc
commit 386285d48c
8 changed files with 16 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{
"version": "1.7.24",
"version": "1.7.25",
"ext_port": 1111,
"profiles": {
"mcopy": {

2
app/package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "mcopy-app",
"version": "1.7.24",
"version": "1.7.25",
"lockfileVersion": 2,
"requires": true,
"packages": {

View File

@ -1,6 +1,6 @@
{
"name": "mcopy-app",
"version": "1.7.24",
"version": "1.7.25",
"description": "GUI for the mcopy small gauge film optical printer platform",
"main": "main.js",
"scripts": {

View File

@ -1,5 +1,5 @@
{
"version": "1.7.24",
"version": "1.7.25",
"ext_port": 1111,
"profiles": {
"mcopy": {

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "mcopy",
"version": "1.7.24",
"version": "1.7.25",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mcopy",
"version": "1.7.24",
"version": "1.7.25",
"license": "MIT",
"dependencies": {
"arduino": "file:app/lib/arduino",

View File

@ -1,6 +1,6 @@
{
"name": "mcopy",
"version": "1.7.24",
"version": "1.7.25",
"description": "Small gauge film optical printer platform",
"main": "build.js",
"directories": {

View File

@ -1,5 +1,5 @@
{
"version": "1.7.24",
"version": "1.7.25",
"ext_port": 1111,
"profiles": {
"mcopy": {

8
src/arduino/index.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
/**
* Delay in an async/await function
*
* @param {integer} ms Milliseconds to delay for
*
* @returns {Promise} Promise to resolve after timeout
**/
declare function delay(ms: number): Promise<unknown>;