Skip to content

Commit

Permalink
reference additional modules in our typings file
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Oct 6, 2017
1 parent 04bd791 commit 838e2d6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.2.1 2017-10-06

* Typescript: reference additional modules in our typings file.

## v1.1.1 2017-10-03

* Better README.
Expand Down
6 changes: 4 additions & 2 deletions lib/promise-duplex.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
/// <reference types="node" />

import { PromiseReadable } from 'promise-readable'
import { PromiseWritable } from 'promise-writable'
import { Duplex } from 'stream'
import * as stream from 'stream'

export declare class PromiseDuplex<TDuplex extends Duplex> extends PromiseReadable<TDuplex> implements PromiseWritable<TDuplex> {
export declare class PromiseDuplex<TDuplex extends stream.Duplex> extends PromiseReadable<TDuplex> implements PromiseWritable<TDuplex> {
readonly stream: TDuplex
readonly readable: PromiseReadable<TDuplex>
readonly writable: PromiseWritable<TDuplex>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "promise-duplex",
"version": "1.1.1",
"version": "1.1.2",
"description": "Return promise for duplex stream",
"main": "lib/promise-duplex.js",
"typings": "lib/promise-duplex.d.ts",
Expand Down

0 comments on commit 838e2d6

Please sign in to comment.