MCPcopy Create free account
hub / github.com/coder/guts / OverrideNullable

Function OverrideNullable

config/mappings.go:14–18  ·  view source on GitHub ↗
(t guts.TypeOverride)

Source from the content-addressed store, hash-verified

12}
13
14func OverrideNullable(t guts.TypeOverride) guts.TypeOverride {
15 return func() bindings.ExpressionType {
16 return bindings.Union(t(), &bindings.Null{})
17 }
18}
19
20// StandardMappings is a list of standard mappings for Go types to Typescript types.
21func StandardMappings() map[string]guts.TypeOverride {

Callers 1

StandardMappingsFunction · 0.85

Calls 1

UnionFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…