Skip to content

Commit e744674

Browse files
fix: astro:config types tests (#13391)
1 parent 5a5652e commit e744674

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/astro/test/types/astro-config-virtual-module.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ import { expectTypeOf } from 'expect-type';
33
import type {
44
ClientDeserializedManifest,
55
ServerDeserializedManifest,
6-
} from '../../dist/types/public';
6+
} from '../../dist/types/public/index.js';
7+
import '../../client.d.ts';
78

8-
const server = null as typeof import('astro:config/server');
9-
const client = null as typeof import('astro:config/client');
9+
const server = null as unknown as typeof import('astro:config/server');
10+
const client = null as unknown as typeof import('astro:config/client');
1011

1112
describe('astro:config', () => {
1213
it('astro:config/server', () => {

0 commit comments

Comments
 (0)