Add Types for GeoGebra API #66615
Unanswered
hyrious
asked this question in
Request a new @types package
Replies: 1 comment
-
In the case of Plan B, I would think the better name to use would be |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Me and @gwhitney wants to use GeoGebra's API in TypeScript, however the only information we can get from their document / repository is just hand-written descriptions and Java/JavaScript codes, no TypeScript definitions. So I spent some time to generate these typings from all useful information I could find.
As I was mentioned in netless-io/netless-app#25, there're at least 2 issues to be discussed before publishing these codes as an
@types/geogebra
package:Plan A:
@geogebra make some tooling to generate TypeScript definitions from their java code, which should always give us the latest precise APIs. It even does not need to be published as a package.
Plan B:
Add a new package
@types/geogebra
or@types/deployggb.js
which exposes interfaces to use the GeoGebra's API. It can be maintained in this repo and the community can keep updating this package.Beta Was this translation helpful? Give feedback.
All reactions