Add custom type definition for link-text

This commit is contained in:
Daniel Gasienica 2018-04-10 12:58:31 -04:00
parent 6f8dee402d
commit f38370f40e

6
ts/@types/link-text/index.d.ts vendored Normal file
View file

@ -0,0 +1,6 @@
declare module 'link-text' {
type Attributes = {
[key: string]: string;
}
export default function (value: string, attributes: Attributes): string
}