diff --git a/javascript/package.json b/javascript/package.json index 0f4c27c3413..73a55ff155f 100644 --- a/javascript/package.json +++ b/javascript/package.json @@ -8,7 +8,7 @@ "scripts": { "prepublishOnly": "npm run type", "test": "node test.js", - "type": "tsc --allowJs -d --emitDeclarationOnly --outDir src src/index.js" + "type": "tsc --allowJs -d --target ES2015 --emitDeclarationOnly --outDir src src/index.js" }, "author": "Shopify ", "license": "MIT"