Skip to content

Commit

Permalink
Remove unused future-flag utilities / types.
Browse files Browse the repository at this point in the history
  • Loading branch information
onurtemizkan committed Jun 26, 2023
1 parent b166664 commit 4e17b57
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 64 deletions.
35 changes: 0 additions & 35 deletions packages/remix/src/utils/futureFlags.ts

This file was deleted.

29 changes: 0 additions & 29 deletions packages/remix/src/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,6 @@ import type * as Express from 'express';
import type { Agent } from 'https';
import type { ComponentType } from 'react';

type Dev = {
command?: string;
scheme?: string;
host?: string;
port?: number;
restart?: boolean;
tlsKey?: string;
tlsCert?: string;
};

export interface FutureConfig {
unstable_dev: boolean | Dev;
/** @deprecated Use the `postcss` config option instead */
unstable_postcss: boolean;
/** @deprecated Use the `tailwind` config option instead */
unstable_tailwind: boolean;
v2_errorBoundary: boolean;
v2_headers: boolean;
v2_meta: boolean;
v2_normalizeFormMethod: boolean;
v2_routeConvention: boolean;
}

export interface RemixConfig {
[key: string]: any;
future: FutureConfig;
}

export type RemixRequestState = {
method: string;
redirect: RequestRedirect;
Expand Down Expand Up @@ -161,7 +133,6 @@ export interface ServerBuild {
assets: AssetsManifest;
publicPath?: string;
assetsBuildDirectory?: string;
future?: FutureConfig;
}

export interface HandleDocumentRequestFunction {
Expand Down

0 comments on commit 4e17b57

Please sign in to comment.