Add custom type definition for link-text
This commit is contained in:
6
ts/@types/link-text/index.d.ts
vendored
Normal file
6
ts/@types/link-text/index.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
declare module 'link-text' {
|
||||||
|
type Attributes = {
|
||||||
|
[key: string]: string;
|
||||||
|
}
|
||||||
|
export default function (value: string, attributes: Attributes): string
|
||||||
|
}
|
Reference in New Issue
Block a user