mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-24 17:52:45 +00:00
Renamed files, added headers and fixed test
This commit is contained in:
parent
2b11fad40b
commit
4ab427bb2c
6
domready/domready.d.ts
vendored
Normal file
6
domready/domready.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
// Type definitions for domready
|
||||
// Project: https://github.com/ded/domready
|
||||
// Definitions by: Christian Holm Nielsen
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare function domready(callback: () => any) : void;
|
||||
14
ftdomdelegate/ftdomdelegate.d.ts
vendored
Normal file
14
ftdomdelegate/ftdomdelegate.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
// Type definitions for ftdomdelegate
|
||||
// Project: https://github.com/ftlabs/ftdomdelegate
|
||||
// Definitions by: Christian Holm Nielsen
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
declare class Delegate
|
||||
{
|
||||
constructor(element: HTMLElement);
|
||||
|
||||
on(eventType: string, selector: string, callback : () => any) : void;
|
||||
|
||||
on(eventType: string, callback:() => any) : void;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user