For the first, #398 applies.
But for the other two it seems little helpful to re-alias them.
The according TS declarations are
import * as mm from './manifest';
export declare class HTTPError extends Error {
readonly httpStatusCode: number | undefined;
constructor(httpStatusCode: number | undefined);
}
export declare type IToolRelease = mm.IToolRelease;
export declare type IToolReleaseFile = mm.IToolReleaseFile;
And here the compilation errors:
e: D:\Sourcecode\other\setup-wsl\build\externals\setup-wsl\src\manifest.module_@actions_tool-cache.kt: (18, 20): Redeclaration: IToolReleaseFile
e: D:\Sourcecode\other\setup-wsl\build\externals\setup-wsl\src\manifest.module_@actions_tool-cache.kt: (28, 20): Redeclaration: IToolRelease
e: D:\Sourcecode\other\setup-wsl\build\externals\setup-wsl\src\tool-cache.module_@actions_tool-cache.kt: (19, 1): Can't put non-external declarations in file marked with JsModule annotation
e: D:\Sourcecode\other\setup-wsl\build\externals\setup-wsl\src\tool-cache.module_@actions_tool-cache.kt: (43, 1): Can't put non-external declarations in file marked with JsModule annotation
e: D:\Sourcecode\other\setup-wsl\build\externals\setup-wsl\src\tool-cache.module_@actions_tool-cache.kt: (43, 11): Redeclaration: IToolRelease
e: D:\Sourcecode\other\setup-wsl\build\externals\setup-wsl\src\tool-cache.module_@actions_tool-cache.kt: (45, 1): Can't put non-external declarations in file marked with JsModule annotation
e: D:\Sourcecode\other\setup-wsl\build\externals\setup-wsl\src\tool-cache.module_@actions_tool-cache.kt: (45, 11): Redeclaration: IToolReleaseFile
If you generate for
@actions/tool-cache
, thetool-cache.module_@actions_tool-cache.kt
file contains these three:For the first, #398 applies. But for the other two it seems little helpful to re-alias them. The according TS declarations are
And here the compilation errors: