Comments (16)
Hi @vladimirmoushkov .Thanks for the issue, I m willing to release Typescript definitions too , As I m not that fluent in TypeScript I may need some one's help.
I do appreciate if you could help me to migrate to typescript.
Thanks
from react-tiny-link.
I have created a #2.
Still failing to active the full functionality. Could you help me with fixing the parsing error?
from react-tiny-link.
Sure @vladimirmoushkov . Can you please check the comments from #2 before we proceed?
Thanks
from react-tiny-link.
from react-tiny-link.
Sure please feel free to improve @vladimirmoushkov
from react-tiny-link.
from react-tiny-link.
@all-contributors please add @vladimirmoushkov for code
from react-tiny-link.
I've put up a pull request to add @vladimirmoushkov! 🎉
from react-tiny-link.
Thank you @vladimirmoushkov for you help.Released the react-tiny-link
typescript version 1.0.0 to npm.
Cheers
🍻
from react-tiny-link.
I feel like I'm missing something really obvious, but I'm not able to use this package in TypeScript at all.
There is no d.ts file in the react-tiny-link/lib folder in node_modules:
There is no @types/react-tiny-link in NPM:
And I am not able to import the module as specified in the docs:
Please help 🙏
from react-tiny-link.
Follow-up:
It looks like the main problem is with "typings": "src/lib/index.d.ts",
in package.json. When I install the package, there is no lib folder inside src, so typings cannot be found. If I remove "/lib", it seems to work.
That said, there seem to be other problems which prevent the TypeScript compiler from succeeding, such as missing types for styled-components.
from react-tiny-link.
Follow-up:
It looks like the main problem is with
"typings": "src/lib/index.d.ts",
in package.json. When I install the package, there is no lib folder inside src, so typings cannot be found. If I remove "/lib", it seems to work.That said, there seem to be other problems which prevent the TypeScript compiler from succeeding, such as missing types for styled-components.
Hey @devuxer thanks for reporting
I will take alook,
from react-tiny-link.
Any update the issue? Please help! Waiting for the TypeScript version :)
from react-tiny-link.
Not usable in typescript. Any updates?
from react-tiny-link.
Any new updates on using this with typescript?
from react-tiny-link.
Hi, I'm facing the same issue here. It's working fine when I used npm run dev
, but it's showing error when I want to build the app.
from react-tiny-link.
Related Issues (20)
- Invalid URL exception handling HOT 1
- Preview not displayed (CORS 403 Forbidden issue) HOT 1
- accessibility issue with multiple header and footer using deque extension
- How to add onClick on the component?? HOT 1
- fixRelativeUrls returns broken link for some images
- Preview of a Twitter page doesn't show correctly HOT 9
- Ability to remove title, description and just show media HOT 2
- TypeError: Failed to construct 'URL': Invalid URL HOT 2
- gatsby support HOT 7
- Bundle size & duplicate react-dom.production HOT 3
- feature request: provide a custom hook for grabbing link meta data HOT 1
- when putting an url without http:// it crashes HOT 2
- Too Many Requests
- Nextjs support: ReferenceError: window is not defined HOT 5
- Unhandled Rejection (Error): [object Object] HOT 1
- feature request: optionally cache requests
- Uncaught (in promise) {isCanceled: true} HOT 3
- add 'providor' to 'result' object of useScrapper HOT 1
- GET https://cors-anywhere.herokuapp.com/https://www.google.com/ [HTTP/1.1 403 Forbidden 1270ms] HOT 6
- window is not defined HOT 1
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 react-tiny-link.