Closed labkey-alan closed 1 week ago
There is a problem with our build types where our builds are including types from @types/node which allows code like someArray.at(-1) to compile, which should not (Array.at is in ES2022 and our build lib is ES2021).
@types/node
someArray.at(-1)
Array.at
Rationale
There is a problem with our build types where our builds are including types from
@types/node
which allows code likesomeArray.at(-1)
to compile, which should not (Array.at
is in ES2022 and our build lib is ES2021).Related Pull Requests
Changes