issues
search
alertifyjs
/
alertify.js
JavaScript Alert/Notification System
https://alertifyjs.org
MIT License
521
stars
104
forks
source link
Update type declaration with docstrings
#127
Closed
vidartf
closed
6 years ago
vidartf
commented
7 years ago
Adds docstrings to declaration.
Wraps interface in namespace as recommended by the handbook (
https://www.typescriptlang.org/docs/handbook/declaration-files/library-structures.html#preventing-name-conflicts
).
Corrects declaration for
setLogTemplate()
(it takes a method, not a string).
Makes typing for
click
callbacks more explicit.
Includes version string in declaration.
vidartf
commented
6 years ago
Closing due to dead repo.
setLogTemplate()
(it takes a method, not a string).click
callbacks more explicit.