Add generated .d.ts and .d.ts.map files

This commit is contained in:
bexnoss 2022-01-31 17:25:55 +01:00
parent 6ae21f0d45
commit 1173a1039c
44 changed files with 416 additions and 0 deletions

15
dist/setup/find-python.d.ts vendored Normal file
View file

@ -0,0 +1,15 @@
interface InstalledVersion {
impl: string;
version: string;
}
/**
* Python's prelease versions look like `3.7.0b2`.
* This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.
* If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.
*/
export declare function pythonVersionToSemantic(versionSpec: string): string;
export declare function findPythonVersion(
version: string,
architecture: string
): Promise<InstalledVersion>;
export {};