summaryrefslogtreecommitdiff
path: root/u/types/misc.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-07-20 13:03:39 -0700
committerElizabeth Hunt <me@liz.coffee>2025-07-20 13:03:39 -0700
commitdc4ac7742690f8f2bd759d57108ac4455e717fe9 (patch)
treef138ba41dd44bf703087eaa8ec43a22fe842923d /u/types/misc.ts
parentdccb99505e92685ba8ade7c3be84555f2b539a47 (diff)
downloadci-dc4ac7742690f8f2bd759d57108ac4455e717fe9.tar.gz
ci-dc4ac7742690f8f2bd759d57108ac4455e717fe9.zip
Mount src directory from path on host running worker container
Diffstat (limited to 'u/types/misc.ts')
-rw-r--r--u/types/misc.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/u/types/misc.ts b/u/types/misc.ts
new file mode 100644
index 0000000..77833c4
--- /dev/null
+++ b/u/types/misc.ts
@@ -0,0 +1,3 @@
+export type ObjectFromList<T extends ReadonlyArray<string | number | symbol>, V = string> = {
+ [K in T extends ReadonlyArray<infer U> ? U : never]: V;
+};