Skip to content

Commit 2fa8830

Browse files
committed
docs: generate docs
1 parent 94e7a1b commit 2fa8830

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,15 +1636,6 @@ function foo(thing): Promise<any> {}
16361636
function 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-
16481639
function 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}]
17321723
type 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
17401727
The following patterns are not considered problems:
@@ -1771,9 +1758,6 @@ class Foo { props: string }
17711758
// Options: [{"any":false,"Object":false}]
17721759
type X = any; type Y = Object
17731760

1774-
// Options: [{"mixed":false,"Object":false}]
1775-
type X = mixed; type Y = Object
1776-
17771761
// Options: [{"Function":false}]
17781762
type X = Function
17791763

0 commit comments

Comments
 (0)