From e71db87bb851bbd93ff0d91f0fb5b7b4170b5d05 Mon Sep 17 00:00:00 2001 From: Tom Kent Date: Fri, 25 Jan 2019 13:31:21 +0800 Subject: [PATCH] remove unnecessary info and changed type script version --- types/dwt/Dynamsoft.d.ts | 22 ---------------------- types/dwt/addon.ocrp.d.ts | 17 ----------------- types/dwt/addon.pdf.d.ts | 11 ----------- types/dwt/dwt.d.ts | 20 -------------------- types/dwt/index.d.ts | 9 +-------- types/dwt/tsconfig.json | 5 ++++- 6 files changed, 5 insertions(+), 79 deletions(-) diff --git a/types/dwt/Dynamsoft.d.ts b/types/dwt/Dynamsoft.d.ts index 84413a7b8f..9f729abf1a 100644 --- a/types/dwt/Dynamsoft.d.ts +++ b/types/dwt/Dynamsoft.d.ts @@ -1,25 +1,3 @@ -// Type definitions for dwt 14.3.1 -// Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx -// Definitions by: Xiao Ling -// Josh Hall -// Lincoln Hu -// Tom Kent -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.2 - -/*! -* Based on Dynamsoft WebTwain JavaScript Intellisense -* Product: Dynamsoft Web Twain -* Web Site: http://www.dynamsoft.com -* -* Copyright 2019, Dynamsoft Corporation -* Author: Dynamsoft Support Team -* Version: 14.3.1 -*/ - -/** - * @namespace Dynamsoft - */ declare namespace Dynamsoft { let Lib: DynamsoftLib let WebTwainEnv: dwtEnv diff --git a/types/dwt/addon.ocrp.d.ts b/types/dwt/addon.ocrp.d.ts index 8fefb0f419..9fc7f7c604 100644 --- a/types/dwt/addon.ocrp.d.ts +++ b/types/dwt/addon.ocrp.d.ts @@ -1,20 +1,3 @@ -// Type definitions for dwt 14.3.1 -// Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx -// Definitions by: Xiao Ling -// Josh Hall -// Lincoln Hu -// Tom Kent -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 3.2.2 - -/*! -* Product: Dynamsoft Web Twain -* Web Site: http://www.dynamsoft.com -* -* Copyright 2019, Dynamsoft Corporation -* Author: Dynamsoft Support Team -*/ - interface Redaction { FindText: string, FindTextFlags: EnumDWT_OCRFindTextFlags.OCRFT_WHOLEWORD; diff --git a/types/dwt/addon.pdf.d.ts b/types/dwt/addon.pdf.d.ts index 6a2a8636ee..2bb450af9a 100644 --- a/types/dwt/addon.pdf.d.ts +++ b/types/dwt/addon.pdf.d.ts @@ -1,14 +1,3 @@ -/*! -* Dynamsoft WebTwain PDF Addon -* Based on Dynamsoft WebTwain JavaScript Intellisense -* Product: Dynamsoft Web Twain -* Web Site: http://www.dynamsoft.com -* -* Copyright 2018, Dynamsoft Corporation -* Author: Dynamsoft Support Team -* Version: 14.2 -*/ - declare enum EnumDWT_ConvertMode { CM_DEFAULT = 0, CM_RENDERALL = 1 diff --git a/types/dwt/dwt.d.ts b/types/dwt/dwt.d.ts index 1a3e97a0c3..14c63c03eb 100644 --- a/types/dwt/dwt.d.ts +++ b/types/dwt/dwt.d.ts @@ -1,23 +1,3 @@ -// Type definitions for dwt 14.3.1 -// Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx -// Definitions by: Xiao Ling -// Josh Hall -// Lincoln Hu -// Tom Kent -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 3.2.2 - -/*! -* Product: Dynamsoft Web Twain -* Web Site: http://www.dynamsoft.com -* -* Copyright 2019, Dynamsoft Corporation -* Author: Dynamsoft Support Team -*/ - -/** - * @class - */ // properties (get/set) / sync functions interface WebTwain { Addon: WebTwainAddon; diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts index 6d36b84c3e..b81b0a0720 100644 --- a/types/dwt/index.d.ts +++ b/types/dwt/index.d.ts @@ -5,15 +5,8 @@ // Lincoln Hu // Tom Kent // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 3.2.2 +// TypeScript Version: 2.3 -/*! -* Product: Dynamsoft Web Twain -* Web Site: http://www.dynamsoft.com -* -* Copyright 2019, Dynamsoft Corporation -* Author: Dynamsoft Support Team -*/ /// /// diff --git a/types/dwt/tsconfig.json b/types/dwt/tsconfig.json index 13f35fcfbf..a37b15c38f 100644 --- a/types/dwt/tsconfig.json +++ b/types/dwt/tsconfig.json @@ -18,7 +18,10 @@ }, "files": [ "index.d.ts", + "Dynamsoft.d.ts", + "dwt.d.ts", + "addon.ocrp.d.ts", "addon.pdf.d.ts", "dwt-tests.ts" ] -} \ No newline at end of file +}