Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Revert 584#697

Merged
hzoo merged 4 commits into
masterfrom
revert-584-master
Sep 27, 2018
Merged

Revert 584#697
hzoo merged 4 commits into
masterfrom
revert-584-master

Conversation

@hzoo

@hzoo hzoo commented Sep 27, 2018

Copy link
Copy Markdown
Member

Fixes #691
Reverts #584

We'll need to figure out a better approach than converting a TypeAlias into a Function Declaration. I guess it kind of made sense because I assume the reason for the original issue is that you are using it before define (and for functions they are hoisted and it's ok to use them before defined). So we need to make a decision on if we want these TypeAlias to act like functions.

Will need to re-open #485 then.

@hzoo hzoo merged commit 98c1f13 into master Sep 27, 2018
@hzoo hzoo deleted the revert-584-master branch August 25, 2019 21:06
nicolo-ribaudo pushed a commit to babel/babel that referenced this pull request Nov 14, 2019
* Revert "Treat type alias declarationlike function declaration (babel/babel-eslint#584)"

This reverts commit 020d012c554913fea137f4129798ce31a4896dfe.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant