@halospv3/hce.shared-config
Version:
Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.
12 lines • 680 B
TypeScript
import { type Type } from 'arktype';
export declare const tBooleanString: Type<'false' | 'true'>;
export type BooleanString = typeof tBooleanString.infer;
export declare const tEmptyOrBooleanString: Type<'' | 'false' | 'true'>;
export type EmptyOrBooleanString = typeof tEmptyOrBooleanString.infer;
export type Integer<N extends number> = `${N}` extends `${number}.${number}` ? never : N;
/**
* @see https://stackoverflow.com/a/73920140/14894786
*/
export type TupleIndices<T extends readonly unknown[]> = Extract<keyof T, `${number}`> extends `${infer N extends number}` ? N : never;
export type InstanceOrStatic = 'Instance' | 'Static';
//# sourceMappingURL=miscTypes.d.ts.map