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

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

Open
Hotell opened this issue Feb 28, 2017 · 0 comments
Open

Comments

@Hotell
Copy link
Collaborator

Hotell commented Feb 28, 2017

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;
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant