Skip to content

Commit

Permalink
Adding typescript definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
dvonlehman committed Feb 13, 2019
1 parent 0d6b763 commit 83e2f40
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 27 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
@@ -0,0 +1,5 @@
import { ServiceConfigurationOptions } from "aws-sdk/lib/service";

export default function(
options: ServiceConfigurationOptions
): ServiceConfigurationOptions;
49 changes: 26 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions package.json
@@ -1,8 +1,9 @@
{
"name": "aws-config",
"version": "1.2.0",
"version": "1.3.1",
"description": "Encapsulates boilerplate AWS config setup",
"main": "index.js",
"types": "./index.d.ts",
"scripts": {
"test": "mocha --reporter spec --bail --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
Expand All @@ -13,7 +14,8 @@
"url": "https://github.com/aerobatic/aws-config"
},
"files": [
"index.js"
"index.js",
"index.d.ts"
],
"keywords": [
"aws-sdk",
Expand All @@ -22,7 +24,7 @@
"author": "David Von Lehman (https://github.com/dvonlehman)",
"license": "MIT",
"dependencies": {
"aws-sdk": "^2.257.1",
"aws-sdk": "^2.401.0",
"extend": "^3.0.1",
"https-proxy-agent": "^2.2.1",
"is-ec2": "^1.0.2"
Expand All @@ -34,4 +36,4 @@
"mocha": "^5.2.0",
"sinon": "^6.0.0"
}
}
}

0 comments on commit 83e2f40

Please sign in to comment.