Skip to main content

TypeAnalysisCache

Summary

Simple LRU cache for type analysis results

Signature

export declare class TypeAnalysisCache 

Constructors

constructor

Constructs a new instance of the class

Properties

No properties defined.

Methods

clear

Clear all cached items

createCachedFunction

Modifiers: static Create a simple cache that wraps a function

get

Get cached type analysis for a type string

getStats

Get cache statistics

set

Set type analysis in cache

Events

No events defined.