Open ayech0x2 opened 8 months ago
Typescript doesn't recognize my custom spacing attribute.
In the config file
Spacings.loadSpacings({ customSpacing: 20, });
In a stylesheet file
const styles = StyleSheet.create({ container: { height: Spacings.customSpacing, // Property 'customSpacing' does not exist on type 'Spacings & { s1: number; s2: }, });
+1
Description
Typescript doesn't recognize my custom spacing attribute.
Related to
Code snippet
In the config file
In a stylesheet file
Environment