timezonecomplete
Version:
DateTime, TimeZone, Duration and Period library aimed at providing a consistent and complete date-time interface, away from the original JavaScript Date class.
14 lines (13 loc) • 456 B
TypeScript
/**
* Copyright(c) 2016 ABB Switzerland Ltd.
*/
/**
* Throws an Assertion error if the given condition is falsy
* @param condition
* @param name error name
* @param format error message with percent-style placeholders
* @param args arguments for error message format string
* @throws [name] if `condition` is falsy
*/
declare function assert(condition: any, name: string, format: string, ...args: any[]): asserts condition;
export default assert;