From 69913e9fda054fa6a62a80e2bb4ee7dca1005796 Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Fri, 25 Mar 2022 02:12:41 +0700 Subject: [PATCH] types cleanup (#4409) --- packages/kit/types/internal.d.ts | 1 - packages/kit/types/private.d.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/packages/kit/types/internal.d.ts b/packages/kit/types/internal.d.ts index 5e34beea4208..f499d0365463 100644 --- a/packages/kit/types/internal.d.ts +++ b/packages/kit/types/internal.d.ts @@ -18,7 +18,6 @@ import { RequestOptions, ResolveOptions, ResponseHeaders, - RouteSegment, TrailingSlash } from './private'; diff --git a/packages/kit/types/private.d.ts b/packages/kit/types/private.d.ts index 7a11866d24fb..f2a74d7b118a 100644 --- a/packages/kit/types/private.d.ts +++ b/packages/kit/types/private.d.ts @@ -2,8 +2,6 @@ // but which cannot be imported from `@sveltejs/kit`. Care should // be taken to avoid breaking changes when editing this file -import { ValidatedConfig } from './internal'; - export interface AdapterEntry { /** * A string that uniquely identifies an HTTP service (e.g. serverless function) and is used for deduplication. @@ -191,8 +189,6 @@ export interface Logger { export type MaybePromise = T | Promise; -export type Only = { [P in keyof T]: T[P] } & { [P in Exclude]?: never }; - export interface Prerendered { pages: Map< string,