create pdf addon

This commit is contained in:
lincoln
2018-03-13 14:20:45 +08:00
parent 91a4094539
commit 8b75f13e8d
3 changed files with 6 additions and 10 deletions

View File

@@ -60,3 +60,7 @@ interface PDF {
interface WebTwainAddon {
PDF: PDF;
}
interface WebTwain {
Addon: WebTwainAddon;
}

11
types/dwt/index.d.ts vendored
View File

@@ -2,6 +2,7 @@
// Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx
// Definitions by: Xiao Ling <https://github.com/yushulx>
// Josh Hall <https://github.com/jbh>
// Lincoln Hu <https://github.com/lincoln2018>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
@@ -1261,21 +1262,11 @@ interface Container {
Height: string | number;
}
interface WebTwainAddon {
}
/**
* @class
*/
// properties (get/set) / sync functions
interface WebTwain {
/**
* Returns addon.
* @type {WebTwainAddon}
*/
Addon: WebTwainAddon;
/**
* Returns or sets whether multi-page selection is supported.
* @type {bool}

View File

@@ -18,6 +18,7 @@
},
"files": [
"index.d.ts",
"addon.pdf.d.ts",
"dwt-tests.ts"
]
}