diff options
author | 2025-03-10 18:38:56 +0100 | |
---|---|---|
committer | 2025-03-10 18:38:56 +0100 | |
commit | e744674e4556e27437bbd8db3b3fbdb4081dd0da (patch) | |
tree | a907e27eddde2b5a7f08bd5ac75ae9d776de6b3b | |
parent | 5a5652e4b9ed7cca2953e8d5e7a2bb0b2a24ddd6 (diff) | |
download | astro-e744674e4556e27437bbd8db3b3fbdb4081dd0da.tar.gz astro-e744674e4556e27437bbd8db3b3fbdb4081dd0da.tar.zst astro-e744674e4556e27437bbd8db3b3fbdb4081dd0da.zip |
fix: astro:config types tests (#13391)
-rw-r--r-- | packages/astro/test/types/astro-config-virtual-module.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/astro/test/types/astro-config-virtual-module.ts b/packages/astro/test/types/astro-config-virtual-module.ts index 2f8b4132e..d33ddb6ee 100644 --- a/packages/astro/test/types/astro-config-virtual-module.ts +++ b/packages/astro/test/types/astro-config-virtual-module.ts @@ -3,10 +3,11 @@ import { expectTypeOf } from 'expect-type'; import type { ClientDeserializedManifest, ServerDeserializedManifest, -} from '../../dist/types/public'; +} from '../../dist/types/public/index.js'; +import '../../client.d.ts'; -const server = null as typeof import('astro:config/server'); -const client = null as typeof import('astro:config/client'); +const server = null as unknown as typeof import('astro:config/server'); +const client = null as unknown as typeof import('astro:config/client'); describe('astro:config', () => { it('astro:config/server', () => { |