Open nexushoratio opened 1 year ago
Ideally we should parse @violentmonkey/types
package (either via regex or acorn
with plugins or ts-morph
) and generate GM_info accordingly. @gera2ld, WDYT? I can probably take a stab at it.
Ideally we should try using a generator like TSDoc, TypeDoc, and CompoDoc.
Hey we already have one in https://violentmonkey.github.io/types/ but it's not very convenient because it doesn't show the definitions of inner properties inlined, instead they're all linked.
https://violentmonkey.github.io/api/gm/#gm_info
It mentions
info.script.resources
, but notrequire
.