mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
319 B
TypeScript
12 lines
319 B
TypeScript
import express from "express";
|
|
import Koa from "koa";
|
|
import { graphqlUploadExpress, graphqlUploadKoa } from "graphql-upload";
|
|
|
|
express()
|
|
.use(graphqlUploadExpress({ maxFileSize: 10000000, maxFiles: 10 }))
|
|
.listen(3000);
|
|
|
|
new Koa()
|
|
.use(graphqlUploadKoa({ maxFileSize: 10000000, maxFiles: 10 }))
|
|
.listen(3000);
|