puppeteer/assets/js/62377726.87eefb9b.js
release-please[bot] d3364cba40 deploy: af6eba4bea
2023-12-15 12:13:30 +00:00

2 lines
2.8 KiB
JavaScript

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