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

Support cyclic type declarations (#485) #584

Merged
merged 1 commit into from Sep 25, 2018
Merged

Support cyclic type declarations (#485) #584

merged 1 commit into from Sep 25, 2018

Commits on Jan 21, 2018

  1. Treat type alias declarationlike function declaration

    A type alias shouldn't trigger a no-use-before-define warning just
    like a function declaration.
    
    Cyclic type dependencies are common when using flow.
    For instance: type Node<T> = { head: T; tail: Node<T> }
    
    Fixes babel#485
    joa committed Jan 21, 2018
    Copy the full SHA
    c6c0053 View commit details
    Browse the repository at this point in the history