mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05: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:
@@ -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