Upakovka v Electron.JS no po staroy sborke cherez .cjs
This commit is contained in:
22
node_modules/is-interactive/index.d.ts
generated
vendored
22
node_modules/is-interactive/index.d.ts
generated
vendored
@@ -1,10 +1,14 @@
|
||||
export interface Options {
|
||||
/**
|
||||
The stream to check.
|
||||
/// <reference types="node"/>
|
||||
|
||||
@default process.stdout
|
||||
*/
|
||||
readonly stream?: NodeJS.WritableStream;
|
||||
declare namespace isInteractive {
|
||||
interface Options {
|
||||
/**
|
||||
The stream to check.
|
||||
|
||||
@default process.stdout
|
||||
*/
|
||||
readonly stream?: NodeJS.WritableStream;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -16,10 +20,12 @@ This can be useful to decide whether to present interactive UI or animations in
|
||||
|
||||
@example
|
||||
```
|
||||
import isInteractive from 'is-interactive';
|
||||
import isInteractive = require('is-interactive');
|
||||
|
||||
isInteractive();
|
||||
//=> true
|
||||
```
|
||||
*/
|
||||
export default function isInteractive(options?: Options): boolean;
|
||||
declare function isInteractive(options?: isInteractive.Options): boolean;
|
||||
|
||||
export = isInteractive;
|
||||
|
||||
Reference in New Issue
Block a user