mirror of
https://github.com/bendtherules/completion-viz.git
synced 2026-08-18 13:42:51 +00:00
Add basic CompletionViewer
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { Token } from "../types/prism-types";
|
||||
|
||||
interface TMappingELement {
|
||||
export interface TMappingELement {
|
||||
start: number;
|
||||
end: number;
|
||||
ref: { current: HTMLElement | null };
|
||||
}
|
||||
|
||||
interface TSourceMapping {
|
||||
export interface TSourceMapping {
|
||||
mappingArray: Array<TMappingELement>;
|
||||
lastEnd: number;
|
||||
registerToken(t: Token): (ele: HTMLElement | null) => void;
|
||||
|
||||
Reference in New Issue
Block a user