mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
specify return type of setlocal()
This commit is contained in:
1 parent
cc6e98cc6b
commit
7c4b699df0
1 file changed
+1
-1
Vendored
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user