Jhernandez has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/378901 )

Change subject: Chore: Set target value for src/common ts files
......................................................................

Chore: Set target value for src/common ts files

Nearest common ancestor is the root tsconfig, so by default we'll set
a modern target for common code, so that we don't get warnings (about
Promise usage for example) when using editors like vscode.

The entry points, src/{client,server} have their own tsconfig with
different targets, so errors related to the target for their specific
environments will be reported when compiling specifically the client or
server code.

Change-Id: Ib07d51cb6f52bba6e8359ec3c1f74e1477c1a514
---
M tsconfig.json
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/marvin refs/changes/01/378901/1

diff --git a/tsconfig.json b/tsconfig.json
index 4d3ea6e..28574b1 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -9,6 +9,7 @@
     "src/common"
   ],
   "compilerOptions": {
+    "target": "ES2017",
     "jsx": "react",
     "jsxFactory": "h",
     "moduleResolution": "node",

-- 
To view, visit https://gerrit.wikimedia.org/r/378901
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib07d51cb6f52bba6e8359ec3c1f74e1477c1a514
Gerrit-PatchSet: 1
Gerrit-Project: marvin
Gerrit-Branch: master
Gerrit-Owner: Jhernandez <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to