Skip to content

TypeScript typing for fela-tools StyleSheet #730

@efoken

Description

@efoken

Type: Bug

Packages Version
fela 10.6.1

Description

TypeScript type definitions of fela-tools are not correct / missing.

Steps to reproduce

  1. Install fela together with fela-tools
  2. 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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions