[PR] Fix examples in libdefs/creation page
[PR] Fix examples in libdefs/creation page

Summary:
The examples had some syntactic errors (extra semicolons / commas). Minor but annoying - snippets copy-pasted into the project were throwing errors.
Pull Request resolved: https://github.com/facebook/flow/pull/5836

Reviewed By: nmote

Differential Revision: D13985336

Pulled By: mvitousek

fbshipit-source-id: b6b93cfe5ee6e3e7891258080b51d3cb6e1eeb9c

nmote/flow,nmote/flow,nmote/flow,nmote/flow,nmote/flow,nmote/flow,nmote/flow