Allow isSymbolAccessible to paint object literal declarations as visible (#24668)

* Dont use resolveEntityName for computed property name symbol resolution - use checkExpression and resolvedSymbol instead

* Fix lint
This commit is contained in:
Wesley Wigham authored and GitHub committed 2018-09-05 14:52:47 -07:00
1 parent 69c7e67c88
commit 0b1183a461
5 files changed
+90 -1

No files matched your search

@@ -0,0 +1,8 @@
// @declaration: true
const Foo = {
BANANA: 'banana' as 'banana',
}
export const Baa = {
[Foo.BANANA]: 1
};