specify return type of setlocal()

This commit is contained in:
Luzian Zagadinow
2015-06-04 01:49:16 -04:00
parent cc6e98cc6b
commit 7c4b699df0
+1 -1
View File
@@ -301,7 +301,7 @@ declare module 'node-calendar' {
*
* @throws {IllegalLocaleError} if the provided locale is invalid.
*/
export function setlocale(locale?: string);
export function setlocale(locale?: string): void;
/**
* Unrelated but handy function to calculate Unix timestamp from GMT.