Merge pull request #12657 from patsissons/jquery-param

Adding jquery-param typings
This commit is contained in:
Nathan Shively-Sanders
2016-11-22 13:07:58 -08:00
committed by GitHub
3 changed files with 31 additions and 0 deletions

9
jquery-param/index.d.ts vendored Normal file
View File

@@ -0,0 +1,9 @@
// Type definitions for jquery-param v1.0.0
// Project: https://github.com/knowledgecode/jquery-param
// Definitions by: Pat Sissons <http://github.com/patsissons>
export as namespace param;
export = param;
declare function param(obj: any): string;

View File

@@ -0,0 +1,3 @@
import param = require('jquery-param');
const test1 = param({ a: 'A', b: 'B', c: 'C' });

View File

@@ -0,0 +1,19 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"jquery-param-tests.ts"
]
}