Skip to content

Commit

Permalink
add unicode-sets-regex to archived-syntax-pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed May 18, 2023
1 parent 1d2dde6 commit edffcda
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lib/archived-libs.d.ts
Expand Up @@ -105,3 +105,8 @@ declare module "@babel/plugin-syntax-trailing-function-commas" {
let exports: {default: ReturnType<typeof declare>};
export = exports;
}
declare module "@babel/plugin-syntax-unicode-sets-regex" {
import { declare } from "@babel/helper-plugin-utils";
let exports: {default: ReturnType<typeof declare>};
export = exports;
}
3 changes: 2 additions & 1 deletion scripts/generators/archived-syntax-pkgs.json
Expand Up @@ -19,5 +19,6 @@
"@babel/plugin-syntax-optional-chaining",
"@babel/plugin-syntax-private-property-in-object",
"@babel/plugin-syntax-top-level-await",
"@babel/plugin-syntax-trailing-function-commas"
"@babel/plugin-syntax-trailing-function-commas",
"@babel/plugin-syntax-unicode-sets-regex"
]
3 changes: 3 additions & 0 deletions tsconfig.json
Expand Up @@ -687,6 +687,9 @@
"@babel/plugin-syntax-trailing-function-commas": [
"./lib/archived-libs.d.ts"
],
"@babel/plugin-syntax-unicode-sets-regex": [
"./lib/archived-libs.d.ts"
],
"@babel/preset-modules/lib/plugins/transform-async-arrows-in-class": [
"./lib/third-party-libs.d.ts"
],
Expand Down

0 comments on commit edffcda

Please sign in to comment.