add types to react-linkify

This commit is contained in:
Przemek Więch
2026-05-11 23:30:56 +02:00
parent 59a88675a6
commit 05da5a5019
3 changed files with 11 additions and 3 deletions

10
package-lock.json generated
View File

@@ -9,6 +9,7 @@
"version": "1.0.0",
"dependencies": {
"@artsy/fresnel": "^6.2.1",
"@types/react-linkify": "^1.0.4",
"array.prototype.flatmap": "^1.2.4",
"buffer": "^6.0.3",
"canvas-toBlob": "^1.0.0",
@@ -1901,6 +1902,15 @@
"@types/react": "^18.0.0"
}
},
"node_modules/@types/react-linkify": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/@types/react-linkify/-/react-linkify-1.0.4.tgz",
"integrity": "sha512-NOMw4X3kjvjY0lT5kXQdxZCXpPNi2hOuuqG+Kz+5EOQpi9rDUJJDitdE1j2JRNmrTnNIjrLnYG0HKyuOWN/uKA==",
"license": "MIT",
"dependencies": {
"@types/react": "*"
}
},
"node_modules/@types/semver": {
"version": "7.7.1",
"dev": true,

View File

@@ -4,6 +4,7 @@
"main": "src/index.tsx",
"dependencies": {
"@artsy/fresnel": "^6.2.1",
"@types/react-linkify": "^1.0.4",
"array.prototype.flatmap": "^1.2.4",
"buffer": "^6.0.3",
"canvas-toBlob": "^1.0.0",

View File

@@ -1,3 +0,0 @@
declare module 'react-linkify' {
export default class Linkify extends React.Component<any, any> {}
}