UNPKG

lux-framework

Version:

Build scalable, Node.js-powered REST APIs with almost no code.

10 lines (7 loc) 258 B
// @flow import type { Router$Namespace, Resource$opts } from '../index'; export type Router$DefinitionBuilder<T: Router$Namespace> = ( builder?: () => void, namespace: T ) => T; export type Router$resourceArgs = [string, ?Resource$opts, ?() => void];