From d147180ac312698369fb5f40c043aadf015ee10b Mon Sep 17 00:00:00 2001 From: Adam Skoufis Date: Tue, 10 Dec 2024 14:22:43 +1100 Subject: [PATCH] Re-use existing type --- src/utils/componentsToHints.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/componentsToHints.ts b/src/utils/componentsToHints.ts index 0b4304bf..8d02b94a 100644 --- a/src/utils/componentsToHints.ts +++ b/src/utils/componentsToHints.ts @@ -5,7 +5,7 @@ import type { PlayroomProps } from '../Playroom/Playroom'; export default ( components: PlayroomProps['components'], - staticTypes: Record> = {} + staticTypes: typeof __PLAYROOM_GLOBAL__STATIC_TYPES__ = {} ) => { const componentNames = Object.keys(components).sort();