@types/auto-launch
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -14,7 +14,7 @@ // Type definitions for auto-launch 5.0 | ||
*/ | ||
path?: string; | ||
path?: string | undefined; | ||
/** | ||
* Hidden on launch. Default is `false`. | ||
*/ | ||
isHidden?: boolean; | ||
isHidden?: boolean | undefined; | ||
/** | ||
@@ -27,4 +27,4 @@ * For Mac-only options. | ||
*/ | ||
useLaunchAgent?: boolean; | ||
}; | ||
useLaunchAgent?: boolean | undefined; | ||
} | undefined; | ||
} | ||
@@ -31,0 +31,0 @@ |
{ | ||
"name": "@types/auto-launch", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "TypeScript definitions for auto-launch", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/auto-launch", | ||
"license": "MIT", | ||
@@ -19,11 +20,12 @@ "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/auto-launch" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "0fb29c4cd9d6d0fb1b3eff632809fa8116e26814f25b3e9cd1770ee7a25b6ad4", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "1a22f327a19fb20336782573c929212590ccc58f02f1b819609d814cb4eba9b5", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -5,9 +5,60 @@ # Installation | ||
# Summary | ||
This package contains type definitions for auto-launch ( https://github.com/Teamwork/node-auto-launch ). | ||
This package contains type definitions for auto-launch (https://github.com/Teamwork/node-auto-launch). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/auto-launch | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/auto-launch. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/auto-launch/index.d.ts) | ||
````ts | ||
// Type definitions for auto-launch 5.0 | ||
// Project: https://github.com/Teamwork/node-auto-launch, https://github.com/4ver/node-auto-launch | ||
// Definitions by: rhysd <https://github.com/rhysd>, Daniel Perez Alvarez <https://github.com/unindented> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Wed, 13 Feb 2019 16:16:45 GMT | ||
interface AutoLaunchOptions { | ||
/** | ||
* Application name. | ||
*/ | ||
name: string; | ||
/** | ||
* Path to application. Default is `process.execPath`. | ||
*/ | ||
path?: string | undefined; | ||
/** | ||
* Hidden on launch. Default is `false`. | ||
*/ | ||
isHidden?: boolean | undefined; | ||
/** | ||
* For Mac-only options. | ||
*/ | ||
mac?: { | ||
/** | ||
* By default, AppleScript is used to add a Login Item. If this is `true`, Launch Agent will be used to auto-launch your app. Defaults is `false`. | ||
*/ | ||
useLaunchAgent?: boolean | undefined; | ||
} | undefined; | ||
} | ||
declare class AutoLaunch { | ||
constructor(options: AutoLaunchOptions); | ||
/** | ||
* Enables auto-launch at start up. | ||
*/ | ||
enable(): Promise<void>; | ||
/** | ||
* Disables auto-launch at start up. | ||
*/ | ||
disable(): Promise<void>; | ||
/** | ||
* Returns true if auto-launch is enabled. | ||
*/ | ||
isEnabled(): Promise<boolean>; | ||
} | ||
export = AutoLaunch; | ||
```` | ||
### Additional Details | ||
* Last updated: Wed, 07 Jul 2021 21:44:39 GMT | ||
* Dependencies: none | ||
@@ -17,2 +68,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by rhysd <https://github.com/rhysd>, Daniel Perez Alvarez <https://github.com/unindented>. | ||
These definitions were written by [rhysd](https://github.com/rhysd), and [Daniel Perez Alvarez](https://github.com/unindented). |
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
5176
0
68