DefinitelyTyped/types/is-windows/index.d.ts
ExE Boss 0e7f7862f7 feat(is‑windows): Update to v1.0 (#39117)
* feat(is‑windows): Update to v1.0

* test(is‑windows): Fix UMD test

* chore(is‑windows): Remove `.editorconfig` 😡
2019-11-19 11:12:10 -08:00

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;