We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7638437 commit 7f60e7fCopy full SHA for 7f60e7f
src/map.ts
@@ -1,7 +1,7 @@
1
import type { ComponentTokens } from './types';
2
import { isObject, isObjectWithValue } from './utils';
3
4
-export const get = <T extends string>(tokens: ComponentTokens, path: T) => {
+export const get = (tokens: ComponentTokens, path: string) => {
5
const parts = path.split('.');
6
let current = tokens;
7
0 commit comments