[jquery.clientsidelogging] Update to target @types/jquery v3.

This commit is contained in:
Leonard Thieu
2017-06-23 21:43:00 -04:00
parent 6530fe0e1a
commit e3da7f0400
3 changed files with 4 additions and 7 deletions
+4
View File
@@ -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