GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(gatsby-cli): Tweak init-starter types (#22141) · gatsbyjs/gatsby@0d57363

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/gatsby-cli/src
    • init-starter.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/gatsby-cli/src/init-starter.ts‎

Copy file name to clipboardExpand all lines: packages/gatsby-cli/src/init-starter.ts
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ import isTTY from "./util/is-tty"
1717
const spawnWithArgs = (
1818
file: string,
1919
args: string[],
20-
options?: any
20+
options?: execa.Options
2121
): execa.ExecaChildProcess =>
2222
execa(file, args, { stdio: `inherit`, preferLocal: false, ...options })
2323

24-
const spawn = (cmd: string, options?: any): execa.ExecaChildProcess => {
24+
const spawn = (
25+
cmd: string,
26+
options?: execa.Options
27+
): execa.ExecaChildProcess => {
2528
const [file, ...args] = cmd.split(/\s+/)
2629
return spawnWithArgs(file, args, options)
2730
}

0 commit comments

Comments
0 (0)
You are visitor 01402894 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.