mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-28 02:20:31 +00:00
18 lines
519 B
TypeScript
18 lines
519 B
TypeScript
// Type definitions for os-locale 2.1
|
|
// Project: https://github.com/sindresorhus/os-locale
|
|
// Definitions by: Aya Morisawa <https://github.com/AyaMorisawa>
|
|
// BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = osLocale;
|
|
|
|
declare function osLocale(options?: osLocale.Options): Promise<string>;
|
|
|
|
declare namespace osLocale {
|
|
function sync(options?: Options): string;
|
|
|
|
interface Options {
|
|
spawn?: boolean;
|
|
}
|
|
}
|