UNPKG

tspace-spear

Version:

tspace-spear is a lightweight API framework for Node.js that is fast and highly focused on providing the best developer experience. It utilizes the native HTTP server

4 lines (3 loc) 249 B
/// <reference types="node" /> import { OutgoingHttpHeaders } from 'http'; export declare const WriteHeader: (statusCode: number, contentType: OutgoingHttpHeaders) => (target: any, key: string, descriptor: PropertyDescriptor) => PropertyDescriptor;