Comments (4)
Hi @KirioXX, thanks for the report! I'll check this. It seems to be a small regression.
from react-native-use-styles.
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.
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.
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)
- Improve errors: non-existent-namespace HOT 3
- Contributions are welcome
- Return a merged style object instead of an array HOT 6
- Feature: Media queries, conditional based styles or size normalizer
- Improve errors: invalid-path HOT 3
- Improve errors: computed style outside computed property
- Warnings code HOT 7
- Feature: constants in object styles HOT 6
- Feature: CSS notation HOT 1
- Integration with styled-components HOT 1
- React test renderer config
- Add object styles inheritance.
- Typescript types declaration file HOT 4
- Pre-commit or pre-push hook HOT 8
- Documentation: Benchmark
- Feature: Add Components with styles attribute HOT 12
- Improve USER_GUIDE.md HOT 10
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-native-use-styles.