UNPKG

@graphql-mesh/serve-runtime

Version:
7 lines (6 loc) 215 B
import { Plugin } from 'graphql-yoga'; export interface StaticFilesOpts { baseDir: string; staticFiles?: string; } export declare const useStaticFiles: ({ baseDir, staticFiles }: StaticFilesOpts) => Plugin;