Export types
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
import { Extensible } from "./interfaces";
|
import { Extensible } from "./interfaces";
|
||||||
|
|
||||||
const contentTypes: Extensible = {
|
export type ContentType = string
|
||||||
|
|
||||||
|
const contentTypes= {
|
||||||
text: {
|
text: {
|
||||||
plain: "text/plain",
|
plain: "text/plain",
|
||||||
html: "text/html",
|
html: "text/html",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { Extensible } from "./interfaces";
|
import { Extensible } from "./interfaces";
|
||||||
|
|
||||||
type HttpCode = {
|
export type HttpCode = {
|
||||||
code: number;
|
code: number;
|
||||||
name: string;
|
name: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user