diff --git a/dragscroll/dragscroll-tests.ts b/dragscroll/dragscroll-tests.ts deleted file mode 100644 index de6b8060a4..0000000000 --- a/dragscroll/dragscroll-tests.ts +++ /dev/null @@ -1,3 +0,0 @@ -import dragscroll from "dragscroll"; - -dragscroll.reset(); \ No newline at end of file diff --git a/dragscroll/tsconfig.json b/dragscroll/tsconfig.json deleted file mode 100644 index f43363abe3..0000000000 --- a/dragscroll/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "base64-js-tests.ts" - ] -} \ No newline at end of file diff --git a/dragscroll/tslint.json b/dragscroll/tslint.json deleted file mode 100644 index 2750cc0197..0000000000 --- a/dragscroll/tslint.json +++ /dev/null @@ -1 +0,0 @@ -{ "extends": "dtslint/dt.json" } \ No newline at end of file diff --git a/types/dragscroll/dragscroll-tests.ts b/types/dragscroll/dragscroll-tests.ts new file mode 100644 index 0000000000..4158b6c9da --- /dev/null +++ b/types/dragscroll/dragscroll-tests.ts @@ -0,0 +1,3 @@ +import * as dragscroll from "dragscroll"; + +dragscroll.reset(); \ No newline at end of file diff --git a/dragscroll/dragscroll.d.ts b/types/dragscroll/index.d.ts similarity index 65% rename from dragscroll/dragscroll.d.ts rename to types/dragscroll/index.d.ts index dbef7bf897..4598f31bd5 100644 --- a/dragscroll/dragscroll.d.ts +++ b/types/dragscroll/index.d.ts @@ -1,7 +1,7 @@ // Type definitions for dragscroll v 0.0.8 -// Project: https://github.com/asvd/dragscroll +// Project: https://github.com/asvd/dragscroll#readme // Definitions by: Sean Kelly // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module "dragscroll" { - function reset(i?: number, el?: HTMLElement[]): void -} \ No newline at end of file + function reset(i?: number, el?: any[]): void; +} diff --git a/types/dragscroll/tsconfig.json b/types/dragscroll/tsconfig.json index f43363abe3..14917b2a74 100644 --- a/types/dragscroll/tsconfig.json +++ b/types/dragscroll/tsconfig.json @@ -1,23 +1,22 @@ { - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "base64-js-tests.ts" - ] -} \ No newline at end of file + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "dragscroll-tests.ts" + ] +} diff --git a/types/dragscroll/tslint.json b/types/dragscroll/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/dragscroll/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" }