Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// This file exists only so that we can run the TypeScript compiler in the CI build
// to validate our typings.d.ts file. The code will not actually be run.
import * as ld from 'launchdarkly-js-client-sdk';
var ver: string = ld.version;
var emptyOptions: ld.LDOptions = {};
var logger: ld.LDLogger = ld.createConsoleLogger("info");
var allOptions: ld.LDOptions = {
bootstrap: { },
hash: '',
baseUrl: '',
eventsUrl: '',
streamUrl: '',
streaming: true,
useReport: true,
sendLDHeaders: true,
evaluationReasons: true,
fetchGoals: true,
sendEvents: true,
allAttributesPrivate: true,
privateAttributeNames: [ 'x' ],
allowFrequentDuplicateEvents: true,
sendEventsOnlyForVariation: true,