From 7f60e7f9f1c3635ab6eca8cf0ea5beed1cc7f1c3 Mon Sep 17 00:00:00 2001 From: jonambas Date: Sat, 6 Apr 2024 00:08:50 -0400 Subject: [PATCH] chore: remove a generic --- src/map.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map.ts b/src/map.ts index 39e2378..f7fda8d 100644 --- a/src/map.ts +++ b/src/map.ts @@ -1,7 +1,7 @@ import type { ComponentTokens } from './types'; import { isObject, isObjectWithValue } from './utils'; -export const get = (tokens: ComponentTokens, path: T) => { +export const get = (tokens: ComponentTokens, path: string) => { const parts = path.split('.'); let current = tokens;