mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
10 lines
286 B
TypeScript
10 lines
286 B
TypeScript
import type { GetPkgReleasesConfig } from './types';
|
|
|
|
export function isGetPkgReleasesConfig(
|
|
input: unknown
|
|
): input is GetPkgReleasesConfig {
|
|
return (
|
|
(input as GetPkgReleasesConfig).datasource !== undefined &&
|
|
(input as GetPkgReleasesConfig).depName !== undefined
|
|
);
|
|
}
|