mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
[jquery.clientsidelogging] Update to target @types/jquery v3.
This commit is contained in:
+4
@@ -2,6 +2,9 @@
|
||||
// Project: https://github.com/remybach/jQuery.clientSideLogging
|
||||
// Definitions by: Diullei Gomes <https://github.com/diullei>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="jquery" />
|
||||
|
||||
interface ClientSideLoggingClientInfoObject {
|
||||
location?: boolean; // The url to the page on which the error occurred.
|
||||
@@ -23,6 +26,7 @@ interface ClientSideLoggingObject {
|
||||
|
||||
interface JQueryStatic {
|
||||
info: (what?: any) => any;
|
||||
error(what?: any): any;
|
||||
log: (what?: any) => any;
|
||||
clientSideLogging: (options: ClientSideLoggingObject) => any;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import $ = require('jquery');
|
||||
|
||||
$.clientSideLogging({
|
||||
log_level: 3,
|
||||
client_info: {
|
||||
|
||||
@@ -12,11 +12,6 @@
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"paths": {
|
||||
"jquery": [
|
||||
"jquery/v2"
|
||||
]
|
||||
},
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
|
||||
Reference in New Issue
Block a user