• 顾名思义,就是局部的意思,跟局部变量一样 ```typescript enum F { X, Y }

    class C { x: number | string }

    interface Foo { x: number }

    type Bar = number

    function f1() { enum F { X, Y } class C { x: number | string } interface Foo { x: number } type Bar = number } ```