Skip to content

Commit c599809

Browse files
committed
Add portable type annotation
1 parent 7c96930 commit c599809

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/build/src/extensions/python.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,10 @@ class PythonExtension implements BuildExtension {
122122
}
123123
}
124124

125-
export const run = async (scriptArgs: string[] = [], options: ExecaOptions = {}) => {
125+
export const run = async (
126+
scriptArgs: string[] = [],
127+
options: ExecaOptions = {}
128+
): Promise<ReturnType<typeof execa>> => {
126129
const pythonBin = process.env.PYTHON_BIN_PATH || "python";
127130

128131
const result = await execa({

0 commit comments

Comments
 (0)