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
In order to get around this we currently have to use const parser = require('@balena/odata-parser') instead of import {parse} from '@balena/odata-parser'.
We use @balena/odata-parser in one of our projects, and the transpiler
tsc
is complaining about these:Looking at
odata-parser.d.ts
I can see thatODataOptions
was defined as:Note that all properties are optional, and as such the part below should include a
undefined
as follows:If I made that change in the d.ts
tsc
was happy.The text was updated successfully, but these errors were encountered: