Skip to content

Commit

Permalink
docs: generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Nov 1, 2018
1 parent 94e7a1b commit 2fa8830
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions README.md
Expand Up @@ -1636,15 +1636,6 @@ function foo(thing): Promise<any> {}
function foo(thing): Promise<Promise<any>> {}
// Message: Unexpected use of weak type "any"

function foo(thing): mixed {}
// Message: Unexpected use of weak type "mixed"

function foo(thing): Promise<mixed> {}
// Message: Unexpected use of weak type "mixed"

function foo(thing): Promise<Promise<mixed>> {}
// Message: Unexpected use of weak type "mixed"

function foo(thing): Object {}
// Message: Unexpected use of weak type "Object"

Expand Down Expand Up @@ -1731,10 +1722,6 @@ type X = any; type Y = Function; type Z = Object
// Options: [{"any":false,"Object":false}]
type X = any; type Y = Function; type Z = Object
// Message: Unexpected use of weak type "Function"

// Options: [{"Function":false,"Object":false}]
type X = mixed; type Y = Function; type Z = Object
// Message: Unexpected use of weak type "mixed"
```
The following patterns are not considered problems:
Expand Down Expand Up @@ -1771,9 +1758,6 @@ class Foo { props: string }
// Options: [{"any":false,"Object":false}]
type X = any; type Y = Object

// Options: [{"mixed":false,"Object":false}]
type X = mixed; type Y = Object

// Options: [{"Function":false}]
type X = Function

Expand Down

0 comments on commit 2fa8830

Please sign in to comment.