mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
31 lines
814 B
JSON
31 lines
814 B
JSON
// === goToImplementation ===
|
|
// === /goToImplementationShorthandPropertyAssignment_01.ts ===
|
|
// --- (line: 10) skipped ---
|
|
// }
|
|
//
|
|
// // Class expression that gets used in a bar implementation
|
|
// var x = <|class [|Foo|] {
|
|
// createBarInClassExpression(): Bar {
|
|
// return {
|
|
// Foo
|
|
// };
|
|
// }
|
|
//
|
|
// someFunction() {}
|
|
// }|>;
|
|
//
|
|
// // Class declaration that gets used in a bar implementation. This class has multiple definitions
|
|
// // (the class declaration and the interface above), but we only want the class returned
|
|
// <|class [|Foo|] {
|
|
//
|
|
// }|>
|
|
//
|
|
// function createBarUsingClassDeclaration(): Bar {
|
|
// return {
|
|
// --- (line: 32) skipped ---
|
|
|
|
// --- (line: 37) skipped ---
|
|
// someFunction() {}
|
|
// };
|
|
//
|
|
// createBarUsingClassDeclaration().Fo/*GOTO IMPL*/o; |