UNPKG

@actinc/dls

Version:

Design Language System (DLS) for ACT & Encoura front-end projects.

16 lines 617 B
/** * Copyright (c) ACT, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * Helper which validates against the options interface without changing the actual value type. */ export declare const typeOk: <T>() => <V extends T>(val: V) => V; /** * Helper which accesses an object's keys in a type safe way instead of returning a string[] */ export declare const typedKeys: <T extends object>(value: T) => (keyof T)[]; export declare const notImplemented: () => never; //# sourceMappingURL=types.d.ts.map