fela
fela copied to clipboard
TypeScript typing for fela-tools StyleSheet
Type: Bug
| Packages | Version |
|---|---|
| fela | 10.6.1 |
Description
TypeScript type definitions of fela-tools are not correct / missing.
Steps to reproduce
- Install
felatogether withfela-tools - Create a stylesheet / rule set like in the following code example.
Expected Behavior
import { StyleSheet } from 'fela-tools';
const styles = StyleSheet.create({...});
Should work without TypeScript error.
Actual Behavior
Module '"fela-tools"' has no exported member 'StyleSheet'.ts(2305)
Feel free to PR those types. I'm not using TypeScript and thus not writing the types myself.