Requires N:M mapping

This mapping is unfinished: 41 of 189 nodes are still unmarked.

Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1import React, { forwardRef } from "react";
2import SvgAzLogo from "./AzLogo";
3
4export const AzIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
5 (props, ref) => {
6 return <SvgAzLogo ref={ref} {...props} />;
7 },
8);
9

After

1import type React from "react";
2import { forwardRef } from "react";
3import SvgAzLogo from "./AzLogo";
4
5export const AzIcon = forwardRef<SVGSVGElement, React.PropsWithChildren<{}>>(
6 (props, ref) => {
7 return <SvgAzLogo ref={ref} {...props} />;
8 },
9);
10

Before

program
import_statement
import "import"
import_clause
identifier "React"
, ","
named_imports
{ "{"
import_specifier
identifier "forwardRef"
} "}"
from "from"
string
" "\""
string_fragment "react"
" "\""
; ";"
import_statement
import "import"
import_clause
identifier "SvgAzLogo"
from "from"
string
" "\""
string_fragment "./AzLogo"
" "\""
; ";"
export_statement (+63 nodes collapsed)

After

program
import_statement
import "import"
type "type"
import_clause
identifier "React"
from "from"
string
" "\""
string_fragment "react"
" "\""
; ";"
import_statement
import "import"
import_clause
named_imports
{ "{"
import_specifier
identifier "forwardRef"
} "}"
from "from"
string
" "\""
string_fragment "react"
" "\""
; ";"
import_statement
import "import"
import_clause
identifier "SvgAzLogo"
from "from"
string
" "\""
string_fragment "./AzLogo"
" "\""
; ";"
export_statement (+63 nodes collapsed)