From d321c6c903da49bf0b71fbaa89f3e6cc51b37cf4 Mon Sep 17 00:00:00 2001 From: jlaamanen Date: Tue, 3 Apr 2018 12:28:38 +0300 Subject: [PATCH] Allow legacy element property definitions with only a type. Fixes #5173 --- types/extra-types.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/extra-types.d.ts b/types/extra-types.d.ts index c4d38f5fb5..8326a0df2e 100644 --- a/types/extra-types.d.ts +++ b/types/extra-types.d.ts @@ -17,7 +17,7 @@ interface PolymerElementPropertiesMeta { } type PolymerElementProperties = { - [key: string]: PolymerElementPropertiesMeta + [key: string]: PolymerElementPropertiesMeta | Function; }; // TODO Document these properties.