Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit 4dbf565

Browse files
authored
Fix bad imports in type definitions (#1709)
1 parent 43962ad commit 4dbf565

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# sapper changelog
22

3+
## 0.29.1 (Unreleased)
4+
5+
* Fix bad imports in type definitions ([#1709](https://github.com/sveltejs/sapper/pull/1709))
6+
37
## 0.29.0
48

59
Please see the [migration guide](https://sapper.svelte.dev/migrating#0_28_to_0_29) for details on migrating from Sapper 0.28 to Sapper 0.29.

runtime/src/internal/manifest-client.d.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import { PageParams } from '@sapper/common';
2-
import {
3-
Preload
4-
} from './shared';
1+
import { PageParams, Preload } from '@sapper/common';
52

63
export interface DOMComponentModule {
74
default: DOMComponentConstructor;

runtime/src/internal/manifest-server.d.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
import {
2-
Preload
3-
} from './shared';
1+
import { Preload } from '@sapper/common';
2+
import { SapperRequest, SapperResponse } from '@sapper/server';
43

54
export const src_dir: string;
65
export const build_dir: string;
76
export const dev: boolean;
87
export const manifest: Manifest;
98

10-
export { SapperRequest, SapperResponse } from '@sapper/server';
9+
export type { SapperRequest, SapperResponse };
1110

1211
export interface SSRComponentModule {
1312
default: SSRComponent;

0 commit comments

Comments
 (0)