You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeScript Version: 3.7.5 Aphrodite Version: 2.4.0
When I using StyleSheet create function
conststyle=StyleSheet.create({container: {}})
I found out that VS Code is not able to give me any autocomplete suggestion on those CSS properties, since they think StyleDeclarationMap is a type of 'any'
but it is not
I have changed typescript version and modified my tsconfig file, but nothing make it work.
I wonder how can I fixed this issue?
The text was updated successfully, but these errors were encountered:
I just figured it out myself, all you need to do is change compile target in tsconfig.json from "es5" to "es6", since typescript may not support Map object when targeting "es5".
I just figured it out myself, all you need to do is change compile target in tsconfig.json from "es5" to "es6", since typescript may not support Map object when targeting "es5".
TypeScript Version: 3.7.5
Aphrodite Version: 2.4.0
When I using StyleSheet create function
I found out that VS Code is not able to give me any autocomplete suggestion on those CSS properties, since they think StyleDeclarationMap is a type of 'any'
but it is not
I have changed typescript version and modified my tsconfig file, but nothing make it work.
I wonder how can I fixed this issue?
The text was updated successfully, but these errors were encountered: