Skip to content

Commit 646b826

Browse files
committed
fix: doc api url path
1 parent b074a7f commit 646b826

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import type { Heading, Root } from '@types/mdast';
1+
import type { Heading, Root } from 'mdast';
22
import type { Program } from 'acorn';
33
import type { SemVer } from 'semver';
44
import type { Data, Node, Parent, Position } from 'unist';
55

66
// Unist Node with typed Data, which allows better type inference
7-
interface NodeWithData<T extends Node, J extends Data> extends T {
7+
type NodeWithData<T extends Node, J extends Data> = T & {
88
data: J;
9-
}
9+
};
1010

1111
declare global {
1212
export interface StabilityIndexMetadataEntry {

0 commit comments

Comments
 (0)