Skip to content

inheritance is botched #25

Description

@pkit
const sb = require('stream-browserify')
const rb = new sb.Readable()
console.log(rb instanceof sb.Stream) // false

const s = require('stream')
const r = new s.Readable()
console.log(r instanceof s.Stream) // true

it's coming from readable-stream inheriting from the stream instead of stream-browserify

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions