mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
@@ -0,0 +1,7 @@
|
||||
/// <reference path="domready.d.ts" />
|
||||
|
||||
import domReady = require("domReady");
|
||||
|
||||
domReady(() => {
|
||||
return domReady.version;
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
--noImplicitAny --target es5 --module amd
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
// Type definitions for domReady 2.0.1
|
||||
// Project: https://github.com/requirejs/domReady
|
||||
// Definitions by: Nobuhiro Nakamura <https://github.com/lefb766>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "domReady" {
|
||||
interface DomReady {
|
||||
(callback: () => any): DomReady;
|
||||
version: string;
|
||||
}
|
||||
|
||||
let domReady: DomReady;
|
||||
|
||||
export = domReady;
|
||||
}
|
||||
Reference in New Issue
Block a user