mirror of
https://github.com/honojs/hono.git
synced 2024-12-01 11:51:01 +01:00
8627010094
* refactor(types): refactor and add tests for checking Types * remove unused * uncomment * use `Handler` in validator middleware * remove unused * create `src/validator` dir and move some files into it * add the case that the context is in `validator` * rename `D` to `S`
4 lines
70 B
TypeScript
4 lines
70 B
TypeScript
export const sanitizer = {
|
|
trim: (value: string) => value.trim(),
|
|
}
|