UNPKG

@tsed/platform-aws

Version:
15 lines 394 B
import { __decorate } from "tslib"; import { Injectable } from "@tsed/common"; /** * @ignore */ let ParseApiGatewayPipe = class ParseApiGatewayPipe { transform(value) { return JSON.parse(decodeURIComponent(value)); } }; ParseApiGatewayPipe = __decorate([ Injectable() ], ParseApiGatewayPipe); export { ParseApiGatewayPipe }; //# sourceMappingURL=ParseApiGatewayPipe.js.map