-
-
Save ruanzx/3ae1053bd81580bfec4a190ac501262a to your computer and use it in GitHub Desktop.
Starting point to extend the jQuery type definitions for TypeScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <reference path="../jquery/jquery.d.ts" /> | |
| // Type definitions for html2canvas | |
| interface JQuery { | |
| html2canvas(options?: any): JQuery; | |
| } | |
| declare var html2canvas: JQueryStatic; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document.body).html2canvas({}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment