mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 05:27:30 +00:00
11 lines
288 B
TypeScript
11 lines
288 B
TypeScript
/// <reference path="./express-graphql.d.ts" />
|
|
/// <reference path="../express/express.d.ts" />
|
|
|
|
var express = require("express");
|
|
var graphqlHTTP = require("express-graphql");
|
|
var app = express();
|
|
|
|
var schema = {};
|
|
|
|
app.use("/graphql", graphqlHTTP({ schema: schema, graphiql: true }));
|