facebook/esprima — pull request #51 by gabelevi (2014-09-26 22:48:06+00:00)
Title: Add type annotations for ArrayPatterns and ObjectPatterns.

See the test for examples.

Should I initialize the typeAnnotation to `null` or `undefined` for all ObjectPatterns and ArrayPatterns? I didn't initially since it was a pain to update all the test cases (is there any good way to re-record a whole test fixture? All I found was tools/generate-test-fixture.js