Comments (5)
It's your lucky day! I just submitted a PR to DefinitelyTyped with type definitions for this library. DefinitelyTyped/DefinitelyTyped#44534
from redux-subscriber.
Awesome! Yea I couldn't help myself and was playing around with this myself. I came up with basically the same thing, minus the tests. Thanks for the quick turnaround!
from redux-subscriber.
@ivantsov - the team at DefinitelyTyped (the typescript definitions library) have a question about your intent with the current definition file in your repo (since it hasn't been published in NPM). Could you answer them? DefinitelyTyped/DefinitelyTyped#44534 (comment)
from redux-subscriber.
Hey @thisissami, TS file was added by this PR #6. It was a contribution from one of the users. I don't have any plans for adding TS support for this package, but would check a PR.
from redux-subscriber.
@ivantsov the typing file is not present once installed - you can go to node_modules of redux-subscriber and the index.d.ts is not present neither in root or lib dirs.
edited: link to publishing npm module with type: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
from redux-subscriber.
Related Issues (8)
- `initSubscriber` returning `subscribe` api (?) HOT 3
- Dispatch actions on subscription callback HOT 1
- Subscribe handler being fired twice for one change HOT 4
- Consider using object-path-get HOT 1
- subscribing to boolean variables HOT 4
- Wired behavior with setState in sub HOT 1
- Dispatching actions in callbackFunction HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redux-subscriber.