Skip to content

Commit

Permalink
fix: correct type variation of tagged template
Browse files Browse the repository at this point in the history
  • Loading branch information
primeare committed Jan 28, 2024
1 parent 177e53c commit 5bf6e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concolor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type TagFunction = (strings: TagFunctionString, ...values: ReadonlyArray<any>) =

declare function concolor(strings: string): TagFunction;
declare function concolor(strings: Record<string, string>): TagFunction;
declare function concolor(strings: string[], ...values: any[]): string;
declare function concolor(strings: TemplateStringsArray, ...values: ReadonlyArray<any>): string;
declare namespace concolor {
export const b: TagFunction;
export const i: TagFunction;
Expand Down

0 comments on commit 5bf6e6f

Please sign in to comment.