mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 19:04:13 +08:00
first batch: the easy pickings - as per https://github.com/borisyankov/DefinitelyTyped/issues/115 - added DT headers (scraped creators from git history) - added tests - some modifications - added CONTRIBUTORS.md for the substantial defs (>50 LOC)
14 lines
249 B
TypeScript
14 lines
249 B
TypeScript
/// <reference path="aws-sdk.d.ts" />
|
|
|
|
import awsSdk = require('aws-sdk');
|
|
|
|
var str: string;
|
|
|
|
var creds: awsSdk.Credentials;
|
|
|
|
creds = new awsSdk.Credentials(str, str);
|
|
creds = new awsSdk.Credentials(str, str, str);
|
|
str = creds.accessKeyId;
|
|
|
|
// more
|