From 9cb840c06304f9bdc211aa8bad5b516837ac38f0 Mon Sep 17 00:00:00 2001 From: Emmanuel Chucks <31349069+emmanuelchucks@users.noreply.github.com> Date: Tue, 16 Jan 2024 19:53:50 +0000 Subject: [PATCH] feat(attrs): enable autocomplete for props (#39) --- src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 3f621d5..2ba218f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -55,7 +55,8 @@ type FirstLevelTemplate< */ attrs: ( attrs: - | Record + | (Omit, "className"> & + Record) | (( props: ResultProps, ) => Record),