Closed domdomegg closed 1 year ago
Hello @domdomegg,
I admit my treatment of TS is quite stepmotherly ... If the fix in the PR works for you (I guess it does now?) then I am just going to merge it.
Thank you Jan
Hi Jan,
Yes, the fix in my PR works for me.
Adam
Could you please release this fix to npm?
Could you please release this fix to npm?
Yes, good idea. I'll try to get it done over the weekend.
This code in TypeScript
Throws a compliation error:
However, based on the documentation this seems like the correct way to initialise the library. Using
// @ts-ignore
, the library seems to work correctly. So I think this is an issue with the typings indist/glpk.d.ts
.Specifically I'm using versions:
But think it applies on any modern version of TypeScript.