From dec85b15e53b94784309261b35c88eef99685c68 Mon Sep 17 00:00:00 2001 From: xchen <997909544@qq.com> Date: Sat, 9 Sep 2023 17:25:06 +0000 Subject: [PATCH] feat: add typo --- packages/start-aws/index.d.ts | 8 ++++++++ packages/start-deno/index.d.ts | 1 + packages/start-netlify/index.d.ts | 8 ++++++++ packages/start-node/index.d.ts | 1 + 4 files changed, 18 insertions(+) create mode 100644 packages/start-aws/index.d.ts create mode 100644 packages/start-deno/index.d.ts create mode 100644 packages/start-netlify/index.d.ts create mode 100644 packages/start-node/index.d.ts diff --git a/packages/start-aws/index.d.ts b/packages/start-aws/index.d.ts new file mode 100644 index 000000000..3ccba7306 --- /dev/null +++ b/packages/start-aws/index.d.ts @@ -0,0 +1,8 @@ +export type SolidStartAwsOptions = { + /** + * @default false + */ + edge?: boolean; +}; + +export default function (props?: SolidStartAwsOptions): import("solid-start/vite").Adapter; diff --git a/packages/start-deno/index.d.ts b/packages/start-deno/index.d.ts new file mode 100644 index 000000000..11758f872 --- /dev/null +++ b/packages/start-deno/index.d.ts @@ -0,0 +1 @@ +export default function (): import("solid-start/vite").Adapter; diff --git a/packages/start-netlify/index.d.ts b/packages/start-netlify/index.d.ts new file mode 100644 index 000000000..b6e2f25f8 --- /dev/null +++ b/packages/start-netlify/index.d.ts @@ -0,0 +1,8 @@ +export type SolidStartNetlifyOptions = { + /** + * @default false + */ + edge?: boolean; +}; + +export default function (props?: SolidStartNetlifyOptions): import("solid-start/vite").Adapter; diff --git a/packages/start-node/index.d.ts b/packages/start-node/index.d.ts new file mode 100644 index 000000000..11758f872 --- /dev/null +++ b/packages/start-node/index.d.ts @@ -0,0 +1 @@ +export default function (): import("solid-start/vite").Adapter;