Skip to content

Commit

Permalink
Fix missing AbortSignal type for users not targeting the DOM (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
southpolesteve authored Aug 23, 2019
1 parent 553905d commit 3ad6adc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion consumer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions src/request/SharedOptions.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference lib="dom" />
import { CosmosHeaders } from "../index";

/**
Expand Down

0 comments on commit 3ad6adc

Please sign in to comment.