UNPKG

@actinc/dls

Version:

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

27 lines 766 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. * * @prettier */ /** * Helper which validates against the options interface without changing the actual value type. */ export var typeOk = function () { return function (val) { return val; }; }; /** * Helper which accesses an object's keys in a type safe way instead of returning a string[] */ export var typedKeys = function (value) { return Object.keys(value); }; // eslint-disable-next-line @typescript-eslint/explicit-function-return-type export var notImplemented = function () { throw new Error('Unimplemented'); }; //# sourceMappingURL=types.js.map