- Add the SAVE_EMAIL action. This action requires more setting parameters than the Serverless Function action. - Changed the way we computed the workflow diagram. It now preserves some properties, like the `selected` property. That's necessary to not close the right drawer when the workflow back-end data change. - Added the possibility to set a label to a TextArea. This uses a `<label>` HTML element and the `useId()` hook to create an id linking the label with the input.
4 lines
147 B
TypeScript
4 lines
147 B
TypeScript
export const assertUnreachable = (x: never, errorMessage?: string): never => {
|
|
throw new Error(errorMessage ?? "Didn't expect to get here.");
|
|
};
|