Files
github-actions-magento2/supported-version/src/kind/validator.ts
T
Damien Retzinger 5c198049f7 feat(supported-version): validate custom_versions
Previously, @danslo reported that he tried to use `custom_versions` without
setting the kind. This isn't the correct behavior.
I've added a validator to alert him of this.
2023-04-16 15:18:23 -04:00

4 lines
114 B
TypeScript

import { Kind } from "./kinds";
export type KindValidator = (kind: Kind, custom_versions?: string[]) => boolean;