Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/types.ts>MatrixKeys

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
type alias MatrixKeys
import { type MatrixKeys } from "https://deno.land/x/actionify@0.3.0/src/types.ts";

Type Parameters

Matrix extends Record<LiteralString, readonly unknown[]>
Excluded extends Record<LiteralString, unknown>
Included extends Record<LiteralString, unknown>
optional
MK extends StringKeyOf<Matrix> = Exclude<StringKeyOf<Matrix>, "exclude" | "include">
optional
EK extends AllKeysOf<Excluded> = AllKeysOf<Excluded>
optional
IK extends AllKeysOf<Included> = AllKeysOf<Included>
definition: (LiteralString extends EK ? never : EK extends string ? { matrix: EK; } & JobMatrixKey<EK, NonNullable<Excluded[EK]>> : never) | (LiteralString extends IK ? never : IK extends string ? { matrix: IK; } & JobMatrixKey<IK, NonNullable<Included[IK]>> : never) | (LiteralString extends MK ? never : MK extends string ? { matrix: MK; } & JobMatrixKey<MK, Matrix[MK] extends Array<infer T> ? T : never> : never)