Skip to content

Commit b6d075f

Browse files
G-RathDavidR95
andauthored
fix: ensure flat config types work with exactOptionalPropertyTypes (#1476)
Co-authored-by: DavidR95 <dmichaelrobertson@gmail.com>
1 parent 39d823d commit b6d075f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
1616
- Add `globals` as an explicit peer dependency
1717
- Remove unused `emoji-regex` dependency
1818
- Modified recommended types to avoid requiring `type-fest`
19+
- Ensure flat config types work with `exactOptionalPropertyTypes`
1920

2021
## [2.4.1] - 2024-07-23
2122

src/configs/flat/recommended.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ const recommended = [
3232
},
3333
rules
3434
}
35-
] satisfies Linter.FlatConfig[];
35+
] as const satisfies Linter.FlatConfig[];
3636

3737
export = recommended;

0 commit comments

Comments
 (0)