Skip to content

Commit

Permalink
Fix typings by removing triple-slash ref to node. Fixes #137
Browse files Browse the repository at this point in the history
  • Loading branch information
ashtuchkin committed Nov 21, 2016
1 parent 65beacd commit 9d7c6f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// Definitions by: Martin Poelstra <https://github.com/poelstra>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

/// <reference types="node" />

import stream = require("stream");

export interface Options {
Expand All @@ -28,5 +26,6 @@ export class EncodeStream extends stream.Transform {
export function decodeStream(encoding: string, options?: Options): DecodeStream;
export function encodeStream(encoding: string, options?: Options): EncodeStream;

// NOTE: These are deprecated.
export function extendNodeEncodings(): void;
export function undoExtendNodeEncodings(): void;

0 comments on commit 9d7c6f8

Please sign in to comment.