From 38e8c42cf02f73fb300889ab989088899a3aedb7 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 9 Sep 2025 23:43:37 -0400 Subject: ci: format --- packages/plugin/src/index.ts | 7 ++----- packages/plugin/sst-env.d.ts | 2 +- packages/plugin/tsconfig.json | 14 +++----------- 3 files changed, 6 insertions(+), 17 deletions(-) (limited to 'packages/plugin') diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts index fca176f57..f8b6d46f7 100644 --- a/packages/plugin/src/index.ts +++ b/packages/plugin/src/index.ts @@ -19,10 +19,7 @@ export type PluginInput = { worktree: string $: BunShell Tool: { - define( - id: string, - init: any | (() => Promise) - ): any + define(id: string, init: any | (() => Promise)): any } z: any // Zod instance for creating schemas } @@ -133,7 +130,7 @@ export interface Hooks { input: {}, output: { registerHTTP: (tool: HttpToolRegistration) => void | Promise - register: (tool: any) => void | Promise // Tool.Info type from opencode + register: (tool: any) => void | Promise // Tool.Info type from opencode }, ) => Promise } diff --git a/packages/plugin/sst-env.d.ts b/packages/plugin/sst-env.d.ts index b6a7e9066..0397645b5 100644 --- a/packages/plugin/sst-env.d.ts +++ b/packages/plugin/sst-env.d.ts @@ -6,4 +6,4 @@ /// import "sst" -export {} \ No newline at end of file +export {} diff --git a/packages/plugin/tsconfig.json b/packages/plugin/tsconfig.json index 519519408..e86e08fdf 100644 --- a/packages/plugin/tsconfig.json +++ b/packages/plugin/tsconfig.json @@ -6,16 +6,8 @@ "module": "preserve", "declaration": true, "moduleResolution": "bundler", - "lib": [ - "es2022", - "dom", - "dom.iterable" - ], - "customConditions": [ - "development" - ] + "lib": ["es2022", "dom", "dom.iterable"], + "customConditions": ["development"] }, - "include": [ - "src" - ] + "include": ["src"] } -- cgit v1.2.3