From e3da7f0400dc5e73b9bb015d9049aacfe1af5c86 Mon Sep 17 00:00:00 2001 From: Leonard Thieu Date: Fri, 23 Jun 2017 21:40:12 -0400 Subject: [PATCH] [jquery.clientsidelogging] Update to target @types/jquery v3. --- types/jquery.clientsidelogging/index.d.ts | 4 ++++ .../jquery.clientsidelogging-tests.ts | 2 -- types/jquery.clientsidelogging/tsconfig.json | 5 ----- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/types/jquery.clientsidelogging/index.d.ts b/types/jquery.clientsidelogging/index.d.ts index f0548b89b2..896e921e23 100644 --- a/types/jquery.clientsidelogging/index.d.ts +++ b/types/jquery.clientsidelogging/index.d.ts @@ -2,6 +2,9 @@ // Project: https://github.com/remybach/jQuery.clientSideLogging // Definitions by: Diullei Gomes // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// 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; } diff --git a/types/jquery.clientsidelogging/jquery.clientsidelogging-tests.ts b/types/jquery.clientsidelogging/jquery.clientsidelogging-tests.ts index f23b9acb25..24cba342f7 100644 --- a/types/jquery.clientsidelogging/jquery.clientsidelogging-tests.ts +++ b/types/jquery.clientsidelogging/jquery.clientsidelogging-tests.ts @@ -1,5 +1,3 @@ -import $ = require('jquery'); - $.clientSideLogging({ log_level: 3, client_info: { diff --git a/types/jquery.clientsidelogging/tsconfig.json b/types/jquery.clientsidelogging/tsconfig.json index db54f5cd84..5a94a133b5 100644 --- a/types/jquery.clientsidelogging/tsconfig.json +++ b/types/jquery.clientsidelogging/tsconfig.json @@ -12,11 +12,6 @@ "typeRoots": [ "../" ], - "paths": { - "jquery": [ - "jquery/v2" - ] - }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true