Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@truesparrow/common-js / dev-only.d.ts
Size: Mime:
import { Env } from './env';
/**
 * An annotation for methods which should only be called in a dev-context,
 * as identified by {@link isForDevelopment}.
 * @note Assumes that the environment is some static application-level configuration, such as
 *     a constant read from a config file or from the environment.
 * @param env - the current environment the system is running in.
 */
export declare function devOnly(env: Env): (_target: any, _propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;