mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 20:21:46 +00:00
[smoothscroll-polyfill] Add type definitions (#18618)
Add an optional extended description…
This commit is contained in:
committed by
Sheetal Nandi
parent
8a6349f455
commit
fe5b420de2
+6
@@ -0,0 +1,6 @@
|
||||
// Type definitions for smoothscroll-polyfill 0.3
|
||||
// Project: https://iamdustan.github.io/smoothscroll
|
||||
// Definitions by: Michael Strobel <https://github.com/kryops>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export function polyfill(): void;
|
||||
@@ -0,0 +1,3 @@
|
||||
import { polyfill } from 'smoothscroll-polyfill';
|
||||
|
||||
polyfill();
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"smoothscroll-polyfill-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user