-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
typescript: do not lint lib/* and do coverage with sourcemaps
- do not lint build directory lib/* - output source maps from typescript files for coverage testing - fix a istanbul ignore in fetch.ts
- Loading branch information
Showing
4 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/node_modules/ | ||
/build/ | ||
/build/airtable.browser.js | ||
/test/test_files/airtable.browser.js | ||
/lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
import nodeFetch from 'node-fetch'; | ||
|
||
// istanbul ignore next | ||
export = typeof window === 'undefined' ? (nodeFetch as typeof fetch) : fetch; | ||
export = ( | ||
// istanbul ignore next | ||
typeof window === 'undefined' ? (nodeFetch as typeof fetch) : fetch | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters