mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-02-13 16:31:59 +02:00
excluded unnecessary types to reduce the size of the generated declarations file
This commit is contained in:
parent
1563855251
commit
f4a6d8af49
13721
plugins/jsvm/internal/types/generated/types.d.ts
vendored
13721
plugins/jsvm/internal/types/generated/types.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@ -922,6 +922,23 @@ func main() {
|
||||
MethodNameFormatter: func(s string) string {
|
||||
return mapper.MethodName(nil, reflect.Method{Name: s})
|
||||
},
|
||||
TypeMappings: map[string]string{
|
||||
"crypto.*": "any",
|
||||
"acme.*": "any",
|
||||
"autocert.*": "any",
|
||||
"driver.*": "any",
|
||||
"reflect.*": "any",
|
||||
"fmt.*": "any",
|
||||
"rand.*": "any",
|
||||
"tls.*": "any",
|
||||
"asn1.*": "any",
|
||||
"pkix.*": "any",
|
||||
"x509.*": "any",
|
||||
"pflag.*": "any",
|
||||
"flag.*": "any",
|
||||
"log.*": "any",
|
||||
"http.Client": "any",
|
||||
},
|
||||
Indent: " ", // use only a single space to reduce slight the size
|
||||
WithPackageFunctions: true,
|
||||
Heading: declarations,
|
||||
|
Loading…
x
Reference in New Issue
Block a user