Giter Site home page Giter Site logo

Comments (4)

agustito37 avatar agustito37 commented on May 27, 2024 1

Hi @KirioXX, thanks for the report! I'll check this. It seems to be a small regression.

from react-native-use-styles.

agustito37 avatar agustito37 commented on May 27, 2024

I tried to reproduce the issue, but I couldn't, I am getting the types definition. I'll dig a little more, I might be missing something. Do you have a repository or something to reproduce the issue?

from react-native-use-styles.

KirioXX avatar KirioXX commented on May 27, 2024

Hi, yes I created a test app that has the same issue here https://github.com/KirioXX/react-native-test-use-styles. It looks like that the npm package just has the cjs folder and the typings are missing. Could it be that you have to add the types to the files section in your package.json that the bundler adds them to the bundle?

from react-native-use-styles.

agustito37 avatar agustito37 commented on May 27, 2024

I had that same concern, but I can see the src folder in the modules, it is not ignored, so the types should be in there. My last resort will be to move the types to cjs or the root folder, but I want to reproduce the issue before. Thanks for the repo.
EDIT: I see now in your repo, the src indeed is ignored, I was testing against a demo app that wasn't a good test case.

from react-native-use-styles.

Related Issues (18)

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.