"use strict";(globalThis.webpackChunksimple_scaffold_docs=globalThis.webpackChunksimple_scaffold_docs||[]).push([[363],{2551(e,o,s){s.r(o),s.d(o,{assets:()=>i,contentTitle:()=>r,default:()=>f,frontMatter:()=>a,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"api/type-aliases/AfterScaffoldHook","title":"AfterScaffoldHook","description":"AfterScaffoldHook = ((context) => void \\\\| Promise\\\\) \\\\| string","source":"@site/docs/api/type-aliases/AfterScaffoldHook.md","sourceDirName":"api/type-aliases","slug":"/api/type-aliases/AfterScaffoldHook","permalink":"/simple-scaffold/docs/api/type-aliases/AfterScaffoldHook","draft":false,"unlisted":false,"editUrl":"https://github.com/chenasraf/simple-scaffold/blob/master/docs/docs/api/type-aliases/AfterScaffoldHook.md","tags":[],"version":"current","frontMatter":{},"sidebar":"api","previous":{"title":"ScaffoldInput","permalink":"/simple-scaffold/docs/api/interfaces/ScaffoldInput"},"next":{"title":"CaseHelpers","permalink":"/simple-scaffold/docs/api/type-aliases/CaseHelpers"}}');var c=s(2615),n=s(416);const a={},r="AfterScaffoldHook",i={},l=[];function d(e){const o={a:"a",blockquote:"blockquote",code:"code",h1:"h1",header:"header",p:"p",strong:"strong",...(0,n.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(o.header,{children:(0,c.jsx)(o.h1,{id:"afterscaffoldhook",children:(0,c.jsx)(o.code,{children:"AfterScaffoldHook"})})}),"\n",(0,c.jsxs)(o.blockquote,{children:["\n",(0,c.jsxs)(o.p,{children:[(0,c.jsx)(o.strong,{children:"AfterScaffoldHook"})," = ((",(0,c.jsx)(o.code,{children:"context"}),") => ",(0,c.jsx)(o.code,{children:"void"})," | ",(0,c.jsx)(o.code,{children:"Promise"}),"<",(0,c.jsx)(o.code,{children:"void"}),">) | ",(0,c.jsx)(o.code,{children:"string"})]}),"\n"]}),"\n",(0,c.jsxs)(o.p,{children:["Defined in: ",(0,c.jsx)(o.a,{href:"https://github.com/chenasraf/simple-scaffold/blob/8834e490856c52a290cd631c7032aec22643200a/src/types.ts#L237",children:"types.ts:237"})]}),"\n",(0,c.jsx)(o.p,{children:"A hook that runs after scaffolding completes.\nCan be a function receiving context, or a shell command string."})]})}function f(e={}){const{wrapper:o}={...(0,n.R)(),...e.components};return o?(0,c.jsx)(o,{...e,children:(0,c.jsx)(d,{...e})}):d(e)}},416(e,o,s){s.d(o,{R:()=>a,x:()=>r});var t=s(9471);const c={},n=t.createContext(c);function a(e){const o=t.useContext(n);return t.useMemo(function(){return"function"==typeof e?e(o):{...o,...e}},[o,e])}function r(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:a(e.components),t.createElement(n.Provider,{value:o},e.children)}}}]);