mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 03:09:39 -06:00
9 lines
280 B
TypeScript
9 lines
280 B
TypeScript
// This file is a shim which defers loading the real module until the compile cache is enabled.
|
|
try {
|
|
const { enableCompileCache } = require("node:module");
|
|
if (enableCompileCache) {
|
|
enableCompileCache();
|
|
}
|
|
} catch {}
|
|
module.exports = require("./_typingsInstaller.js");
|