Victor Widell
Victor Widell
@sami-badawi I tried your type definition. I don't want it inside the `node_modules` folder, so I changed the first line from ``` declare namespace twgl { ``` to ``` declare...
Any progress on this?
FWIW, I am using the typings from @sami-badawi , with some tweaks. I added a couple of functions, and corrected the `Arrays` type. https://github.com/geon/mem/commits/master/src/types/twgl.js/index.d.ts
What I am stuck with is this line: `twgl.createProgram(gl, [vs, fs], options);` It references a parameter named `options` that is not mentioned anywhere else. I have no idea what type...
Thank you very much for clarifying. Perhaps I'm just overthinking it, but the more I read, the more confused I get. Usually this indicates that I have misunderstood something fundamental......
Exactly. Otherwise, we'd have to add typings for each of all 7 variations, times 3 functions.
Nice. The code in it's current state was a bit embarrassing. Keep in mind I hacked together in like 30 minutes 2+ years ago, and didn't feel like woking on...
@enricovara Try this chrome extension someone built: https://chrome.google.com/webstore/detail/dyslexia-simulation/cnobhbaaijmbcbfdiakhllckiemjigac
Presumably, you can just add this text as a bookmarked link in your browser. Check the documentation of your browser on how to do that. I can take no responsibillity...
`ignore-type-prefix` would be a better name, since interfaces and classes are types too.