Closed rh-meowsa closed 1 year ago
This is a fairly straightforward fix. Tagging @ashishkumarTWLO who recently updated this package to see if this can be resolved quickly.
@vinesh-kumar also
Hi @rh-meowsa, Can you provide following details:
No changes recently. It's just that continuing to use skipLibCheck
to ignore these issues is a risk to my organization.
If you fork this you can get the repro in the video: https://codesandbox.io/p/sandbox/cool-heisenberg-tquu1n
It is a simple React project and I'm using yarn tsc
just to build Typescript to JS.
PTAL: https://github.com/twilio/twilio-taskrouter.js/pull/88 @ashishkumarTWLO @vinesh-kumar
Hi @rh-meowsa, your suggested changes have been merged into the main branch, Thanks for pointing them out.
Two issues I would like to get resolved:
async
in front of thetransfer
function (like the surrounding functions) https://github.com/twilio/twilio-taskrouter.js/blob/master/types.d.ts#L89Currently causing:
TS1070: 'async' modifier cannot appear on a type member
int
tonumber
as there's no such primitive type in TS https://github.com/twilio/twilio-taskrouter.js/blob/master/types.d.ts#L109Currently causing:
TS2304: Cannot find name 'int'