aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/utils/utils.ts
blob: f8c1fefff09e89747d596b1f0af2018ebbaf2aec (plain) (blame)
1
2
3
4
5
export const utils = {
    spawnSwitchErr(name: string, value: any) {
        return new Error(`Unexpected switch value: ${value} encountered for ${name}`);
    },
};