Add missing types

This commit is contained in:
Peter Evans committed 2020-06-03 16:47:02 +09:00
1 parent 7e7fa32a5f
commit 86ccd8cdef
4 files changed
+1921 -1840

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import * as semver from 'semver'
* @param {string} versionSpec version of Python
* @param {string} arch architecture (x64|x32)
*/
export function setupPython(versionSpec, arch): Promise<void> {
export function setupPython(versionSpec: string, arch: string): Promise<void> {
return new Promise(resolve => {
const IS_WINDOWS = process.platform === 'win32'