puppeteer/assets/js/eb1c12c8.dcf86522.js
release-please[bot] d321f9557a deploy: 8c0ac61260
2023-12-06 08:09:55 +00:00

2 lines
2.6 KiB
JavaScript

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