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 custom type 1`] = `
83<div>
84  <a
85    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
86    href="/#speechsynthesisevent"
87  >
88    SpeechSynthesisEvent
89  </a>
90</div>
91`;
92
93exports[`APISectionUtils.resolveTypeName custom type array 1`] = `
94<div>
95  <a
96    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
97    href="/#appleauthenticationscope"
98  >
99    AppleAuthenticationScope
100    []
101  </a>
102</div>
103`;
104
105exports[`APISectionUtils.resolveTypeName custom type non-linkable array 1`] = `
106<div>
107  T[]
108</div>
109`;
110
111exports[`APISectionUtils.resolveTypeName custom type with single pick 1`] = `
112<div>
113  Pick
114  &lt;
115  <span>
116    <a
117      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
118      href="/#fontresource"
119    >
120      FontResource
121    </a>
122    ,
123  </span>
124  <span>
125    'display'
126  </span>
127  &gt;
128</div>
129`;
130
131exports[`APISectionUtils.resolveTypeName function 1`] = `
132<div>
133  () =&gt;
134
135  <span>
136    void
137     |
138  </span>
139  <span>
140    <a
141      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
142      href="/#speecheventcallback"
143    >
144      SpeechEventCallback
145    </a>
146  </span>
147</div>
148`;
149
150exports[`APISectionUtils.resolveTypeName function with arguments 1`] = `
151<div>
152  (
153  <span>
154    error
155    :
156    <a
157      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
158      href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error"
159      rel="noopener noreferrer"
160    >
161      Error
162    </a>
163  </span>
164  )
165  =&gt;
166
167  <span>
168    void
169     |
170  </span>
171  <span>
172    <a
173      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
174      href="/#speecheventcallback"
175    >
176      SpeechEventCallback
177    </a>
178  </span>
179</div>
180`;
181
182exports[`APISectionUtils.resolveTypeName function with non-linkable custom type 1`] = `
183<div>
184  (
185  <span>
186    error
187    :
188    <a
189      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
190      href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error"
191      rel="noopener noreferrer"
192    >
193      Error
194    </a>
195  </span>
196  )
197  =&gt;
198
199  void
200</div>
201`;
202
203exports[`APISectionUtils.resolveTypeName generic type 1`] = `
204<div>
205  string
206</div>
207`;
208
209exports[`APISectionUtils.resolveTypeName generic type 2`] = `
210<div>
211  <a
212    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
213    href="/#pagedinfo"
214  >
215    PagedInfo
216  </a>
217  &lt;
218  <span>
219    <a
220      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
221      href="/#asset"
222    >
223      Asset
224    </a>
225  </span>
226  &gt;
227</div>
228`;
229
230exports[`APISectionUtils.resolveTypeName generic type in Promise 1`] = `
231<div>
232  <a
233    class="css-12zqqiz-STYLES_EXTERNAL_LINK"
234    href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"
235    rel="noopener noreferrer"
236  >
237    Promise
238  </a>
239  &lt;
240  <span>
241    <a
242      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
243      href="/#pagedinfo"
244    >
245      PagedInfo
246    </a>
247    &lt;
248    <span>
249      <a
250        class="css-12zqqiz-STYLES_EXTERNAL_LINK"
251        href="/#asset"
252      >
253        Asset
254      </a>
255    </span>
256    &gt;
257  </span>
258  &gt;
259</div>
260`;
261
262exports[`APISectionUtils.resolveTypeName object reflection 1`] = `
263<div>
264  {
265  <span>
266    target: number
267    ,
268  </span>
269  <span>
270    value: boolean
271  </span>
272   }
273</div>
274`;
275
276exports[`APISectionUtils.resolveTypeName props with multiple omits 1`] = `
277<div>
278  StyleProp
279  &lt;
280  <span>
281    Omit
282    &lt;
283    <span>
284      <a
285        class="css-12zqqiz-STYLES_EXTERNAL_LINK"
286        href="/react-native/view-style-props"
287      >
288        ViewStyle
289      </a>
290      ,
291    </span>
292    <span>
293      <span>
294        'backgroundColor'
295         |
296      </span>
297      <span>
298        'borderRadius'
299      </span>
300    </span>
301    &gt;
302  </span>
303  &gt;
304</div>
305`;
306
307exports[`APISectionUtils.resolveTypeName query type 1`] = `
308<div>
309  React.ComponentProps
310  &lt;
311  <span>
312    View
313  </span>
314  &gt;
315</div>
316`;
317
318exports[`APISectionUtils.resolveTypeName tuple type 1`] = `
319<div>
320  [
321  <span>
322    <a
323      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
324      href="/#sortbykey"
325    >
326      SortByKey
327    </a>
328    ,
329  </span>
330  <span>
331    boolean
332  </span>
333  ]
334</div>
335`;
336
337exports[`APISectionUtils.resolveTypeName union 1`] = `
338<div>
339  <span>
340    <a
341      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
342      href="/#speecheventcallback"
343    >
344      SpeechEventCallback
345    </a>
346     |
347  </span>
348  <span>
349    null
350  </span>
351</div>
352`;
353
354exports[`APISectionUtils.resolveTypeName union with array 1`] = `
355<div>
356  <span>
357    number[]
358     |
359  </span>
360  <span>
361    null
362  </span>
363</div>
364`;
365
366exports[`APISectionUtils.resolveTypeName union with custom type and array 1`] = `
367<div>
368  <span>
369    <a
370      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
371      href="/#assetref"
372    >
373      AssetRef
374      []
375    </a>
376     |
377  </span>
378  <span>
379    <a
380      class="css-12zqqiz-STYLES_EXTERNAL_LINK"
381      href="/#assetref"
382    >
383      AssetRef
384    </a>
385  </span>
386</div>
387`;
388
389exports[`APISectionUtils.resolveTypeName void 1`] = `
390<div>
391  void
392</div>
393`;
394