UNPKG

@corux/ask-extensions

Version:

Extensions to improve development with Alexa Skills Kit SDK

32 lines 932 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** Marks this request handler to be used as fallback. */ function Fallback() { return function (target) { target.prototype.isFallback = true; }; } exports.Fallback = Fallback; /** Marks this request handler to support the given intents. */ function Intents() { var intents = []; for (var _i = 0; _i < arguments.length; _i++) { intents[_i] = arguments[_i]; } return function (target) { target.prototype.intents = intents; }; } exports.Intents = Intents; /** Marks this request handler to support the given request types. */ function Request() { var types = []; for (var _i = 0; _i < arguments.length; _i++) { types[_i] = arguments[_i]; } return function (target) { target.prototype.types = types; }; } exports.Request = Request; //# sourceMappingURL=Decorators.js.map