You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interface N {
y: number;
x: typeof y; // error (y is not a value)
}
Section 2.4 Scopes says:
Note that class and enum members are never directly in scope—they can only be accessed by applying the dot (‘.’) operator to a class instance or enum object.
but it means to say:
Note that class and interface members are never directly in scope—they can only be accessed by applying the dot (‘.’) operator to a class instance or enum object.
The text was updated successfully, but these errors were encountered:
Courtesy of @danquirk
Section 2.4 Scopes says:
but it means to say:
The text was updated successfully, but these errors were encountered: