Skip to content

Commit

Permalink
Start targeting ES6/ES2015 from typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed May 16, 2024
1 parent 25f2768 commit 0ea58fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions server/src/main/webapp/WEB-INF/rails/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@
},
"outDir": "./tmp/typescript-out/",
"lib": [
"es2015",
"es2016",
"es2017",
"es2018",
"es2022",
"dom"
],
"strict": true,
"sourceMap": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"module": "commonjs",
"target": "es5",
"target": "es6",
"jsx": "react",
"jsxFactory": "m",
"allowJs": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
import _ from "lodash";
import m from "mithril";
import Sortable from "@shopify/draggable/lib/sortable";
import Sortable from "@shopify/draggable";
import {Editor} from "views/dashboard/personalization_editor";
import {throttleRaf} from "helpers/throttle-raf";

Expand Down

0 comments on commit 0ea58fb

Please sign in to comment.