marked-code-jsx-renderer
Version:
A marked extension to render JSX code blocks using a custom renderer and components
14 lines (13 loc) • 443 B
TypeScript
import type { PluginObj } from '@babel/core';
/**
* Create a Babel plugin to remove all import declarations from code.
*/
export declare const removeImport: PluginObj;
/**
* Checks if an object is a plain JavaScript object.
*
* @param obj - The object to check.
* @returns `true` if the object is a plain JavaScript object, `false`
* otherwise.
*/
export declare function isPlainObject(obj: unknown): obj is Record<string, unknown>;