StringOptions<sync>
String Options<sync extends "sync" | "async">: StringOptionsWithImporter<sync> | StringOptionsWithoutImporter<sync>
Type Parameters
-
sync extends "sync" | "async"
This lets the TypeScript checker verify that asynchronous Importers, FileImporters, and CustomFunctions aren't passed to compile or compileString.
Options that can be passed to compileString or compileStringAsync.
This is a StringOptionsWithImporter if it has a importer field, and a StringOptionsWithoutImporter otherwise.