You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the node is an identifier in bindingelement of ObjectBindingPattern (Note: ArrayBindingPattern can only declaration)
42
-
// instead of just return the declaration symbol which is itself. We should try to get to the original type of the ObjectBindingPattern and return the property declaration.
43
-
// For example:
44
-
// import('./foo').then(({ b/*goto*/ar }) => undefined); => should get use to the declaration in file "./foo"
45
-
//
46
-
// function bar<T>(onfulfilled: (value: T) => void) { //....}
47
-
// interface Test {
48
-
// pr/*destination*/op1: number
49
-
// }
50
-
// bar<Test>(({pr/*goto*/op1})=>{});
51
41
letsymbol=typeChecker.getSymbolAtLocation(node);
52
42
53
43
// Could not find a symbol e.g. node is string or number keyword,
// If the node is an identifier in bindingelement of ObjectBindingPattern (Note: ArrayBindingPattern can only declaration)
80
+
// instead of just return the declaration symbol which is itself. We should try to get to the original type of the ObjectBindingPattern and return the property declaration.
81
+
// For example:
82
+
// import('./foo').then(({ b/*goto*/ar }) => undefined); => should get use to the declaration in file "./foo"
83
+
//
84
+
// function bar<T>(onfulfilled: (value: T) => void) { //....}
0 commit comments