zurb-twentytwenty (#43567)

* udating index.d.ts

adding unconsolidate() method to Model class

* updating index.d.ts

* adding selector

added selector: JQuery; to support jquer backward compatability.

* adding bootstrap-filestylle

adding bootstrap-filestylle

* adding comments

adding comments

* update tslint

update tslint

* adding version

adding 1.2.1 to version

* unifi signature

unifi signature

* update version

update version

* Update index.d.ts

* bootstrap-multiselect

bootstrap-multiselect

* Update tsconfig.json

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* create zurb-twentytwenty

Create a type definition for zurb-twentytwenty

* Update tsconfig.json

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* update files

* Update index.d.ts
This commit is contained in:
Mustafa Salaheldin 2020-04-07 22:41:37 +04:00 committed by GitHub
parent 03fe050642
commit 26470d8f6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 55 additions and 0 deletions

22
types/zurb-twentytwenty/index.d.ts vendored Normal file
View File

@ -0,0 +1,22 @@
// Type definitions for zurb.twentytwenty 0.1
// Project: https://github.com/zurb/twentytwenty
// Definitions by: Mustafa Salaheldin <https://github.com/mustafasalahuldin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jquery"/>
interface TwentyTwentyOptions {
default_offset_pct?: number;
orientation?: string;
before_label?: string;
after_label?: string;
no_overlay?: boolean;
move_slider_on_hover?: boolean;
move_with_handle_only?: boolean;
click_to_move?: boolean;
}
interface JQuery {
twentytwenty(options?: TwentyTwentyOptions): JQuery;
}

View File

@ -0,0 +1,25 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"dom",
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts"
]
}

View File

@ -0,0 +1,8 @@
{
"extends": "dtslint/dt.json",
"rules": {
"interface-name": [true, "never-prefix"]
}
}