import { ClassName1 } from "foo1";
import { ClassName2 } from "foo2";
import { ClassName3 } from "foo3";
and all those classes have:
import { JsonProperty } from "json-object-mapper";
this works fine. And then as soon as I add this to the lambdaFunc:
import { AnotherClass } from "foo4";
which has:
import { ObjectMapper } from "json-object-mapper";
My setup is: Typescript with node on Serverless (AWS lambda). Whenever I call one of the lambda functions, I get the following:
The lambdaFunc file has the following:
and all those classes have:
import { JsonProperty } from "json-object-mapper";
this works fine. And then as soon as I add this to the lambdaFunc:
import { AnotherClass } from "foo4";
which has:import { ObjectMapper } from "json-object-mapper";
I get the error above.