|
44 | 44 | consumesInterface({
|
45 | 45 | // ^^^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`object-literals-call-signatures.ts`/consumesInterface().
|
46 | 46 | interfaceMethod: (): string => 'inferred',
|
47 |
| -// ^^^^^^^^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/interfaceMethod0: |
48 |
| -// documentation ```ts\n(property) interfaceMethod: () => string\n``` |
49 |
| -// relationship implementation reference scip-typescript npm syntax 1.0.0 src/`reusable-types.ts`/Superinterface#interfaceMethod(). |
| 47 | +// ^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Superinterface#interfaceMethod(). |
50 | 48 | property: 'inferred',
|
51 |
| -// ^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property0: |
52 |
| -// documentation ```ts\n(property) property: string\n``` |
53 |
| -// relationship implementation reference scip-typescript npm syntax 1.0.0 src/`reusable-types.ts`/Superinterface#property. |
| 49 | +// ^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Superinterface#property. |
54 | 50 | })
|
55 | 51 | consumesArray([
|
56 | 52 | // ^^^^^^^^^^^^^ reference syntax 1.0.0 src/`object-literals-call-signatures.ts`/consumesArray().
|
57 | 53 | {
|
58 | 54 | interfaceMethod: (): string => 'inferred',
|
59 |
| -// ^^^^^^^^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/interfaceMethod1: |
60 |
| -// documentation ```ts\n(property) interfaceMethod: () => string\n``` |
| 55 | +// ^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Superinterface#interfaceMethod(). |
61 | 56 | property: 'inferred',
|
62 |
| -// ^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property1: |
63 |
| -// documentation ```ts\n(property) property: string\n``` |
| 57 | +// ^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Superinterface#property. |
64 | 58 | },
|
65 | 59 | ])
|
66 | 60 | consumesGenericInterface<number>({
|
67 | 61 | // ^^^^^^^^^^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`object-literals-call-signatures.ts`/consumesGenericInterface().
|
68 | 62 | interfaceMethod: (): string => 'inferred',
|
69 |
| -// ^^^^^^^^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/interfaceMethod2: |
70 |
| -// documentation ```ts\n(property) interfaceMethod: () => string\n``` |
71 |
| -// relationship implementation reference scip-typescript npm syntax 1.0.0 src/`reusable-types.ts`/GenericInterface#interfaceMethod(). |
| 63 | +// ^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/GenericInterface#interfaceMethod(). |
72 | 64 | property: 123,
|
73 |
| -// ^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property2: |
74 |
| -// documentation ```ts\n(property) property: number\n``` |
75 |
| -// relationship implementation reference scip-typescript npm syntax 1.0.0 src/`reusable-types.ts`/GenericInterface#property. |
| 65 | +// ^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/GenericInterface#property. |
76 | 66 | })
|
77 | 67 | consumesGenericInterface<Option<Configuration>[]>({
|
78 | 68 | // ^^^^^^^^^^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`object-literals-call-signatures.ts`/consumesGenericInterface().
|
79 | 69 | // ^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Option#
|
80 | 70 | // ^^^^^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Configuration#
|
81 | 71 | interfaceMethod: (): string => 'inferred',
|
82 |
| -// ^^^^^^^^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/interfaceMethod3: |
83 |
| -// documentation ```ts\n(property) interfaceMethod: () => string\n``` |
84 |
| -// relationship implementation reference scip-typescript npm syntax 1.0.0 src/`reusable-types.ts`/GenericInterface#interfaceMethod(). |
| 72 | +// ^^^^^^^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/GenericInterface#interfaceMethod(). |
85 | 73 | property: [{ value: { property: 42, property2: '42' } }],
|
86 |
| -// ^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property3: |
87 |
| -// documentation ```ts\n(property) property: { value: { property: number; property2: string; }; }[]\n``` |
88 |
| -// relationship implementation reference scip-typescript npm syntax 1.0.0 src/`reusable-types.ts`/GenericInterface#property. |
89 |
| -// ^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/value0: |
90 |
| -// documentation ```ts\n(property) value: { property: number; property2: string; }\n``` |
91 |
| -// ^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property4: |
92 |
| -// documentation ```ts\n(property) property: number\n``` |
93 |
| -// ^^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property20: |
94 |
| -// documentation ```ts\n(property) property2: string\n``` |
| 74 | +// ^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/GenericInterface#property. |
| 75 | +// ^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Option#value. |
| 76 | +// ^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Numbers#property. |
| 77 | +// ^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Strings#property2. |
95 | 78 | })
|
96 | 79 | }
|
97 | 80 |
|
|
112 | 95 | // ^^^^^^ reference local 3
|
113 | 96 | return {
|
114 | 97 | property: incremented,
|
115 |
| -// ^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property5: |
116 |
| -// documentation ```ts\n(property) property: number\n``` |
| 98 | +// ^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Numbers#property. |
117 | 99 | // ^^^^^^^^^^^ reference local 6
|
118 | 100 | property2: incremented.toString(),
|
119 |
| -// ^^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property21: |
120 |
| -// documentation ```ts\n(property) property2: string\n``` |
| 101 | +// ^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Strings#property2. |
121 | 102 | // ^^^^^^^^^^^ reference local 6
|
122 | 103 | // ^^^^^^^^ reference typescript 4.8.4 lib/`lib.es5.d.ts`/Number#toString().
|
123 | 104 | }
|
|
134 | 115 | // ^^^^^^ reference local 10
|
135 | 116 | return {
|
136 | 117 | property: incremented,
|
137 |
| -// ^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property6: |
138 |
| -// documentation ```ts\n(property) property: number\n``` |
| 118 | +// ^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Numbers#property. |
139 | 119 | // ^^^^^^^^^^^ reference local 13
|
140 | 120 | property2: incremented.toString(),
|
141 |
| -// ^^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property22: |
142 |
| -// documentation ```ts\n(property) property2: string\n``` |
| 121 | +// ^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Strings#property2. |
143 | 122 | // ^^^^^^^^^^^ reference local 13
|
144 | 123 | // ^^^^^^^^ reference typescript 4.8.4 lib/`lib.es5.d.ts`/Number#toString().
|
145 | 124 | }
|
|
155 | 134 | return new GenericClass<Configuration>([{ property: 1, property2: '2' }])
|
156 | 135 | // ^^^^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/GenericClass#`<constructor>`().
|
157 | 136 | // ^^^^^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Configuration#
|
158 |
| -// ^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property7: |
159 |
| -// documentation ```ts\n(property) property: number\n``` |
160 |
| -// ^^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property23: |
161 |
| -// documentation ```ts\n(property) property2: string\n``` |
| 137 | +// ^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Numbers#property. |
| 138 | +// ^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Strings#property2. |
162 | 139 | }
|
163 | 140 |
|
164 | 141 | export function handleGenericClass() {
|
|
174 | 151 | // documentation ```ts\n(parameter) property2: string\n```
|
175 | 152 | // ^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Strings#property2.
|
176 | 153 | property: property + 1,
|
177 |
| -// ^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property8: |
178 |
| -// documentation ```ts\n(property) property: number\n``` |
| 154 | +// ^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Numbers#property. |
179 | 155 | // ^^^^^^^^ reference local 19
|
180 | 156 | property2: property2 + '1',
|
181 |
| -// ^^^^^^^^^ definition syntax 1.0.0 src/`object-literals-call-signatures.ts`/property24: |
182 |
| -// documentation ```ts\n(property) property2: string\n``` |
| 157 | +// ^^^^^^^^^ reference syntax 1.0.0 src/`reusable-types.ts`/Strings#property2. |
183 | 158 | // ^^^^^^^^^ reference local 20
|
184 | 159 | }))
|
185 | 160 | }
|
|
0 commit comments