diff --git a/TYPES.md b/TYPES.md index 8504722..e07e46f 100644 --- a/TYPES.md +++ b/TYPES.md @@ -13,18 +13,6 @@ export type Base64Type = Opaque; const DecodeBase64 = (B64String: Base64Type): string => Buffer.from(B64String, 'base64').toString('utf8'); ``` -## ResolvePromise - -Returns the type `T` inside of a `Promise`. - -```ts -export type ResolvePromise = T extends PromiseLike ? R : never; - -/* Usage */ -const Result = Promise.resolve(0); // Promise -type TResult = ResolvePromise //number -``` - ## ClassType Represents any class constructor. ```ts