Skip to content

Commit

Permalink
Merge pull request #5 from cm-ayf/fix-types
Browse files Browse the repository at this point in the history
fix types of transform
  • Loading branch information
cm-ayf authored Jan 20, 2024
2 parents 36f18a4 + 23dd35a commit eeab6e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/transform/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ import type {Root} from 'mdast';
import {visit} from 'unist-util-visit';
import {ok as assert} from 'devlop';
import {remove} from 'unist-util-remove';
import type {Transform} from 'mdast-util-from-markdown';
import type {Options} from '../index.js';
import Definitions from './definitions.js';
import assignAttributes from './assign-attributes.js';
import {createFindTarget} from './find-target.js';

export function createTransform(options?: Options): Transform {
export function createTransform(options?: Options) {
const findTarget = createFindTarget(options);
return transform;

Expand Down

0 comments on commit eeab6e2

Please sign in to comment.