Skip to content

Commit 4e17b57

Browse files
committed
Remove unused future-flag utilities / types.
1 parent b166664 commit 4e17b57

File tree

2 files changed

+0
-64
lines changed

2 files changed

+0
-64
lines changed

packages/remix/src/utils/futureFlags.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.

packages/remix/src/utils/types.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,6 @@ import type * as Express from 'express';
1414
import type { Agent } from 'https';
1515
import type { ComponentType } from 'react';
1616

17-
type Dev = {
18-
command?: string;
19-
scheme?: string;
20-
host?: string;
21-
port?: number;
22-
restart?: boolean;
23-
tlsKey?: string;
24-
tlsCert?: string;
25-
};
26-
27-
export interface FutureConfig {
28-
unstable_dev: boolean | Dev;
29-
/** @deprecated Use the `postcss` config option instead */
30-
unstable_postcss: boolean;
31-
/** @deprecated Use the `tailwind` config option instead */
32-
unstable_tailwind: boolean;
33-
v2_errorBoundary: boolean;
34-
v2_headers: boolean;
35-
v2_meta: boolean;
36-
v2_normalizeFormMethod: boolean;
37-
v2_routeConvention: boolean;
38-
}
39-
40-
export interface RemixConfig {
41-
[key: string]: any;
42-
future: FutureConfig;
43-
}
44-
4517
export type RemixRequestState = {
4618
method: string;
4719
redirect: RequestRedirect;
@@ -161,7 +133,6 @@ export interface ServerBuild {
161133
assets: AssetsManifest;
162134
publicPath?: string;
163135
assetsBuildDirectory?: string;
164-
future?: FutureConfig;
165136
}
166137

167138
export interface HandleDocumentRequestFunction {

0 commit comments

Comments
 (0)