removed all implicit any
This commit is contained in:
parent
08a8d5b030
commit
3fb53fc4f4
18 changed files with 192 additions and 52 deletions
|
@ -6,7 +6,10 @@
|
|||
import { css } from "styled-components"
|
||||
|
||||
// not declared in the export object so the export object can refer to it
|
||||
function theme(currentTheme, values) {
|
||||
function theme(
|
||||
currentTheme: string,
|
||||
values: { [key: string]: string | number }
|
||||
) {
|
||||
return values[currentTheme]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue