Commit graph

8 commits

Author SHA1 Message Date
Nathan Shively-Sanders 0cadfcf6df Clean up js decl code in checker+utilities 2018-02-14 15:48:20 -08:00
Nathan Shively-Sanders 03d155f622 Update tests and baselines 2018-02-09 16:20:44 -08:00
Nathan Shively-Sanders 61ea026b3c Allow window. prefix in default-assignment JS decl 2018-02-09 14:53:34 -08:00
Nathan Shively-Sanders 8ac94f5dec Support function/class in JS nested decls
This required fixing the predicates and the avoiding of contextual
typing loops. This is now done right, in
getContextualTypeOfBinaryExpression.

The predicates still need work.
2018-02-09 10:41:30 -08:00
Nathan Shively-Sanders a09c2391a4 4-nested object-literal assignment works in JS 2018-02-08 16:07:22 -08:00
Nathan Shively-Sanders b0aebb4c1e Recursive object-literal-assignment declarations 2018-02-08 15:43:10 -08:00
Nathan Shively-Sanders 7e3fdc29fa Test:o.x = o.x || {} assignments in JS 2018-02-07 14:55:23 -08:00
Nathan Shively-Sanders a51bce0ab5 Test:basic var x = x || {} support in JS 2018-02-07 11:32:20 -08:00