From 525d1d8b0fe3eb33d34fb9caa93637fbe2dc0225 Mon Sep 17 00:00:00 2001 From: Alex Ilyaev Date: Fri, 16 Aug 2019 01:46:37 +0300 Subject: [PATCH] @types/promptly: Add `replace` property inside `options` (#37534) * promptly: Add `replace` property inside `options` Was missing `replace`, see https://github.com/moxystudio/node-promptly * Updated promptly version --- types/promptly/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/promptly/index.d.ts b/types/promptly/index.d.ts index 299e4852cb..ee2e8547f5 100644 --- a/types/promptly/index.d.ts +++ b/types/promptly/index.d.ts @@ -1,11 +1,11 @@ -// Type definitions for node-promptly 1.1.1 +// Type definitions for node-promptly 3.0.3 // Project: https://github.com/IndigoUnited/node-promptly // Definitions by: Dan Spencer +// Alex Ilyaev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// - import stream = require('stream'); interface Callback { @@ -18,6 +18,7 @@ export interface Options { validator?: any; retry?: boolean; silent?: boolean; + replace?: string; input?: NodeJS.ReadableStream; output?: NodeJS.WritableStream; }