puppeteer/assets/js/deffbd30.4b503185.js
release-please[bot] cc95c085a2 deploy: 1014abc087
2023-11-29 13:34:30 +00:00

2 lines
2.6 KiB
JavaScript

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