6 lines
138 B
TypeScript
6 lines
138 B
TypeScript
import { data } from '@remix-run/node'
|
|
|
|
export function send<T>(payload: T, init?: number | ResponseInit) {
|
|
return data(payload, init)
|
|
}
|