Skip to content

Conversation

@kwonoj
Copy link
Contributor

@kwonoj kwonoj commented Apr 19, 2016

This PR updates package.json to point type definition index.d.ts, allows TypeScript code can import and assign it if necessary like

import * as xxx from 'symbol-observable'

const $$observable = xxx;

package.json Outdated
"name": "symbol-observable",
"version": "0.2.1",
"description": "Symbol.observable ponyfill",
"main":"index.js",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field is not necessary.

- allow import in typescript via import * as ... from
  'symbol-observable'
@sindresorhus
Copy link
Contributor

LGTM

@benlesh benlesh merged commit befd7af into benlesh:master Apr 19, 2016
@benlesh
Copy link
Owner

benlesh commented Apr 19, 2016

Yeah, a lot of people will need that. Thanks, @kwonoj!

@kwonoj kwonoj deleted the chore-type branch April 19, 2016 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants