Skip to content

Commit

Permalink
chore: run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Apr 29, 2024
1 parent 1828e6c commit 1bda5bf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/myst-toc/src/guards.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import type { Entry, FileEntry, URLEntry, PatternEntry } from './types.js';


export function isFile(entry: Entry): entry is FileEntry {
return (entry as any).file !== undefined;
}


export function isURL(entry: Entry): entry is URLEntry {
return (entry as any).url !== undefined;
}


export function isPattern(entry: Entry): entry is PatternEntry {
return (entry as any).pattern !== undefined;
}

0 comments on commit 1bda5bf

Please sign in to comment.