PlatformFunctions is an open interface that serves as a registry of platform
function signatures. It is empty by default and can be extended in two ways:
At build time — run ptkl generate-types to fetch your project's
functions and emit a .d.ts file with a module augmentation block:
PlatformFunctions is an open interface that serves as a registry of platform function signatures. It is empty by default and can be extended in two ways:
At build time — run
ptkl generate-typesto fetch your project's functions and emit a.d.tsfile with a module augmentation block:At runtime in Monaco editors — the editor auto-patches the interface from your project's live function signatures.