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
Go to definition in darkMode at the bottom should go to `FeatureFlags.darkMode. Currently, it emits a definition of a new symbol, not a reference to the original symbol
typeOptionsFlags<Type>={[PropertyinkeyofType]: boolean;};typeFeatureFlags={darkMode: ()=>void;};typeFeatureOptions=OptionsFlags<FeatureFlags>;// implicitly // type FeatureOptions = {// darkMode: boolean;// }constfo: FeatureOptions={darkMode: true};// ^ go to def
Test case supplied by @varungandhi-src in https://github.com/sourcegraph/scip-typescript/pull/185/files#r998813172
Go to definition in
darkMode
at the bottom should go to `FeatureFlags.darkMode. Currently, it emits a definition of a new symbol, not a reference to the original symbolContext https://www.typescriptlang.org/docs/handbook/2/mapped-types.html
The text was updated successfully, but these errors were encountered: