Skip to content

Commit 7f60e7f

Browse files
committed
chore: remove a generic
1 parent 7638437 commit 7f60e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { ComponentTokens } from './types';
22
import { isObject, isObjectWithValue } from './utils';
33

4-
export const get = <T extends string>(tokens: ComponentTokens, path: T) => {
4+
export const get = (tokens: ComponentTokens, path: string) => {
55
const parts = path.split('.');
66
let current = tokens;
77

0 commit comments

Comments
 (0)