Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/prettier/vendor/index.d.ts>clearConfigCache

A modern runtime for JavaScript and TypeScript.
Go to Latest
function clearConfigCache
import { clearConfigCache } from "https://deno.land/x/deno@v0.22.0/std/prettier/vendor/index.d.ts";

As you repeatedly call resolveConfig, the file system structure will be cached for performance. This function will clear the cache. Generally this is only needed for editor integrations that know that the file system has changed since the last format took place.