Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit fde43eb

Browse files
committed
Use named import for request.CoreOptions type
1 parent 38fa53d commit fde43eb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# UNRELEASED
2+
- [FIXED] Use named import for `request.CoreOptions` type.
3+
14
# 3.0.0 (2018-11-20)
25
- [FIXED] Expose `BasePlugin` type in Cloudant client.
36
- [FIXED] Set `parseUrl = false` on underlying Nano instance.

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
import * as nano from 'nano';
16-
import CoreOptions from "request";
16+
import { CoreOptions } from 'request';
1717

1818
declare function cloudant(
1919
config: cloudant.Configuration | string,

0 commit comments

Comments
 (0)