Skip to main content
Module

x/ts_morph/common/ts_morph_common.d.ts>KeyValueCache#getOrCreate

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method KeyValueCache.prototype.getOrCreate
import { KeyValueCache } from "https://deno.land/x/ts_morph@22.0.0/common/ts_morph_common.d.ts";

Type Parameters

optional
TCreate extends U = U

Parameters

key: T
createFunc: () => TCreate