@sourcefield/lsif-typescript
Version:
LSIF indexer for TypeScript and JavaScript
18 lines (15 loc) • 1.05 kB
text/typescript
import {
propertyAssignment,
// ^^^^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`property-assignment.ts`/propertyAssignment().
shorthandPropertyAssignment,
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`property-assignment.ts`/shorthandPropertyAssignment().
} from './property-assignment'
export function run(): string {
// ^^^ definition syntax 1.0.0 src/`property-assignment-reference.ts`/run().
// documentation ```ts\nfunction run(): string\n```
return propertyAssignment().a + shorthandPropertyAssignment().a
// ^^^^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`property-assignment.ts`/propertyAssignment().
// ^ reference syntax 1.0.0 src/`property-assignment.ts`/a0:
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`property-assignment.ts`/shorthandPropertyAssignment().
// ^ reference syntax 1.0.0 src/`property-assignment.ts`/a1:
}