Skip to content

Commit

Permalink
Upgrade playwright tsconfigs to use ESNext
Browse files Browse the repository at this point in the history
This ends up outputing the required object destructuring that's needed by
playwright, see microsoft/playwright#8798
  • Loading branch information
Tyriar committed Jul 3, 2024
1 parent 3c84cfe commit b7988bf
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion addons/addon-attach/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"target": "ESNext",
"lib": [
"es2021",
],
Expand Down
2 changes: 1 addition & 1 deletion addons/addon-canvas/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2015",
"target": "ESNext",
"lib": [
"es6",
],
Expand Down
2 changes: 1 addition & 1 deletion addons/addon-clipboard/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"target": "ESNext",
"lib": [
"es2021",
],
Expand Down
2 changes: 1 addition & 1 deletion addons/addon-fit/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"target": "ESNext",
"lib": [
"es2021",
],
Expand Down
2 changes: 1 addition & 1 deletion addons/addon-image/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"target": "ESNext",
"lib": [
"es2021",
],
Expand Down
2 changes: 1 addition & 1 deletion addons/addon-search/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"target": "ESNext",
"lib": [
"es2021",
],
Expand Down
2 changes: 1 addition & 1 deletion addons/addon-serialize/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"target": "ESNext",
"lib": [
"es2021",
],
Expand Down
2 changes: 1 addition & 1 deletion addons/addon-unicode-graphemes/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"target": "ESNext",
"lib": [
"es2021",
],
Expand Down
2 changes: 1 addition & 1 deletion addons/addon-unicode11/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"target": "ESNext",
"lib": [
"es2021",
],
Expand Down
1 change: 1 addition & 0 deletions addons/addon-web-links/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"lib": [
"es2021",
],
// "downlevelIteration": true,
"rootDir": ".",
"outDir": "../out-test",
"sourceMap": true,
Expand Down
2 changes: 1 addition & 1 deletion addons/addon-webgl/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2021",
"target": "ESNext",
"lib": [
"es2021",
],
Expand Down
2 changes: 1 addition & 1 deletion test/playwright/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"../../src/common/*"
]
},
"target": "es2016",
"target": "ESNext",
"module": "commonjs",
},
"include": [
Expand Down

0 comments on commit b7988bf

Please sign in to comment.