-
Notifications
You must be signed in to change notification settings - Fork 12.8k
IntelliSense for StyleSheet not working #29180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Tested with [email protected] Example code: import { StyleSheet } from 'react-native';
StyleSheet.create({
class: {
padding: 1,
mar
}
})
|
This comment has been minimized.
This comment has been minimized.
Duplicate of #28470 and probably more issues. Root cause is the object satisfies the constraint and becomes the contextual type at that position, which then informs completions (when really you still want completions to be informed from the uninstantiated type parameter). |
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Intellisense won't work inside
StyleSheet.create({})
after adding a second style:1.24.1
&&1.30.0-insider
macOS 10.14.1
Steps to Reproduce:
StyleSheet#create
with a class.Does this issue occur when all extensions are disabled?: Yes
Migrated from: microsoft/vscode-react-native#306
The text was updated successfully, but these errors were encountered: