UNPKG

@vis.gl/react-google-maps

Version:

React components and hooks for the Google Maps JavaScript API

9 lines (8 loc) 297 B
/** * A typescript assertion function used in cases where typescript has to be * convinced that the object in question can not be null. * * @param value * @param message */ export declare function assertNotNull<TValue>(value: TValue, message?: string): asserts value is NonNullable<TValue>;