@revideo/2d / code / CodeDiffer
Type Alias: CodeDiffer
CodeDiffer = (
from,to,tokenize) =>CodeTag[]
Defined in: 2d/src/lib/code/CodeDiffer.ts:10
A function that compares two code snippets and returns a list of CodeTags describing a transition between them.
Parameters
from
to
tokenize
Returns
CodeTag[]