Skip to content

Instantly share code, notes, and snippets.

@zavr-1
Created December 23, 2019 16:03
Show Gist options
  • Save zavr-1/745c90b82834e6d15bffc395e8c91310 to your computer and use it in GitHub Desktop.
Save zavr-1/745c90b82834e6d15bffc395e8c91310 to your computer and use it in GitHub Desktop.
// ENTRY FILE
const { _Goa, _Context } = require('./koa')
/**
* An application constructor.
* @type {new (options?: ApplicationOptions) => Application)}
*/
const $Goa = _Goa
module.exports = $Goa
/**
* @typedef {import('../types/vendor/cookies').Cookies} Cookies
* @typedef {import('../types/vendor/accepts').Accepts} Accepts
* @typedef {import('../types/typedefs/application').Middleware} Middleware
* @typedef {import('../types/typedefs/application').Application} Application
* @typedef {import('../types/typedefs/application').ApplicationOptions} ApplicationOptions
* @typedef {import('../types/typedefs/context').Context} Context
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment