Add custom type definition for `link-text`
parent
6f8dee402d
commit
f38370f40e
@ -0,0 +1,6 @@
|
|||||||
|
declare module 'link-text' {
|
||||||
|
type Attributes = {
|
||||||
|
[key: string]: string;
|
||||||
|
}
|
||||||
|
export default function (value: string, attributes: Attributes): string
|
||||||
|
}
|
Loading…
Reference in New Issue