We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visit
It would be nice if the library could expose the Visit data type.
I want to do something like
/** * @param { import('@fingerprintjs/fingerprintjs-pro-server-api').Visit} visitData - does't work */ function checkSomethingInVisitData (visitData) { console.log(visitData.ipLocation.city); }
Where Visit corresponds to the components.schemas.Visit in the provided index.d.ts. But I can't because Visit is not exposed directly.
components.schemas.Visit
index.d.ts
Adding declare type Visit = components['schemas']['Visit']; and removing [] brackets from Visit in the schema might be sufficient. Thank you!
declare type Visit = components['schemas']['Visit'];
[]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It would be nice if the library could expose the
Visit
data type.I want to do something like
Where
Visit
corresponds to thecomponents.schemas.Visit
in the providedindex.d.ts
. But I can't becauseVisit
is not exposed directly.Adding
declare type Visit = components['schemas']['Visit'];
and removing[]
brackets fromVisit
in the schema might be sufficient. Thank you!The text was updated successfully, but these errors were encountered: