From 5f06abc4d2e2828a64f914ef2c768afefe6f185f Mon Sep 17 00:00:00 2001 From: Diluka W Date: Wed, 2 May 2018 14:25:37 +0800 Subject: [PATCH] fix index.d.ts --- index.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 22e10760b..58517c08e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1075,7 +1075,13 @@ export interface Xlsx { /** * read from a file */ - readFile(path: string): Promise; + readFile(path: string): Promise; + + /** + * read from a stream + * @param stream + */ + read(stream: Stream): Promise; /** * Create input stream for reading