pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Use type-fest's `Tagged` type for simple nominal types

Open twschiller opened this issue 1 year ago • 2 comments

What does this PR do?

  • Use type-fest's Tagged type for simple nominal typing

Future Work

  • Figure out how to use with complex objects that are generated with factories. Currently for those we pass the prop as undefined: https://github.com/pixiebrix/pixiebrix-extension/blob/dc5eac7507feada1c06f03b1427ad3014b001825/src/starterBricks/quickBar/quickBarStarterBrick.test.ts#L82-L82

For more information on our expectations for the PR process, see the code review principles doc

twschiller avatar Jul 06 '24 16:07 twschiller