Fix support for Flow's QualifiedTypeIdentifier (#9396)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
type A = interface { p: string };
|
||||
type B = interface extends X { p: string };
|
||||
type C = interface extends X, Y { p: string };
|
||||
type D = interface extends X.Y<Z> { p: string };
|
||||
|
||||
@@ -6,4 +6,7 @@ type B = interface extends X {
|
||||
};
|
||||
type C = interface extends X, Y {
|
||||
p: string
|
||||
};
|
||||
};
|
||||
type D = interface extends X.Y<Z> {
|
||||
p: string
|
||||
};
|
||||
|
||||
@@ -14,3 +14,5 @@ type overloads =
|
||||
;
|
||||
|
||||
type func = string => string;
|
||||
|
||||
type D = X.Y<Z>;
|
||||
|
||||
@@ -9,3 +9,4 @@ type union = {
|
||||
};
|
||||
type overloads = (x: string) => number & (x: number) => string;
|
||||
type func = (string) => string;
|
||||
type D = X.Y<Z>;
|
||||
|
||||
Reference in New Issue
Block a user