Skip to content

transduce() is missing from the type definition #512

Description

@jeffrose

Summary

The transduce() method is missing from the type definition and is therefore invisible to TypeScript.

Versions

  • most.js: 1.7.2
  • typescript: 2.6.2

Steps to reproduce

  1. Import the transduce method from most or import all of most and use the transduce method

Code to reproduce

Doing...
import { transduce } from 'most';
... will result in the error...
[ts] Module '".../node_modules/most/type-definitions/most"' has no exported member 'transduce'.

Doing...

import * as most from 'most';
most.transduce( transducer );

... will result in the error...
[ts] Property 'transduce' does not exist on type 'typeof ".../node_modules/most/type-definitions/most"'.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions