Skip to content
This repository was archived by the owner on Jan 11, 2018. It is now read-only.
This repository was archived by the owner on Jan 11, 2018. It is now read-only.

refactor: resolve unregistered class exports for casting and type annotation #227

@Hotell

Description

@Hotell

Current behavior

If we wanna use type as raw Class we have to import it from subpath

import RawButton from '@blaze-elements/button/Button';

const myBtn: RawButton;

Expected behavior

We need to resolve proper naming or how to export things some other way, let's say so I'll be able to do this:

import {Button} from '@blaze-elements/button';

const myBtn: Button;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions