This commit is contained in:
14
src/trait.ts
14
src/trait.ts
@@ -27,20 +27,6 @@ type RemoveAbstractFromImpl<
|
||||
)
|
||||
|
||||
|
||||
// export type TraitTag = "@thilawyn/traitify-ts/Trait"
|
||||
|
||||
// export type Trait<
|
||||
// Abstract extends {},
|
||||
// Impl extends Class<{}, []>,
|
||||
// > = (
|
||||
// Opaque<{
|
||||
// readonly apply: TraitApplier<
|
||||
// Abstract,
|
||||
// AddAbstractToImpl<Impl, Abstract>
|
||||
// >
|
||||
// }, TraitTag>
|
||||
// )
|
||||
|
||||
export class Trait<
|
||||
Abstract extends {},
|
||||
Impl extends Class<{}, []>,
|
||||
|
||||
Reference in New Issue
Block a user