jeremydaly / lambda-api

Lightweight web framework for your serverless applications
https://serverless-api.com
MIT License
1.41k stars 125 forks source link

Typescript documentation is out of date - createApi() no longer parses #253

Closed croconut closed 2 months ago

croconut commented 7 months ago

i was forced to start using below, as of TS 4.5

import createAPI, { NextFunction, Request, Response } from 'lambda-api';

const api = createAPI.default();

createAPI is no longer directly callable

naorpeled commented 2 months ago

Hey @croconut, sorry for the huge delay.

This is no longer an issue within the latest versions. I'll be closing this issue, but feel free to ping me if you need anything.