chore: Better type on sh

This commit is contained in:
BluJ
2023-04-07 11:46:50 -06:00
parent 17f02bf851
commit 115e3dbb81
3 changed files with 4 additions and 4 deletions

View File

@@ -4,5 +4,5 @@ export function sh(shellCommand: string) {
return {
command: "sh",
args: ["-c", shellCommand],
} as Parameters<Effects["runCommand"]>[0];
} satisfies Parameters<Effects["runCommand"]>[0];
}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "start-sdk",
"version": "0.4.0-lib0.charlie4",
"version": "0.4.0-lib0.charlie5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "start-sdk",
"version": "0.4.0-lib0.charlie4",
"version": "0.4.0-lib0.charlie5",
"license": "MIT",
"dependencies": {
"@iarna/toml": "^2.2.5",

View File

@@ -1,6 +1,6 @@
{
"name": "start-sdk",
"version": "0.4.0-lib0.charlie4",
"version": "0.4.0-lib0.charlie5",
"description": "For making the patterns that are wanted in making services for the startOS.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",