Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#68096 [react-addons-linked-state-mixin] Us…
Browse files Browse the repository at this point in the history
…e `Mixin` from `create-react-class` by @eps1lon

* [react-addons-linked-state-mixin] Use `Mixin` from `create-react-class`

* Fix module augmentation
  • Loading branch information
eps1lon authored Jan 9, 2024
1 parent 39cc580 commit 302c7f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion types/react-addons-linked-state-mixin/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Mixin } from "react";
import { Mixin } from "create-react-class";

declare var LinkedStateMixin: LinkedStateMixin.LinkedStateMixin;
type LinkedStateMixin = LinkedStateMixin.LinkedStateMixin;
Expand Down
4 changes: 2 additions & 2 deletions types/react-addons-linked-state-mixin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"http://facebook.github.io/react/"
],
"dependencies": {
"@types/react": "*"
"@types/react": "*",
"@types/create-react-class": "*"
},
"devDependencies": {
"@types/create-react-class": "*",
"@types/react-dom-factories": "*",
"@types/react-addons-linked-state-mixin": "workspace:."
},
Expand Down

0 comments on commit 302c7f2

Please sign in to comment.