UNPKG

cabbie-sync

Version:
32 lines (24 loc) 834 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.Mode = undefined; var _flowRuntime = require('flow-runtime'); var _flowRuntime2 = _interopRequireDefault(_flowRuntime); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * * This file is generated automatically, run npm run build to re-generate. **/ var Mode = exports.Mode = _flowRuntime2.default.type('Mode', _flowRuntime2.default.union(_flowRuntime2.default.string('sync'), _flowRuntime2.default.string('async'))); var ModeEnum = { /* * Sync-mode of web-driver requests */ SYNC: _flowRuntime2.default.string('sync').assert('sync'), /* * Async-mode of web-driver requests */ ASYNC: _flowRuntime2.default.string('async').assert('async') }; exports.default = ModeEnum;