Coder Social home page Coder Social logo

Comments (16)

winhtaikaung avatar winhtaikaung commented on May 25, 2024

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.

vladimirmoushkov avatar vladimirmoushkov commented on May 25, 2024

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.

winhtaikaung avatar winhtaikaung commented on May 25, 2024

Sure @vladimirmoushkov . Can you please check the comments from #2 before we proceed?
Thanks

from react-tiny-link.

vladimirmoushkov avatar vladimirmoushkov commented on May 25, 2024

from react-tiny-link.

winhtaikaung avatar winhtaikaung commented on May 25, 2024

Sure please feel free to improve @vladimirmoushkov

from react-tiny-link.

vladimirmoushkov avatar vladimirmoushkov commented on May 25, 2024

from react-tiny-link.

winhtaikaung avatar winhtaikaung commented on May 25, 2024

@all-contributors please add @vladimirmoushkov for code

from react-tiny-link.

allcontributors avatar allcontributors commented on May 25, 2024

@winhtaikaung

I've put up a pull request to add @vladimirmoushkov! 🎉

from react-tiny-link.

winhtaikaung avatar winhtaikaung commented on May 25, 2024

Thank you @vladimirmoushkov for you help.Released the react-tiny-link typescript version 1.0.0 to npm.

Cheers
🍻

from react-tiny-link.

devuxer avatar devuxer commented on May 25, 2024

@winhtaikaung,

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:

image

There is no @types/react-tiny-link in NPM:

image

And I am not able to import the module as specified in the docs:

image

Please help 🙏

from react-tiny-link.

devuxer avatar devuxer commented on May 25, 2024

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.

winhtaikaung avatar winhtaikaung commented on May 25, 2024

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.

dong8898 avatar dong8898 commented on May 25, 2024

Any update the issue? Please help! Waiting for the TypeScript version :)

from react-tiny-link.

masroore avatar masroore commented on May 25, 2024

Not usable in typescript. Any updates?

from react-tiny-link.

OhYello avatar OhYello commented on May 25, 2024

Any new updates on using this with typescript?

from react-tiny-link.

ravmhmmd avatar ravmhmmd commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.