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 +}