Skip to content

Commit

Permalink
fix(ts): small typo in types
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel authored and otakustay committed Mar 24, 2023
1 parent 4b5cd22 commit 158dc93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tokenize/toTokenTrees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {Side} from '../interface';
import {computeOldLineNumber, computeNewLineNumber, ChangeData, HunkData, isDelete, isInsert, isNormal} from '../utils';
import {Pair, TokenNode} from './interface';

interface Refactor {
interface Refractor {
highlight: typeof highlight;
}

Expand Down Expand Up @@ -96,7 +96,7 @@ export interface ToTokenTreeOptionsNoHighlight {

export interface ToTokenTreeOptionsHighlight {
highlight: true;
refractor: Refactor;
refractor: Refractor;
oldSource?: string;
language: string;
}
Expand Down

0 comments on commit 158dc93

Please sign in to comment.