puppeteer/assets/js/e7c50b2f.0f634efb.js
release-please[bot] 359898d3af deploy: 3698fa8aec
2024-01-25 13:27:33 +00:00

2 lines
2.6 KiB
JavaScript

/*! For license information please see e7c50b2f.0f634efb.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[58913],{42417:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>s});var n=r(85893),a=r(11151);const o={sidebar_label:"AwaitedLocator"},i="AwaitedLocator type",p={id:"api/puppeteer.awaitedlocator",title:"AwaitedLocator type",description:"Signature:",source:"@site/../docs/api/puppeteer.awaitedlocator.md",sourceDirName:"api",slug:"/api/puppeteer.awaitedlocator",permalink:"/next/api/puppeteer.awaitedlocator",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"AwaitedLocator"},sidebar:"api",previous:{title:"AwaitablePredicate",permalink:"/next/api/puppeteer.awaitablepredicate"},next:{title:"BoundingBox",permalink:"/next/api/puppeteer.boundingbox"}},c={},s=[{value:"Signature:",id:"signature",level:4}];function l(e){const t={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,a.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"awaitedlocator-type",children:"AwaitedLocator type"}),"\n",(0,n.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typescript",children:"export type AwaitedLocator<T> = T extends Locator<infer S> ? S : never;\n"})}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.strong,{children:"References:"})," ",(0,n.jsx)(t.a,{href:"/next/api/puppeteer.locator",children:"Locator"})]})]})}function d(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},75251:(e,t,r)=>{var n=r(67294),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,p=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var n,o={},s=null,l=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(l=t.ref),t)i.call(t,n)&&!c.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:a,type:e,key:s,ref:l,props:o,_owner:p.current}}t.Fragment=o,t.jsx=s,t.jsxs=s},85893:(e,t,r)=>{e.exports=r(75251)},11151:(e,t,r)=>{r.d(t,{Z:()=>p,a:()=>i});var n=r(67294);const a={},o=n.createContext(a);function i(e){const t=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function p(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),n.createElement(o.Provider,{value:t},e.children)}}}]);