Skip to content

Commit

Permalink
fix(remix-dev): don't allow unknown fields in TS future config (#7261)
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 authored Aug 28, 2023
1 parent c28c3cc commit efa99d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/remix-dev/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,9 @@ export interface AppConfig {
| string[]
| (() => Promise<string | string[]> | string | string[]);

future?: Partial<FutureConfig>;
future?: Partial<FutureConfig> & {
[propName: string]: never;
};
}

/**
Expand Down

0 comments on commit efa99d8

Please sign in to comment.