"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[34662],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>m});varn=r(67294);functionp(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functiona(e,t){varr=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}returnr}functiono(e){for(vart=1;t<arguments.length;t++){varr=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}returne}functioni(e,t){if(null==e)return{};varr,n,p=function(e,t){if(null==e)return{};varr,n,p={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(p[r]=e[r]);returnp}(e,t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(p[r]=e[r])}returnp}varc=n.createContext({}),s=function(e){vart=n.useContext(c),r=t;returne&&(r="function"==typeofe?e(t):o(o({},t),e)),r},l=function(e){vart=s(e.components);returnn.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){vart=e.children;returnn.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){varr=e.components,p=e.mdxType,a=e.originalType,c=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),u=s(r),m=p,f=u["".concat(c,".").concat(m)]||u[m]||d[m]||a;returnr?n.createElement(f,o(o({ref:t},l),{},{components:r})):n.createElement(f,o({ref:t},l))}));functionm(e,t){varr=arguments,p=t&&t.mdxType;if("string"==typeofe||p){vara=r.length,o=newArray(a);o[0]=u;vari={};for(varcint)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i.mdxType="string"==typeofe?e:p,o[1]=i;for(vars=2;s<a;s++)o[s]=r[s];returnn.createElement.apply(null,o)}returnn.createElement.apply(null,r)}u.displayName="MDXCreateElement"},92333:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});varn=r(87462),p=(r(67294),r(3905));consta={sidebar_label:"FrameAddScriptTagOptions.type"},o="FrameAddScriptTagOptions.type property",i={unversionedId:"api/puppeteer.frameaddscripttagoptions.type",id:"version-15.3.0/api/puppeteer.frameaddscripttagoptions.type",title:"FrameAddScriptTagOptions.type property",description:"Set the script's type. Use module in order to load an ES2015 module.",source:"@site/versioned_docs/version-15.3.0/api/puppeteer.frameaddscripttagoptions.type.md",sourceDirName:"api",slug:"/api/puppeteer.frameaddscripttagoptions.type",permalink:"/api/puppeteer.frameaddscripttagoptions.type",draft:!1,tags:[],version:"15.3.0",frontMatter:{sidebar_label:"FrameAddScriptTagOptions.type"},sidebar:"sidebar",previous:{title:"FrameAddScriptTagOptions.path",permalink:"/api/puppeteer.frameaddscripttagoptions.path"},next:{title:"FrameAddScriptTagOptions.url",permalink:"/api/puppeteer.frameaddscripttagoptions.url"}},c={},s=[],l={toc:s};functiond(e){let{components:t,...r}=e;return(0,p.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,p.kt)("h1",{id:"frameaddscripttagoptionstype-property"},"FrameAddScriptTagOptions.type property"),(0,p.kt)("p",null,"Set the script's ",(0,p.kt)("inlineCode",{parentName:"p"},"type"),". Use ",(0,p.kt)("inlineCode",{parentName:"p"},"module")," in order to load an ES2015 module."),(0,p.kt)("p",null,(0,p.kt)("strong",{parentName:"p"},"Signature:")),(0,p.kt)("pre",null,(0,p.kt)("code",{parentName:"pre",className:"language-typescript"},"interface FrameAddScriptTagOptions {\n type?: string;\n}\n")))}d.isMDXComponent=!0}}]);