Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 30, 2025
1 parent 8386ba8 commit 57a0eb3
Show file tree
Hide file tree
Showing 5 changed files with 569 additions and 586 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/constructors/bundle-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export function makeSingletonHighlighter<L extends string, T extends string>(
return getSingletonHighlighter
}

export function createSingletonShorthands<L extends string, T extends string >(
export function createSingletonShorthands<L extends string, T extends string>(
createHighlighter: CreateHighlighterFactory<L, T>,
): ShorthandsBundle<L, T> {
const getSingletonHighlighter = makeSingletonHighlighter(createHighlighter)
Expand Down
3 changes: 2 additions & 1 deletion packages/transformers/src/shared/notation-transformer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { ShikiTransformer, ShikiTransformerContext } from '@shikijs/core'
import type { Element, Text } from 'hast'
import type { ParsedComments } from './parse-comments'
import { warnDeprecated } from '@shikijs/core'
import { parseComments, type ParsedComments, v1ClearEndCommentPrefix } from './parse-comments'
import { parseComments, v1ClearEndCommentPrefix } from './parse-comments'

export type MatchAlgorithm = 'v1' | 'v3'

Expand Down
3 changes: 2 additions & 1 deletion packages/twoslash/test/includes.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { type CodeToHastOptions, codeToHtml } from 'shiki'
import type { CodeToHastOptions } from 'shiki'
import { codeToHtml } from 'shiki'
import { expect, it } from 'vitest'
import { rendererRich, transformerTwoslash } from '../src'
import { TwoslashIncludesManager } from '../src/includes'
Expand Down
Loading

0 comments on commit 57a0eb3

Please sign in to comment.