mirror of
https://github.com/actions/setup-python.git
synced 2025-07-26 13:48:20 +02:00
Add generated .d.ts and .d.ts.map files
This commit is contained in:
parent
6ae21f0d45
commit
1173a1039c
44 changed files with 416 additions and 0 deletions
25
dist/setup/find-pypy.d.ts
vendored
Normal file
25
dist/setup/find-pypy.d.ts
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
interface IPyPyVersionSpec {
|
||||
pypyVersion: string;
|
||||
pythonVersion: string;
|
||||
}
|
||||
export declare function findPyPyVersion(
|
||||
versionSpec: string,
|
||||
architecture: string
|
||||
): Promise<{
|
||||
resolvedPyPyVersion: string;
|
||||
resolvedPythonVersion: string;
|
||||
}>;
|
||||
export declare function findPyPyToolCache(
|
||||
pythonVersion: string,
|
||||
pypyVersion: string,
|
||||
architecture: string
|
||||
): {
|
||||
installDir: string | null;
|
||||
resolvedPythonVersion: string;
|
||||
resolvedPyPyVersion: string;
|
||||
};
|
||||
export declare function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec;
|
||||
export declare function findPyPyInstallDirForWindows(
|
||||
pythonVersion: string
|
||||
): string;
|
||||
export {};
|
Loading…
Add table
Add a link
Reference in a new issue