pocketbase / tygoja

Experimental helper library for generating TypeScript declarations from Go code
MIT License
10 stars 7 forks source link

Missing method arguments #1

Closed ganigeorgiev closed 10 months ago

ganigeorgiev commented 10 months ago

Related to https://github.com/pocketbase/pocketbase/issues/4145.

The method types generated for the recursively iterated packages doesn't seem to be properly generated.

Take for example http.Header.set.

ganigeorgiev commented 10 months ago

This is most likely due to the omitted type in the Go definition:

Set(key, value string)
vs
Set(key string, value string)