Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mint-tsdocs.saulo.engineer/llms.txt

Use this file to discover all available pages before exploring further.

createCachedFunction

Summary

Create a simple cache that wraps a function

Signature

static createCachedFunction<T extends (...args: any[]) => TypeAnalysis>(fn: T, options?: TypeAnalysisCacheOptions): T;

Parameters

fn

Type:T

options

Type:TypeAnalysisCacheOptions Optional: Yes

Returns

Type:T Create a simple cache that wraps a function