You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"use strict";import{APIGatewayEvent}from"aws-lambda";import{stringify}from"typescript-json";module.exports.hello=async(event: APIGatewayEvent)=>{return{statusCode: 200,body: stringify({message: "Go Serverless v1.0! Your function executed successfully!",input: event,}),};};
error
node_modules/typescript-json/lib/module.d.ts:8:10 - error TS2305: Module '"./functional/$string"' has no exported member '$string'.
8 import { $string } from "./functional/$string";~~~~~~~
node_modules/typescript-json/lib/module.d.ts:9:10 - error TS2305: Module '"./functional/$tail"' has no exported member '$tail'.
9 import { $tail } from "./functional/$tail";~~~~~
node_modules/typescript-json/lib/module.d.ts:547:45 - error TS2339: Property 'predicate' does not exist on type'<T>(input: T) => string'.
547 const predicate: typeof assertStringify.predicate;~~~~~~~~~
node_modules/typescript-json/lib/module.d.ts:548:42 - error TS2339: Property 'throws' does not exist on type'<T>(input: T) => string'.
548 const throws: typeof assertStringify.throws;~~~~~~
Found 4 errors in the same file, starting at: node_modules/typescript-json/lib/module.d.ts:8
The text was updated successfully, but these errors were encountered:
Bug Report
I got the bug!
node : 16.15.0
typescript-json : 3.3.15
package.json
I changed it directly to ttsc and replaced dist files for serverless-plugin-typescript
tsconfig.json
Code occuring the bug
error
The text was updated successfully, but these errors were encountered: