-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🎸 improve typecheck and autocompletion for SlideBuilder
SlideBuilder methods withShape, withAnimation and withOrder has more type info now. withShape accumulates all the calls with the shapes names into TShape union type. The same applies to withAnimation, it accumulates all the calls with the animation names into TAnimation union type. These union types are used for type check and autocompletion later in withOrder method.
- Loading branch information
Showing
1 changed file
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters