Add custom type definition for link-text
This commit is contained in:
parent
6f8dee402d
commit
f38370f40e
1 changed files with 6 additions and 0 deletions
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
|
||||
}
|
Loading…
Reference in a new issue