1// Jest Snapshot v1, https://goo.gl/fbAQLP
2
3exports[`APISectionUtils.resolveTypeName Promise 1`] = `
4<div>
5  <a
6    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
7    href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"
8    rel="noopener noreferrer"
9  >
10    Promise
11  </a>
12  &lt;
13  <span>
14    void
15  </span>
16  &gt;
17</div>
18`;
19
20exports[`APISectionUtils.resolveTypeName Promise with custom type 1`] = `
21<div>
22  <a
23    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
24    href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"
25    rel="noopener noreferrer"
26  >
27    Promise
28  </a>
29  &lt;
30  <span>
31    <a
32      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
33      href="/#appleauthenticationcredential"
34    >
35      AppleAuthenticationCredential
36    </a>
37  </span>
38  &gt;
39</div>
40`;
41
42exports[`APISectionUtils.resolveTypeName Record 1`] = `
43<div>
44  Record
45  &lt;
46  <span>
47    string
48    ,
49  </span>
50  <span>
51    any
52  </span>
53  &gt;
54</div>
55`;
56
57exports[`APISectionUtils.resolveTypeName Record with union 1`] = `
58<div>
59  Record
60  &lt;
61  <span>
62    string
63    ,
64  </span>
65  <span>
66    <span>
67      number
68       |
69    </span>
70    <span>
71      boolean
72       |
73    </span>
74    <span>
75      string
76    </span>
77  </span>
78  &gt;
79</div>
80`;
81
82exports[`APISectionUtils.resolveTypeName alternative generic object notation 1`] = `
83<div>
84  { [column]: any }
85</div>
86`;
87
88exports[`APISectionUtils.resolveTypeName custom type 1`] = `
89<div>
90  <a
91    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
92    href="/#speechsynthesisevent"
93  >
94    SpeechSynthesisEvent
95  </a>
96</div>
97`;
98
99exports[`APISectionUtils.resolveTypeName custom type array 1`] = `
100<div>
101  <a
102    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
103    href="/#appleauthenticationscope"
104  >
105    AppleAuthenticationScope
106    []
107  </a>
108</div>
109`;
110
111exports[`APISectionUtils.resolveTypeName custom type non-linkable array 1`] = `
112<div>
113  T[]
114</div>
115`;
116
117exports[`APISectionUtils.resolveTypeName custom type with single pick 1`] = `
118<div>
119  Pick
120  &lt;
121  <span>
122    <a
123      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
124      href="/#fontresource"
125    >
126      FontResource
127    </a>
128    ,
129  </span>
130  <span>
131    'display'
132  </span>
133  &gt;
134</div>
135`;
136
137exports[`APISectionUtils.resolveTypeName function 1`] = `
138<div>
139  () =&gt;
140
141  <span>
142    void
143     |
144  </span>
145  <span>
146    <a
147      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
148      href="/#speecheventcallback"
149    >
150      SpeechEventCallback
151    </a>
152  </span>
153</div>
154`;
155
156exports[`APISectionUtils.resolveTypeName function with arguments 1`] = `
157<div>
158  (
159  <span>
160    error
161    :
162    <a
163      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
164      href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error"
165      rel="noopener noreferrer"
166    >
167      Error
168    </a>
169  </span>
170  )
171  =&gt;
172
173  <span>
174    void
175     |
176  </span>
177  <span>
178    <a
179      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
180      href="/#speecheventcallback"
181    >
182      SpeechEventCallback
183    </a>
184  </span>
185</div>
186`;
187
188exports[`APISectionUtils.resolveTypeName function with non-linkable custom type 1`] = `
189<div>
190  (
191  <span>
192    error
193    :
194    <a
195      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
196      href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error"
197      rel="noopener noreferrer"
198    >
199      Error
200    </a>
201  </span>
202  )
203  =&gt;
204
205  void
206</div>
207`;
208
209exports[`APISectionUtils.resolveTypeName generic type 1`] = `
210<div>
211  string
212</div>
213`;
214
215exports[`APISectionUtils.resolveTypeName generic type 2`] = `
216<div>
217  <a
218    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
219    href="/#pagedinfo"
220  >
221    PagedInfo
222  </a>
223  &lt;
224  <span>
225    <a
226      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
227      href="/#asset"
228    >
229      Asset
230    </a>
231  </span>
232  &gt;
233</div>
234`;
235
236exports[`APISectionUtils.resolveTypeName generic type in Promise 1`] = `
237<div>
238  <a
239    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
240    href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"
241    rel="noopener noreferrer"
242  >
243    Promise
244  </a>
245  &lt;
246  <span>
247    <a
248      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
249      href="/#pagedinfo"
250    >
251      PagedInfo
252    </a>
253    &lt;
254    <span>
255      <a
256        class="css-12zqqiz-STYLES_EXTERNAL_LINK"
257        href="/#asset"
258      >
259        Asset
260      </a>
261    </span>
262    &gt;
263  </span>
264  &gt;
265</div>
266`;
267
268exports[`APISectionUtils.resolveTypeName object reflection 1`] = `
269<div>
270  {
271  <span>
272    target: number
273    ,
274  </span>
275  <span>
276    value: boolean
277  </span>
278   }
279</div>
280`;
281
282exports[`APISectionUtils.resolveTypeName props with multiple omits 1`] = `
283<div>
284  StyleProp
285  &lt;
286  <span>
287    Omit
288    &lt;
289    <span>
290      <a
291        class="css-12zqqiz-STYLES_EXTERNAL_LINK"
292        href="/react-native/view-style-props"
293      >
294        ViewStyle
295      </a>
296      ,
297    </span>
298    <span>
299      <span>
300        'backgroundColor'
301         |
302      </span>
303      <span>
304        'borderRadius'
305      </span>
306    </span>
307    &gt;
308  </span>
309  &gt;
310</div>
311`;
312
313exports[`APISectionUtils.resolveTypeName query type 1`] = `
314<div>
315  React.ComponentProps
316  &lt;
317  <span>
318    View
319  </span>
320  &gt;
321</div>
322`;
323
324exports[`APISectionUtils.resolveTypeName tuple type 1`] = `
325<div>
326  [
327  <span>
328    <a
329      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
330      href="/#sortbykey"
331    >
332      SortByKey
333    </a>
334    ,
335  </span>
336  <span>
337    boolean
338  </span>
339  ]
340</div>
341`;
342
343exports[`APISectionUtils.resolveTypeName union 1`] = `
344<div>
345  <span>
346    <a
347      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
348      href="/#speecheventcallback"
349    >
350      SpeechEventCallback
351    </a>
352     |
353  </span>
354  <span>
355    null
356  </span>
357</div>
358`;
359
360exports[`APISectionUtils.resolveTypeName union of array values 1`] = `
361<div>
362  (
363  <span>
364    <a
365      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
366      href="/#resultseterror"
367    >
368      ResultSetError
369    </a>
370     |
371  </span>
372  <span>
373    <a
374      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
375      href="/#resultset"
376    >
377      ResultSet
378    </a>
379  </span>
380  )
381  []
382</div>
383`;
384
385exports[`APISectionUtils.resolveTypeName union with array 1`] = `
386<div>
387  <span>
388    number[]
389     |
390  </span>
391  <span>
392    null
393  </span>
394</div>
395`;
396
397exports[`APISectionUtils.resolveTypeName union with custom type and array 1`] = `
398<div>
399  <span>
400    <a
401      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
402      href="/#assetref"
403    >
404      AssetRef
405      []
406    </a>
407     |
408  </span>
409  <span>
410    <a
411      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
412      href="/#assetref"
413    >
414      AssetRef
415    </a>
416  </span>
417</div>
418`;
419
420exports[`APISectionUtils.resolveTypeName void 1`] = `
421<div>
422  void
423</div>
424`;
425