Trait refactoring
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Julien Valverdé
2024-02-03 23:15:30 +01:00
parent 8af604831b
commit 0d469fabeb
2 changed files with 19 additions and 8 deletions

View File

@@ -5,6 +5,6 @@ export type AbstractTag = "@thilawyn/traitify-ts/Abstract"
export function abstract<
Abstract extends {} = {}
>(): Opaque<Abstract, AbstractTag> {
return undefined as any
>() {
return {} as Opaque<Abstract, AbstractTag>
}