From f615ef498e37bf3957ff0a259ecdd872580597bb Mon Sep 17 00:00:00 2001 From: Benjamin Van Renterghem Date: Mon, 22 Apr 2019 03:36:50 +0200 Subject: [PATCH] Make parameter typings for StyleSheet.create more typed --- typings/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 86c3ea3..39671d5 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -31,8 +31,8 @@ export interface StyleSheetStatic { /** * Create style sheet */ - create>( - styles: T + create( + styles: StyleDeclaration ): {[K in keyof T]: StyleDeclarationValue }; /** * Rehydrate class names from server renderer