UNPKG

@halospv3/hce.shared-config

Version:

Automate commit message quality, changelogs, and CI/CD releases. Its `main` entry point is a Semantic Release config. Functions and classes are exposed for customization. An ESLint config, a Commitlint config, and addl. resources for .NET projects are als

15 lines 803 B
import { Type } from "arktype"; //#region src/utils/miscTypes.d.ts declare const tBooleanString: Type<"false" | "true">; type BooleanString = typeof tBooleanString.infer; declare const tEmptyOrBooleanString: Type<"" | "false" | "true">; type EmptyOrBooleanString = typeof tEmptyOrBooleanString.infer; type Integer<N extends number> = `${N}` extends `${number}.${number}` ? never : N; /** * @see https://stackoverflow.com/a/73920140/14894786 */ type TupleIndices<T extends readonly unknown[]> = Extract<keyof T, `${number}`> extends `${infer N extends number}` ? N : never; type InstanceOrStatic = "Instance" | "Static"; //#endregion export { BooleanString, EmptyOrBooleanString, InstanceOrStatic, Integer, TupleIndices, tBooleanString, tEmptyOrBooleanString }; //# sourceMappingURL=miscTypes.d.mts.map