Internal: plugin.internal ? {}

I started a project with aws-nodejs-typescript, but when I testing the funcition hello with the mock I get this error: " SyntaxError: Unexpected token ‘?’ " How can i solve this??