Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@19.0.0/common/ts_morph_common.d.ts";

Type Parameters

optional
TCreate extends U = U

Parameters

key: T
createFunc: () => TCreate