@types/liftoff
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -9,4 +9,4 @@ // Type definitions for liftoff 4.0 | ||
import { PathSpec } from 'fined'; | ||
import { EventEmitter } from 'events'; | ||
import { EventEmitter } from "events"; | ||
import { PathSpec } from "fined"; | ||
@@ -23,3 +23,7 @@ export = Liftoff; | ||
execute(env: Liftoff.LiftoffEnv, callback: (this: Liftoff, env: Liftoff.LiftoffEnv, argv: string[]) => void): void; | ||
execute(env: Liftoff.LiftoffEnv, forcedFlags: string | string[], callback: (this: Liftoff, env: Liftoff.LiftoffEnv, argv: string[]) => void): void; | ||
execute( | ||
env: Liftoff.LiftoffEnv, | ||
forcedFlags: string | string[], | ||
callback: (this: Liftoff, env: Liftoff.LiftoffEnv, argv: string[]) => void, | ||
): void; | ||
@@ -50,7 +54,7 @@ addListener<TEvent extends keyof Liftoff.Events>(event: TEvent, listener: Liftoff.Events[TEvent]): this; | ||
interface Events { | ||
'loader:success': (name: string, module: unknown) => void; | ||
'preload:success': (name: string, module: unknown) => void; | ||
'loader:failure': (name: string, err: Error) => void; | ||
'preload:failure': (name: string, err: Error) => void; | ||
'preload:before': (name: string) => void; | ||
"loader:success": (name: string, module: unknown) => void; | ||
"preload:success": (name: string, module: unknown) => void; | ||
"loader:failure": (name: string, err: Error) => void; | ||
"preload:failure": (name: string, err: Error) => void; | ||
"preload:before": (name: string) => void; | ||
respawn: (flags: string[], child: NodeJS.Process) => void; | ||
@@ -81,3 +85,3 @@ } | ||
*/ | ||
extensions?: PathSpec['extensions'] | undefined; | ||
extensions?: PathSpec["extensions"] | undefined; | ||
/** | ||
@@ -84,0 +88,0 @@ * Any flag specified here will be applied to node, not your program. |
{ | ||
"name": "@types/liftoff", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "TypeScript definitions for liftoff", | ||
@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/liftoff", | ||
}, | ||
"typesPublisherContentHash": "fdb1eac2f2824dc522c4f504989471a0cdf5e0f371a4e989c36363decfa4d36d", | ||
"typeScriptVersion": "3.8" | ||
"typesPublisherContentHash": "9cc71251171f0ae90da1d40ab088972dd608cf16194e6497427cd35d0a4519a4", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 26 Nov 2021 23:01:05 GMT | ||
* Last updated: Wed, 30 Aug 2023 19:35:06 GMT | ||
* Dependencies: [@types/fined](https://npmjs.com/package/@types/fined), [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
10340
164