• Type Parameters

    • T

    Parameters

    • text: string
    • Optionalmappings: {
          importMap?: Record<string, unknown>;
          optionalImportEntrypoints?: string[];
          optionalImportsMap?: OptionalImportMap;
          secretsMap?: SecretMap;
      }
      • OptionalimportMap?: Record<string, unknown>
      • OptionaloptionalImportEntrypoints?: string[]
      • OptionaloptionalImportsMap?: OptionalImportMap
      • OptionalsecretsMap?: SecretMap

    Returns Promise<T>