diff --git a/package.json b/package.json index cef6f71..86584b5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@curiousleaf/utils", "description": "A lightweight set of utilities", - "version": "1.0.22", + "version": "1.0.23", "license": "MIT", "type": "module", "author": { diff --git a/src/index.ts b/src/index.ts index 47a59a3..25797fc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,22 @@ -export type WithOptional = Pick, Key> & Omit +// External exports +export * from "scule" + +// Internal exports +export * from "./colors/colors" +export * from "./errors/errors" +export * from "./events/events" +export * from "./format/format" +export * from "./helpers/helpers" +export * from "./http/http" +export * from "./numbers/numbers" +export * from "./objects/objects" +export * from "./params/params" +export * from "./parsers/parsers" +export * from "./random/random" +export * from "./time/time" -export type WithRequired = Type & { - [Prop in Key]-?: Type[Prop] -} +export type WithOptional = Pick, Key> & Omit +export type WithRequired = Type & { [Prop in Key]-?: Type[Prop] } export type DeepIdx = K extends "" ? T @@ -23,20 +37,3 @@ export type ValidatePath = K extends "" ? `${K0}.${ValidatePath}` : Extract : Extract - -// External exports -export * from "scule" - -// Internal exports -export * from "./colors/colors" -export * from "./errors/errors" -export * from "./events/events" -export * from "./format/format" -export * from "./helpers/helpers" -export * from "./http/http" -export * from "./numbers/numbers" -export * from "./objects/objects" -export * from "./params/params" -export * from "./parsers/parsers" -export * from "./random/random" -export * from "./time/time"