chore: Fix some typing

This commit is contained in:
BluJ
2023-04-07 11:45:35 -06:00
parent 49277bfc78
commit 17f02bf851
4 changed files with 5 additions and 4 deletions

View File

@@ -145,6 +145,7 @@ export type Effects = {
runDaemon(input: { command: string; args?: string[] }): {
wait(): Promise<string>;
term(): Promise<void>;
[DaemonProof]: never;
};
/** Uses the chown on the system */

View File

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

4
package-lock.json generated
View File

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

View File

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