Skip to content

Commit

Permalink
fix: make type-fest imports type only
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-alford committed Feb 16, 2023
1 parent b23bb8c commit 563898e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/internal/camelcase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import * as Pred from 'fp-ts/Predicate'
import * as RA from 'fp-ts/ReadonlyArray'
import * as Str from 'fp-ts/string'
import * as PB from 'schemata-ts/PatternBuilder'
import { type CamelCase } from 'type-fest'
import type { CamelCase } from 'type-fest'

/** Convert a character code to character */
const cc: (code: number) => string = String.fromCharCode
Expand Down
2 changes: 1 addition & 1 deletion src/schemata/generic/CamelCaseFromMixed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
import { InputOf, make, OutputOf, SchemaExt } from 'schemata-ts/SchemaExt'
import * as s from 'schemata-ts/struct'
import { CamelCase } from 'type-fest'
import type { CamelCase } from 'type-fest'

/**
* @since 1.4.0
Expand Down
2 changes: 1 addition & 1 deletion src/struct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { identity } from 'fp-ts/function'
import { HKT2, Kind, Kind2, URIS, URIS2 } from 'fp-ts/HKT'
import { camelCase } from 'schemata-ts/internal/camelcase'
import { CamelCase } from 'type-fest'
import type { CamelCase } from 'type-fest'

/**
* @since 1.3.0
Expand Down

0 comments on commit 563898e

Please sign in to comment.