mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #5598 from stpettersens/master
Type definitions and tests for jquery-urlparam
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
/// <reference path="jquery-urlparam.d.ts" />
|
||||
|
||||
console.log($.urlParam('variable'));
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
// Type definitions for jquery-urlparam
|
||||
// Project: https://gist.github.com/stpettersens/e1f4478f299b6f4905c1
|
||||
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
|
||||
interface JQueryStatic {
|
||||
urlParam(variable: string): string;
|
||||
}
|
||||
Reference in New Issue
Block a user