-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
TypeScript typing issue with "FunctionRequest" #7350
New issue
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
Comments
Thanks for reporting. Are you using DefinitelyTyped type definitions? |
Looks like we haven't installed anything specific about Parse & Typing.
Should I explicitely install ***@***.***/parse-server" or similar?
Le ven. 16 avr. 2021 à 15:07, Manuel ***@***.***> a écrit :
… Thanks for reporting.
Are you using DefinitelyTyped type definitions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7350 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATCWJMQW4UCZNE3KIJKERKDTJAZCTANCNFSM43BIEGAQ>
.
--
Nicolas Chambrier - RecOps
|
Depends on your setup. Parse TS definitions are currently manually maintained in DefinitelyTyped. That would be
That also means, that any incorrect definition would have to be corrected in the repo there |
As this is an issue with the DefinitelyTyped definitions, I’m going to close this one out. |
@TomWFox I'm confused why this is an issue with the DefinitelyTyped definitions, |
New Issue Checklist
Issue Description
When I received a Cloud Function request, it's supposed to by typed as
Parse.Cloud.FunctionRequest<T>
, but this type is incorrect:req.jobName
is supposed to exist (declared inCustomRequest
whichFunctionRequest
inherits, but this property exists only for Job requests)req.functionName
is not declared, but it definitely existsFix
jobName
andjobId
(and probably others?) fromCustomRequest
and declare it inJobRequest
onlyfunctionName: string
(and probably others?) inFunctionRequest
The text was updated successfully, but these errors were encountered: