Skip to content

Commit 3e286e0

Browse files
chore: tweaks
1 parent c841bbe commit 3e286e0

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@ transform(readFileSync('README.md', {
5454
}));
5555
```
5656

57+
## Author
58+
[GitHub (Technote)](https://github.com/technote-space)
59+
[Blog](https://technote.space)

src/types.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ export type TransformOptions = Partial<{
1818
customTemplate: string;
1919
itemTemplate: string;
2020
separator: string;
21-
}>
21+
}>;
2222

2323
export type FileInfo = {
2424
stat: Stats,
2525
name: string;
2626
path: string;
27-
}
27+
};
2828

2929
export type FileAndDirs = {
3030
directories: Array<FileInfo>;
@@ -34,7 +34,7 @@ export type FileAndDirs = {
3434
export type HeaderData = {
3535
text: Array<string>;
3636
tag: string;
37-
}
37+
};
3838

3939
export type Header = {
4040
line: number;
@@ -44,24 +44,24 @@ export type Header = {
4444

4545
export type HeaderWithRepetition = Header & {
4646
repetition: number;
47-
}
47+
};
4848

4949
export type HeaderWithAnchor = HeaderWithRepetition & {
5050
anchor: string;
5151
hash: string;
52-
}
52+
};
5353

5454
export type SectionInfo = {
5555
hasStart: boolean;
5656
hasEnd: boolean;
5757
startIdx: number;
5858
endIdx: number;
59-
}
59+
};
6060

6161
export type TransformResult = {
6262
transformed: boolean;
6363
data: string;
6464
toc: string;
6565
wrappedToc: string;
6666
reason: string;
67-
}
67+
};

0 commit comments

Comments
 (0)