1// Jest Snapshot v1, https://goo.gl/fbAQLP 2 3exports[`APISectionUtils.CommentTextBlock component basic comment 1`] = ` 4<div> 5 <p 6 class="css-6jxvia-P" 7 data-text="true" 8 > 9 This is the basic comment. 10 </p> 11</div> 12`; 13 14exports[`APISectionUtils.CommentTextBlock component basic inline comment 1`] = ` 15<div> 16 - 17 <span> 18 This is the basic comment. 19 </span> 20</div> 21`; 22 23exports[`APISectionUtils.CommentTextBlock component comment with example 1`] = ` 24<div> 25 <p 26 class="css-6jxvia-P" 27 data-text="true" 28 > 29 <strong 30 class="css-1qx481h-B" 31 > 32 Android only. 33 </strong> 34 Gets the referrer URL of the installed app with the 35 <a 36 class="css-ccg2mn-ExternalLink" 37 href="https://developer.android.com/google/play/installreferrer" 38 rel="noopener noreferrer" 39 target="_blank" 40 > 41 <code 42 class="inline css-ov7own-InlineCode" 43 > 44 Install Referrer API 45 </code> 46 </a> 47 48from the Google Play Store. In practice, the referrer URL may not be a complete, absolute URL. 49 </p> 50 <div 51 class="css-1wdnwk5" 52 > 53 <h4 54 class="css-uucypz-H4" 55 data-heading="true" 56 > 57 Example 58 </h4> 59 </div> 60 <pre> 61 <pre 62 class="css-p0nog9" 63 data-text="true" 64 > 65 <code 66 class="css-3rj4bb" 67 > 68 <span 69 class="token keyword" 70 > 71 await 72 </span> 73 74 <span 75 class="token maybe-class-name" 76 > 77 Application 78 </span> 79 <span 80 class="token punctuation" 81 > 82 . 83 </span> 84 <span 85 class="token method function property-access" 86 > 87 getInstallReferrerAsync 88 </span> 89 <span 90 class="token punctuation" 91 > 92 ( 93 </span> 94 <span 95 class="token punctuation" 96 > 97 ) 98 </span> 99 <span 100 class="token punctuation" 101 > 102 ; 103 </span> 104 105 106 <span 107 class="token comment" 108 > 109 // "utm_source=google-play&utm_medium=organic" 110 </span> 111 112 113 </code> 114 </pre> 115 </pre> 116</div> 117`; 118 119exports[`APISectionUtils.CommentTextBlock component no comment 1`] = `<div />`; 120 121exports[`APISectionUtils.resolveTypeName Promise 1`] = ` 122<div> 123 <a 124 class="css-ccg2mn-ExternalLink" 125 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 126 rel="noopener noreferrer" 127 target="_blank" 128 > 129 Promise 130 </a> 131 < 132 <span> 133 void 134 </span> 135 > 136</div> 137`; 138 139exports[`APISectionUtils.resolveTypeName Promise with custom type 1`] = ` 140<div> 141 <a 142 class="css-ccg2mn-ExternalLink" 143 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 144 rel="noopener noreferrer" 145 target="_blank" 146 > 147 Promise 148 </a> 149 < 150 <span> 151 <a 152 class="css-153g748-InternalLink" 153 href="/#appleauthenticationcredential" 154 > 155 AppleAuthenticationCredential 156 </a> 157 </span> 158 > 159</div> 160`; 161 162exports[`APISectionUtils.resolveTypeName Record 1`] = ` 163<div> 164 Record 165 < 166 <span> 167 string 168 , 169 </span> 170 <span> 171 any 172 </span> 173 > 174</div> 175`; 176 177exports[`APISectionUtils.resolveTypeName Record with union 1`] = ` 178<div> 179 Record 180 < 181 <span> 182 string 183 , 184 </span> 185 <span> 186 <span> 187 number 188 | 189 </span> 190 <span> 191 boolean 192 | 193 </span> 194 <span> 195 string 196 </span> 197 </span> 198 > 199</div> 200`; 201 202exports[`APISectionUtils.resolveTypeName alternative generic object notation 1`] = ` 203<div> 204 { [column]: any } 205</div> 206`; 207 208exports[`APISectionUtils.resolveTypeName custom type 1`] = ` 209<div> 210 <a 211 class="css-153g748-InternalLink" 212 href="/#speechsynthesisevent" 213 > 214 SpeechSynthesisEvent 215 </a> 216</div> 217`; 218 219exports[`APISectionUtils.resolveTypeName custom type array 1`] = ` 220<div> 221 <a 222 class="css-153g748-InternalLink" 223 href="/#appleauthenticationscope" 224 > 225 AppleAuthenticationScope 226 [] 227 </a> 228</div> 229`; 230 231exports[`APISectionUtils.resolveTypeName custom type non-linkable array 1`] = ` 232<div> 233 T[] 234</div> 235`; 236 237exports[`APISectionUtils.resolveTypeName custom type with single pick 1`] = ` 238<div> 239 <a 240 class="css-ccg2mn-ExternalLink" 241 href="https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys" 242 rel="noopener noreferrer" 243 target="_blank" 244 > 245 Pick 246 </a> 247 < 248 <span> 249 <a 250 class="css-153g748-InternalLink" 251 href="/#fontresource" 252 > 253 FontResource 254 </a> 255 , 256 </span> 257 <span> 258 'display' 259 </span> 260 > 261</div> 262`; 263 264exports[`APISectionUtils.resolveTypeName function 1`] = ` 265<div> 266 () => 267 268 <span> 269 void 270 | 271 </span> 272 <span> 273 <a 274 class="css-153g748-InternalLink" 275 href="/#speecheventcallback" 276 > 277 SpeechEventCallback 278 </a> 279 </span> 280</div> 281`; 282 283exports[`APISectionUtils.resolveTypeName function with arguments 1`] = ` 284<div> 285 ( 286 <span> 287 error 288 : 289 <a 290 class="css-ccg2mn-ExternalLink" 291 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error" 292 rel="noopener noreferrer" 293 target="_blank" 294 > 295 Error 296 </a> 297 </span> 298 ) 299 => 300 301 <span> 302 void 303 | 304 </span> 305 <span> 306 <a 307 class="css-153g748-InternalLink" 308 href="/#speecheventcallback" 309 > 310 SpeechEventCallback 311 </a> 312 </span> 313</div> 314`; 315 316exports[`APISectionUtils.resolveTypeName function with non-linkable custom type 1`] = ` 317<div> 318 ( 319 <span> 320 error 321 : 322 <a 323 class="css-ccg2mn-ExternalLink" 324 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error" 325 rel="noopener noreferrer" 326 target="_blank" 327 > 328 Error 329 </a> 330 </span> 331 ) 332 => 333 334 void 335</div> 336`; 337 338exports[`APISectionUtils.resolveTypeName generic type 1`] = ` 339<div> 340 string 341</div> 342`; 343 344exports[`APISectionUtils.resolveTypeName generic type 2`] = ` 345<div> 346 <a 347 class="css-153g748-InternalLink" 348 href="/#pagedinfo" 349 > 350 PagedInfo 351 </a> 352 < 353 <span> 354 <a 355 class="css-153g748-InternalLink" 356 href="/#asset" 357 > 358 Asset 359 </a> 360 </span> 361 > 362</div> 363`; 364 365exports[`APISectionUtils.resolveTypeName generic type in Promise 1`] = ` 366<div> 367 <a 368 class="css-ccg2mn-ExternalLink" 369 href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" 370 rel="noopener noreferrer" 371 target="_blank" 372 > 373 Promise 374 </a> 375 < 376 <span> 377 <a 378 class="css-153g748-InternalLink" 379 href="/#pagedinfo" 380 > 381 PagedInfo 382 </a> 383 < 384 <span> 385 <a 386 class="css-153g748-InternalLink" 387 href="/#asset" 388 > 389 Asset 390 </a> 391 </span> 392 > 393 </span> 394 > 395</div> 396`; 397 398exports[`APISectionUtils.resolveTypeName object reflection 1`] = ` 399<div> 400 { 401 402 <span> 403 404 target: 405 number 406 , 407 408 409 </span> 410 <span> 411 412 value: 413 boolean 414 415 416 </span> 417 } 418</div> 419`; 420 421exports[`APISectionUtils.resolveTypeName props with multiple omits 1`] = ` 422<div> 423 StyleProp 424 < 425 <span> 426 <a 427 class="css-ccg2mn-ExternalLink" 428 href="https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys" 429 rel="noopener noreferrer" 430 target="_blank" 431 > 432 Omit 433 </a> 434 < 435 <span> 436 <a 437 class="css-153g748-InternalLink" 438 href="/versions/latest/react-native/view-style-props" 439 > 440 ViewStyle 441 </a> 442 , 443 </span> 444 <span> 445 <span> 446 'backgroundColor' 447 | 448 </span> 449 <span> 450 'borderRadius' 451 </span> 452 </span> 453 > 454 </span> 455 > 456</div> 457`; 458 459exports[`APISectionUtils.resolveTypeName query type 1`] = ` 460<div> 461 React.ComponentProps 462 < 463 <span> 464 View 465 </span> 466 > 467</div> 468`; 469 470exports[`APISectionUtils.resolveTypeName tuple type 1`] = ` 471<div> 472 [ 473 <span> 474 <a 475 class="css-153g748-InternalLink" 476 href="/#sortbykey" 477 > 478 SortByKey 479 </a> 480 , 481 </span> 482 <span> 483 boolean 484 </span> 485 ] 486</div> 487`; 488 489exports[`APISectionUtils.resolveTypeName union 1`] = ` 490<div> 491 <span> 492 <a 493 class="css-153g748-InternalLink" 494 href="/#speecheventcallback" 495 > 496 SpeechEventCallback 497 </a> 498 | 499 </span> 500 <span> 501 null 502 </span> 503</div> 504`; 505 506exports[`APISectionUtils.resolveTypeName union of array values 1`] = ` 507<div> 508 ( 509 <span> 510 <a 511 class="css-153g748-InternalLink" 512 href="/#resultseterror" 513 > 514 ResultSetError 515 </a> 516 | 517 </span> 518 <span> 519 <a 520 class="css-153g748-InternalLink" 521 href="/#resultset" 522 > 523 ResultSet 524 </a> 525 </span> 526 ) 527 [] 528</div> 529`; 530 531exports[`APISectionUtils.resolveTypeName union with array 1`] = ` 532<div> 533 <span> 534 number[] 535 | 536 </span> 537 <span> 538 null 539 </span> 540</div> 541`; 542 543exports[`APISectionUtils.resolveTypeName union with custom type and array 1`] = ` 544<div> 545 <span> 546 <a 547 class="css-153g748-InternalLink" 548 href="/#assetref" 549 > 550 AssetRef 551 [] 552 </a> 553 | 554 </span> 555 <span> 556 <a 557 class="css-153g748-InternalLink" 558 href="/#assetref" 559 > 560 AssetRef 561 </a> 562 </span> 563</div> 564`; 565 566exports[`APISectionUtils.resolveTypeName void 1`] = ` 567<div> 568 void 569</div> 570`; 571