diff --git a/consumer-test.js b/consumer-test.js index 67c7a7b0..4d9fbb4d 100644 --- a/consumer-test.js +++ b/consumer-test.js @@ -21,8 +21,10 @@ async function exec(cmd) { await exec("npm install --save ./.."); console.log("Installing @azure/cosmos as a file dependency"); for (const version of versions) { - console.log(`Compling with typescript@${version}`); + console.log(`Compling with typescript@${version} - Basic`); await exec(`npx -p typescript@${version} tsc ./test.ts --allowSyntheticDefaultImports true`); + console.log(`Compling with typescript@${version} - Custom lib`); + await exec(`npx -p typescript@${version} tsc ./test.ts --allowSyntheticDefaultImports true --lib es2018`); } process.exit(0); } catch (error) { diff --git a/src/request/SharedOptions.ts b/src/request/SharedOptions.ts index 74545430..cafff225 100644 --- a/src/request/SharedOptions.ts +++ b/src/request/SharedOptions.ts @@ -1,3 +1,4 @@ +/// import { CosmosHeaders } from "../index"; /**