mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 11:51:10 +08:00
Break up ts-activex into separate modules (#11805)
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
/// <reference path="activex-data-objects.d.ts" />
|
||||
|
||||
|
||||
//open connection to an Excel file
|
||||
var pathToExcelFile = 'C:\\path\\to\\excel\\file.xlsx';
|
||||
var conn = new ActiveXObject('ADODB.Connection');
|
||||
@@ -3,8 +3,6 @@
|
||||
// Definitions by: Zev Spitz <https://github.com/zspitz>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="jscript-extensions.d.ts" />
|
||||
|
||||
declare namespace ADODB {
|
||||
|
||||
//Enums
|
||||
19
activex-data-objects/tsconfig.json
Normal file
19
activex-data-objects/tsconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"activex-data-objects-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,3 @@
|
||||
/// <reference path="microsoft-scripting-runtime.d.ts" />
|
||||
|
||||
|
||||
//source -- https://msdn.microsoft.com/en-us/library/ebkhfaaz.aspx
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
// Definitions by: Zev Spitz <https://github.com/zspitz>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="jscript-extensions.d.ts" />
|
||||
|
||||
declare namespace Scripting {
|
||||
|
||||
//Enums
|
||||
19
activex-scripting-runtime/tsconfig.json
Normal file
19
activex-scripting-runtime/tsconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"activex-scripting-runtime-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1,5 +1,3 @@
|
||||
/// <reference path="windows-image-acquisition.d.ts" />
|
||||
|
||||
//source -- https://msdn.microsoft.com/en-us/library/windows/desktop/ms630826(v=vs.85).aspx
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
// Definitions by: Zev Spitz <https://github.com/zspitz>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="jscript-extensions.d.ts" />
|
||||
|
||||
declare namespace WIA {
|
||||
|
||||
//Enums
|
||||
19
activex-windows-image-acquisition/tsconfig.json
Normal file
19
activex-windows-image-acquisition/tsconfig.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"activex-windows-image-acquisition-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
/// <reference path="jscript-extensions.d.ts" />
|
||||
|
||||
var x: VarDate;
|
||||
var dte = new Date(x);
|
||||
x = dte.getVarDate();
|
||||
16
ts-activex/jscript-extensions.d.ts
vendored
16
ts-activex/jscript-extensions.d.ts
vendored
@@ -1,16 +0,0 @@
|
||||
// Type definitions for Microsoft JScript extensions
|
||||
// Project: https://msdn.microsoft.com/en-us/library/yek4tbz0(v=vs.84).aspx
|
||||
// Definitions by: Zev Spitz <https://github.com/zspitz>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
//These will become unnecessary with the next version of Typescript
|
||||
|
||||
interface VarDate { }
|
||||
|
||||
interface DateConstructor {
|
||||
new (vd: VarDate): Date;
|
||||
}
|
||||
|
||||
interface Date {
|
||||
getVarDate: () => VarDate;
|
||||
}
|
||||
Reference in New Issue
Block a user