| 655 | * @hidden |
| 656 | */ |
| 657 | export interface SandpackCodeOptions { |
| 658 | /** |
| 659 | * CodeMirror extensions for the editor state, which can |
| 660 | * provide extra features and functionalities to the editor component. |
| 661 | */ |
| 662 | extensions?: CodeEditorProps["extensions"]; |
| 663 | /** |
| 664 | * Property to register CodeMirror extension keymap. |
| 665 | */ |
| 666 | extensionsKeymap?: CodeEditorProps["extensionsKeymap"]; |
| 667 | /** |
| 668 | * Provides a way to add custom language modes by supplying a language |
| 669 | * type, applicable file extensions, and a LanguageSupport instance |
| 670 | * for that syntax mode |
| 671 | */ |
| 672 | additionalLanguages?: CodeEditorProps["additionalLanguages"]; |
| 673 | } |
| 674 | |
| 675 | export type DeepPartial<Type> = { |
| 676 | [Property in keyof Type]?: DeepPartial<Type[Property]>; |
nothing calls this directly
no outgoing calls
no test coverage detected