Skip to content

Commit afd86b5

Browse files
Add types for TypeScript
1 parent b01a5cd commit afd86b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

snarkdown.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
declare module "snarkdown" {
2+
interface Links {
3+
[index: string]: string;
4+
}
5+
export default function (urlStr: string, prevLinks?: Links): string;
6+
}

0 commit comments

Comments
 (0)