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
Go to Latest
method KeyValueCache.prototype.getOrCreate
import { KeyValueCache } from "https://deno.land/x/ts_morph@15.1.0/common/ts_morph_common.d.ts";

Type Parameters

optional
TCreate extends U = U

Parameters

key: T
createFunc: () => TCreate