Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/functions/DeepStrictAssert.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DeepStrictObjectKeys } from '../types/DeepStrictObjectKeys';
import { DeepStrictPick } from '../types/DeepStrictPick';
import type { DeepStrictObjectKeys } from '../types/DeepStrictObjectKeys';
import type { DeepStrictPick } from '../types/DeepStrictPick';

/**
* @title Runtime Function for Type-Safe Deep Property Extraction.
Expand Down
2 changes: 1 addition & 1 deletion src/functions/DeepStrictObjectKeys.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DeepStrictObjectKeys } from '../types';
import type { DeepStrictObjectKeys } from '../types';

/** @internal Removes a leading dot from a string type. e.g., `".foo"` becomes `"foo"`. */
type RemoveStartWithDot<T extends string> = T extends `.${infer R extends string}` ? R : T;
Expand Down
4 changes: 2 additions & 2 deletions src/functions/DeepStrictPick.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DeepStrictObjectKeys } from '../types/DeepStrictObjectKeys';
import { DeepStrictPick } from '../types/DeepStrictPick';
import type { DeepStrictObjectKeys } from '../types/DeepStrictObjectKeys';
import type { DeepStrictPick } from '../types/DeepStrictPick';

/**
* @title Runtime Function for Type-Safe Deep Property Picking.
Expand Down
2 changes: 1 addition & 1 deletion src/types/DeepDateToString.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DeepStrictUnbrand } from './DeepStrictUnbrand';
import type { DeepStrictUnbrand } from './DeepStrictUnbrand';

/**
* @title Type for Recursively Converting All Date Types to String.
Expand Down
4 changes: 2 additions & 2 deletions src/types/DeepStrictObjectKeys.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DeepStrictUnbrand } from './DeepStrictUnbrand';
import { Equal } from './Equal';
import type { DeepStrictUnbrand } from './DeepStrictUnbrand';
import type { Equal } from './Equal';
import type { IsAny } from './IsAny';
import type { IsUnion } from './IsUnion';
import type { ValueType } from './ValueType';
Expand Down
2 changes: 1 addition & 1 deletion src/types/DeepStrictObjectLastKeys.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DeepStrictUnbrand } from './DeepStrictUnbrand';
import type { DeepStrictUnbrand } from './DeepStrictUnbrand';
import type { IsAny } from './IsAny';
import type { IsUnion } from './IsUnion';
import type { ValueType } from './ValueType';
Expand Down
2 changes: 1 addition & 1 deletion src/types/RemoveAfterDot.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ElementOf } from './ElementOf';
import type { ElementOf } from './ElementOf';

/**
* @title Type for Generating Wildcard Patterns for Descendant Keys.
Expand Down
2 changes: 1 addition & 1 deletion src/types/StringToDeepObject.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StringType } from '@kakasoo/proto-typescript';
import type { StringType } from '@kakasoo/proto-typescript';

/** @internal Converts a union type to an intersection type. */
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
Expand Down