From 23a53f028449bb10e420443857dd8c973c5135c2 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Thu, 10 Oct 2024 20:06:30 +0100 Subject: [PATCH] utility.d.ts: add --- typescript/types/utility.d.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 typescript/types/utility.d.ts diff --git a/typescript/types/utility.d.ts b/typescript/types/utility.d.ts new file mode 100644 index 000000000..9deabd118 --- /dev/null +++ b/typescript/types/utility.d.ts @@ -0,0 +1,5 @@ +type Omit = Pick>; + +type Pick = { + [P in K]: T[P]; +};