removed all implicit any

This commit is contained in:
Kim, Jimin 2021-08-16 23:19:11 +09:00
parent 08a8d5b030
commit 3fb53fc4f4
18 changed files with 192 additions and 52 deletions

View file

@ -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]
}