aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/utils/utils.ts
blob: 8e1a80a4453cd5d3818a2e2eb641302a62259c9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
export const utils = {
    consoleLog(message: string) {
        /* tslint:disable */
        console.log(message);
        /* tslint:enable */
    },
    spawnSwitchErr(name: string, value: any) {
        return new Error(`Unexpected switch value: ${value} encountered for ${name}`);
    },
};