mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
PouchDB: fixed alert function override
This commit is contained in:
@@ -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