Skip to content

Commit

Permalink
Properly type serializeStyles for Typescript (#1236)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmerckx authored and emmatown committed Feb 23, 2019
1 parent d3a34b3 commit 27079e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/serialize/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export type Interpolation<MP = undefined> =
| Equal<MP, undefined, never, FunctionInterpolation<MP>>

export function serializeStyles<MP>(
args: Array<TemplateStringsArray | Interpolation<MP>>,
registered: RegisteredCache,
args: Array<TemplateStringsArray | Interpolation<MP>>,
mergedProps?: MP
): SerializedStyles

0 comments on commit 27079e1

Please sign in to comment.