Skip to content

Commit

Permalink
Add back template
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Sep 13, 2023
1 parent 0802e18 commit cf0ecd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import replacements from './replacements.js'

export type { AstroData, AstroText } from './nodes.js'

export function mdastAstro(tree: Nodes) {
export function mdastAstro<T extends Nodes>(tree: T) {
findAndReplace(tree, replacements)
return tree
}
Expand Down

0 comments on commit cf0ecd1

Please sign in to comment.