From f005c7e15f592a9b6ef923e9e2c7fc5a68eb826e Mon Sep 17 00:00:00 2001 From: Raul Melo Date: Mon, 8 May 2023 14:28:48 +0200 Subject: [PATCH] fix middleware typing export --- .changeset/new-seals-hear.md | 5 +++++ packages/astro/package.json | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/new-seals-hear.md diff --git a/.changeset/new-seals-hear.md b/.changeset/new-seals-hear.md new file mode 100644 index 000000000000..1685bf090904 --- /dev/null +++ b/.changeset/new-seals-hear.md @@ -0,0 +1,5 @@ +--- +'astro': minor +--- + +fix middleware typing export for "moduleResolution: node" diff --git a/packages/astro/package.json b/packages/astro/package.json index 50f8c1a46b38..8e8dc5147dba 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -20,6 +20,9 @@ ], "app/*": [ "./dist/core/app/*" + ], + "middleware": [ + "./dist/core/middleware/index.d.ts" ] } },