Skip to content

Commit

Permalink
refactor(pass-style): Avoid name convention conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Dec 19, 2024
1 parent 5df9122 commit 6c64ec1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/pass-style/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ export type Passable<
> = void | Primitive | Container<PC, E> | PC | E;

export type Container<PC extends PassableCap, E extends Error> =
| CopyArrayI<PC, E>
| CopyRecordI<PC, E>
| CopyTaggedI<PC, E>;
interface CopyArrayI<PC extends PassableCap, E extends Error>
| CopyArrayCommon<PC, E>
| CopyRecordCommon<PC, E>
| CopyTaggedCommon<PC, E>;
interface CopyArrayCommon<PC extends PassableCap, E extends Error>
extends CopyArray<Passable<PC, E>> {}
interface CopyRecordI<PC extends PassableCap, E extends Error>
interface CopyRecordCommon<PC extends PassableCap, E extends Error>
extends CopyRecord<Passable<PC, E>> {}
interface CopyTaggedI<PC extends PassableCap, E extends Error>
interface CopyTaggedCommon<PC extends PassableCap, E extends Error>
extends CopyTagged<string, Passable<PC, E>> {}

export type PassStyleOf = {
Expand Down

0 comments on commit 6c64ec1

Please sign in to comment.