@lexical/code 0.3.10 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,9 @@ export declare function normalizeCodeLang(lang: string): string;
29
29
  export declare function getLanguageFriendlyName(lang: string): string;
30
30
  export declare const getDefaultCodeLanguage: () => string;
31
31
  export declare const getCodeLanguages: () => Array<string>;
32
+ /** @noInheritDoc */
32
33
  export declare class CodeHighlightNode extends TextNode {
34
+ /** @internal */
33
35
  __highlightType: string | null | undefined;
34
36
  constructor(text: string, highlightType?: string | null | undefined, key?: NodeKey);
35
37
  static getType(): string;
package/CodeNode.d.ts CHANGED
@@ -24,7 +24,9 @@ declare type SerializedCodeNode = Spread<{
24
24
  type: 'code';
25
25
  version: 1;
26
26
  }, SerializedElementNode>;
27
+ /** @noInheritDoc */
27
28
  export declare class CodeNode extends ElementNode {
29
+ /** @internal */
28
30
  __language: string | null | undefined;
29
31
  static getType(): string;
30
32
  static clone(node: CodeNode): CodeNode;