mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
PouchDB: fixed alert function override
This commit is contained in:
1 parent
202a9918e2
commit
822274f76e
1 file changed
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
declare var $: any;
|
||||
|
||||
function alert(thing: any) {
|
||||
window.alert = function(thing?: string) {
|
||||
$('body').append('<div>' + thing + '</div>');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user