adding jquery-param typings

This commit is contained in:
Pat Sissons
2016-11-14 11:48:56 -08:00
committed by Pat Sissons
parent 4734ea6df2
commit 4882fcb163
3 changed files with 31 additions and 0 deletions
+9
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;
+3
View File
@@ -0,0 +1,3 @@
import param = require('jquery-param');
const test1 = param({ a: 'A', b: 'B', c: 'C' });
+19
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"
]
}