mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-19 23:32:47 +00:00
* feat(is‑windows): Update to v1.0
* test(is‑windows): Fix UMD test
* chore(is‑windows): Remove `.editorconfig` 😡️
17 lines
484 B
TypeScript
17 lines
484 B
TypeScript
// Type definitions for is-windows 1.0
|
|
// Project: https://github.com/jonschlinkert/is-windows
|
|
// Definitions by: Mizunashi Mana <https://github.com/mizunashi-mana>
|
|
// ExE Boss <https://github.com/ExE-Boss>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* Returns `true` if the platform is windows.
|
|
*/
|
|
declare function isWindows(): boolean;
|
|
|
|
// Export CJS function
|
|
export = isWindows;
|
|
|
|
// Export UMD namespace
|
|
export as namespace isWindows;
|