diff --git a/types/src/globals.d.ts b/types/src/globals.d.ts index 1ecaf01..0bfa7f6 100644 --- a/types/src/globals.d.ts +++ b/types/src/globals.d.ts @@ -113,3 +113,8 @@ type HTTPMethods = | 'put' | 'OPTIONS' | 'options'; + +type Writeable = { -readonly [P in keyof T]: T[P] }; +type DeepWritable = { + -readonly [P in keyof T]: DeepWritable; +};