Skip to content

Commit

Permalink
fix: tag error
Browse files Browse the repository at this point in the history
  • Loading branch information
schummar committed Jun 20, 2024
1 parent 4ed2b71 commit 987f162
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export type Flatten<T> = T extends object
}
: T;

declare const tags: unique symbol;
type Tagged<BaseType, Tags extends Record<string, any>> = BaseType & { [tags]?: Tags };
type Tagged<BaseType, Tags extends Record<string, any>> = BaseType & { __tags?: Tags };

export type DurationFormatOptions = Partial<ReturnType<DurationFormat['resolvedOptions']>>;
export type DurationInput = Parameters<DurationFormat['format']>[0];
Expand Down

0 comments on commit 987f162

Please sign in to comment.