@@ -1636,15 +1636,6 @@ function foo(thing): Promise<any> {}
16361636function foo (thing ): Promise<Promise<any>> {}
16371637// Message: Unexpected use of weak type "any"
16381638
1639- function foo (thing ): mixed {}
1640- // Message: Unexpected use of weak type "mixed"
1641-
1642- function foo (thing ): Promise<mixed> {}
1643- // Message: Unexpected use of weak type "mixed"
1644-
1645- function foo (thing ): Promise<Promise<mixed>> {}
1646- // Message: Unexpected use of weak type "mixed"
1647-
16481639function foo (thing ): Object {}
16491640// Message: Unexpected use of weak type "Object"
16501641
@@ -1731,10 +1722,6 @@ type X = any; type Y = Function; type Z = Object
17311722// Options: [{"any":false,"Object":false}]
17321723type X = any; type Y = Function ; type Z = Object
17331724// Message: Unexpected use of weak type "Function"
1734-
1735- // Options: [{"Function":false,"Object":false}]
1736- type X = mixed; type Y = Function ; type Z = Object
1737- // Message: Unexpected use of weak type "mixed"
17381725` ` `
17391726
17401727The following patterns are not considered problems:
@@ -1771,9 +1758,6 @@ class Foo { props: string }
17711758// Options: [{"any":false,"Object":false}]
17721759type X = any; type Y = Object
17731760
1774- // Options: [{"mixed":false,"Object":false}]
1775- type X = mixed; type Y = Object
1776-
17771761// Options: [{"Function":false}]
17781762type X = Function
17791763
0 commit comments