MCPcopy Create free account
hub / github.com/arktypeio/arktype / typeParameters

Method typeParameters

ark/aot/declareNative.ts:275–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273
274 // as a reference's target
275 get typeParameters() {
276 return this.memo("typeParameters", () => {
277 const parameters = (this.raw as tsgo.InterfaceType).getTypeParameters()
278 return parameters.length ?
279 parameters.map(t => this.views.type(t))
280 : undefined
281 })
282 }
283
284 get outerTypeParameters() {
285 return this.memo("outerTypeParameters", () => {

Callers

nothing calls this directly

Calls 3

memoMethod · 0.95
mapMethod · 0.65
typeMethod · 0.45

Tested by

no test coverage detected