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
import { twMerge, type ClassNameValue } from "tailwind-merge"; | |
export function cn(...inputs: ClassNameValue[]) { | |
return twMerge(inputs); | |
} |
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
import { type NextFunction, type Request, type Response } from "express"; | |
export type AsyncHandler = ( | |
request: Request, | |
response: Response, | |
next: NextFunction, | |
) => Promise<void>; | |
/** | |
* Wraps an asynchronous route handler function with error handling middleware. |
OlderNewer