Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix: remove unused types for styled components
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschall committed May 10, 2023
1 parent 76cdd6a commit a73a472
Show file tree
Hide file tree
Showing 3 changed files with 1,238 additions and 1,067 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
"dependencies": {
"npm": "^9.2.0"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"volta": {
"node": "16.17.1"
}
}
9 changes: 0 additions & 9 deletions types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,3 @@ declare module 'react' {
tw?: string;
}
}

// The 'as' prop on styled components
declare global {
namespace JSX {
interface IntrinsicAttributes<T> extends DOMAttributes<T> {
as?: string;
}
}
}
Loading

0 comments on commit a73a472

Please sign in to comment.