From 0ec20234a7073b1b3ffd3047017d560d0909ab6d Mon Sep 17 00:00:00 2001 From: Darin Morrison Date: Wed, 18 Mar 2020 10:51:17 -0600 Subject: Add typing annotations for rollup config --- editors/code/rollup.config.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editors') diff --git a/editors/code/rollup.config.js b/editors/code/rollup.config.js index 337385a24..2ca27694d 100644 --- a/editors/code/rollup.config.js +++ b/editors/code/rollup.config.js @@ -1,7 +1,10 @@ +// @ts-check + import resolve from '@rollup/plugin-node-resolve'; import commonjs from '@rollup/plugin-commonjs'; import nodeBuiltins from 'builtin-modules'; +/** @type { import('rollup').RollupOptions } */ export default { input: 'out/main.js', plugins: [ -- cgit v1.2.3 From 630888df5b95caddce3b2780c273b4814ae29ee7 Mon Sep 17 00:00:00 2001 From: Darin Morrison Date: Wed, 18 Mar 2020 12:43:25 -0600 Subject: Target es2019 (code 1.43 uses chromium 78) --- editors/code/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors') diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index 0c7702974..ad134865a 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "module": "commonjs", - "target": "es2018", + "target": "es2019", "outDir": "out", "lib": [ "es2019" -- cgit v1.2.3