@types/isexe
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -25,7 +25,7 @@ // Type definitions for isexe 2.0 | ||
interface Options { | ||
ignoreErrors?: boolean; | ||
uid?: number; | ||
gid?: number; | ||
pathExt?: string; | ||
ignoreErrors?: boolean | undefined; | ||
uid?: number | undefined; | ||
gid?: number | undefined; | ||
pathExt?: string | undefined; | ||
} | ||
} |
{ | ||
"name": "@types/isexe", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "TypeScript definitions for isexe", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/isexe", | ||
"license": "MIT", | ||
@@ -14,6 +15,7 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/isexe" | ||
}, | ||
@@ -24,4 +26,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "3a8b5a06d86f64e1d229d11631d5a4fdd0bea07bdf07a6c20f617e2eac5eb87a", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "4b855fac42404bc72ac87ca3aaeea8750d9538261374c4ed7554de7f7818aa3f", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,10 +8,44 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/isexe | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/isexe. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/isexe/index.d.ts) | ||
````ts | ||
// Type definitions for isexe 2.0 | ||
// Project: https://github.com/isaacs/isexe#readme | ||
// Definitions by: BendingBender <https://github.com/BendingBender> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Tue, 25 Dec 2018 05:33:15 GMT | ||
* Dependencies: @types/node | ||
/// <reference types="node" /> | ||
export = isExe; | ||
declare function isExe(path: string, options?: isExe.Options): Promise<boolean>; | ||
declare function isExe( | ||
path: string, | ||
callback: (error: NodeJS.ErrnoException | undefined, isExe: boolean) => void | ||
): void; | ||
declare function isExe( | ||
path: string, | ||
options: isExe.Options, | ||
callback: (error: NodeJS.ErrnoException | undefined, isExe: boolean) => void | ||
): void; | ||
declare namespace isExe { | ||
function sync(path: string, options?: Options): boolean; | ||
interface Options { | ||
ignoreErrors?: boolean | undefined; | ||
uid?: number | undefined; | ||
gid?: number | undefined; | ||
pathExt?: string | undefined; | ||
} | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 21:33:42 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by BendingBender <https://github.com/BendingBender>. | ||
These definitions were written by [BendingBender](https://github.com/BendingBender). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4451
0
51