From 6530fe0e1a60be3bb089d1d2b71f9ee6dc6ba6d5 Mon Sep 17 00:00:00 2001 From: Leonard Thieu Date: Fri, 23 Jun 2017 21:39:39 -0400 Subject: [PATCH] [jquery-mockjaw] Update to target @types/jquery v3. --- types/jquery-mockjax/index.d.ts | 3 +++ types/jquery-mockjax/jquery-mockjax-tests.ts | 2 -- types/jquery-mockjax/tsconfig.json | 5 ----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/types/jquery-mockjax/index.d.ts b/types/jquery-mockjax/index.d.ts index f5dc5c8db1..2e8441131f 100644 --- a/types/jquery-mockjax/index.d.ts +++ b/types/jquery-mockjax/index.d.ts @@ -2,6 +2,9 @@ // Project: https://github.com/jakerella/jquery-mockjax // Definitions by: Laszlo Jakab , Vladimir Đokić // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.3 + +/// interface MockJaxSettingsHeaders { [key: string]: string; diff --git a/types/jquery-mockjax/jquery-mockjax-tests.ts b/types/jquery-mockjax/jquery-mockjax-tests.ts index a0df96dad6..3090a1c3cc 100644 --- a/types/jquery-mockjax/jquery-mockjax-tests.ts +++ b/types/jquery-mockjax/jquery-mockjax-tests.ts @@ -1,7 +1,5 @@ /// -import $ = require('jquery'); - class Tests { private _noErrorCallbackExpected: (jqXHR: JQueryXHR, textStatus: string, errorThrown: string) => any; private _defaultMockjaxSettings: MockJaxSettings; diff --git a/types/jquery-mockjax/tsconfig.json b/types/jquery-mockjax/tsconfig.json index 5fcedf714e..660cf14287 100644 --- a/types/jquery-mockjax/tsconfig.json +++ b/types/jquery-mockjax/tsconfig.json @@ -12,11 +12,6 @@ "typeRoots": [ "../" ], - "paths": { - "jquery": [ - "jquery/v2" - ] - }, "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true