mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
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:
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
|
||||
};
|
||||
Reference in new issue
Block a user