Added Dragscroll to @types

This commit is contained in:
Sean Kelly
2019-02-22 11:19:42 -05:00
parent dc4bfe4928
commit 8ebb426b6a
7 changed files with 28 additions and 52 deletions
-3
View File
@@ -1,3 +0,0 @@
import dragscroll from "dragscroll";
dragscroll.reset();
-23
View File
@@ -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"
]
}
-1
View File
@@ -1 +0,0 @@
{ "extends": "dtslint/dt.json" }
+3
View File
@@ -0,0 +1,3 @@
import * as dragscroll from "dragscroll";
dragscroll.reset();
+3 -3
View File
@@ -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 <https://github.com/spkellydev/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module "dragscroll" {
function reset(i?: number, el?: HTMLElement[]): void
}
function reset(i?: number, el?: any[]): void;
}
+21 -22
View File
@@ -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"
]
}
"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"
]
}
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }