Skip to content

Commit 5f4ed1f

Browse files
committed
fix: add ES2024 support for target and module options
1 parent f1ffb89 commit 5f4ed1f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/parser-typescript-config/src/schema.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@
546546
"anyOf": [
547547
{
548548
"enum": [
549+
550+
549551
"ES3",
550552
"ES5",
551553
"ES6",
@@ -557,8 +559,10 @@
557559
"ES2020",
558560
"ES2021",
559561
"ES2022",
562+
"ES2023",
560563
"ES2024",
561564
"ESNext"
565+
562566
]
563567
},
564568
{
@@ -609,6 +613,8 @@
609613
"useFsEventsOnParentDirectory",
610614
"fixedChunkSizePolling"
611615
],
616+
617+
612618
"default": "useFsEvents"
613619
},
614620
"experimentalDecorators": {
@@ -869,6 +875,9 @@
869875
{
870876
"pattern": "^[Ee][Ss]2022(\\.([Aa][Rr][Rr][Aa][Yy]|[Ee][Rr][Rr][Oo][Rr]|[Ii][Nn][Tt][Ll]|[Oo][Bb][Jj][Ee][Cc][Tt]|[Ss][Tt][Rr][Ii][Nn][Gg]))?$"
871877
},
878+
{
879+
"pattern": "^[Ee][Ss]2023(\\.[A-Za-z]+)?$"
880+
},
872881
{
873882
"pattern": "^[Ee][Ss]2024(\\.[A-Za-z]+)?$"
874883
},

0 commit comments

Comments
 (0)