diff --git a/angular/legacy/angular-resource-1.2.d.ts b/angular/legacy/angular-resource-1.2.d.ts index 5ab5ac1c71..f6c7bc67e6 100644 --- a/angular/legacy/angular-resource-1.2.d.ts +++ b/angular/legacy/angular-resource-1.2.d.ts @@ -122,7 +122,7 @@ declare namespace ng.resource { /** * Really just a regular Array object with $promise and $resolve attached to it */ - interface IResourceArray extends T[] { + interface IResourceArray extends Array { /** the promise of the original server interaction that created this collection. **/ $promise: ng.IPromise>; $resolved: boolean; @@ -144,7 +144,7 @@ declare namespace ng { } } -interface T[] { +interface Array { /** the promise of the original server interaction that created this collection. **/ $promise: ng.IPromise; $resolved: boolean; diff --git a/anybar/index.d.ts b/anybar/index.d.ts index 4972f29756..ac09e8372c 100644 --- a/anybar/index.d.ts +++ b/anybar/index.d.ts @@ -5,6 +5,6 @@ declare namespace anybar { } -declare function anybar(color: string, options?: { port: number }): void +declare function anybar(color: string, options?: { port: number }): void; -export = anybar +export = anybar; diff --git a/asn1js/index.d.ts b/asn1js/index.d.ts index 7eced899b2..61a5fd6b9e 100644 --- a/asn1js/index.d.ts +++ b/asn1js/index.d.ts @@ -33,18 +33,18 @@ declare namespace Asn1js { constructor(params?: LocalBaseBlockParams); /** * Aux function, need to get a block name. Need to have it here for inhiritence - * + * * @static * @returns {string} - * + * * @memberOf LocalBaseBlock */ static blockName(): string; /** * Convertion for the block to JSON object - * + * * @returns {JsonLocalBaseBlock} - * + * * @memberOf LocalBaseBlock */ toJSON(): JsonLocalBaseBlock; @@ -60,21 +60,21 @@ declare namespace Asn1js { valueHex: ArrayBuffer; /** * Base function for converting block from BER encoded array of bytes - * + * * @param {ArrayBuffer} inputBuffer ASN.1 BER encoded array * @param {number} inputOffset Offset in ASN.1 BER encoded array where decoding should be started * @param {number} inputLength Maximum length of array of bytes which can be using in this function * @returns {number} Offset after least decoded byte - * + * * @memberOf LocalHexBlockMixin */ fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; /** * Encoding of current ASN.1 block into ASN.1 encoded array (BER rules) - * + * * @param {boolean} [sizeOnly=false] Flag that we need only a size of encoding, not a real array of bytes * @returns {ArrayBuffer} - * + * * @memberOf LocalHexBlockMixin */ toBER(sizeOnly?: boolean): ArrayBuffer; @@ -91,30 +91,30 @@ declare namespace Asn1js { constructor(params: any); /** * Aux function, need to get a block name. Need to have it here for inhiritence - * + * * @static * @returns {string} - * + * * @memberOf LocalHexBlockMixin */ static blockName(): string; /** * Base function for converting block from BER encoded array of bytes - * + * * @param {ArrayBuffer} inputBuffer ASN.1 BER encoded array * @param {number} inputOffset Offset in ASN.1 BER encoded array where decoding should be started * @param {number} inputLength Maximum length of array of bytes which can be using in this function * @returns {number} Offset after least decoded byte - * + * * @memberOf LocalHexBlockMixin */ fromBER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number): number; /** * Encoding of current ASN.1 block into ASN.1 encoded array (BER rules) - * + * * @param {boolean} [sizeOnly=false] Flag that we need only a size of encoding, not a real array of bytes * @returns {ArrayBuffer} - * + * * @memberOf LocalHexBlockMixin */ toBER(sizeOnly?: boolean): ArrayBuffer; @@ -152,7 +152,7 @@ declare namespace Asn1js { isIndefiniteForm?: boolean; longFormUsed?: boolean; length: number; - } + }; } class LocalLengthBlock extends LocalBaseBlock { @@ -257,10 +257,10 @@ declare namespace Asn1js { constructor(params?: LocalOctetStringValueBlockParams); /** * Checking that two OCTETSTRINGs are equal - * + * * @param {OctetString} octetString * @returns {boolean} - * + * * @memberOf OctetString */ isEqual(octetString: OctetString): boolean; @@ -302,7 +302,7 @@ declare namespace Asn1js { toBER(sizeOnly?: boolean): ArrayBuffer; /** * Base function for converting block from DER encoded array of bytes - * + * * @param {ArrayBuffer} inputBuffer ASN.1 DER encoded array * @param {number} inputOffset Offset in ASN.1 DER encoded array where decoding should be started * @param {number} inputLength Maximum length of array of bytes which can be using in this function @@ -312,7 +312,7 @@ declare namespace Asn1js { fromDER(inputBuffer: ArrayBuffer, inputOffset: number, inputLength: number, expectedLength?: number): number; /** * Encoding of current ASN.1 block into ASN.1 encoded array (DER rules) - * + * * @param {boolean} [sizeOnly=false] Flag that we need only a size of encoding, not a real array of bytes * @returns {ArrayBuffer} */ @@ -326,16 +326,16 @@ declare namespace Asn1js { constructor(params?: IntegerParams) /** * Compare two Integer object, or Integer and ArrayBuffer objects - * + * * @param {(Integer | ArrayBuffer)} otherValue * @returns {boolean} - * + * * @memberOf Integer */ isEqual(otherValue: Integer | ArrayBuffer): boolean; /** * Convert current Integer value from BER into DER format - * + * * @returns {Integer} */ convertToDER(): Integer; @@ -373,16 +373,16 @@ declare namespace Asn1js { /** * Create "LocalObjectIdentifierValueBlock" class from string - * + * * @param {string} string Input string to convert from * @returns {boolean} */ fromString(data: string): boolean; /** * Converts "LocalObjectIdentifierValueBlock" class to string - * + * * @returns {string} - * + * * @memberOf LocalObjectIdentifierValueBlock */ toString(): string; @@ -412,17 +412,17 @@ declare namespace Asn1js { constructor(params?: Utf8StringParams); /** * Function converting ArrayBuffer into ASN.1 internal string - * + * * @param {ArrayBuffer} inputBuffer ASN.1 BER encoded array - * + * * @memberOf Utf8String */ fromBuffer(inputBuffer: ArrayBuffer): void; /** * Function converting JavaScript string into ASN.1 internal class - * + * * @param {string} inputString ASN.1 BER encoded array - * + * * @memberOf Utf8String */ fromString(inputString: string): void; @@ -450,17 +450,17 @@ declare namespace Asn1js { constructor(params?: BmpStringParams); /** * Function converting ArrayBuffer into ASN.1 internal string - * + * * @param {ArrayBuffer} inputBuffer ASN.1 BER encoded array - * + * * @memberOf BmpString */ fromBuffer(inputBuffer: ArrayBuffer): void; /** * Function converting JavaScript string into ASN.1 internal class - * + * * @param {string} inputString ASN.1 BER encoded array - * + * * @memberOf BmpString */ fromString(inputString: string): void; @@ -488,17 +488,17 @@ declare namespace Asn1js { constructor(params?: UniversalStringParams); /** * Function converting ArrayBuffer into ASN.1 internal string - * + * * @param {ArrayBuffer} inputBuffer ASN.1 BER encoded array - * + * * @memberOf UniversalString */ fromBuffer(inputBuffer: ArrayBuffer): void; /** * Function converting JavaScript string into ASN.1 internal class - * + * * @param {string} inputString ASN.1 BER encoded array - * + * * @memberOf UniversalString */ fromString(inputString: string): void; @@ -524,17 +524,17 @@ declare namespace Asn1js { constructor(params?: LocalSimpleStringBlockParams); /** * Function converting ArrayBuffer into ASN.1 internal string - * + * * @param {ArrayBuffer} inputBuffer ASN.1 BER encoded array - * + * * @memberOf LocalSimpleStringBlock */ fromBuffer(inputBuffer: ArrayBuffer): void; /** * Function converting JavaScript string into ASN.1 internal class - * + * * @param {string} inputString ASN.1 BER encoded array - * + * * @memberOf LocalSimpleStringBlock */ fromString(inputString: string): void; @@ -565,25 +565,25 @@ declare namespace Asn1js { constructor(params?: UTCTimeParams); /** * Function converting ASN.1 internal string into ArrayBuffer - * + * * @returns {ArrayBuffer} - * + * * @memberOf UTCTime */ toBuffer(): ArrayBuffer; /** * Function converting "Date" object into ASN.1 internal string - * + * * @param {Date} inputDate JavaScript "Date" object - * + * * @memberOf UTCTime */ fromDate(inputDate: Date): void; /** * Function converting ASN.1 internal string into "Date" object - * + * * @returns {Date} - * + * * @memberOf UTCTime */ toDate(): Date; @@ -647,7 +647,7 @@ declare namespace Asn1js { /** * Major function for decoding ASN.1 BER array into internal library structuries - * + * * @param {ArrayBuffer} inputBuffer ASN.1 BER encoded array of bytes * @returns {{ offset: number; result: LocalBaseBlock }} */ @@ -655,7 +655,7 @@ declare namespace Asn1js { /** * Compare of two ASN.1 object trees - * + * * @param {*} root Root of input ASN.1 object tree * @param {*} inputData Input ASN.1 object tree * @param {*} inputSchema Input ASN.1 schema to compare with @@ -665,7 +665,7 @@ declare namespace Asn1js { /** * ASN.1 schema verification for ArrayBuffer data - * + * * @param {ArrayBuffer} inputBuffer Input BER-encoded ASN.1 data * @param {*} inputSchema Input ASN.1 schema to verify against to * @returns {{ verified: boolean, result?: any }} diff --git a/chart.js/index.d.ts b/chart.js/index.d.ts index e9186035c7..7816e58cb2 100644 --- a/chart.js/index.d.ts +++ b/chart.js/index.d.ts @@ -408,5 +408,5 @@ declare class Chart { defaults: { global: ChartOptions; - } + }; } diff --git a/d3-voronoi/index.d.ts b/d3-voronoi/index.d.ts index 0fd1ef45d8..25393e9ec1 100644 --- a/d3-voronoi/index.d.ts +++ b/d3-voronoi/index.d.ts @@ -276,7 +276,7 @@ export interface VoronoiDiagram { * @param y y-coordinate * @param radius Optional parameter for search radius around [x, y] */ - find(x: number, y:number, radius?:number): VoronoiSite | null; + find(x: number, y: number, radius?: number): VoronoiSite | null; } // -------------------------------------------------------------------------- diff --git a/d3/d3-v3.5.d.ts b/d3/d3-v3.5.d.ts index d8469d68a3..5d47243790 100644 --- a/d3/d3-v3.5.d.ts +++ b/d3/d3-v3.5.d.ts @@ -1128,12 +1128,12 @@ declare namespace d3 { export function bisector(accessor: (x: T) => U): { left: (array: T[], x: U, lo?: number, hi?: number) => number; right: (array: T[], x: U, lo?: number, hi?: number) => number; - } + }; export function bisector(comparator: (a: T, b: U) => number): { left: (array: T[], x: U, lo?: number, hi?: number) => number; right: (array: T[], x: U, lo?: number, hi?: number) => number; - } + }; export function shuffle(array: T[], lo?: number, hi?: number): T[]; @@ -1354,7 +1354,7 @@ declare namespace d3 { export function nest(): Nest; - export module random { + export namespace random { export function normal(mean?: number, deviation?: number): () => number; export function logNormal(mean?: number, deviation?: number): () => number; export function bates(count: number): () => number; @@ -1449,7 +1449,7 @@ declare namespace d3 { (l: number, a: number, b: number): Lab; (color: string): Lab; - } + }; interface Lab extends Color { l: number; @@ -1472,7 +1472,7 @@ declare namespace d3 { rgb(): Rgb; } - export module ns { + export namespace ns { interface Qualified { space: string; local: string; @@ -1495,7 +1495,7 @@ declare namespace d3 { [event: string]: (...args: any[]) => void; } - export module scale { + export namespace scale { export function identity(): Identity; interface Identity { @@ -1679,7 +1679,7 @@ declare namespace d3 { export function category20(): Ordinal; export function category20b(): Ordinal; export function category20b(): Ordinal; - export function category20c(): Ordinal; + export function category20c(): Ordinal; export function category20c(): Ordinal; interface Ordinal { @@ -1745,7 +1745,7 @@ declare namespace d3 { export var interpolators: Array<(a: any, b: any) => (t: number) => any>; - export module time { + export namespace time { export var second: Interval; export var minute: Interval; export var hour: Interval; @@ -1786,7 +1786,7 @@ declare namespace d3 { range(start: Date, stop: Date, step?: number): Date[]; offset(date: Date, step: number): Date; - } + }; } export function seconds(start: Date, stop: Date, step?: number): Date[]; @@ -1815,7 +1815,7 @@ declare namespace d3 { export function format(specifier: string): Format; - export module format { + export namespace format { export function multi(formats: Array<[string, (d: Date) => boolean|number]>): Format; export function utc(specifier: string): Format; namespace utc { @@ -1834,7 +1834,7 @@ declare namespace d3 { export function scale(): Scale; export function scale(): Scale; - export module scale { + export namespace scale { export function utc(): Scale; export function utc(): Scale; export function utc(): Scale; @@ -1874,7 +1874,7 @@ declare namespace d3 { } } - export module behavior { + export namespace behavior { export function drag(): Drag; interface Drag { @@ -1933,7 +1933,7 @@ declare namespace d3 { } } - export module geo { + export namespace geo { export function path(): Path; interface Path { @@ -2390,7 +2390,7 @@ declare namespace d3 { outerRadius: number; startAngle: number; endAngle: number; - padAngle: number + padAngle: number; } } @@ -2459,7 +2459,7 @@ declare namespace d3 { interface Node { radius: number; startAngle: number; - endAngle: number + endAngle: number; } } @@ -2572,7 +2572,7 @@ declare namespace d3 { tickFormat(): (t: any) => string; tickFormat(format: (t: any) => string): Axis; - tickFormat(format:string): Axis; + tickFormat(format: string): Axis; } export function brush(): Brush; @@ -2758,12 +2758,12 @@ declare namespace d3 { (specifier: string): time.Format; utc(specifier: string): time.Format; multi(formats: Array<[string, (d: Date) => boolean|number]>): time.Format; - } + }; } namespace layout { export function bundle(): Bundle; - export function bundle(): Bundle + export function bundle(): Bundle; namespace bundle { interface Node { diff --git a/elasticsearch/index.d.ts b/elasticsearch/index.d.ts index 10f01a0722..da77a17d30 100644 --- a/elasticsearch/index.d.ts +++ b/elasticsearch/index.d.ts @@ -516,7 +516,7 @@ declare namespace Elasticsearch { inline: string; lang: string; } - } + }; } export interface ReindexResponse { @@ -528,7 +528,7 @@ declare namespace Elasticsearch { retries: { bulk: number; search: number; - } + }; throttled_millis: number; failures: any[]; } @@ -1046,7 +1046,7 @@ declare namespace Elasticsearch { tokenizer?: string; explain?: boolean; attributes?: NameList; - format?: "" + format?: ""; } export interface IndicesClearCacheParams extends GenericParams { @@ -1343,7 +1343,7 @@ declare namespace Elasticsearch { masterTimeout?: TimeSpan; body: { actions: IndicesUpdateAliasesParamsAction[]; - } + }; } export interface IndicesUpdateAliasesParamsAction { @@ -1359,7 +1359,7 @@ declare namespace Elasticsearch { }; remove_index?: { index: string; - } + }; } export interface IndicesUpgradeParams extends GenericParams { diff --git a/express-serve-static-core/index.d.ts b/express-serve-static-core/index.d.ts index 932b8075b1..437f84267a 100644 --- a/express-serve-static-core/index.d.ts +++ b/express-serve-static-core/index.d.ts @@ -148,7 +148,7 @@ interface IRoute { subscribe: IRouterHandler; trace: IRouterHandler; unlock: IRouterHandler; - unsubscribe: IRouterHandler + unsubscribe: IRouterHandler; } export interface Router extends IRouter { } diff --git a/flickity/index.d.ts b/flickity/index.d.ts index fef9c2a9bc..b5bccd9edc 100644 --- a/flickity/index.d.ts +++ b/flickity/index.d.ts @@ -173,7 +173,7 @@ declare class Flickity { * @param eventName name of event (@see FlickityEvents class for filckity supported events) * @param callback callback funtion to execute when event fires */ - on(eventname: string, callback: (eventt?: Event, cellElement?: Element) => any) : void; + on(eventname: string, callback: (event?: Event, cellElement?: Element) => any): void; /** * bind event listener * @param eventName name of event (@see FlickityEvents class for filckity supported events) diff --git a/fs-extra/index.d.ts b/fs-extra/index.d.ts index 4be83383fc..326fbbdc34 100644 --- a/fs-extra/index.d.ts +++ b/fs-extra/index.d.ts @@ -74,7 +74,7 @@ export declare function emptyDir(path: string, callback?: (err: Error) => void): export declare function emptyDirSync(path: string): boolean; export interface CopyFilterFunction { - (src: string): boolean + (src: string): boolean; } export type CopyFilter = CopyFilterFunction | RegExp; @@ -88,7 +88,7 @@ export interface CopyOptions { } export interface MoveOptions { - clobber? : boolean; + clobber?: boolean; limit?: number; } diff --git a/gl-matrix/index.d.ts b/gl-matrix/index.d.ts index 89f28934b8..8cb0d7bbf9 100644 --- a/gl-matrix/index.d.ts +++ b/gl-matrix/index.d.ts @@ -2552,7 +2552,7 @@ declare module 'gl-matrix' { * @returns {mat4} out */ public static perspectiveFromFieldOfView(out: mat4, - fov:{upDegrees: number, downDegrees: number, leftDegrees: number, rightDegrees: number}, + fov: {upDegrees: number, downDegrees: number, leftDegrees: number, rightDegrees: number}, near: number, far: number): mat4 /** diff --git a/graphql/index.d.ts b/graphql/index.d.ts index 14b29144eb..316cc6fead 100644 --- a/graphql/index.d.ts +++ b/graphql/index.d.ts @@ -1140,7 +1140,7 @@ declare module "graphql/type/definition" { GraphQLEnumType | GraphQLInputObjectType; - export function getNamedType(type: GraphQLType): GraphQLNamedType + export function getNamedType(type: GraphQLType): GraphQLNamedType; /** * Used while defining GraphQL types to allow for circular references in @@ -2584,7 +2584,7 @@ declare module "graphql/utilities/introspectionQuery" { interface IntrospectionQuery { - __schema: IntrospectionSchema + __schema: IntrospectionSchema; } interface IntrospectionSchema { @@ -2649,7 +2649,7 @@ declare module "graphql/utilities/introspectionQuery" { type IntrospectionTypeRef = IntrospectionNamedTypeRef | IntrospectionListTypeRef | - IntrospectionNonNullTypeRef + IntrospectionNonNullTypeRef; interface IntrospectionNamedTypeRef { kind: string; @@ -2708,7 +2708,7 @@ declare module "graphql/utilities/isValidJSValue" { function isValidJSValue( value: any, type: GraphQLInputType - ): Array + ): Array; } declare module "graphql/utilities/isValidLiteralValue" { diff --git a/hapi/index.d.ts b/hapi/index.d.ts index e37ae1b501..47c1b6f105 100644 --- a/hapi/index.d.ts +++ b/hapi/index.d.ts @@ -73,7 +73,7 @@ export interface ICatBoxCacheOptions { /** if true, allows multiple cache users to share the same segment (e.g. multiple methods using the same cache storage container). Default to false. */ shared?: boolean; } - + /** policy configuration for the "CatBox" module and server method options. */ export interface ICatBoxCachePolicyOptions { /** the cache name configured in server.cache. Defaults to the default cache. */ @@ -1909,7 +1909,7 @@ export class Server extends Events.EventEmitter { });*/ strategy(name: string, scheme: string, mode?: boolean | string, options?: any): void; strategy(name: string, scheme: string, mode?: boolean | string): void; - strategy(name: string, scheme: string, options?:any): void; + strategy(name: string, scheme: string, options?: any): void; /** server.auth.test(strategy, request, next) Tests a request against an authentication strategy where: diff --git a/highcharts/index.d.ts b/highcharts/index.d.ts index e425c0458b..b153792dc2 100644 --- a/highcharts/index.d.ts +++ b/highcharts/index.d.ts @@ -792,7 +792,7 @@ declare namespace Highcharts { * @since 2.1.5 */ y?: number; - } + }; /** * For datetime axes, this decides where to put the tick between weeks. 0 = Sunday, 1 = Monday. * @default 1 @@ -2046,7 +2046,7 @@ declare namespace Highcharts { * @since 3.0.8 */ theme?: ButtonStatesTheme; - } + }; /** * An array of series configurations for the drill down. Each series configuration uses the same syntax as the * series option set. These drilldown series are hidden by default. The drilldown series is linked to the parent @@ -4572,7 +4572,7 @@ declare namespace Highcharts { * Options for the hovered series */ hover?: BarStates; - } + }; } interface LineChart extends SeriesChart { @@ -4884,7 +4884,7 @@ declare namespace Highcharts { * Options for the hovered series */ hover?: BarStates; - } + }; } interface WaterFallChart extends BarChart { diff --git a/jqrangeslider/index.d.ts b/jqrangeslider/index.d.ts index bfdea67550..b236d88cba 100644 --- a/jqrangeslider/index.d.ts +++ b/jqrangeslider/index.d.ts @@ -32,11 +32,11 @@ interface JQRangeSliderDateSteps { } interface jQRangeSliderScale { - first?: (min:number, max:number) => number; // compute the ruler first value. - next: (value:any) => any; // compute the next value. - label?: (value:any, nextValue:any) => string; // compute displayed text for a given internal - stop?: (value:any) => boolean; // 'true' to stop scale generating ticks from a given value - format?: (tickContainer:any, tickStartValue:any, tickEndValue:any) => void; // customise the tick container DOM element (passed as jQuery object) + first?: (min: number, max: number) => number; // compute the ruler first value. + next: (value: any) => any; // compute the next value. + label?: (value: any, nextValue: any) => string; // compute displayed text for a given internal + stop?: (value: any) => boolean; // 'true' to stop scale generating ticks from a given value + format?: (tickContainer: any, tickStartValue: any, tickEndValue: any) => void; // customise the tick container DOM element (passed as jQuery object) // doco example mentions 'end' function in example but it's not supported: https://github.com/ghusse/jQRangeSlider/blob/master/jQRuler.js#L12 } @@ -80,7 +80,7 @@ interface JQuery { editRangeSlider(method: string): any; editRangeSlider(method: string, value: number): JQuery; - editRangeSlider(method: string, min: number, max: number): JQuery + editRangeSlider(method: string, min: number, max: number): JQuery; editRangeSlider(options?: JQEditRangeSliderOptions): JQuery; dateRangeSlider(method: string): any; diff --git a/jquery.fileupload/index.d.ts b/jquery.fileupload/index.d.ts index 100462aa30..ed9ae762c6 100644 --- a/jquery.fileupload/index.d.ts +++ b/jquery.fileupload/index.d.ts @@ -106,7 +106,7 @@ interface JQueryFileInputOptions { redirectParamName?: string; // The HTTP request method must be "POST" or "PUT" - type?: string, + type?: string; /** * Set the following option to the location of a postMessage window, diff --git a/js-base64/index.d.ts b/js-base64/index.d.ts index bd195e3885..1ef83d4451 100644 --- a/js-base64/index.d.ts +++ b/js-base64/index.d.ts @@ -21,7 +21,7 @@ add methods: declare module 'js-base64' { namespace JSBase64 { - const Base64: Base64Static + const Base64: Base64Static; interface Base64Static { /** * .encode @@ -35,20 +35,20 @@ declare module 'js-base64' { * @param {String} string * @return {String} */ - encodeURI(base64: string): string + encodeURI(base64: string): string; /** * .decode * @param {String} string * @return {String} */ - decode(base64: string): string + decode(base64: string): string; /** * Library version */ - VERSION:string + VERSION: string; } } - export = JSBase64 + export = JSBase64; } diff --git a/js-data-angular/index.d.ts b/js-data-angular/index.d.ts index ddc1a02e21..df21026180 100644 --- a/js-data-angular/index.d.ts +++ b/js-data-angular/index.d.ts @@ -21,7 +21,7 @@ declare module 'js-data' { } interface DSResourceDefinition { - bindAll(params: DSFilterParams, scope: ng.IScope, expr: string, cb?: (err: DSError, items:(T & DSInstanceShorthands)[]) => void): Function; + bindAll(params: DSFilterParams, scope: ng.IScope, expr: string, cb?: (err: DSError, items: (T & DSInstanceShorthands)[]) => void): Function; bindOne(id: string | number, scope: ng.IScope, expr: string, cb?: (err: DSError, item: T & DSInstanceShorthands) => void): Function; } } diff --git a/jstimezonedetect/index.d.ts b/jstimezonedetect/index.d.ts index 9709f52724..8617c71bc4 100644 --- a/jstimezonedetect/index.d.ts +++ b/jstimezonedetect/index.d.ts @@ -4,9 +4,9 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface JsTimezoneDetect { - determine: ()=> { - name: ()=> string; - } + determine: () => { + name: () => string; + }; } declare var jstimezonedetect: JsTimezoneDetect; diff --git a/kendo-ui/index.d.ts b/kendo-ui/index.d.ts index 9233da329f..db915bf03d 100644 --- a/kendo-ui/index.d.ts +++ b/kendo-ui/index.d.ts @@ -89,7 +89,7 @@ declare namespace kendo { }; }; - var cultures: {[culture: string] : { + var cultures: {[culture: string]: { name?: string; calendar?: { AM: string[]; diff --git a/lodash/add/index.d.ts b/lodash/add/index.d.ts index f4f9c1b4f7..0fb4bf7699 100644 --- a/lodash/add/index.d.ts +++ b/lodash/add/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const add: typeof _.add; export = add; diff --git a/lodash/after/index.d.ts b/lodash/after/index.d.ts index 0e0447f958..7728077bdd 100644 --- a/lodash/after/index.d.ts +++ b/lodash/after/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const after: typeof _.after; export = after; diff --git a/lodash/ary/index.d.ts b/lodash/ary/index.d.ts index 787ee54a7b..54a00d0724 100644 --- a/lodash/ary/index.d.ts +++ b/lodash/ary/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const ary: typeof _.ary; export = ary; diff --git a/lodash/assign/index.d.ts b/lodash/assign/index.d.ts index fa3b0fddd6..bc298d9374 100644 --- a/lodash/assign/index.d.ts +++ b/lodash/assign/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const assign: typeof _.assign; export = assign; diff --git a/lodash/assignIn/index.d.ts b/lodash/assignIn/index.d.ts index 5c972758c7..a3d42adace 100644 --- a/lodash/assignIn/index.d.ts +++ b/lodash/assignIn/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const assignIn: typeof _.assignIn; export = assignIn; diff --git a/lodash/assignInWith/index.d.ts b/lodash/assignInWith/index.d.ts index d3a6c83cbb..ee124136b0 100644 --- a/lodash/assignInWith/index.d.ts +++ b/lodash/assignInWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const assignInWith: typeof _.assignInWith; export = assignInWith; diff --git a/lodash/assignWith/index.d.ts b/lodash/assignWith/index.d.ts index 39cb8bd586..8f3da52b4c 100644 --- a/lodash/assignWith/index.d.ts +++ b/lodash/assignWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const assignWith: typeof _.assignWith; export = assignWith; diff --git a/lodash/at/index.d.ts b/lodash/at/index.d.ts index e06bfa8c2d..f7fde88140 100644 --- a/lodash/at/index.d.ts +++ b/lodash/at/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const at: typeof _.at; export = at; diff --git a/lodash/attempt/index.d.ts b/lodash/attempt/index.d.ts index 0221eecc87..284b1c72f9 100644 --- a/lodash/attempt/index.d.ts +++ b/lodash/attempt/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const attempt: typeof _.attempt; export = attempt; diff --git a/lodash/before/index.d.ts b/lodash/before/index.d.ts index 6d7937c7b6..0d9149f600 100644 --- a/lodash/before/index.d.ts +++ b/lodash/before/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const before: typeof _.before; export = before; diff --git a/lodash/bind/index.d.ts b/lodash/bind/index.d.ts index 24ad108d5c..a7769d060d 100644 --- a/lodash/bind/index.d.ts +++ b/lodash/bind/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const bind: typeof _.bind; export = bind; diff --git a/lodash/bindAll/index.d.ts b/lodash/bindAll/index.d.ts index 58491038c1..a02d48532a 100644 --- a/lodash/bindAll/index.d.ts +++ b/lodash/bindAll/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const bindAll: typeof _.bindAll; export = bindAll; diff --git a/lodash/bindKey/index.d.ts b/lodash/bindKey/index.d.ts index 9334becaa4..6ab4bd69fa 100644 --- a/lodash/bindKey/index.d.ts +++ b/lodash/bindKey/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const bindKey: typeof _.bindKey; export = bindKey; diff --git a/lodash/camelCase/index.d.ts b/lodash/camelCase/index.d.ts index 2ce57c7c79..7c15e8b2c6 100644 --- a/lodash/camelCase/index.d.ts +++ b/lodash/camelCase/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const camelCase: typeof _.camelCase; export = camelCase; diff --git a/lodash/capitalize/index.d.ts b/lodash/capitalize/index.d.ts index 95f2a99812..f6edb82ff2 100644 --- a/lodash/capitalize/index.d.ts +++ b/lodash/capitalize/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const capitalize: typeof _.capitalize; export = capitalize; diff --git a/lodash/castArray/index.d.ts b/lodash/castArray/index.d.ts index d43d068cb2..0285f812b9 100644 --- a/lodash/castArray/index.d.ts +++ b/lodash/castArray/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const castArray: typeof _.castArray; export = castArray; diff --git a/lodash/ceil/index.d.ts b/lodash/ceil/index.d.ts index d0e45ed05f..67ed25be65 100644 --- a/lodash/ceil/index.d.ts +++ b/lodash/ceil/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const ceil: typeof _.ceil; export = ceil; diff --git a/lodash/chain/index.d.ts b/lodash/chain/index.d.ts index 5cece4bf62..857be37677 100644 --- a/lodash/chain/index.d.ts +++ b/lodash/chain/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const chain: typeof _.chain; export = chain; diff --git a/lodash/chunk/index.d.ts b/lodash/chunk/index.d.ts index f28c83d646..b1fd31903f 100644 --- a/lodash/chunk/index.d.ts +++ b/lodash/chunk/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const chunk: typeof _.chunk; export = chunk; diff --git a/lodash/clamp/index.d.ts b/lodash/clamp/index.d.ts index fa08911b91..3e22486a5e 100644 --- a/lodash/clamp/index.d.ts +++ b/lodash/clamp/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const clamp: typeof _.clamp; export = clamp; diff --git a/lodash/clone/index.d.ts b/lodash/clone/index.d.ts index a5ccbc8257..fafe810b81 100644 --- a/lodash/clone/index.d.ts +++ b/lodash/clone/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const clone: typeof _.clone; export = clone; diff --git a/lodash/cloneDeep/index.d.ts b/lodash/cloneDeep/index.d.ts index 0efe2f4fc3..1559c720fe 100644 --- a/lodash/cloneDeep/index.d.ts +++ b/lodash/cloneDeep/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const cloneDeep: typeof _.cloneDeep; export = cloneDeep; diff --git a/lodash/cloneDeepWith/index.d.ts b/lodash/cloneDeepWith/index.d.ts index c561b4ff4b..b91eb7eef0 100644 --- a/lodash/cloneDeepWith/index.d.ts +++ b/lodash/cloneDeepWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const cloneDeepWith: typeof _.cloneDeepWith; export = cloneDeepWith; diff --git a/lodash/cloneWith/index.d.ts b/lodash/cloneWith/index.d.ts index 606e4f2868..1de72d571b 100644 --- a/lodash/cloneWith/index.d.ts +++ b/lodash/cloneWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const cloneWith: typeof _.cloneWith; export = cloneWith; diff --git a/lodash/compact/index.d.ts b/lodash/compact/index.d.ts index ffdf5ef9be..e3aa3ac0fa 100644 --- a/lodash/compact/index.d.ts +++ b/lodash/compact/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const compact: typeof _.compact; export = compact; diff --git a/lodash/concat/index.d.ts b/lodash/concat/index.d.ts index 13b4203fd4..35300025b1 100644 --- a/lodash/concat/index.d.ts +++ b/lodash/concat/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const concat: typeof _.concat; export = concat; diff --git a/lodash/constant/index.d.ts b/lodash/constant/index.d.ts index ce49eb2b98..0aa098b9bf 100644 --- a/lodash/constant/index.d.ts +++ b/lodash/constant/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const constant: typeof _.constant; export = constant; diff --git a/lodash/countBy/index.d.ts b/lodash/countBy/index.d.ts index ecaf778fa8..f379934aaf 100644 --- a/lodash/countBy/index.d.ts +++ b/lodash/countBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const countBy: typeof _.countBy; export = countBy; diff --git a/lodash/create/index.d.ts b/lodash/create/index.d.ts index 02726a29a4..9188a54eeb 100644 --- a/lodash/create/index.d.ts +++ b/lodash/create/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const create: typeof _.create; export = create; diff --git a/lodash/curry/index.d.ts b/lodash/curry/index.d.ts index 84c68b64d4..c7a76d5bc7 100644 --- a/lodash/curry/index.d.ts +++ b/lodash/curry/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const curry: typeof _.curry; export = curry; diff --git a/lodash/curryRight/index.d.ts b/lodash/curryRight/index.d.ts index ecbc4f775d..11a55f75a2 100644 --- a/lodash/curryRight/index.d.ts +++ b/lodash/curryRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const curryRight: typeof _.curryRight; export = curryRight; diff --git a/lodash/debounce/index.d.ts b/lodash/debounce/index.d.ts index 075bf95f72..93f5ed3809 100644 --- a/lodash/debounce/index.d.ts +++ b/lodash/debounce/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const debounce: typeof _.debounce; export = debounce; diff --git a/lodash/deburr/index.d.ts b/lodash/deburr/index.d.ts index fcb5f65e99..dd9e2fbf72 100644 --- a/lodash/deburr/index.d.ts +++ b/lodash/deburr/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const deburr: typeof _.deburr; export = deburr; diff --git a/lodash/defaults/index.d.ts b/lodash/defaults/index.d.ts index a455fcc952..f63ca314b8 100644 --- a/lodash/defaults/index.d.ts +++ b/lodash/defaults/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const defaults: typeof _.defaults; export = defaults; diff --git a/lodash/defaultsDeep/index.d.ts b/lodash/defaultsDeep/index.d.ts index 720db838a5..150545da76 100644 --- a/lodash/defaultsDeep/index.d.ts +++ b/lodash/defaultsDeep/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const defaultsDeep: typeof _.defaultsDeep; export = defaultsDeep; diff --git a/lodash/defer/index.d.ts b/lodash/defer/index.d.ts index 1ef4295da8..4b4defdb7b 100644 --- a/lodash/defer/index.d.ts +++ b/lodash/defer/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const defer: typeof _.defer; export = defer; diff --git a/lodash/delay/index.d.ts b/lodash/delay/index.d.ts index 424b42c789..ec9df1563c 100644 --- a/lodash/delay/index.d.ts +++ b/lodash/delay/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const delay: typeof _.delay; export = delay; diff --git a/lodash/difference/index.d.ts b/lodash/difference/index.d.ts index c6d241dc89..d33ab88b88 100644 --- a/lodash/difference/index.d.ts +++ b/lodash/difference/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const difference: typeof _.difference; export = difference; diff --git a/lodash/differenceBy/index.d.ts b/lodash/differenceBy/index.d.ts index 7f16b892c2..239710e880 100644 --- a/lodash/differenceBy/index.d.ts +++ b/lodash/differenceBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const differenceBy: typeof _.differenceBy; export = differenceBy; diff --git a/lodash/differenceWith/index.d.ts b/lodash/differenceWith/index.d.ts index 2f05157c91..7715121d13 100644 --- a/lodash/differenceWith/index.d.ts +++ b/lodash/differenceWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const differenceWith: typeof _.differenceWith; export = differenceWith; diff --git a/lodash/drop/index.d.ts b/lodash/drop/index.d.ts index 603e8bd756..81ab68dbd4 100644 --- a/lodash/drop/index.d.ts +++ b/lodash/drop/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const drop: typeof _.drop; export = drop; diff --git a/lodash/dropRight/index.d.ts b/lodash/dropRight/index.d.ts index df0f239f0e..654a393e3b 100644 --- a/lodash/dropRight/index.d.ts +++ b/lodash/dropRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const dropRight: typeof _.dropRight; export = dropRight; diff --git a/lodash/dropRightWhile/index.d.ts b/lodash/dropRightWhile/index.d.ts index e764548d7f..9bf275fc2e 100644 --- a/lodash/dropRightWhile/index.d.ts +++ b/lodash/dropRightWhile/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const dropRightWhile: typeof _.dropRightWhile; export = dropRightWhile; diff --git a/lodash/dropWhile/index.d.ts b/lodash/dropWhile/index.d.ts index eaad450955..c4f5cbbeee 100644 --- a/lodash/dropWhile/index.d.ts +++ b/lodash/dropWhile/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const dropWhile: typeof _.dropWhile; export = dropWhile; diff --git a/lodash/each/index.d.ts b/lodash/each/index.d.ts index 32af6534df..82bb51d9d1 100644 --- a/lodash/each/index.d.ts +++ b/lodash/each/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const each: typeof _.each; export = each; diff --git a/lodash/eachRight/index.d.ts b/lodash/eachRight/index.d.ts index 4b69a1bda0..e249f1d121 100644 --- a/lodash/eachRight/index.d.ts +++ b/lodash/eachRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const eachRight: typeof _.eachRight; export = eachRight; diff --git a/lodash/endsWith/index.d.ts b/lodash/endsWith/index.d.ts index 7013c5652f..d355d92701 100644 --- a/lodash/endsWith/index.d.ts +++ b/lodash/endsWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const endsWith: typeof _.endsWith; export = endsWith; diff --git a/lodash/eq/index.d.ts b/lodash/eq/index.d.ts index efa0e4479e..fca972631e 100644 --- a/lodash/eq/index.d.ts +++ b/lodash/eq/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const eq: typeof _.eq; export = eq; diff --git a/lodash/escape/index.d.ts b/lodash/escape/index.d.ts index fcfb2074e8..6e4c64bc2f 100644 --- a/lodash/escape/index.d.ts +++ b/lodash/escape/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const escape: typeof _.escape; export = escape; diff --git a/lodash/escapeRegExp/index.d.ts b/lodash/escapeRegExp/index.d.ts index 26bd4998f2..3ce24920b6 100644 --- a/lodash/escapeRegExp/index.d.ts +++ b/lodash/escapeRegExp/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const escapeRegExp: typeof _.escapeRegExp; export = escapeRegExp; diff --git a/lodash/every/index.d.ts b/lodash/every/index.d.ts index fbeb2cf20c..a3d0ff35a0 100644 --- a/lodash/every/index.d.ts +++ b/lodash/every/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const every: typeof _.every; export = every; diff --git a/lodash/extend/index.d.ts b/lodash/extend/index.d.ts index 9f330d2e8c..304bfcf806 100644 --- a/lodash/extend/index.d.ts +++ b/lodash/extend/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const extend: typeof _.extend; export = extend; diff --git a/lodash/extendWith/index.d.ts b/lodash/extendWith/index.d.ts index 8fc8180999..b3a4883fe0 100644 --- a/lodash/extendWith/index.d.ts +++ b/lodash/extendWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const extendWith: typeof _.extendWith; export = extendWith; diff --git a/lodash/fb/index.d.ts b/lodash/fb/index.d.ts index 5f90e9e920..568a066dea 100644 --- a/lodash/fb/index.d.ts +++ b/lodash/fb/index.d.ts @@ -3,5 +3,5 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; export = _; diff --git a/lodash/fill/index.d.ts b/lodash/fill/index.d.ts index 0a9caa5108..fdc8c29c6c 100644 --- a/lodash/fill/index.d.ts +++ b/lodash/fill/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const fill: typeof _.fill; export = fill; diff --git a/lodash/filter/index.d.ts b/lodash/filter/index.d.ts index 2d841909e4..3e209224d3 100644 --- a/lodash/filter/index.d.ts +++ b/lodash/filter/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const filter: typeof _.filter; export = filter; diff --git a/lodash/find/index.d.ts b/lodash/find/index.d.ts index 0392a63785..07633f2e3b 100644 --- a/lodash/find/index.d.ts +++ b/lodash/find/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const find: typeof _.find; export = find; diff --git a/lodash/findIndex/index.d.ts b/lodash/findIndex/index.d.ts index a27f6dace8..2de51da4f7 100644 --- a/lodash/findIndex/index.d.ts +++ b/lodash/findIndex/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const findIndex: typeof _.findIndex; export = findIndex; diff --git a/lodash/findKey/index.d.ts b/lodash/findKey/index.d.ts index ef29b3a0ef..26e6bb8554 100644 --- a/lodash/findKey/index.d.ts +++ b/lodash/findKey/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const findKey: typeof _.findKey; export = findKey; diff --git a/lodash/findLast/index.d.ts b/lodash/findLast/index.d.ts index caa5d2b50b..e1c04dfe8c 100644 --- a/lodash/findLast/index.d.ts +++ b/lodash/findLast/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const findLast: typeof _.findLast; export = findLast; diff --git a/lodash/findLastIndex/index.d.ts b/lodash/findLastIndex/index.d.ts index 79e45b16f9..bccceb547e 100644 --- a/lodash/findLastIndex/index.d.ts +++ b/lodash/findLastIndex/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const findLastIndex: typeof _.findLastIndex; export = findLastIndex; diff --git a/lodash/findLastKey/index.d.ts b/lodash/findLastKey/index.d.ts index 8e0655e6db..e154021256 100644 --- a/lodash/findLastKey/index.d.ts +++ b/lodash/findLastKey/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const findLastKey: typeof _.findLastKey; export = findLastKey; diff --git a/lodash/first/index.d.ts b/lodash/first/index.d.ts index 7f8bb6da95..d15a1b90e8 100644 --- a/lodash/first/index.d.ts +++ b/lodash/first/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const first: typeof _.first; export = first; diff --git a/lodash/flatMap/index.d.ts b/lodash/flatMap/index.d.ts index de148c21f9..fa49bed02a 100644 --- a/lodash/flatMap/index.d.ts +++ b/lodash/flatMap/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const flatMap: typeof _.flatMap; export = flatMap; diff --git a/lodash/flatten/index.d.ts b/lodash/flatten/index.d.ts index a7f0df7ff9..440aec7f70 100644 --- a/lodash/flatten/index.d.ts +++ b/lodash/flatten/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const flatten: typeof _.flatten; export = flatten; diff --git a/lodash/flattenDeep/index.d.ts b/lodash/flattenDeep/index.d.ts index ac3a2a9b70..c5bdc39268 100644 --- a/lodash/flattenDeep/index.d.ts +++ b/lodash/flattenDeep/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const flattenDeep: typeof _.flattenDeep; export = flattenDeep; diff --git a/lodash/flattenDepth/index.d.ts b/lodash/flattenDepth/index.d.ts index b53f761670..7b2a9b78f0 100644 --- a/lodash/flattenDepth/index.d.ts +++ b/lodash/flattenDepth/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const flattenDepth: typeof _.flattenDepth; export = flattenDepth; diff --git a/lodash/flip/index.d.ts b/lodash/flip/index.d.ts index edbb268ef0..49d7be0ad5 100644 --- a/lodash/flip/index.d.ts +++ b/lodash/flip/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const flip: typeof _.flip; export = flip; diff --git a/lodash/floor/index.d.ts b/lodash/floor/index.d.ts index 944dfbee97..4a24efdb17 100644 --- a/lodash/floor/index.d.ts +++ b/lodash/floor/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const floor: typeof _.floor; export = floor; diff --git a/lodash/flow/index.d.ts b/lodash/flow/index.d.ts index 2c08373040..4b837e99b2 100644 --- a/lodash/flow/index.d.ts +++ b/lodash/flow/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const flow: typeof _.flow; export = flow; diff --git a/lodash/flowRight/index.d.ts b/lodash/flowRight/index.d.ts index 432d3b3ccd..dea52fdcdf 100644 --- a/lodash/flowRight/index.d.ts +++ b/lodash/flowRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const flowRight: typeof _.flowRight; export = flowRight; diff --git a/lodash/forEach/index.d.ts b/lodash/forEach/index.d.ts index 282b130ea8..3ebc86308c 100644 --- a/lodash/forEach/index.d.ts +++ b/lodash/forEach/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const forEach: typeof _.forEach; export = forEach; diff --git a/lodash/forEachRight/index.d.ts b/lodash/forEachRight/index.d.ts index d14a142974..78c7fadfb8 100644 --- a/lodash/forEachRight/index.d.ts +++ b/lodash/forEachRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const forEachRight: typeof _.forEachRight; export = forEachRight; diff --git a/lodash/forIn/index.d.ts b/lodash/forIn/index.d.ts index 5c4e7aa3f9..f6f6121f3c 100644 --- a/lodash/forIn/index.d.ts +++ b/lodash/forIn/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const forIn: typeof _.forIn; export = forIn; diff --git a/lodash/forInRight/index.d.ts b/lodash/forInRight/index.d.ts index a15f182e8b..a91f08895a 100644 --- a/lodash/forInRight/index.d.ts +++ b/lodash/forInRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const forInRight: typeof _.forInRight; export = forInRight; diff --git a/lodash/forOwn/index.d.ts b/lodash/forOwn/index.d.ts index 0a0e9db75a..b2d3abc29b 100644 --- a/lodash/forOwn/index.d.ts +++ b/lodash/forOwn/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const forOwn: typeof _.forOwn; export = forOwn; diff --git a/lodash/forOwnRight/index.d.ts b/lodash/forOwnRight/index.d.ts index 0aee27cdc4..2fd9027a51 100644 --- a/lodash/forOwnRight/index.d.ts +++ b/lodash/forOwnRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const forOwnRight: typeof _.forOwnRight; export = forOwnRight; diff --git a/lodash/fromPairs/index.d.ts b/lodash/fromPairs/index.d.ts index b70e331653..9ad66a6580 100644 --- a/lodash/fromPairs/index.d.ts +++ b/lodash/fromPairs/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const fromPairs: typeof _.fromPairs; export = fromPairs; diff --git a/lodash/functions/index.d.ts b/lodash/functions/index.d.ts index d366866131..6e7dc32913 100644 --- a/lodash/functions/index.d.ts +++ b/lodash/functions/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const functions: typeof _.functions; export = functions; diff --git a/lodash/functionsIn/index.d.ts b/lodash/functionsIn/index.d.ts index a615162221..14647db089 100644 --- a/lodash/functionsIn/index.d.ts +++ b/lodash/functionsIn/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const functionsIn: typeof _.functionsIn; export = functionsIn; diff --git a/lodash/get/index.d.ts b/lodash/get/index.d.ts index 794e67b520..8673dde2e0 100644 --- a/lodash/get/index.d.ts +++ b/lodash/get/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const get: typeof _.get; export = get; diff --git a/lodash/groupBy/index.d.ts b/lodash/groupBy/index.d.ts index 8dd7f5f1d0..aac51c6a88 100644 --- a/lodash/groupBy/index.d.ts +++ b/lodash/groupBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const groupBy: typeof _.groupBy; export = groupBy; diff --git a/lodash/gt/index.d.ts b/lodash/gt/index.d.ts index fdba175e0c..5a18f7ef9d 100644 --- a/lodash/gt/index.d.ts +++ b/lodash/gt/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const gt: typeof _.gt; export = gt; diff --git a/lodash/gte/index.d.ts b/lodash/gte/index.d.ts index dcf90fb0f0..d6a06ad8b1 100644 --- a/lodash/gte/index.d.ts +++ b/lodash/gte/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const gte: typeof _.gte; export = gte; diff --git a/lodash/has/index.d.ts b/lodash/has/index.d.ts index f4196f303a..35910280c7 100644 --- a/lodash/has/index.d.ts +++ b/lodash/has/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const has: typeof _.has; export = has; diff --git a/lodash/hasIn/index.d.ts b/lodash/hasIn/index.d.ts index 2a4a703390..6ea2108b80 100644 --- a/lodash/hasIn/index.d.ts +++ b/lodash/hasIn/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const hasIn: typeof _.hasIn; export = hasIn; diff --git a/lodash/head/index.d.ts b/lodash/head/index.d.ts index 637bdadd43..861c4d9449 100644 --- a/lodash/head/index.d.ts +++ b/lodash/head/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const head: typeof _.head; export = head; diff --git a/lodash/identity/index.d.ts b/lodash/identity/index.d.ts index c3f42358b8..1d729d1333 100644 --- a/lodash/identity/index.d.ts +++ b/lodash/identity/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const identity: typeof _.identity; export = identity; diff --git a/lodash/inRange/index.d.ts b/lodash/inRange/index.d.ts index a2b5ff8085..186c0aa33e 100644 --- a/lodash/inRange/index.d.ts +++ b/lodash/inRange/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const inRange: typeof _.inRange; export = inRange; diff --git a/lodash/includes/index.d.ts b/lodash/includes/index.d.ts index 49bec37024..5d4661bfdd 100644 --- a/lodash/includes/index.d.ts +++ b/lodash/includes/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const includes: typeof _.includes; export = includes; diff --git a/lodash/indexOf/index.d.ts b/lodash/indexOf/index.d.ts index c1c096f4f2..177a42e0f6 100644 --- a/lodash/indexOf/index.d.ts +++ b/lodash/indexOf/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const indexOf: typeof _.indexOf; export = indexOf; diff --git a/lodash/initial/index.d.ts b/lodash/initial/index.d.ts index edabd24120..492c3f8ed8 100644 --- a/lodash/initial/index.d.ts +++ b/lodash/initial/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const initial: typeof _.initial; export = initial; diff --git a/lodash/intersection/index.d.ts b/lodash/intersection/index.d.ts index fca1c310cc..28b5e7a104 100644 --- a/lodash/intersection/index.d.ts +++ b/lodash/intersection/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const intersection: typeof _.intersection; export = intersection; diff --git a/lodash/intersectionBy/index.d.ts b/lodash/intersectionBy/index.d.ts index cbf36b92c6..8f40b9c648 100644 --- a/lodash/intersectionBy/index.d.ts +++ b/lodash/intersectionBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const intersectionBy: typeof _.intersectionBy; export = intersectionBy; diff --git a/lodash/intersectionWith/index.d.ts b/lodash/intersectionWith/index.d.ts index b85fd8a816..ce2c9f074b 100644 --- a/lodash/intersectionWith/index.d.ts +++ b/lodash/intersectionWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const intersectionWith: typeof _.intersectionWith; export = intersectionWith; diff --git a/lodash/invert/index.d.ts b/lodash/invert/index.d.ts index f114931e37..0b41aef340 100644 --- a/lodash/invert/index.d.ts +++ b/lodash/invert/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const invert: typeof _.invert; export = invert; diff --git a/lodash/invertBy/index.d.ts b/lodash/invertBy/index.d.ts index 382ff0605e..2718732018 100644 --- a/lodash/invertBy/index.d.ts +++ b/lodash/invertBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const invertBy: typeof _.invertBy; export = invertBy; diff --git a/lodash/invoke/index.d.ts b/lodash/invoke/index.d.ts index e61bcbb405..e6b5e16727 100644 --- a/lodash/invoke/index.d.ts +++ b/lodash/invoke/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const invoke: typeof _.invoke; export = invoke; diff --git a/lodash/invokeMap/index.d.ts b/lodash/invokeMap/index.d.ts index b8a69131d5..19176f313b 100644 --- a/lodash/invokeMap/index.d.ts +++ b/lodash/invokeMap/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const invokeMap: typeof _.invokeMap; export = invokeMap; diff --git a/lodash/isArguments/index.d.ts b/lodash/isArguments/index.d.ts index 1f54b51b66..1b9f4ea05b 100644 --- a/lodash/isArguments/index.d.ts +++ b/lodash/isArguments/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isArguments: typeof _.isArguments; export = isArguments; diff --git a/lodash/isArray/index.d.ts b/lodash/isArray/index.d.ts index b7b1b84f7a..d2a923e2f3 100644 --- a/lodash/isArray/index.d.ts +++ b/lodash/isArray/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isArray: typeof _.isArray; export = isArray; diff --git a/lodash/isArrayBuffer/index.d.ts b/lodash/isArrayBuffer/index.d.ts index 929fa7e4a4..945f595b8c 100644 --- a/lodash/isArrayBuffer/index.d.ts +++ b/lodash/isArrayBuffer/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isArrayBuffer: typeof _.isArrayBuffer; export = isArrayBuffer; diff --git a/lodash/isArrayLike/index.d.ts b/lodash/isArrayLike/index.d.ts index 6e412d2eef..a545ab1177 100644 --- a/lodash/isArrayLike/index.d.ts +++ b/lodash/isArrayLike/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isArrayLike: typeof _.isArrayLike; export = isArrayLike; diff --git a/lodash/isArrayLikeObject/index.d.ts b/lodash/isArrayLikeObject/index.d.ts index b743b2feda..8af6c009ad 100644 --- a/lodash/isArrayLikeObject/index.d.ts +++ b/lodash/isArrayLikeObject/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isArrayLikeObject: typeof _.isArrayLikeObject; export = isArrayLikeObject; diff --git a/lodash/isBoolean/index.d.ts b/lodash/isBoolean/index.d.ts index 13b41113ea..3707352608 100644 --- a/lodash/isBoolean/index.d.ts +++ b/lodash/isBoolean/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isBoolean: typeof _.isBoolean; export = isBoolean; diff --git a/lodash/isBuffer/index.d.ts b/lodash/isBuffer/index.d.ts index d4413827e2..33b744f0f3 100644 --- a/lodash/isBuffer/index.d.ts +++ b/lodash/isBuffer/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isBuffer: typeof _.isBuffer; export = isBuffer; diff --git a/lodash/isDate/index.d.ts b/lodash/isDate/index.d.ts index 893040fbe0..82f1c26697 100644 --- a/lodash/isDate/index.d.ts +++ b/lodash/isDate/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isDate: typeof _.isDate; export = isDate; diff --git a/lodash/isElement/index.d.ts b/lodash/isElement/index.d.ts index 29af3991fd..50228020e2 100644 --- a/lodash/isElement/index.d.ts +++ b/lodash/isElement/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isElement: typeof _.isElement; export = isElement; diff --git a/lodash/isEmpty/index.d.ts b/lodash/isEmpty/index.d.ts index fd8abe5f1e..15f27a179e 100644 --- a/lodash/isEmpty/index.d.ts +++ b/lodash/isEmpty/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isEmpty: typeof _.isEmpty; export = isEmpty; diff --git a/lodash/isEqual/index.d.ts b/lodash/isEqual/index.d.ts index 9f694f53fe..b44e15af1e 100644 --- a/lodash/isEqual/index.d.ts +++ b/lodash/isEqual/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isEqual: typeof _.isEqual; export = isEqual; diff --git a/lodash/isEqualWith/index.d.ts b/lodash/isEqualWith/index.d.ts index a811ac4fbe..9b1399dfe6 100644 --- a/lodash/isEqualWith/index.d.ts +++ b/lodash/isEqualWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isEqualWith: typeof _.isEqualWith; export = isEqualWith; diff --git a/lodash/isError/index.d.ts b/lodash/isError/index.d.ts index 1df50dfab8..a8a37e3ec6 100644 --- a/lodash/isError/index.d.ts +++ b/lodash/isError/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isError: typeof _.isError; export = isError; diff --git a/lodash/isFinite/index.d.ts b/lodash/isFinite/index.d.ts index ad52c4d9c7..a3f7fb4b5c 100644 --- a/lodash/isFinite/index.d.ts +++ b/lodash/isFinite/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isFinite: typeof _.isFinite; export = isFinite; diff --git a/lodash/isFunction/index.d.ts b/lodash/isFunction/index.d.ts index 9cf129bf0f..354f623bfa 100644 --- a/lodash/isFunction/index.d.ts +++ b/lodash/isFunction/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isFunction: typeof _.isFunction; export = isFunction; diff --git a/lodash/isInteger/index.d.ts b/lodash/isInteger/index.d.ts index a4d7dee66f..e3f344d0b7 100644 --- a/lodash/isInteger/index.d.ts +++ b/lodash/isInteger/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isInteger: typeof _.isInteger; export = isInteger; diff --git a/lodash/isLength/index.d.ts b/lodash/isLength/index.d.ts index c11438c107..e336f190ab 100644 --- a/lodash/isLength/index.d.ts +++ b/lodash/isLength/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isLength: typeof _.isLength; export = isLength; diff --git a/lodash/isMap/index.d.ts b/lodash/isMap/index.d.ts index 016269bb6d..3386b8f667 100644 --- a/lodash/isMap/index.d.ts +++ b/lodash/isMap/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isMap: typeof _.isMap; export = isMap; diff --git a/lodash/isMatch/index.d.ts b/lodash/isMatch/index.d.ts index 8eba612387..daaa811469 100644 --- a/lodash/isMatch/index.d.ts +++ b/lodash/isMatch/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isMatch: typeof _.isMatch; export = isMatch; diff --git a/lodash/isMatchWith/index.d.ts b/lodash/isMatchWith/index.d.ts index 327d003dfa..dbe38fb375 100644 --- a/lodash/isMatchWith/index.d.ts +++ b/lodash/isMatchWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isMatchWith: typeof _.isMatchWith; export = isMatchWith; diff --git a/lodash/isNaN/index.d.ts b/lodash/isNaN/index.d.ts index c43fc7f44c..6591264f80 100644 --- a/lodash/isNaN/index.d.ts +++ b/lodash/isNaN/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isNaN: typeof _.isNaN; export = isNaN; diff --git a/lodash/isNative/index.d.ts b/lodash/isNative/index.d.ts index c94791f878..414288152d 100644 --- a/lodash/isNative/index.d.ts +++ b/lodash/isNative/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isNative: typeof _.isNative; export = isNative; diff --git a/lodash/isNil/index.d.ts b/lodash/isNil/index.d.ts index 9b336a7927..44ecafbd2b 100644 --- a/lodash/isNil/index.d.ts +++ b/lodash/isNil/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isNil: typeof _.isNil; export = isNil; diff --git a/lodash/isNull/index.d.ts b/lodash/isNull/index.d.ts index d9dbea1789..df5c08c6d5 100644 --- a/lodash/isNull/index.d.ts +++ b/lodash/isNull/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isNull: typeof _.isNull; export = isNull; diff --git a/lodash/isNumber/index.d.ts b/lodash/isNumber/index.d.ts index 363544a625..0765934004 100644 --- a/lodash/isNumber/index.d.ts +++ b/lodash/isNumber/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isNumber: typeof _.isNumber; export = isNumber; diff --git a/lodash/isObject/index.d.ts b/lodash/isObject/index.d.ts index 1f688d63ca..8a3c59a1b3 100644 --- a/lodash/isObject/index.d.ts +++ b/lodash/isObject/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isObject: typeof _.isObject; export = isObject; diff --git a/lodash/isObjectLike/index.d.ts b/lodash/isObjectLike/index.d.ts index 68209e7857..57974f31bf 100644 --- a/lodash/isObjectLike/index.d.ts +++ b/lodash/isObjectLike/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isObjectLike: typeof _.isObjectLike; export = isObjectLike; diff --git a/lodash/isPlainObject/index.d.ts b/lodash/isPlainObject/index.d.ts index 6a57a64e3f..073297818c 100644 --- a/lodash/isPlainObject/index.d.ts +++ b/lodash/isPlainObject/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isPlainObject: typeof _.isPlainObject; export = isPlainObject; diff --git a/lodash/isRegExp/index.d.ts b/lodash/isRegExp/index.d.ts index 1007ac4613..096675d65c 100644 --- a/lodash/isRegExp/index.d.ts +++ b/lodash/isRegExp/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isRegExp: typeof _.isRegExp; export = isRegExp; diff --git a/lodash/isSafeInteger/index.d.ts b/lodash/isSafeInteger/index.d.ts index 3a2cb72982..22002577bc 100644 --- a/lodash/isSafeInteger/index.d.ts +++ b/lodash/isSafeInteger/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isSafeInteger: typeof _.isSafeInteger; export = isSafeInteger; diff --git a/lodash/isSet/index.d.ts b/lodash/isSet/index.d.ts index 078d99e53d..05a1d2bfd0 100644 --- a/lodash/isSet/index.d.ts +++ b/lodash/isSet/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isSet: typeof _.isSet; export = isSet; diff --git a/lodash/isString/index.d.ts b/lodash/isString/index.d.ts index 10b897d63a..ed5e869b9d 100644 --- a/lodash/isString/index.d.ts +++ b/lodash/isString/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isString: typeof _.isString; export = isString; diff --git a/lodash/isSymbol/index.d.ts b/lodash/isSymbol/index.d.ts index cf497e70ed..b5ec78db97 100644 --- a/lodash/isSymbol/index.d.ts +++ b/lodash/isSymbol/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isSymbol: typeof _.isSymbol; export = isSymbol; diff --git a/lodash/isTypedArray/index.d.ts b/lodash/isTypedArray/index.d.ts index 9d6cda54c5..397b9e59ff 100644 --- a/lodash/isTypedArray/index.d.ts +++ b/lodash/isTypedArray/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isTypedArray: typeof _.isTypedArray; export = isTypedArray; diff --git a/lodash/isUndefined/index.d.ts b/lodash/isUndefined/index.d.ts index 91a80f3058..d8bccadc96 100644 --- a/lodash/isUndefined/index.d.ts +++ b/lodash/isUndefined/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isUndefined: typeof _.isUndefined; export = isUndefined; diff --git a/lodash/isWeakMap/index.d.ts b/lodash/isWeakMap/index.d.ts index 0e01e32540..ae059bdc41 100644 --- a/lodash/isWeakMap/index.d.ts +++ b/lodash/isWeakMap/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isWeakMap: typeof _.isWeakMap; export = isWeakMap; diff --git a/lodash/isWeakSet/index.d.ts b/lodash/isWeakSet/index.d.ts index a9b0b63791..314dfb6e72 100644 --- a/lodash/isWeakSet/index.d.ts +++ b/lodash/isWeakSet/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const isWeakSet: typeof _.isWeakSet; export = isWeakSet; diff --git a/lodash/iteratee/index.d.ts b/lodash/iteratee/index.d.ts index 727f821134..89a2a46168 100644 --- a/lodash/iteratee/index.d.ts +++ b/lodash/iteratee/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const iteratee: typeof _.iteratee; export = iteratee; diff --git a/lodash/join/index.d.ts b/lodash/join/index.d.ts index 921eef7549..af18b8c829 100644 --- a/lodash/join/index.d.ts +++ b/lodash/join/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const join: typeof _.join; export = join; diff --git a/lodash/kebabCase/index.d.ts b/lodash/kebabCase/index.d.ts index 722214bfa6..42e2106a74 100644 --- a/lodash/kebabCase/index.d.ts +++ b/lodash/kebabCase/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const kebabCase: typeof _.kebabCase; export = kebabCase; diff --git a/lodash/keyBy/index.d.ts b/lodash/keyBy/index.d.ts index 4c3b54a211..0d80249892 100644 --- a/lodash/keyBy/index.d.ts +++ b/lodash/keyBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const keyBy: typeof _.keyBy; export = keyBy; diff --git a/lodash/keys/index.d.ts b/lodash/keys/index.d.ts index cc5e5d3bb9..a300a0375d 100644 --- a/lodash/keys/index.d.ts +++ b/lodash/keys/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const keys: typeof _.keys; export = keys; diff --git a/lodash/keysIn/index.d.ts b/lodash/keysIn/index.d.ts index ec84977616..191cda0201 100644 --- a/lodash/keysIn/index.d.ts +++ b/lodash/keysIn/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const keysIn: typeof _.keysIn; export = keysIn; diff --git a/lodash/last/index.d.ts b/lodash/last/index.d.ts index dd20b04434..bfe666323d 100644 --- a/lodash/last/index.d.ts +++ b/lodash/last/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const last: typeof _.last; export = last; diff --git a/lodash/lastIndexOf/index.d.ts b/lodash/lastIndexOf/index.d.ts index 873b09d378..c3ec5c3b6d 100644 --- a/lodash/lastIndexOf/index.d.ts +++ b/lodash/lastIndexOf/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const lastIndexOf: typeof _.lastIndexOf; export = lastIndexOf; diff --git a/lodash/lowerCase/index.d.ts b/lodash/lowerCase/index.d.ts index bc639377d7..7ad92251d6 100644 --- a/lodash/lowerCase/index.d.ts +++ b/lodash/lowerCase/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const lowerCase: typeof _.lowerCase; export = lowerCase; diff --git a/lodash/lowerFirst/index.d.ts b/lodash/lowerFirst/index.d.ts index 62ad3eff80..f17d156757 100644 --- a/lodash/lowerFirst/index.d.ts +++ b/lodash/lowerFirst/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const lowerFirst: typeof _.lowerFirst; export = lowerFirst; diff --git a/lodash/lt/index.d.ts b/lodash/lt/index.d.ts index eee458639a..adc546a9be 100644 --- a/lodash/lt/index.d.ts +++ b/lodash/lt/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const lt: typeof _.lt; export = lt; diff --git a/lodash/lte/index.d.ts b/lodash/lte/index.d.ts index df6bc72ecc..c4f29084f3 100644 --- a/lodash/lte/index.d.ts +++ b/lodash/lte/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const lte: typeof _.lte; export = lte; diff --git a/lodash/map/index.d.ts b/lodash/map/index.d.ts index fc735bc68e..b4f232509f 100644 --- a/lodash/map/index.d.ts +++ b/lodash/map/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const map: typeof _.map; export = map; diff --git a/lodash/mapKeys/index.d.ts b/lodash/mapKeys/index.d.ts index 84743a24f7..9d3727aecb 100644 --- a/lodash/mapKeys/index.d.ts +++ b/lodash/mapKeys/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const mapKeys: typeof _.mapKeys; export = mapKeys; diff --git a/lodash/mapValues/index.d.ts b/lodash/mapValues/index.d.ts index 51dd283657..2d39262829 100644 --- a/lodash/mapValues/index.d.ts +++ b/lodash/mapValues/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const mapValues: typeof _.mapValues; export = mapValues; diff --git a/lodash/matches/index.d.ts b/lodash/matches/index.d.ts index 6a1453bec8..ece182e9f4 100644 --- a/lodash/matches/index.d.ts +++ b/lodash/matches/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const matches: typeof _.matches; export = matches; diff --git a/lodash/matchesProperty/index.d.ts b/lodash/matchesProperty/index.d.ts index 4d23927c2a..042389d37c 100644 --- a/lodash/matchesProperty/index.d.ts +++ b/lodash/matchesProperty/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const matchesProperty: typeof _.matchesProperty; export = matchesProperty; diff --git a/lodash/max/index.d.ts b/lodash/max/index.d.ts index 7966d05764..8eb59c8103 100644 --- a/lodash/max/index.d.ts +++ b/lodash/max/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const max: typeof _.max; export = max; diff --git a/lodash/maxBy/index.d.ts b/lodash/maxBy/index.d.ts index df5db045c5..b29681fc40 100644 --- a/lodash/maxBy/index.d.ts +++ b/lodash/maxBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const maxBy: typeof _.maxBy; export = maxBy; diff --git a/lodash/mean/index.d.ts b/lodash/mean/index.d.ts index 50f7bdaa6b..7c0c75ea22 100644 --- a/lodash/mean/index.d.ts +++ b/lodash/mean/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const mean: typeof _.mean; export = mean; diff --git a/lodash/meanBy/index.d.ts b/lodash/meanBy/index.d.ts index 0876057523..b3cca3fe17 100644 --- a/lodash/meanBy/index.d.ts +++ b/lodash/meanBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const meanBy: typeof _.meanBy; export = meanBy; diff --git a/lodash/memoize/index.d.ts b/lodash/memoize/index.d.ts index 5d161c002f..aaf97b68ae 100644 --- a/lodash/memoize/index.d.ts +++ b/lodash/memoize/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const memoize: typeof _.memoize; export = memoize; diff --git a/lodash/merge/index.d.ts b/lodash/merge/index.d.ts index 9035704b9e..8ca1e0063f 100644 --- a/lodash/merge/index.d.ts +++ b/lodash/merge/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const merge: typeof _.merge; export = merge; diff --git a/lodash/mergeWith/index.d.ts b/lodash/mergeWith/index.d.ts index e37998f9dc..de394d78fe 100644 --- a/lodash/mergeWith/index.d.ts +++ b/lodash/mergeWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const mergeWith: typeof _.mergeWith; export = mergeWith; diff --git a/lodash/method/index.d.ts b/lodash/method/index.d.ts index 44162be324..c531ae0a25 100644 --- a/lodash/method/index.d.ts +++ b/lodash/method/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const method: typeof _.method; export = method; diff --git a/lodash/methodOf/index.d.ts b/lodash/methodOf/index.d.ts index 23102aec93..33e7e7559a 100644 --- a/lodash/methodOf/index.d.ts +++ b/lodash/methodOf/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const methodOf: typeof _.methodOf; export = methodOf; diff --git a/lodash/min/index.d.ts b/lodash/min/index.d.ts index 0fec6ac085..c2a734eb16 100644 --- a/lodash/min/index.d.ts +++ b/lodash/min/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const min: typeof _.min; export = min; diff --git a/lodash/minBy/index.d.ts b/lodash/minBy/index.d.ts index bfb46d073b..ff0ae71068 100644 --- a/lodash/minBy/index.d.ts +++ b/lodash/minBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const minBy: typeof _.minBy; export = minBy; diff --git a/lodash/mixin/index.d.ts b/lodash/mixin/index.d.ts index a850cc91af..5cb5fff217 100644 --- a/lodash/mixin/index.d.ts +++ b/lodash/mixin/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const mixin: typeof _.mixin; export = mixin; diff --git a/lodash/negate/index.d.ts b/lodash/negate/index.d.ts index 2d4783a785..c252809205 100644 --- a/lodash/negate/index.d.ts +++ b/lodash/negate/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const negate: typeof _.negate; export = negate; diff --git a/lodash/noConflict/index.d.ts b/lodash/noConflict/index.d.ts index 01ea1cba55..591a1dd04c 100644 --- a/lodash/noConflict/index.d.ts +++ b/lodash/noConflict/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const noConflict: typeof _.noConflict; export = noConflict; diff --git a/lodash/noop/index.d.ts b/lodash/noop/index.d.ts index 4a2f5b8e8d..dbe94ef5a1 100644 --- a/lodash/noop/index.d.ts +++ b/lodash/noop/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const noop: typeof _.noop; export = noop; diff --git a/lodash/now/index.d.ts b/lodash/now/index.d.ts index 7b37777f6e..f411739edd 100644 --- a/lodash/now/index.d.ts +++ b/lodash/now/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const now: typeof _.now; export = now; diff --git a/lodash/nthArg/index.d.ts b/lodash/nthArg/index.d.ts index aa6d3ca614..6f7bb20c53 100644 --- a/lodash/nthArg/index.d.ts +++ b/lodash/nthArg/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const nthArg: typeof _.nthArg; export = nthArg; diff --git a/lodash/omit/index.d.ts b/lodash/omit/index.d.ts index 438882663e..ad19ff85da 100644 --- a/lodash/omit/index.d.ts +++ b/lodash/omit/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const omit: typeof _.omit; export = omit; diff --git a/lodash/omitBy/index.d.ts b/lodash/omitBy/index.d.ts index bc3089f06c..35e117cb3d 100644 --- a/lodash/omitBy/index.d.ts +++ b/lodash/omitBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const omitBy: typeof _.omitBy; export = omitBy; diff --git a/lodash/once/index.d.ts b/lodash/once/index.d.ts index fc6674ca76..a94882197e 100644 --- a/lodash/once/index.d.ts +++ b/lodash/once/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const once: typeof _.once; export = once; diff --git a/lodash/orderBy/index.d.ts b/lodash/orderBy/index.d.ts index d8c29146ab..7a49dc8885 100644 --- a/lodash/orderBy/index.d.ts +++ b/lodash/orderBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const orderBy: typeof _.orderBy; export = orderBy; diff --git a/lodash/over/index.d.ts b/lodash/over/index.d.ts index 005feab108..138f5163d6 100644 --- a/lodash/over/index.d.ts +++ b/lodash/over/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const over: typeof _.over; export = over; diff --git a/lodash/overArgs/index.d.ts b/lodash/overArgs/index.d.ts index 26da904094..2131b1f9d9 100644 --- a/lodash/overArgs/index.d.ts +++ b/lodash/overArgs/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const overArgs: typeof _.overArgs; export = overArgs; diff --git a/lodash/overEvery/index.d.ts b/lodash/overEvery/index.d.ts index 3cd1c804c4..39dcec01bc 100644 --- a/lodash/overEvery/index.d.ts +++ b/lodash/overEvery/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const overEvery: typeof _.overEvery; export = overEvery; diff --git a/lodash/overSome/index.d.ts b/lodash/overSome/index.d.ts index a64ab23985..a477a731d6 100644 --- a/lodash/overSome/index.d.ts +++ b/lodash/overSome/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const overSome: typeof _.overSome; export = overSome; diff --git a/lodash/pad/index.d.ts b/lodash/pad/index.d.ts index c6ea355f88..6e05201059 100644 --- a/lodash/pad/index.d.ts +++ b/lodash/pad/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const pad: typeof _.pad; export = pad; diff --git a/lodash/padEnd/index.d.ts b/lodash/padEnd/index.d.ts index 85a23d6745..1c0ab055ab 100644 --- a/lodash/padEnd/index.d.ts +++ b/lodash/padEnd/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const padEnd: typeof _.padEnd; export = padEnd; diff --git a/lodash/padStart/index.d.ts b/lodash/padStart/index.d.ts index d56f88ff3f..c01c225438 100644 --- a/lodash/padStart/index.d.ts +++ b/lodash/padStart/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const padStart: typeof _.padStart; export = padStart; diff --git a/lodash/parseInt/index.d.ts b/lodash/parseInt/index.d.ts index 2bc77cd439..adae82721c 100644 --- a/lodash/parseInt/index.d.ts +++ b/lodash/parseInt/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const parseInt: typeof _.parseInt; export = parseInt; diff --git a/lodash/partial/index.d.ts b/lodash/partial/index.d.ts index 6cb3448c13..146285d53c 100644 --- a/lodash/partial/index.d.ts +++ b/lodash/partial/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const partial: typeof _.partial; export = partial; diff --git a/lodash/partialRight/index.d.ts b/lodash/partialRight/index.d.ts index ad76803a49..b80ca70603 100644 --- a/lodash/partialRight/index.d.ts +++ b/lodash/partialRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const partialRight: typeof _.partialRight; export = partialRight; diff --git a/lodash/partition/index.d.ts b/lodash/partition/index.d.ts index b28090d747..f65d3ddec4 100644 --- a/lodash/partition/index.d.ts +++ b/lodash/partition/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const partition: typeof _.partition; export = partition; diff --git a/lodash/pick/index.d.ts b/lodash/pick/index.d.ts index d6374db1c3..f818fe77f8 100644 --- a/lodash/pick/index.d.ts +++ b/lodash/pick/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const pick: typeof _.pick; export = pick; diff --git a/lodash/pickBy/index.d.ts b/lodash/pickBy/index.d.ts index ff521d0f0b..b36e8c5030 100644 --- a/lodash/pickBy/index.d.ts +++ b/lodash/pickBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const pickBy: typeof _.pickBy; export = pickBy; diff --git a/lodash/property/index.d.ts b/lodash/property/index.d.ts index 092c5c322e..7f38e22aab 100644 --- a/lodash/property/index.d.ts +++ b/lodash/property/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const property: typeof _.property; export = property; diff --git a/lodash/propertyOf/index.d.ts b/lodash/propertyOf/index.d.ts index 8e00816454..5bab9f808f 100644 --- a/lodash/propertyOf/index.d.ts +++ b/lodash/propertyOf/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const propertyOf: typeof _.propertyOf; export = propertyOf; diff --git a/lodash/pull/index.d.ts b/lodash/pull/index.d.ts index 1bf0b4676e..29d3dbc7a3 100644 --- a/lodash/pull/index.d.ts +++ b/lodash/pull/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const pull: typeof _.pull; export = pull; diff --git a/lodash/pullAll/index.d.ts b/lodash/pullAll/index.d.ts index 888a578453..4cf151a625 100644 --- a/lodash/pullAll/index.d.ts +++ b/lodash/pullAll/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const pullAll: typeof _.pullAll; export = pullAll; diff --git a/lodash/pullAllBy/index.d.ts b/lodash/pullAllBy/index.d.ts index fb1039c955..c05728b5b7 100644 --- a/lodash/pullAllBy/index.d.ts +++ b/lodash/pullAllBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const pullAllBy: typeof _.pullAllBy; export = pullAllBy; diff --git a/lodash/pullAt/index.d.ts b/lodash/pullAt/index.d.ts index 5a09e6c6d0..52c1511338 100644 --- a/lodash/pullAt/index.d.ts +++ b/lodash/pullAt/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const pullAt: typeof _.pullAt; export = pullAt; diff --git a/lodash/random/index.d.ts b/lodash/random/index.d.ts index aff3c75360..6ade613a41 100644 --- a/lodash/random/index.d.ts +++ b/lodash/random/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const random: typeof _.random; export = random; diff --git a/lodash/range/index.d.ts b/lodash/range/index.d.ts index d877ac06ab..22943e8eeb 100644 --- a/lodash/range/index.d.ts +++ b/lodash/range/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const range: typeof _.range; export = range; diff --git a/lodash/rangeRight/index.d.ts b/lodash/rangeRight/index.d.ts index 9ed197a99d..2a2834b1a7 100644 --- a/lodash/rangeRight/index.d.ts +++ b/lodash/rangeRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const rangeRight: typeof _.rangeRight; export = rangeRight; diff --git a/lodash/rearg/index.d.ts b/lodash/rearg/index.d.ts index 6d2205b548..24cf311e1b 100644 --- a/lodash/rearg/index.d.ts +++ b/lodash/rearg/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const rearg: typeof _.rearg; export = rearg; diff --git a/lodash/reduce/index.d.ts b/lodash/reduce/index.d.ts index 8cc4ffd627..6b1e34dbd6 100644 --- a/lodash/reduce/index.d.ts +++ b/lodash/reduce/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const reduce: typeof _.reduce; export = reduce; diff --git a/lodash/reduceRight/index.d.ts b/lodash/reduceRight/index.d.ts index 6e4fa5fa0b..fab61dd161 100644 --- a/lodash/reduceRight/index.d.ts +++ b/lodash/reduceRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const reduceRight: typeof _.reduceRight; export = reduceRight; diff --git a/lodash/reject/index.d.ts b/lodash/reject/index.d.ts index b65f9b8adc..cf7d657824 100644 --- a/lodash/reject/index.d.ts +++ b/lodash/reject/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const reject: typeof _.reject; export = reject; diff --git a/lodash/remove/index.d.ts b/lodash/remove/index.d.ts index 259c308bfd..2328133b25 100644 --- a/lodash/remove/index.d.ts +++ b/lodash/remove/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const remove: typeof _.remove; export = remove; diff --git a/lodash/repeat/index.d.ts b/lodash/repeat/index.d.ts index 7cf02d9d12..edbe0d477b 100644 --- a/lodash/repeat/index.d.ts +++ b/lodash/repeat/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const repeat: typeof _.repeat; export = repeat; diff --git a/lodash/replace/index.d.ts b/lodash/replace/index.d.ts index 418a9a1c71..4d1850c985 100644 --- a/lodash/replace/index.d.ts +++ b/lodash/replace/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const replace: typeof _.replace; export = replace; diff --git a/lodash/rest/index.d.ts b/lodash/rest/index.d.ts index 0923835f60..c234dab703 100644 --- a/lodash/rest/index.d.ts +++ b/lodash/rest/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const rest: typeof _.rest; export = rest; diff --git a/lodash/result/index.d.ts b/lodash/result/index.d.ts index fbd744e51c..34e0dbb46e 100644 --- a/lodash/result/index.d.ts +++ b/lodash/result/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const result: typeof _.result; export = result; diff --git a/lodash/reverse/index.d.ts b/lodash/reverse/index.d.ts index e313d33ee0..b70e453982 100644 --- a/lodash/reverse/index.d.ts +++ b/lodash/reverse/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const reverse: typeof _.reverse; export = reverse; diff --git a/lodash/round/index.d.ts b/lodash/round/index.d.ts index 686f88c6bc..badf6e4626 100644 --- a/lodash/round/index.d.ts +++ b/lodash/round/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const round: typeof _.round; export = round; diff --git a/lodash/runInContext/index.d.ts b/lodash/runInContext/index.d.ts index e7416124e9..f70e214f67 100644 --- a/lodash/runInContext/index.d.ts +++ b/lodash/runInContext/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const runInContext: typeof _.runInContext; export = runInContext; diff --git a/lodash/sample/index.d.ts b/lodash/sample/index.d.ts index 533b2d1986..cb9501077e 100644 --- a/lodash/sample/index.d.ts +++ b/lodash/sample/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sample: typeof _.sample; export = sample; diff --git a/lodash/sampleSize/index.d.ts b/lodash/sampleSize/index.d.ts index 7679f83de9..c70d72def5 100644 --- a/lodash/sampleSize/index.d.ts +++ b/lodash/sampleSize/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sampleSize: typeof _.sampleSize; export = sampleSize; diff --git a/lodash/set/index.d.ts b/lodash/set/index.d.ts index 9e290e1e5a..c286af0443 100644 --- a/lodash/set/index.d.ts +++ b/lodash/set/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const set: typeof _.set; export = set; diff --git a/lodash/setWith/index.d.ts b/lodash/setWith/index.d.ts index 2196c354d0..5fa551f1d8 100644 --- a/lodash/setWith/index.d.ts +++ b/lodash/setWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const setWith: typeof _.setWith; export = setWith; diff --git a/lodash/shuffle/index.d.ts b/lodash/shuffle/index.d.ts index 9600038128..22c9549c7d 100644 --- a/lodash/shuffle/index.d.ts +++ b/lodash/shuffle/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const shuffle: typeof _.shuffle; export = shuffle; diff --git a/lodash/size/index.d.ts b/lodash/size/index.d.ts index 6574723f7d..8970b9f736 100644 --- a/lodash/size/index.d.ts +++ b/lodash/size/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const size: typeof _.size; export = size; diff --git a/lodash/slice/index.d.ts b/lodash/slice/index.d.ts index b82f44bfed..10472138fb 100644 --- a/lodash/slice/index.d.ts +++ b/lodash/slice/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const slice: typeof _.slice; export = slice; diff --git a/lodash/snakeCase/index.d.ts b/lodash/snakeCase/index.d.ts index f7c840144f..357cf0acd5 100644 --- a/lodash/snakeCase/index.d.ts +++ b/lodash/snakeCase/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const snakeCase: typeof _.snakeCase; export = snakeCase; diff --git a/lodash/some/index.d.ts b/lodash/some/index.d.ts index 4c96624b18..23b426ec15 100644 --- a/lodash/some/index.d.ts +++ b/lodash/some/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const some: typeof _.some; export = some; diff --git a/lodash/sortBy/index.d.ts b/lodash/sortBy/index.d.ts index 5fd8495f25..c5899210ab 100644 --- a/lodash/sortBy/index.d.ts +++ b/lodash/sortBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sortBy: typeof _.sortBy; export = sortBy; diff --git a/lodash/sortedIndex/index.d.ts b/lodash/sortedIndex/index.d.ts index 2e381ea6a2..364088dddc 100644 --- a/lodash/sortedIndex/index.d.ts +++ b/lodash/sortedIndex/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sortedIndex: typeof _.sortedIndex; export = sortedIndex; diff --git a/lodash/sortedIndexBy/index.d.ts b/lodash/sortedIndexBy/index.d.ts index bafa28b7f7..56ac613cd1 100644 --- a/lodash/sortedIndexBy/index.d.ts +++ b/lodash/sortedIndexBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sortedIndexBy: typeof _.sortedIndexBy; export = sortedIndexBy; diff --git a/lodash/sortedIndexOf/index.d.ts b/lodash/sortedIndexOf/index.d.ts index 562b1be9cc..f1d7b7d15e 100644 --- a/lodash/sortedIndexOf/index.d.ts +++ b/lodash/sortedIndexOf/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sortedIndexOf: typeof _.sortedIndexOf; export = sortedIndexOf; diff --git a/lodash/sortedLastIndex/index.d.ts b/lodash/sortedLastIndex/index.d.ts index 562cee2fc5..0afe34e0f5 100644 --- a/lodash/sortedLastIndex/index.d.ts +++ b/lodash/sortedLastIndex/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sortedLastIndex: typeof _.sortedLastIndex; export = sortedLastIndex; diff --git a/lodash/sortedLastIndexBy/index.d.ts b/lodash/sortedLastIndexBy/index.d.ts index 0a5edfab73..7114a2b094 100644 --- a/lodash/sortedLastIndexBy/index.d.ts +++ b/lodash/sortedLastIndexBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sortedLastIndexBy: typeof _.sortedLastIndexBy; export = sortedLastIndexBy; diff --git a/lodash/sortedLastIndexOf/index.d.ts b/lodash/sortedLastIndexOf/index.d.ts index 184f17204a..10019e77bd 100644 --- a/lodash/sortedLastIndexOf/index.d.ts +++ b/lodash/sortedLastIndexOf/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sortedLastIndexOf: typeof _.sortedLastIndexOf; export = sortedLastIndexOf; diff --git a/lodash/sortedUniq/index.d.ts b/lodash/sortedUniq/index.d.ts index d1a8a2f09f..45afedb998 100644 --- a/lodash/sortedUniq/index.d.ts +++ b/lodash/sortedUniq/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sortedUniq: typeof _.sortedUniq; export = sortedUniq; diff --git a/lodash/sortedUniqBy/index.d.ts b/lodash/sortedUniqBy/index.d.ts index c7c62539af..6cf2bd3568 100644 --- a/lodash/sortedUniqBy/index.d.ts +++ b/lodash/sortedUniqBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sortedUniqBy: typeof _.sortedUniqBy; export = sortedUniqBy; diff --git a/lodash/split/index.d.ts b/lodash/split/index.d.ts index d6190a0c65..6d49f21078 100644 --- a/lodash/split/index.d.ts +++ b/lodash/split/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const split: typeof _.split; export = split; diff --git a/lodash/spread/index.d.ts b/lodash/spread/index.d.ts index 58c202c652..312509f88a 100644 --- a/lodash/spread/index.d.ts +++ b/lodash/spread/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const spread: typeof _.spread; export = spread; diff --git a/lodash/startCase/index.d.ts b/lodash/startCase/index.d.ts index 45a7a80e9f..8cff2a5f3c 100644 --- a/lodash/startCase/index.d.ts +++ b/lodash/startCase/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const startCase: typeof _.startCase; export = startCase; diff --git a/lodash/startsWith/index.d.ts b/lodash/startsWith/index.d.ts index 7fe2154311..03019092e8 100644 --- a/lodash/startsWith/index.d.ts +++ b/lodash/startsWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const startsWith: typeof _.startsWith; export = startsWith; diff --git a/lodash/subtract/index.d.ts b/lodash/subtract/index.d.ts index 0f34c86968..f7e4542ff2 100644 --- a/lodash/subtract/index.d.ts +++ b/lodash/subtract/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const subtract: typeof _.subtract; export = subtract; diff --git a/lodash/sum/index.d.ts b/lodash/sum/index.d.ts index f770bcf0ae..bf83b1c437 100644 --- a/lodash/sum/index.d.ts +++ b/lodash/sum/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sum: typeof _.sum; export = sum; diff --git a/lodash/sumBy/index.d.ts b/lodash/sumBy/index.d.ts index 84efab7c01..3340bad026 100644 --- a/lodash/sumBy/index.d.ts +++ b/lodash/sumBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const sumBy: typeof _.sumBy; export = sumBy; diff --git a/lodash/tail/index.d.ts b/lodash/tail/index.d.ts index d25ddc08fb..e267cb2196 100644 --- a/lodash/tail/index.d.ts +++ b/lodash/tail/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const tail: typeof _.tail; export = tail; diff --git a/lodash/take/index.d.ts b/lodash/take/index.d.ts index 7f5ea8a6fa..236d194968 100644 --- a/lodash/take/index.d.ts +++ b/lodash/take/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const take: typeof _.take; export = take; diff --git a/lodash/takeRight/index.d.ts b/lodash/takeRight/index.d.ts index c561f11f99..c6813a7ff2 100644 --- a/lodash/takeRight/index.d.ts +++ b/lodash/takeRight/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const takeRight: typeof _.takeRight; export = takeRight; diff --git a/lodash/takeRightWhile/index.d.ts b/lodash/takeRightWhile/index.d.ts index 12884b1be6..347489a2eb 100644 --- a/lodash/takeRightWhile/index.d.ts +++ b/lodash/takeRightWhile/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const takeRightWhile: typeof _.takeRightWhile; export = takeRightWhile; diff --git a/lodash/takeWhile/index.d.ts b/lodash/takeWhile/index.d.ts index 0d323ef0a8..0ec1e14ca8 100644 --- a/lodash/takeWhile/index.d.ts +++ b/lodash/takeWhile/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const takeWhile: typeof _.takeWhile; export = takeWhile; diff --git a/lodash/tap/index.d.ts b/lodash/tap/index.d.ts index bffeff3afd..fefe3e6ab5 100644 --- a/lodash/tap/index.d.ts +++ b/lodash/tap/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const tap: typeof _.tap; export = tap; diff --git a/lodash/template/index.d.ts b/lodash/template/index.d.ts index b99c00a20e..d4affb71d9 100644 --- a/lodash/template/index.d.ts +++ b/lodash/template/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const template: typeof _.template; export = template; diff --git a/lodash/throttle/index.d.ts b/lodash/throttle/index.d.ts index 82c9956245..bf68a2d1ac 100644 --- a/lodash/throttle/index.d.ts +++ b/lodash/throttle/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const throttle: typeof _.throttle; export = throttle; diff --git a/lodash/thru/index.d.ts b/lodash/thru/index.d.ts index 6efdf2eef5..729a21cd10 100644 --- a/lodash/thru/index.d.ts +++ b/lodash/thru/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const thru: typeof _.thru; export = thru; diff --git a/lodash/times/index.d.ts b/lodash/times/index.d.ts index cffb5287ba..776ba6b154 100644 --- a/lodash/times/index.d.ts +++ b/lodash/times/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const times: typeof _.times; export = times; diff --git a/lodash/toArray/index.d.ts b/lodash/toArray/index.d.ts index d78b2d213f..227df17e69 100644 --- a/lodash/toArray/index.d.ts +++ b/lodash/toArray/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toArray: typeof _.toArray; export = toArray; diff --git a/lodash/toInteger/index.d.ts b/lodash/toInteger/index.d.ts index 01050d7de5..c0a5bd4456 100644 --- a/lodash/toInteger/index.d.ts +++ b/lodash/toInteger/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toInteger: typeof _.toInteger; export = toInteger; diff --git a/lodash/toLength/index.d.ts b/lodash/toLength/index.d.ts index 3fb779d897..d7eae4d786 100644 --- a/lodash/toLength/index.d.ts +++ b/lodash/toLength/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toLength: typeof _.toLength; export = toLength; diff --git a/lodash/toLower/index.d.ts b/lodash/toLower/index.d.ts index e554406abb..b305d65ae8 100644 --- a/lodash/toLower/index.d.ts +++ b/lodash/toLower/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toLower: typeof _.toLower; export = toLower; diff --git a/lodash/toNumber/index.d.ts b/lodash/toNumber/index.d.ts index 9b7939af36..6892091bed 100644 --- a/lodash/toNumber/index.d.ts +++ b/lodash/toNumber/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toNumber: typeof _.toNumber; export = toNumber; diff --git a/lodash/toPairs/index.d.ts b/lodash/toPairs/index.d.ts index 7d02a99a7f..74adbb229e 100644 --- a/lodash/toPairs/index.d.ts +++ b/lodash/toPairs/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toPairs: typeof _.toPairs; export = toPairs; diff --git a/lodash/toPairsIn/index.d.ts b/lodash/toPairsIn/index.d.ts index 5f77035569..50da0d461b 100644 --- a/lodash/toPairsIn/index.d.ts +++ b/lodash/toPairsIn/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toPairsIn: typeof _.toPairsIn; export = toPairsIn; diff --git a/lodash/toPath/index.d.ts b/lodash/toPath/index.d.ts index 36eb74ce22..8d373b1aa2 100644 --- a/lodash/toPath/index.d.ts +++ b/lodash/toPath/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toPath: typeof _.toPath; export = toPath; diff --git a/lodash/toPlainObject/index.d.ts b/lodash/toPlainObject/index.d.ts index 2d7c367e0d..77adef113e 100644 --- a/lodash/toPlainObject/index.d.ts +++ b/lodash/toPlainObject/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toPlainObject: typeof _.toPlainObject; export = toPlainObject; diff --git a/lodash/toSafeInteger/index.d.ts b/lodash/toSafeInteger/index.d.ts index 2d43695a6b..ae227851ce 100644 --- a/lodash/toSafeInteger/index.d.ts +++ b/lodash/toSafeInteger/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toSafeInteger: typeof _.toSafeInteger; export = toSafeInteger; diff --git a/lodash/toString/index.d.ts b/lodash/toString/index.d.ts index 7798267680..b227592778 100644 --- a/lodash/toString/index.d.ts +++ b/lodash/toString/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toString: typeof _.toString; export = toString; diff --git a/lodash/toUpper/index.d.ts b/lodash/toUpper/index.d.ts index 831ebdf8de..9536ef4d59 100644 --- a/lodash/toUpper/index.d.ts +++ b/lodash/toUpper/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const toUpper: typeof _.toUpper; export = toUpper; diff --git a/lodash/transform/index.d.ts b/lodash/transform/index.d.ts index 5a1f444f89..465b1f3fe0 100644 --- a/lodash/transform/index.d.ts +++ b/lodash/transform/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const transform: typeof _.transform; export = transform; diff --git a/lodash/trim/index.d.ts b/lodash/trim/index.d.ts index 986bb3e162..ebdada194a 100644 --- a/lodash/trim/index.d.ts +++ b/lodash/trim/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const trim: typeof _.trim; export = trim; diff --git a/lodash/trimEnd/index.d.ts b/lodash/trimEnd/index.d.ts index 3d5efead77..e9e3d5d20f 100644 --- a/lodash/trimEnd/index.d.ts +++ b/lodash/trimEnd/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const trimEnd: typeof _.trimEnd; export = trimEnd; diff --git a/lodash/trimStart/index.d.ts b/lodash/trimStart/index.d.ts index b1032510a6..7dc706df7d 100644 --- a/lodash/trimStart/index.d.ts +++ b/lodash/trimStart/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const trimStart: typeof _.trimStart; export = trimStart; diff --git a/lodash/truncate/index.d.ts b/lodash/truncate/index.d.ts index 611ebc245e..3682327587 100644 --- a/lodash/truncate/index.d.ts +++ b/lodash/truncate/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const truncate: typeof _.truncate; export = truncate; diff --git a/lodash/unary/index.d.ts b/lodash/unary/index.d.ts index a98a37b1f0..1f33359f10 100644 --- a/lodash/unary/index.d.ts +++ b/lodash/unary/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const unary: typeof _.unary; export = unary; diff --git a/lodash/unescape/index.d.ts b/lodash/unescape/index.d.ts index f77f40f694..47e57bdcf0 100644 --- a/lodash/unescape/index.d.ts +++ b/lodash/unescape/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const unescape: typeof _.unescape; export = unescape; diff --git a/lodash/union/index.d.ts b/lodash/union/index.d.ts index 6b4b815a50..7b75832a45 100644 --- a/lodash/union/index.d.ts +++ b/lodash/union/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const union: typeof _.union; export = union; diff --git a/lodash/unionBy/index.d.ts b/lodash/unionBy/index.d.ts index c83a065652..57b4f25304 100644 --- a/lodash/unionBy/index.d.ts +++ b/lodash/unionBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const unionBy: typeof _.unionBy; export = unionBy; diff --git a/lodash/unionWith/index.d.ts b/lodash/unionWith/index.d.ts index 64affa4b48..a28ad34afd 100644 --- a/lodash/unionWith/index.d.ts +++ b/lodash/unionWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const unionWith: typeof _.unionWith; export = unionWith; diff --git a/lodash/uniq/index.d.ts b/lodash/uniq/index.d.ts index d99b8a0dbb..8b3407b466 100644 --- a/lodash/uniq/index.d.ts +++ b/lodash/uniq/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const uniq: typeof _.uniq; export = uniq; diff --git a/lodash/uniqBy/index.d.ts b/lodash/uniqBy/index.d.ts index cb58c9387c..4c2eb0902d 100644 --- a/lodash/uniqBy/index.d.ts +++ b/lodash/uniqBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const uniqBy: typeof _.uniqBy; export = uniqBy; diff --git a/lodash/uniqWith/index.d.ts b/lodash/uniqWith/index.d.ts index b14fc16e87..17390de4fd 100644 --- a/lodash/uniqWith/index.d.ts +++ b/lodash/uniqWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const uniqWith: typeof _.uniqWith; export = uniqWith; diff --git a/lodash/uniqueId/index.d.ts b/lodash/uniqueId/index.d.ts index d0be01331d..9cf2302f65 100644 --- a/lodash/uniqueId/index.d.ts +++ b/lodash/uniqueId/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const uniqueId: typeof _.uniqueId; export = uniqueId; diff --git a/lodash/unset/index.d.ts b/lodash/unset/index.d.ts index 94121841f0..840899b326 100644 --- a/lodash/unset/index.d.ts +++ b/lodash/unset/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const unset: typeof _.unset; export = unset; diff --git a/lodash/unzip/index.d.ts b/lodash/unzip/index.d.ts index aa15594438..329323c6ed 100644 --- a/lodash/unzip/index.d.ts +++ b/lodash/unzip/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const unzip: typeof _.unzip; export = unzip; diff --git a/lodash/unzipWith/index.d.ts b/lodash/unzipWith/index.d.ts index 16f96304e3..e0b3804775 100644 --- a/lodash/unzipWith/index.d.ts +++ b/lodash/unzipWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const unzipWith: typeof _.unzipWith; export = unzipWith; diff --git a/lodash/update/index.d.ts b/lodash/update/index.d.ts index bb2aa49796..d75d31debb 100644 --- a/lodash/update/index.d.ts +++ b/lodash/update/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const update: typeof _.update; export = update; diff --git a/lodash/upperCase/index.d.ts b/lodash/upperCase/index.d.ts index 815be554f7..7c7f17e80c 100644 --- a/lodash/upperCase/index.d.ts +++ b/lodash/upperCase/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const upperCase: typeof _.upperCase; export = upperCase; diff --git a/lodash/upperFirst/index.d.ts b/lodash/upperFirst/index.d.ts index 8a73e36894..3ca2c266ac 100644 --- a/lodash/upperFirst/index.d.ts +++ b/lodash/upperFirst/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const upperFirst: typeof _.upperFirst; export = upperFirst; diff --git a/lodash/values/index.d.ts b/lodash/values/index.d.ts index be86c31713..43a45a107e 100644 --- a/lodash/values/index.d.ts +++ b/lodash/values/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const values: typeof _.values; export = values; diff --git a/lodash/valuesIn/index.d.ts b/lodash/valuesIn/index.d.ts index 9d60133a43..7ea94e5dd0 100644 --- a/lodash/valuesIn/index.d.ts +++ b/lodash/valuesIn/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const valuesIn: typeof _.valuesIn; export = valuesIn; diff --git a/lodash/without/index.d.ts b/lodash/without/index.d.ts index b124bd2024..00d8ecc475 100644 --- a/lodash/without/index.d.ts +++ b/lodash/without/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const without: typeof _.without; export = without; diff --git a/lodash/words/index.d.ts b/lodash/words/index.d.ts index 326fc018ff..0a67f5c160 100644 --- a/lodash/words/index.d.ts +++ b/lodash/words/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const words: typeof _.words; export = words; diff --git a/lodash/wrap/index.d.ts b/lodash/wrap/index.d.ts index 0c7c2d6f19..5f6016e838 100644 --- a/lodash/wrap/index.d.ts +++ b/lodash/wrap/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const wrap: typeof _.wrap; export = wrap; diff --git a/lodash/xor/index.d.ts b/lodash/xor/index.d.ts index 6bc5369981..7adb0c42d8 100644 --- a/lodash/xor/index.d.ts +++ b/lodash/xor/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const xor: typeof _.xor; export = xor; diff --git a/lodash/xorBy/index.d.ts b/lodash/xorBy/index.d.ts index 236ce3db5e..e6b44b3ca0 100644 --- a/lodash/xorBy/index.d.ts +++ b/lodash/xorBy/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const xorBy: typeof _.xorBy; export = xorBy; diff --git a/lodash/xorWith/index.d.ts b/lodash/xorWith/index.d.ts index 38e428492c..88e2314c33 100644 --- a/lodash/xorWith/index.d.ts +++ b/lodash/xorWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const xorWith: typeof _.xorWith; export = xorWith; diff --git a/lodash/zip/index.d.ts b/lodash/zip/index.d.ts index 926ef76f77..512415025a 100644 --- a/lodash/zip/index.d.ts +++ b/lodash/zip/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const zip: typeof _.zip; export = zip; diff --git a/lodash/zipObject/index.d.ts b/lodash/zipObject/index.d.ts index 93ef0b014b..e465dc1b8a 100644 --- a/lodash/zipObject/index.d.ts +++ b/lodash/zipObject/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const zipObject: typeof _.zipObject; export = zipObject; diff --git a/lodash/zipWith/index.d.ts b/lodash/zipWith/index.d.ts index a13521a6b0..46ff41a137 100644 --- a/lodash/zipWith/index.d.ts +++ b/lodash/zipWith/index.d.ts @@ -3,6 +3,6 @@ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -import * as _ from "../index" +import * as _ from "../index"; declare const zipWith: typeof _.zipWith; export = zipWith; diff --git a/material-ui/index.d.ts b/material-ui/index.d.ts index aba629a3bb..637078759b 100644 --- a/material-ui/index.d.ts +++ b/material-ui/index.d.ts @@ -1328,7 +1328,7 @@ declare namespace __MaterialUI { onDragStop?: React.MouseEventHandler<{}>; onFocus?: React.FocusEventHandler<{}>; required?: boolean; - sliderStyle?: React.CSSProperties, + sliderStyle?: React.CSSProperties; step?: number; style?: React.CSSProperties; value?: number; @@ -8572,11 +8572,11 @@ declare module 'material-ui/internal/ExpandTransitionChild' { } declare module 'material-ui/internal/FocusRipple' { interface FocusRippleProps extends React.Props { - color?: string, - innerStyle?: React.CSSProperties, - opacity?: number, - show?: boolean, - style?: React.CSSProperties + color?: string; + innerStyle?: React.CSSProperties; + opacity?: number; + show?: boolean; + style?: React.CSSProperties; } class FocusRipple extends React.Component { } export default FocusRipple; @@ -8633,7 +8633,7 @@ declare module 'material-ui/internal/SlideIn' { } declare module 'material-ui/internal/SlideInChild' { interface SlideInChildProps extends React.Props { - direction?: string, + direction?: string; enterDelay?: number; getLeaveDirection: Function; style?: React.CSSProperties; diff --git a/medium-editor/index.d.ts b/medium-editor/index.d.ts index 40ef6b9513..4fa7cf76b2 100644 --- a/medium-editor/index.d.ts +++ b/medium-editor/index.d.ts @@ -41,7 +41,7 @@ declare namespace MediumEditor { createLink(opts: CreateLinkOptions): void; execAction(action: string, opts?: string): boolean; execAction(action: string, opts?: CreateLinkOptions): boolean; - pasteHTML(html: string, options?:PasteHTMLOptions): void; + pasteHTML(html: string, options?: PasteHTMLOptions): void; queryCommandState(action: string): boolean; // Helper Functions @@ -63,7 +63,7 @@ declare namespace MediumEditor { revision: number; preRelease: string; toString: Function; - } + }; } export interface CoreOptions { @@ -131,11 +131,11 @@ declare namespace MediumEditor { export interface PasteOptions { forcePlainText?: boolean; cleanPastedHTML?: boolean; - preCleanReplacements?: any[], - cleanReplacements?: any[], + preCleanReplacements?: any[]; + cleanReplacements?: any[]; cleanAttrs?: string[]; cleanTags?: string[]; - unwrapTags?: string[], + unwrapTags?: string[]; } export interface KeyboardCommandsOptions { @@ -156,7 +156,7 @@ declare namespace MediumEditor { buttonClass?: string; } - export interface PasteHTMLOptions{ + export interface PasteHTMLOptions { cleanAttrs?: string[]; cleanTags?: string[]; unwrapTags?: string[]; diff --git a/mongoose/index.d.ts b/mongoose/index.d.ts index 6c52150a9c..ee8a73a9f9 100644 --- a/mongoose/index.d.ts +++ b/mongoose/index.d.ts @@ -1260,7 +1260,7 @@ declare module "mongoose" { // constructor exposes static methods of mongodb.ObjectID and ObjectId(id) type ObjectIdConstructor = typeof mongodb.ObjectID & { (s?: string | number): mongodb.ObjectID; - } + }; // var objectId: mongoose.Types.ObjectId should reference mongodb.ObjectID not // the ObjectIdConstructor, so we add the interface below diff --git a/n3/index.d.ts b/n3/index.d.ts index 4e2dc55ce0..22505cc80e 100644 --- a/n3/index.d.ts +++ b/n3/index.d.ts @@ -22,15 +22,15 @@ declare namespace N3 { } interface Triple { - subject: string, - predicate: string, - object: string, - graph?: string + subject: string; + predicate: string; + object: string; + graph?: string; } interface BlankTriple { - predicate: string, - object: string + predicate: string; + object: string; } @@ -47,8 +47,8 @@ declare namespace N3 { const StreamParser: StreamParserConstructor; interface ParserOptions { - format?: string, - prefixes?: string[] + format?: string; + prefixes?: string[]; } interface ParseCallback { @@ -97,8 +97,8 @@ declare namespace N3 { } interface WriterOptions { - format?: string, - prefixes?: Prefixes + format?: string; + prefixes?: Prefixes; } interface N3StoreWriter extends N3Writer { diff --git a/node-json-db/index.d.ts b/node-json-db/index.d.ts index 9a6dfa6160..148dec6812 100644 --- a/node-json-db/index.d.ts +++ b/node-json-db/index.d.ts @@ -8,7 +8,7 @@ declare class JsonDB { * Create the JSON database * @param filename where to save the data base * @param saveOnPush saving on modification of the data - * @param humanReadable is the json file humand readable + * @param humanReadable is the json file humand readable * @returns {JsonDB} * @constructor */ @@ -45,7 +45,7 @@ declare class JsonDB { * It is automatically called when the first getData is done */ load(): void; - + /** * Manually save the database * By default you can't save the database if it's not loaded diff --git a/pkcs11js/index.d.ts b/pkcs11js/index.d.ts index d2bd6d886b..60ad4263c9 100644 --- a/pkcs11js/index.d.ts +++ b/pkcs11js/index.d.ts @@ -35,7 +35,7 @@ declare namespace Pkcs11js { manufacturerID: string; flags: number; hardwareVersion: Version; - firmwareVersion: Version + firmwareVersion: Version; } interface TokenInfo { @@ -52,7 +52,7 @@ declare namespace Pkcs11js { minPinLen: number; hardwareVersion: Version; firmwareVersion: Version; - utcTime: string + utcTime: string; totalPublicMemory: number; freePublicMemory: number; totalPrivateMemory: number; @@ -134,8 +134,8 @@ declare namespace Pkcs11js { } interface KeyPair { - privateKey: Handle, - publicKey: Handle, + privateKey: Handle; + publicKey: Handle; } export class PKCS11 { diff --git a/pkijs/index.d.ts b/pkijs/index.d.ts index 106dfa2405..85cae0773a 100644 --- a/pkijs/index.d.ts +++ b/pkijs/index.d.ts @@ -29,15 +29,15 @@ declare module "pkijs/src/AttributeTypeAndValue" { export default class AttributeTypeAndValue { /** - * - * + * + * * @type {ObjectIdentifier} * @memberOf AttributeTypeAndValue */ type: ObjectIdentifier; /** - * - * + * + * * @type {*} * @memberOf AttributeTypeAndValue */ @@ -45,10 +45,10 @@ declare module "pkijs/src/AttributeTypeAndValue" { /** * Compare two AttributeTypeAndValue values, or AttributeTypeAndValue with ArrayBuffer value - * + * * @param {(AttributeTypeAndValue|ArrayBuffer)} compareTo The value compare to current * @returns {boolean} - * + * * @memberOf AttributeTypeAndValue */ isEqual(compareTo: AttributeTypeAndValue|ArrayBuffer): boolean; @@ -92,7 +92,7 @@ declare module "pkijs/src/GeneralName" { /** * value type - from a tagged value (0 for "otherName", 1 for "rfc822Name" etc.) - * + * * @type {number} * @memberOf GeneralName */ @@ -100,7 +100,7 @@ declare module "pkijs/src/GeneralName" { /** * asn1js object having GENERAL_NAME value (type depends on "type" value) - * + * * @type {*} * @memberOf GeneralName */ @@ -188,7 +188,7 @@ declare module "pkijs/src/AccessDescription" { import GeneralName from "pkijs/src/AccessDescription"; /** * Class from RFC5280 - * + * * @export * @class AccessDescription */ @@ -252,7 +252,7 @@ declare module "pkijs/src/BasicOCSPResponse" { isForCertificate: boolean; /** * 0 = good, 1 = revoked, 2 = unknown - * + * * @type {number} * @memberOf GetCertificateStatusResult */ @@ -279,7 +279,7 @@ declare module "pkijs/src/BasicOCSPResponse" { getCertificateStatus(certificate: Certificate, issuerCertificate: Certificate): PromiseLike; /** * Make signature for current OCSP Basic Response - * + * * @param {CryptoKey} privateKey Private key for "subjectPublicKeyInfo" structure * @param {string} [hashAlgorithm] Hashing algorithm. Default SHA-1 * @returns {PromiseLike} @@ -287,7 +287,7 @@ declare module "pkijs/src/BasicOCSPResponse" { sign(privateKey: CryptoKey, hashAlgorithm?: string): PromiseLike; /** * Verify existing OCSP Basic Response - * + * * @param {{ trustedCerts?: Certificate[] }} parameters Additional parameters * @returns {PromiseLike} */ @@ -374,7 +374,7 @@ declare module "pkijs/src/Certificate" { /** * Convert current object to asn1js object and set correct values - * + * * @param {boolean} [encodeFlag] * @returns {*} */ @@ -394,7 +394,7 @@ declare module "pkijs/src/Certificate" { getKeyHash(): PromiseLike; /** * Make a signature for current value from TBS section - * + * * @param {CryptoKey} privateKey Private key for "subjectPublicKeyInfo" structure * @param {string} [hashAlgorithm="SHA-1"] Hashing algorithm */ @@ -482,7 +482,7 @@ declare module "pkijs/src/CertificateRevocationList" { /** * Convert current object to asn1js object and set correct values - * + * * @param {boolean} [encodeFlag] * @returns {*} */ @@ -550,7 +550,7 @@ declare module "pkijs/src/CertificationRequest" { /** * Convert current object to asn1js object and set correct values - * + * * @param {boolean} [encodeFlag] * @returns {*} */ @@ -558,25 +558,25 @@ declare module "pkijs/src/CertificationRequest" { /** * Aux function making ASN1js Sequence from current TBS - * + * * @returns {Sequence} */ encodeTBS(): Sequence; /** * Makes signature for currect certification request - * + * * @param {CryptoKey} privateKey WebCrypto private key * @param {string} [hashAlgorithm] String representing current hashing algorithm * @returns {PromiseLike} - * + * * @memberOf CertificationRequest */ sign(privateKey: CryptoKey, hashAlgorithm?: string): PromiseLike; /** * Verify existing certification request signature - * + * * @returns {PromiseLike} - * + * * @memberOf CertificationRequest */ verify(): PromiseLike; @@ -799,7 +799,7 @@ declare module "pkijs/src/EncapsulatedContentInfo" { export default class EncapsulatedContentInfo { eContentType: string; - eContent: OctetString + eContent: OctetString; /** * Compare values with default values for all class members * @param {string} memberName String name for a class member @@ -1204,7 +1204,7 @@ declare module "pkijs/src/KeyTransRecipientInfo" { encryptedKey: OctetString; /** * For some reasons we need to store recipient's certificate here - * + * * @type {Certificate} * @memberOf KeyTransRecipientInfo */ @@ -1302,7 +1302,7 @@ declare module "pkijs/src/OCSPRequest" { optionalSignature?: Signature; /** * Convert current object to asn1js object and set correct values - * + * * @param {boolean} [encodeFlag] * @returns {*} */ @@ -1539,8 +1539,8 @@ declare module "pkijs/src/PasswordRecipientinfo" { export default class PasswordRecipientinfo { version: number; - keyDerivationAlgorithm?: AlgorithmIdentifier - keyEncryptionAlgorithm: AlgorithmIdentifier + keyDerivationAlgorithm?: AlgorithmIdentifier; + keyEncryptionAlgorithm: AlgorithmIdentifier; encryptedKey: OctetString; password: ArrayBuffer; /** @@ -1640,7 +1640,7 @@ declare module "pkijs/src/PolicyInformation" { export default class PolicyInformation { policyIdentifier: string; /** - * Value of the TIME class + * Value of the TIME class */ policyQualifiers: PolicyQualifierInfo[]; @@ -1752,7 +1752,7 @@ declare module "pkijs/src/PublicKeyInfo" { import RSAPublicKey from "pkijs/src/RSAPublicKey"; export default class PublicKeyInfo { - algorithm: AlgorithmIdentifier + algorithm: AlgorithmIdentifier; subjectPublicKey: BitString; parsedKey?: ECPublicKey | RSAPublicKey; /** @@ -1973,7 +1973,7 @@ declare module "pkijs/src/ResponseData" { responseExtensions: Extension[]; /** * Convert current object to asn1js object and set correct values - * + * * @param {boolean} [encodeFlag] * @returns {*} */ @@ -2114,28 +2114,28 @@ declare module "pkijs/src/RSASSAPSSParams" { export default class RSASSAPSSParams { /** * Algorithms of hashing (DEFAULT sha1) - * + * * @type {AlgorithmIdentifier} * @memberOf RSASSAPSSParams */ hashAlgorithm: AlgorithmIdentifier; /** * Algorithm of "mask generaion function (MGF)" (DEFAULT mgf1SHA1) - * + * * @type {AlgorithmIdentifier} * @memberOf RSASSAPSSParams */ maskGenAlgorithm: AlgorithmIdentifier; /** * Salt length (DEFAULT 20) - * + * * @type {number} * @memberOf RSASSAPSSParams */ saltLength: number; /** * (DEFAULT 1) - * + * * @type {number} * @memberOf RSASSAPSSParams */ @@ -2216,7 +2216,7 @@ declare module "pkijs/src/SignedData" { interface VerifyParams { signer?: number; data?: ArrayBuffer; - trustedCerts?: Certificate[], + trustedCerts?: Certificate[]; checkDate?: Date; checkChain?: boolean; includeSignerCertificate?: boolean; @@ -2235,9 +2235,9 @@ declare module "pkijs/src/SignedData" { export default class SignedData { version: number; digestAlgorithms: AlgorithmIdentifier[]; - encapContentInfo: EncapsulatedContentInfo - certificates?: Certificate[] | OtherCertificateFormat[] - crls?: CertificateRevocationList[] | OtherRevocationInfoFormat[] + encapContentInfo: EncapsulatedContentInfo; + certificates?: Certificate[] | OtherCertificateFormat[]; + crls?: CertificateRevocationList[] | OtherRevocationInfoFormat[]; signerInfos: SignerInfo[]; /** * Compare values with default values for all class members @@ -2248,7 +2248,7 @@ declare module "pkijs/src/SignedData" { /** * Convert current object to asn1js object and set correct values - * + * * @param {boolean} [encodeFlag] * @returns {*} */ @@ -2257,13 +2257,13 @@ declare module "pkijs/src/SignedData" { verify(options: VerifyParams): PromiseLike; /** * Signing current SignedData - * + * * @param {CryptoKey} privateKey Private key for "subjectPublicKeyInfo" structure * @param {number} signerIndex Index number (starting from 0) of signer index to make signature for * @param {string} [hashAlgorithm] Hashing algorithm. Default SHA-1 * @param {BufferSource} [data] Detached data * @returns {ArrayBuffer} - * + * * @memberOf SignedData */ sign(privateKey: CryptoKey, signerIndex: number, hashAlgorithm?: string, data?: BufferSource): ArrayBuffer; @@ -2367,7 +2367,7 @@ declare module "pkijs/src/TBSRequest" { requestExtensions?: Extension; /** * Convert current object to asn1js object and set correct values - * + * * @param {boolean} [encodeFlag] * @returns {*} */ @@ -2532,27 +2532,27 @@ declare module "pkijs/src/common" { function getEngine(): Engine; /** * Get crypto subtle from current "crypto engine" or "undefined" - * + * * @returns {(SubtleCrypto | undefined)} */ function getCrypto(): SubtleCrypto | undefined; /** * Initialize input Uint8Array by random values (with help from current "crypto engine") - * + * * @param {ArrayBufferView} view * @returns {ArrayBufferView} */ function getRandomValues(view: ArrayBufferView): ArrayBufferView; /** * Get OID for each specific WebCrypto algorithm - * + * * @param {Algorithm} algorithm * @returns {string} */ function getOIDByAlgorithm(algorithm: Algorithm): string; /** * Get default algorithm parameters for each kind of operation - * + * * @param {string} algorithmName Algorithm name to get common parameters for * @param {string} operation Kind of operation: "sign", "encrypt", "generatekey", "importkey", "exportkey", "verify" * @returns {{ algorithm: Algorithm; usages: string[]; }} @@ -2560,51 +2560,51 @@ declare module "pkijs/src/common" { function getAlgorithmParameters(algorithmName: string, operation: string): { algorithm: Algorithm; usages: string[]; }; /** * Create CMS ECDSA signature from WebCrypto ECDSA signature - * + * * @param {ArrayBuffer} signatureBuffer WebCrypto result of "sign" function * @returns {ArrayBuffer} */ function createCMSECDSASignature(signatureBuffer: ArrayBuffer): ArrayBuffer; /** * String preparation function. In a future here will be realization of algorithm from RFC4518 - * + * * @param {string} inputString JavaScript string. As soon as for each ASN.1 string type we have a specific transformation function here we will work with pure JavaScript string * @returns {string} Formated string */ function stringPrep(inputString: string): string; /** * Create a single ArrayBuffer from CMS ECDSA signature - * + * * @param {Sequence} cmsSignature ASN.1 SEQUENCE contains CMS ECDSA signature * @returns {ArrayBuffer} */ function createECDSASignatureFromCMS(cmsSignature: Sequence): ArrayBuffer; /** * Get WebCrypto algorithm by wel-known OID - * + * * @param {string} oid Wel-known OID to search for * @returns {Algorithm} */ function getAlgorithmByOID(oid: string): Algorithm; /** * Getting hash algorithm by signature algorithm - * + * * @param {AlgorithmIdentifier} signatureAlgorithm Signature algorithm * @returns {string} */ function getHashAlgorithm(signatureAlgorithm: AlgorithmIdentifier): string; /** * ANS X9.63 Key Derivation Function having a "Counter" as a parameter - * + * * @param {string} hashFunction Used hash function * @param {ArrayBuffer} Zbuffer ArrayBuffer containing ECDH shared secret to derive from * @param {number} Counter * @param {ArrayBuffer} SharedInfo Usually DER encoded "ECC_CMS_SharedInfo" structure */ - function kdfWithCounter(hashFunction: string, Zbuffer: ArrayBuffer, Counter: number, SharedInfo: ArrayBuffer): PromiseLike<{ counter: number; result: ArrayBuffer; }> + function kdfWithCounter(hashFunction: string, Zbuffer: ArrayBuffer, Counter: number, SharedInfo: ArrayBuffer): PromiseLike<{ counter: number; result: ArrayBuffer; }>; /** * ANS X9.63 Key Derivation Function - * + * * @param {string} hashFunction Used hash function * @param {ArrayBuffer} Zbuffer ArrayBuffer containing ECDH shared secret to derive from * @param {number} keydatalen Length (!!! in BITS !!!) of used kew derivation function diff --git a/pug/index.d.ts b/pug/index.d.ts index dbb93ce2b0..80c1f0ac3e 100644 --- a/pug/index.d.ts +++ b/pug/index.d.ts @@ -17,29 +17,29 @@ declare module 'pug' { //////////////////////////////////////////////////////////// export interface Options { /** The name of the file being compiled. Used in exceptions, and required for relative includes and extends. Defaults to 'Pug'. */ - filename?: string, + filename?: string; /** The root directory of all absolute inclusion. */ - basedir?: string, + basedir?: string; /** If the doctype is not specified as part of the template, you can specify it here. It is sometimes useful to get self-closing tags and remove mirroring of boolean attributes; see doctype documentation for more information. */ - doctype?: string, + doctype?: string; /** Adds whitespace to the resulting HTML to make it easier for a human to read using ' ' as indentation. If a string is specified, that will be used as indentation instead (e.g. '\t'). Defaults to false. */ - pretty?: boolean | string, + pretty?: boolean | string; /** Hash table of custom filters. Defaults to undefined. */ - filters?: any, + filters?: any; /** Use a self namespace to hold the locals. It will speed up the compilation, but instead of writing variable you will have to write self.variable to access a property of the locals object. Defaults to false. */ - self?: boolean, + self?: boolean; /** If set to true, the tokens and function body are logged to stdout. */ - debug?: boolean, + debug?: boolean; /** If set to true, the function source will be included in the compiled template for better error messages (sometimes useful in development). It is enabled by default unless used with Express in production mode. */ - compileDebug?: boolean, + compileDebug?: boolean; /** Add a list of global names to make accessible in templates. */ - globals?: Array, + globals?: Array; /** If set to true, compiled functions are cached. filename must be set as the cache key. Only applies to render functions. Defaults to false. */ - cache?: boolean, + cache?: boolean; /** Inline runtime functions instead of require-ing them from a shared version. For compileClient functions, the default is true so that one does not have to include the runtime. For all other compilation or rendering types, the default is false. */ - inlineRuntimeFunctions?: boolean, + inlineRuntimeFunctions?: boolean; /** The name of the template function. Only applies to compileClient functions. Defaults to 'template'. */ - name?: string + name?: string; } //////////////////////////////////////////////////////////// @@ -125,12 +125,12 @@ declare module 'pug' { /// Types /// /////////////////// - /** + /** * A function that can be use to render html string of compiled template. */ export type compileTemplate = (locals?: LocalsObject) => string; - /** + /** * An object that can have multiple properties of any type. */ export interface LocalsObject { diff --git a/pvutils/index.d.ts b/pvutils/index.d.ts index 65b1443561..f42b73656c 100644 --- a/pvutils/index.d.ts +++ b/pvutils/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Stepan Miroshin // Definitions: https://github.com/borisyankov/DefinitelyTyped -export = PvUtils +export = PvUtils; declare namespace PvUtils { /** diff --git a/react-bootstrap/index.d.ts b/react-bootstrap/index.d.ts index ac5395099c..e4c6c5344b 100644 --- a/react-bootstrap/index.d.ts +++ b/react-bootstrap/index.d.ts @@ -205,8 +205,8 @@ declare namespace ReactBootstrap { open?: boolean; title?: string; useAnchor?: boolean; - bsClass?:string; // Added since v0.30.0 - bsStyle?:string; + bsClass?: string; // Added since v0.30.0 + bsStyle?: string; } class DropdownToggle extends React.Component { } diff --git a/react-css-modules/index.d.ts b/react-css-modules/index.d.ts index d709a69d73..ab306df5b3 100644 --- a/react-css-modules/index.d.ts +++ b/react-css-modules/index.d.ts @@ -15,7 +15,7 @@ interface CSSModules { (Component: C, defaultStyles: StylesObject, options?: TypeOptions): C; } -declare module CSSModules { +declare namespace CSSModules { // Extend your component's Prop interface with this one to get access to `this.props.styles` // // interface MyComponentProps extends CSSModules.InjectedCSSModuleProps {} diff --git a/react-native/react-native.0.29.d.ts b/react-native/react-native.0.29.d.ts index 61960d141a..0762900555 100644 --- a/react-native/react-native.0.29.d.ts +++ b/react-native/react-native.0.29.d.ts @@ -24,7 +24,7 @@ import React = __React; //react-native "extends" react declare namespace __React { - module NativeMethodsMixin { + namespace NativeMethodsMixin { type MeasureOnSuccessCallback = ( x: number, y: number, @@ -32,21 +32,21 @@ declare namespace __React { height: number, pageX: number, pageY: number - ) => void + ) => void; type MeasureInWindowOnSuccessCallback = ( x: number, y: number, width: number, height: number - ) => void + ) => void; type MeasureLayoutOnSuccessCallback = ( left: number, top: number, width: number, height: number - ) => void + ) => void; } /** @@ -146,65 +146,65 @@ declare namespace __React { // Similar to React.SyntheticEvent except for nativeEvent interface NativeSyntheticEvent { - bubbles: boolean - cancelable: boolean - currentTarget: EventTarget - defaultPrevented: boolean - eventPhase: number - isTrusted: boolean - nativeEvent: T - preventDefault(): void - stopPropagation(): void - target: EventTarget - timeStamp: Date - type: string + bubbles: boolean; + cancelable: boolean; + currentTarget: EventTarget; + defaultPrevented: boolean; + eventPhase: number; + isTrusted: boolean; + nativeEvent: T; + preventDefault(): void; + stopPropagation(): void; + target: EventTarget; + timeStamp: Date; + type: string; } export interface NativeTouchEvent { /** * Array of all touch events that have changed since the last event */ - changedTouches: NativeTouchEvent[] + changedTouches: NativeTouchEvent[]; /** * The ID of the touch */ - identifier: string + identifier: string; /** * The X position of the touch, relative to the element */ - locationX: number + locationX: number; /** * The Y position of the touch, relative to the element */ - locationY: number + locationY: number; /** * The X position of the touch, relative to the screen */ - pageX: number + pageX: number; /** * The Y position of the touch, relative to the screen */ - pageY: number + pageY: number; /** * The node id of the element receiving the touch event */ - target: string + target: string; /** * A time identifier for the touch, useful for velocity calculation */ - timestamp: number + timestamp: number; /** * Array of all current touches on the screen */ - touches : NativeTouchEvent[] + touches: NativeTouchEvent[]; } export interface GestureResponderEvent extends NativeSyntheticEvent { @@ -212,15 +212,15 @@ declare namespace __React { export interface PointProperties { - x: number - y: number + x: number; + y: number; } export interface Insets { - top?: number - left?: number - bottom?: number - right?: number + top?: number; + left?: number; + bottom?: number; + right?: number; } /** @@ -235,18 +235,18 @@ declare namespace __React { * @see React.DOMAtributes */ export interface Touchable { - onTouchStart?: ( event: GestureResponderEvent ) => void - onTouchMove?: ( event: GestureResponderEvent ) => void - onTouchEnd?: ( event: GestureResponderEvent ) => void - onTouchCancel?: ( event: GestureResponderEvent ) => void - onTouchEndCapture?: ( event: GestureResponderEvent ) => void + onTouchStart?: ( event: GestureResponderEvent ) => void; + onTouchMove?: ( event: GestureResponderEvent ) => void; + onTouchEnd?: ( event: GestureResponderEvent ) => void; + onTouchCancel?: ( event: GestureResponderEvent ) => void; + onTouchEndCapture?: ( event: GestureResponderEvent ) => void; } export type AppConfig = { appKey: string; component: ReactClass; run?: Runnable; - } + }; // https://github.com/facebook/react-native/blob/master/Libraries/AppRegistry/AppRegistry.js /** @@ -279,46 +279,46 @@ declare namespace __React { } export interface LayoutAnimationTypes { - spring: string - linear: string - easeInEaseOut: string - easeIn: string - easeOut: string + spring: string; + linear: string; + easeInEaseOut: string; + easeIn: string; + easeOut: string; } export interface LayoutAnimationProperties { - opacity: string - scaleXY: string + opacity: string; + scaleXY: string; } export interface LayoutAnimationAnim { - duration?: number - delay?: number - springDamping?: number - initialVelocity?: number - type?: string //LayoutAnimationTypes - property?: string //LayoutAnimationProperties + duration?: number; + delay?: number; + springDamping?: number; + initialVelocity?: number; + type?: string; //LayoutAnimationTypes + property?: string; //LayoutAnimationProperties } export interface LayoutAnimationConfig { - duration: number - create?: LayoutAnimationAnim - update?: LayoutAnimationAnim - delete?: LayoutAnimationAnim + duration: number; + create?: LayoutAnimationAnim; + update?: LayoutAnimationAnim; + delete?: LayoutAnimationAnim; } export interface LayoutAnimationStatic { - configureNext: ( config: LayoutAnimationConfig, onAnimationDidEnd?: () => void, onError?: ( error?: any ) => void ) => void - create: ( duration: number, type?: string, creationProp?: string ) => LayoutAnimationConfig - Types: LayoutAnimationTypes - Properties: LayoutAnimationProperties - configChecker: ( conf: {config: LayoutAnimationConfig}, name: string, next: string ) => void - Presets : { - easeInEaseOut: LayoutAnimationConfig - linear:LayoutAnimationConfig - spring: LayoutAnimationConfig - } + configureNext: ( config: LayoutAnimationConfig, onAnimationDidEnd?: () => void, onError?: ( error?: any ) => void ) => void; + create: ( duration: number, type?: string, creationProp?: string ) => LayoutAnimationConfig; + Types: LayoutAnimationTypes; + Properties: LayoutAnimationProperties; + configChecker: ( conf: {config: LayoutAnimationConfig}, name: string, next: string ) => void; + Presets: { + easeInEaseOut: LayoutAnimationConfig; + linear: LayoutAnimationConfig; + spring: LayoutAnimationConfig; + }; } export type FlexAlignType = "flex-start" | "flex-end" | "center" | "stretch"; @@ -333,45 +333,45 @@ declare namespace __React { alignItems?: FlexAlignType; alignSelf?: "auto" | FlexAlignType; - borderBottomWidth?: number - borderLeftWidth?: number - borderRightWidth?: number - borderTopWidth?: number - borderWidth?: number - bottom?: number - flex?: number - flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" - flexWrap?: "wrap" | "nowrap" - height?: number - justifyContent?: FlexJustifyType - left?: number - minWidth?: number - maxWidth?: number - minHeight?: number - maxHeight?: number - margin?: number - marginBottom?: number - marginHorizontal?: number - marginLeft?: number - marginRight?: number - marginTop?: number - marginVertical?: number - padding?: number - paddingBottom?: number - paddingHorizontal?: number - paddingLeft?: number - paddingRight?: number - paddingTop?: number - paddingVertical?: number - position?: "absolute" | "relative" - right?: number - top?: number - width?: number + borderBottomWidth?: number; + borderLeftWidth?: number; + borderRightWidth?: number; + borderTopWidth?: number; + borderWidth?: number; + bottom?: number; + flex?: number; + flexDirection?: "row" | "column" | "row-reverse" | "column-reverse"; + flexWrap?: "wrap" | "nowrap"; + height?: number; + justifyContent?: FlexJustifyType; + left?: number; + minWidth?: number; + maxWidth?: number; + minHeight?: number; + maxHeight?: number; + margin?: number; + marginBottom?: number; + marginHorizontal?: number; + marginLeft?: number; + marginRight?: number; + marginTop?: number; + marginVertical?: number; + padding?: number; + paddingBottom?: number; + paddingHorizontal?: number; + paddingLeft?: number; + paddingRight?: number; + paddingTop?: number; + paddingVertical?: number; + position?: "absolute" | "relative"; + right?: number; + top?: number; + width?: number; /** * @platform ios */ - zIndex?: number + zIndex?: number; } /** @@ -382,25 +382,25 @@ declare namespace __React { * Sets the drop shadow color * @platform ios */ - shadowColor: string + shadowColor: string; /** * Sets the drop shadow offset * @platform ios */ - shadowOffset: {width: number, height: number} + shadowOffset: {width: number, height: number}; /** * Sets the drop shadow opacity (multiplied by the color's alpha component) * @platform ios */ - shadowOpacity: number + shadowOpacity: number; /** * Sets the drop shadow blur radius * @platform ios */ - shadowRadius: number + shadowRadius: number; } type GetCurrentPositionOptions = { @@ -408,38 +408,38 @@ declare namespace __React { maximumAge: number enableHighAccuracy: boolean distanceFilter: number - } + }; type WatchPositionOptions = { timeout: number maximumAge: number enableHighAccuracy: boolean distanceFilter: number - } + }; type GeolocationReturnType = { coords: { latitude: number longitude: number } - } + }; export interface TransformsStyle { - transform?: [{perspective: number}, {rotate: string}, {rotateX: string}, {rotateY: string}, {rotateZ: string}, {scale: number}, {scaleX: number}, {scaleY: number}, {translateX: number}, {translateY: number}, {skewX: string}, {skewY: string}] - transformMatrix?: Array - rotation?: number - scaleX?: number - scaleY?: number - translateX?: number - translateY?: number + transform?: [{perspective: number}, {rotate: string}, {rotateX: string}, {rotateY: string}, {rotateZ: string}, {scale: number}, {scaleX: number}, {scaleY: number}, {translateX: number}, {translateY: number}, {skewX: string}, {skewY: string}]; + transformMatrix?: Array; + rotation?: number; + scaleX?: number; + scaleY?: number; + translateX?: number; + translateY?: number; } export interface StyleSheetProperties { - hairlineWidth: number - flatten(style: T): T + hairlineWidth: number; + flatten(style: T): T; } export interface LayoutRectangle { @@ -453,46 +453,46 @@ declare namespace __React { export interface LayoutChangeEvent { nativeEvent: { layout: LayoutRectangle - } + }; } export interface TextStyleIOS extends ViewStyle { - letterSpacing?: number - textDecorationColor?: string - textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" - writingDirection?: "auto" | "ltr" | "rtl" + letterSpacing?: number; + textDecorationColor?: string; + textDecorationStyle?: "solid" | "double" | "dotted" | "dashed"; + writingDirection?: "auto" | "ltr" | "rtl"; } export interface TextStyleAndroid extends ViewStyle { - textAlignVertical?: "auto" | "top" | "bottom" | "center" + textAlignVertical?: "auto" | "top" | "bottom" | "center"; } // @see https://facebook.github.io/react-native/docs/text.html#style export interface TextStyle extends TextStyleIOS, TextStyleAndroid, ViewStyle { - color?: string - fontFamily?: string - fontSize?: number - fontStyle?: "normal" | "italic" + color?: string; + fontFamily?: string; + fontSize?: number; + fontStyle?: "normal" | "italic"; /** * Specifies font weight. The values 'normal' and 'bold' are supported * for most fonts. Not all fonts have a variant for each of the numeric * values, in that case the closest one is chosen. */ - fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" - letterSpacing?: number - lineHeight?: number + fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; + letterSpacing?: number; + lineHeight?: number; /** * Specifies text alignment. * The value 'justify' is only supported on iOS. */ - textAlign?: "auto" | "left" | "right" | "center" - textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" - textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" - textDecorationColor?: string - textShadowColor?: string - textShadowOffset?: {width: number, height: number} - textShadowRadius?: number - testID?: string + textAlign?: "auto" | "left" | "right" | "center"; + textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through"; + textDecorationStyle?: "solid" | "double" | "dotted" | "dashed"; + textDecorationColor?: string; + textShadowColor?: string; + textShadowOffset?: {width: number, height: number}; + textShadowRadius?: number; + testID?: string; } export interface TextPropertiesIOS { @@ -501,13 +501,13 @@ declare namespace __React { * Specifies should fonts scale to respect Text Size accessibility * setting on iOS. */ - allowFontScaling: boolean + allowFontScaling: boolean; /** * When true, no visual change is made when text is pressed down. * By default, a gray oval highlights the text on press down. */ - suppressHighlighting?: boolean + suppressHighlighting?: boolean; } // https://facebook.github.io/react-native/docs/text.html#props @@ -516,41 +516,41 @@ declare namespace __React { /** * Specifies should fonts scale to respect Text Size accessibility setting on iOS. */ - allowFontScaling?: boolean + allowFontScaling?: boolean; /** * Line Break mode. Works only with numberOfLines. * clip is working only for iOS */ - lineBreakMode?: 'head' | 'middle' | 'tail' | 'clip' + lineBreakMode?: 'head' | 'middle' | 'tail' | 'clip'; /** * Used to truncate the text with an elipsis after computing the text layout, including line wrapping, such that the total number of lines does not exceed this number. */ - numberOfLines?: number + numberOfLines?: number; /** * Invoked on mount and layout changes with * * {nativeEvent: { layout: {x, y, width, height}}}. */ - onLayout?: ( event: LayoutChangeEvent ) => void + onLayout?: ( event: LayoutChangeEvent ) => void; /** * This function is called on press. * Text intrinsically supports press handling with a default highlight state (which can be disabled with suppressHighlighting). */ - onPress?: () => void + onPress?: () => void; /** * @see https://facebook.github.io/react-native/docs/text.html#style */ - style?: TextStyle + style?: TextStyle; /** * Used to locate this view in end-to-end tests. */ - testID?: string + testID?: string; } /** @@ -571,31 +571,31 @@ declare namespace __React { * enum('never', 'while-editing', 'unless-editing', 'always') * When the clear button should appear on the right side of the text view */ - clearButtonMode?: string + clearButtonMode?: string; /** * If true, clears the text field automatically when editing begins */ - clearTextOnFocus?: boolean + clearTextOnFocus?: boolean; /** * If true, the keyboard disables the return key when there is no text and automatically enables it when there is text. * The default value is false. */ - enablesReturnKeyAutomatically?: boolean + enablesReturnKeyAutomatically?: boolean; /** * Callback that is called when a key is pressed. * Pressed key value is passed as an argument to the callback handler. * Fires before onChange callbacks. */ - onKeyPress?: () => void + onKeyPress?: () => void; /** * //FIXME: requires typing * See DocumentSelectionState.js, some state that is responsible for maintaining selection information for a document */ - selectionState?: any + selectionState?: any; } @@ -610,30 +610,30 @@ declare namespace __React { * Sets the number of lines for a TextInput. * Use it with multiline set to true to be able to fill the lines. */ - numberOfLines?: number + numberOfLines?: number; /** * Sets the return key to the label. Use it instead of `returnKeyType`. * @platform android */ - returnKeyLabel?: string + returnKeyLabel?: string; /** * enum('start', 'center', 'end') * Set the position of the cursor from where editing will begin. */ - textAlign?: string + textAlign?: string; /** * enum('top', 'center', 'bottom') * Aligns text vertically within the TextInput. */ - textAlignVertical?: string + textAlignVertical?: string; /** * The color of the textInput underline. */ - underlineColorAndroid?: string + underlineColorAndroid?: string; } @@ -651,140 +651,140 @@ declare namespace __React { * * https://facebook.github.io/react-native/docs/textinput.html#autocapitalize */ - autoCapitalize?: "none" | "sentences" | "words" | "characters" + autoCapitalize?: "none" | "sentences" | "words" | "characters"; /** * If false, disables auto-correct. * The default value is true. */ - autoCorrect?: boolean + autoCorrect?: boolean; /** * If true, focuses the input on componentDidMount. * The default value is false. */ - autoFocus?: boolean + autoFocus?: boolean; /** * If true, the text field will blur when submitted. * The default value is true. */ - blurOnSubmit?: boolean + blurOnSubmit?: boolean; /** * Provides an initial value that will change when the user starts typing. * Useful for simple use-cases where you don't want to deal with listening to events * and updating the value prop to keep the controlled state in sync. */ - defaultValue?: string + defaultValue?: string; /** * If false, text is not editable. The default value is true. */ - editable?: boolean + editable?: boolean; /** * enum("default", 'numeric', 'email-address', "ascii-capable", 'numbers-and-punctuation', 'url', 'number-pad', 'phone-pad', 'name-phone-pad', 'decimal-pad', 'twitter', 'web-search') * Determines which keyboard to open, e.g.numeric. * The following values work across platforms: - default - numeric - email-address */ - keyboardType?: "default" | "email-address" | "numeric" | "phone-pad" | "ascii-capable" | "numbers-and-punctuation" | "url" | "number-pad" | "name-phone-pad" | "decimal-pad" | "twitter" | "web-search" + keyboardType?: "default" | "email-address" | "numeric" | "phone-pad" | "ascii-capable" | "numbers-and-punctuation" | "url" | "number-pad" | "name-phone-pad" | "decimal-pad" | "twitter" | "web-search"; /** * Limits the maximum number of characters that can be entered. * Use this instead of implementing the logic in JS to avoid flicker. */ - maxLength?: number + maxLength?: number; /** * If true, the text input can be multiple lines. The default value is false. */ - multiline?: boolean + multiline?: boolean; /** * Callback that is called when the text input is blurred */ - onBlur?: () => void + onBlur?: () => void; /** * Callback that is called when the text input's text changes. */ - onChange?: ( event: {nativeEvent: {text: string}} ) => void + onChange?: ( event: {nativeEvent: {text: string}} ) => void; /** * Callback that is called when the text input's text changes. * Changed text is passed as an argument to the callback handler. */ - onChangeText?: ( text: string ) => void + onChangeText?: ( text: string ) => void; /** * Callback that is called when text input ends. */ - onEndEditing?: ( event: {nativeEvent: {text: string}} ) => void + onEndEditing?: ( event: {nativeEvent: {text: string}} ) => void; /** * Callback that is called when the text input is focused */ - onFocus?: () => void + onFocus?: () => void; /** * Invoked on mount and layout changes with {x, y, width, height}. */ - onLayout?: ( event: {nativeEvent: {x: number, y: number, width: number, height: number}} ) => void + onLayout?: ( event: {nativeEvent: {x: number, y: number, width: number, height: number}} ) => void; - onSelectionChange?: () => void + onSelectionChange?: () => void; /** * Callback that is called when the text input's submit button is pressed. */ - onSubmitEditing?: ( event: {nativeEvent: {text: string}} ) => void + onSubmitEditing?: ( event: {nativeEvent: {text: string}} ) => void; /** * //FIXME: Not part of the doc but found in examples */ - password?: boolean + password?: boolean; /** * The string that will be rendered before text input has been entered */ - placeholder?: string + placeholder?: string; /** * The text color of the placeholder string */ - placeholderTextColor?: string + placeholderTextColor?: string; /** * enum('default', 'go', 'google', 'join', 'next', 'route', 'search', 'send', 'yahoo', 'done', 'emergency-call') * Determines how the return key should look. */ - returnKeyType?: "default" | "go" | "google" | "join" | "next" | "route" | "search" | "send" | "yahoo" | "done" | "emergency-call" + returnKeyType?: "default" | "go" | "google" | "join" | "next" | "route" | "search" | "send" | "yahoo" | "done" | "emergency-call"; /** * If true, the text input obscures the text entered so that sensitive text like passwords stay secure. * The default value is false. */ - secureTextEntry?: boolean + secureTextEntry?: boolean; /** * If true, all text will automatically be selected on focus */ - selectTextOnFocus?: boolean + selectTextOnFocus?: boolean; /** * The highlight (and cursor on ios) color of the text input */ - selectionColor?: string + selectionColor?: string; /** * Styles */ - style?: TextStyle + style?: TextStyle; /** * Used to locate this view in end-to-end tests */ - testID?: string + testID?: string; /** * The value to show for the text input. TextInput is a controlled component, @@ -793,7 +793,7 @@ declare namespace __React { * In addition to simply setting the same value, either set editable={false}, * or set/update maxLength to prevent unwanted edits without flicker. */ - value?: string + value?: string; } /** @@ -803,42 +803,42 @@ declare namespace __React { /** * Returns if the input is currently focused. */ - isFocused: () => boolean + isFocused: () => boolean; /** * Removes all text from the input. */ - clear: () => void + clear: () => void; // The following methods are found only in implementation - blur: () => void - focus: () => void + blur: () => void; + focus: () => void; } export type ToolbarAndroidAction = { /** * title: required, the title of this action */ - title: string + title: string; /** * icon: the icon for this action, e.g. require('./some_icon.png') */ - icon?: any + icon?: any; /** * show: when to show this action as an icon or hide it in the overflow menu: always, ifRoom or never */ - show?: "always" | "ifRoom" | "never" + show?: "always" | "ifRoom" | "never"; /** * showWithText: boolean, whether to show text alongside the icon or not */ - showWithText?: boolean - } + showWithText?: boolean; + }; export interface ToolbarAndroidProperties extends ViewProperties, React.Props { - actions?: ToolbarAndroidAction[] + actions?: ToolbarAndroidAction[]; /** * Sets the content inset for the toolbar ending edge. @@ -847,7 +847,7 @@ declare namespace __React { * margin for these components and can be used to effectively align * Toolbar content along well-known gridlines. */ - contentInsetEnd?: number + contentInsetEnd?: number; /** * Sets the content inset for the toolbar starting edge. @@ -856,34 +856,34 @@ declare namespace __React { * minimum margin for these components and can be used to effectively * align Toolbar content along well-known gridlines. */ - contentInsetStart?: number + contentInsetStart?: number; /** * Sets the toolbar logo. */ - logo?: any + logo?: any; /** * Sets the navigation icon. */ - navIcon?: any + navIcon?: any; /** * Callback that is called when an action is selected. The only * argument that is passed to the callback is the position of the * action in the actions array. */ - onActionSelected?: (position: number) => void + onActionSelected?: (position: number) => void; /** * Callback called when the icon is selected. */ - onIconClicked?: () => void + onIconClicked?: () => void; /** * Sets the overflow icon. */ - overflowIcon?: any + overflowIcon?: any; /** * Used to set the toolbar direction to RTL. @@ -893,34 +893,34 @@ declare namespace __React { * setLayoutDirection(LayoutDirection.RTL) in your MainActivity * onCreate method. */ - rtl?: boolean + rtl?: boolean; /** * Sets the toolbar subtitle. */ - subtitle?: string + subtitle?: string; /** * Sets the toolbar subtitle color. */ - subtitleColor?: string + subtitleColor?: string; /** * Used to locate this view in end-to-end tests. */ - testID?: string + testID?: string; /** * Sets the toolbar title. */ - title?: string + title?: string; /** * Sets the toolbar title color. */ - titleColor?: string + titleColor?: string; - ref?: Ref + ref?: Ref; } export interface ToolbarAndroidStatic extends React.ComponentClass { @@ -963,12 +963,12 @@ declare namespace __React { /** * Does this view want to become responder on the start of a touch? */ - onStartShouldSetResponder?: ( event: GestureResponderEvent ) => boolean + onStartShouldSetResponder?: ( event: GestureResponderEvent ) => boolean; /** * Called for every touch move on the View when it is not the responder: does this view want to "claim" touch responsiveness? */ - onMoveShouldSetResponder?: ( event: GestureResponderEvent ) => boolean + onMoveShouldSetResponder?: ( event: GestureResponderEvent ) => boolean; /** * If the View returns true and attempts to become the responder, one of the following will happen: @@ -978,12 +978,12 @@ declare namespace __React { * The View is now responding for touch events. * This is the time to highlight and show the user what is happening */ - onResponderGrant?: ( event: GestureResponderEvent ) => void + onResponderGrant?: ( event: GestureResponderEvent ) => void; /** * Something else is the responder right now and will not release it */ - onResponderReject?: ( event: GestureResponderEvent ) => void + onResponderReject?: ( event: GestureResponderEvent ) => void; /** * If the view is responding, the following handlers can be called: @@ -992,25 +992,25 @@ declare namespace __React { /** * The user is moving their finger */ - onResponderMove?: ( event: GestureResponderEvent ) => void + onResponderMove?: ( event: GestureResponderEvent ) => void; /** * Fired at the end of the touch, ie "touchUp" */ - onResponderRelease?: ( event: GestureResponderEvent ) => void + onResponderRelease?: ( event: GestureResponderEvent ) => void; /** * Something else wants to become responder. * Should this view release the responder? Returning true allows release */ - onResponderTerminationRequest?: ( event: GestureResponderEvent ) => boolean + onResponderTerminationRequest?: ( event: GestureResponderEvent ) => boolean; /** * The responder has been taken from the View. * Might be taken by other views after a call to onResponderTerminationRequest, * or might be taken by the OS without asking (happens with control center/ notification center on iOS) */ - onResponderTerminate?: ( event: GestureResponderEvent ) => void + onResponderTerminate?: ( event: GestureResponderEvent ) => void; /** * onStartShouldSetResponder and onMoveShouldSetResponder are called with a bubbling pattern, @@ -1025,7 +1025,7 @@ declare namespace __React { * So if a parent View wants to prevent the child from becoming responder on a touch start, * it should have a onStartShouldSetResponderCapture handler which returns true. */ - onStartShouldSetResponderCapture?: ( event: GestureResponderEvent ) => boolean + onStartShouldSetResponderCapture?: ( event: GestureResponderEvent ) => boolean; /** * onStartShouldSetResponder and onMoveShouldSetResponder are called with a bubbling pattern, @@ -1046,7 +1046,7 @@ declare namespace __React { // @see https://facebook.github.io/react-native/docs/view.html#style export interface ViewStyle extends FlexStyle, TransformsStyle { - backfaceVisibility?: "visible" | "hidden" + backfaceVisibility?: "visible" | "hidden"; backgroundColor?: string; borderBottomColor?: string; borderBottomLeftRadius?: number; @@ -1057,13 +1057,13 @@ declare namespace __React { borderRadius?: number; borderRightColor?: string; borderRightWidth?: number; - borderStyle?: "solid" | "dotted" | "dashed" + borderStyle?: "solid" | "dotted" | "dashed"; borderTopColor?: string; borderTopLeftRadius?: number; borderTopRightRadius?: number; - borderTopWidth?: number + borderTopWidth?: number; opacity?: number; - overflow?: "visible" | "hidden" + overflow?: "visible" | "hidden"; shadowColor?: string; shadowOffset?: {width: number, height: number}; shadowOpacity?: number; @@ -1093,7 +1093,7 @@ declare namespace __React { * Rasterization incurs an off-screen drawing pass and the bitmap consumes memory. * Test and measure when using this property. */ - shouldRasterizeIOS?: boolean + shouldRasterizeIOS?: boolean; } export interface ViewPropertiesAndroid { @@ -1104,7 +1104,7 @@ declare namespace __React { * * @enum('none', 'button', 'radiobutton_checked', 'radiobutton_unchecked' ) */ - accessibilityComponentType?: string + accessibilityComponentType?: string; /** @@ -1112,14 +1112,14 @@ declare namespace __React { * Works for Android API >= 19 only. * See http://developer.android.com/reference/android/view/View.html#attr_android:accessibilityLiveRegion for references. */ - accessibilityLiveRegion?: string + accessibilityLiveRegion?: string; /** * Views that are only used to layout their children or otherwise don't draw anything * may be automatically removed from the native hierarchy as an optimization. * Set this property to false to disable this optimization and ensure that this View exists in the native view hierarchy. */ - collapsable?: boolean + collapsable?: boolean; /** @@ -1133,7 +1133,7 @@ declare namespace __React { * 'no' - The view is not important for accessibility. * 'no-hide-descendants' - The view is not important for accessibility, nor are any of its descendant views. */ - importantForAccessibility?: string + importantForAccessibility?: string; /** @@ -1150,7 +1150,7 @@ declare namespace __React { * If that property is enabled, this View will be rendered off-screen once, * saved in a hardware texture, and then composited onto the screen with an alpha each frame without having to switch rendering targets on the GPU. */ - needsOffscreenAlphaCompositing?: boolean + needsOffscreenAlphaCompositing?: boolean; /** @@ -1191,7 +1191,7 @@ declare namespace __React { * hits two overlapping views. */ - hitSlop?: {top: number, left: number, bottom: number, right: number} + hitSlop?: {top: number, left: number, bottom: number, right: number}; /** * When `accessible` is true, the system will try to invoke this function when the user performs accessibility tap gesture. @@ -1233,7 +1233,7 @@ declare namespace __React { * But since pointerEvents does not affect layout/appearance, and we are already deviating from the spec by adding additional modes, * we opt to not include pointerEvents on style. On some platforms, we would need to implement it as a className anyways. Using style or not is an implementation detail of the platform. */ - pointerEvents?: "box-none" | "none" | "box-only" | "autoViewStyle" + pointerEvents?: "box-none" | "none" | "box-only" | "autoViewStyle"; /** * @@ -1241,7 +1241,7 @@ declare namespace __React { * most of which are offscreen. For this property to be effective, it must be applied to a view that contains many subviews that extend outside its bound. * The subviews must also have overflow: hidden, as should the containing view (or one of its superviews). */ - removeClippedSubviews?: boolean + removeClippedSubviews?: boolean; style?: ViewStyle; @@ -1284,14 +1284,14 @@ declare namespace __React { scrollEnabled?: boolean; onPageScroll?: ( event: NativeSyntheticEvent ) => void; onPageSelected?: ( event: NativeSyntheticEvent ) => void; - onPageScrollStateChanged?: (state: "Idle" | "Dragging" | "Settling") => void - keyboardDismissMode?: "none" | "on-drag" - pageMargin?: number + onPageScrollStateChanged?: (state: "Idle" | "Dragging" | "Settling") => void; + keyboardDismissMode?: "none" | "on-drag"; + pageMargin?: number; } export interface ViewPagerAndroidStatic extends NativeComponent, React.ComponentClass { - setPage: (selectedPage: number) => void - setPageWithoutAnimation: (selectedPage: number) => void + setPage: (selectedPage: number) => void; + setPageWithoutAnimation: (selectedPage: number) => void; } export interface KeyboardAvoidingViewStatic extends React.ComponentClass { @@ -1300,15 +1300,15 @@ declare namespace __React { export interface KeyboardAvoidingViewProps extends ViewProperties, React.Props { - behavior?: 'height' | 'position' | 'padding' + behavior?: 'height' | 'position' | 'padding'; /** * This is the distance between the top of the user screen and the react native view, * may be non-zero in some use cases. */ - keyboardVerticalOffset: number + keyboardVerticalOffset: number; - ref?: Ref + ref?: Ref; } /** @@ -1316,13 +1316,13 @@ declare namespace __React { */ export interface NavState { - url?: string - title?: string - loading?: boolean - canGoBack?: boolean + url?: string; + title?: string; + loading?: boolean; + canGoBack?: boolean; canGoForward?: boolean; - [key: string]: any + [key: string]: any; } export interface WebViewPropertiesAndroid { @@ -1330,24 +1330,24 @@ declare namespace __React { /** * Used for android only, JS is enabled by default for WebView on iOS */ - javaScriptEnabled?: boolean + javaScriptEnabled?: boolean; /** * Used on Android only, controls whether DOM Storage is enabled * or not android */ - domStorageEnabled?: boolean + domStorageEnabled?: boolean; } export interface WebViewIOSLoadRequestEvent { - target: number - canGoBack: boolean - lockIdentifier: number - loading: boolean - title: string - canGoForward: boolean - navigationType: 'other' | 'click' - url: string + target: number; + canGoBack: boolean; + lockIdentifier: number; + loading: boolean; + title: string; + canGoForward: boolean; + navigationType: 'other' | 'click'; + url: string; } export interface WebViewPropertiesIOS { @@ -1360,9 +1360,9 @@ declare namespace __React { * in the HTML document must also include the webkit-playsinline * attribute." */ - allowsInlineMediaPlayback?: boolean + allowsInlineMediaPlayback?: boolean; - bounces?: boolean + bounces?: boolean; /** * A floating-point number that determines how quickly the scroll @@ -1372,16 +1372,16 @@ declare namespace __React { * and UIScrollViewDecelerationRateFast respectively. * - normal: 0.998 - fast: 0.99 (the default for iOS WebView) */ - decelerationRate?: "normal" | "fast" | number + decelerationRate?: "normal" | "fast" | number; /** * Allows custom handling of any webview requests by a JS handler. * Return true or false from this method to continue loading the * request. */ - onShouldStartLoadWithRequest?: (event: WebViewIOSLoadRequestEvent) => boolean + onShouldStartLoadWithRequest?: (event: WebViewIOSLoadRequestEvent) => boolean; - scrollEnabled?: boolean + scrollEnabled?: boolean; } export interface WebViewUriSource { @@ -1430,80 +1430,80 @@ declare namespace __React { */ export interface WebViewProperties extends ViewProperties, WebViewPropertiesAndroid, WebViewPropertiesIOS, React.Props { - automaticallyAdjustContentInsets?: boolean + automaticallyAdjustContentInsets?: boolean; - bounces?: boolean + bounces?: boolean; - contentInset?: Insets + contentInset?: Insets; - html?: string + html?: string; /** * Sets the JS to be injected when the webpage loads. */ - injectedJavaScript?: string + injectedJavaScript?: string; /** * Invoked when load fails */ - onError?: ( event: NavState ) => void + onError?: ( event: NavState ) => void; /** * Invoked when load finish */ - onLoad?: ( event: NavState ) => void + onLoad?: ( event: NavState ) => void; /** * Invoked when load either succeeds or fails */ - onLoadEnd?: ( event: NavState ) => void + onLoadEnd?: ( event: NavState ) => void; /** * Invoked on load start */ - onLoadStart?: ( event: NavState ) => void + onLoadStart?: ( event: NavState ) => void; - onNavigationStateChange?: ( event: NavState ) => void + onNavigationStateChange?: ( event: NavState ) => void; /** * Allows custom handling of any webview requests by a JS handler. * Return true or false from this method to continue loading the request. */ - onShouldStartLoadWithRequest?: () => boolean + onShouldStartLoadWithRequest?: () => boolean; /** * view to show if there's an error */ - renderError?: () => React.ReactElement + renderError?: () => React.ReactElement; /** * loading indicator to show */ - renderLoading?: () => React.ReactElement + renderLoading?: () => React.ReactElement; - scrollEnabled?: boolean + scrollEnabled?: boolean; - startInLoadingState?: boolean + startInLoadingState?: boolean; - style?: ViewStyle + style?: ViewStyle; // Deprecated: Use the `source` prop instead. - url?: string + url?: string; - source?: WebViewUriSource | WebViewHtmlSource | number + source?: WebViewUriSource | WebViewHtmlSource | number; /** * Determines whether HTML5 audio & videos require the user to tap * before they can start playing. The default value is false. */ - mediaPlaybackRequiresUserAction?: boolean + mediaPlaybackRequiresUserAction?: boolean; /** * sets whether the webpage scales to fit the view and the user can change the scale */ - scalesPageToFit?: boolean + scalesPageToFit?: boolean; - ref?: Ref + ref?: Ref; } @@ -1512,22 +1512,22 @@ declare namespace __React { /** * Go back one page in the webview's history. */ - goBack: () => void + goBack: () => void; /** * Go forward one page in the webview's history. */ - goForward: () => void + goForward: () => void; /** * Reloads the current page. */ - reload: () => void + reload: () => void; /** * Returns the native webview node. */ - getWebViewHandle: () => any + getWebViewHandle: () => any; } @@ -1536,9 +1536,9 @@ declare namespace __React { * @see SegmentedControlIOS.ios.js */ export interface NativeSegmentedControlIOSChangeEvent { - value: string - selectedSegmentIndex: number - target: number + value: string; + selectedSegmentIndex: number; + target: number; } export interface SegmentedControlIOSProperties extends ViewProperties, React.Props { @@ -1546,43 +1546,43 @@ declare namespace __React { /** * If false the user won't be able to interact with the control. Default value is true. */ - enabled?: boolean + enabled?: boolean; /** * If true, then selecting a segment won't persist visually. * The onValueChange callback will still work as expected. */ - momentary?: boolean + momentary?: boolean; /** * Callback that is called when the user taps a segment; * passes the event as an argument * @param event */ - onChange?: (event: NativeSyntheticEvent) => void + onChange?: (event: NativeSyntheticEvent) => void; /** * Callback that is called when the user taps a segment; passes the segment's value as an argument * @param value */ - onValueChange?: (value: string) => void + onValueChange?: (value: string) => void; /** * The index in props.values of the segment to be (pre)selected. */ - selectedIndex?: number + selectedIndex?: number; /** * Accent color of the control. */ - tintColor?: string + tintColor?: string; /** * The labels for the control's segment buttons, in order. */ - values?: string[] + values?: string[]; - ref?: Ref + ref?: Ref; } export interface SegmentedControlIOSStatic extends React.ComponentClass { @@ -1594,49 +1594,49 @@ declare namespace __React { /** * The background color of the navigation bar */ - barTintColor?: string + barTintColor?: string; /** * NavigatorIOS uses "route" objects to identify child views, their props, and navigation bar configuration. * "push" and all the other navigation operations expect routes to be like this */ - initialRoute?: Route + initialRoute?: Route; /** * The default wrapper style for components in the navigator. * A common use case is to set the backgroundColor for every page */ - itemWrapperStyle?: ViewStyle + itemWrapperStyle?: ViewStyle; /** * A Boolean value that indicates whether the navigation bar is hidden */ - navigationBarHidden?: boolean + navigationBarHidden?: boolean; /** * A Boolean value that indicates whether to hide the 1px hairline shadow */ - shadowHidden?: boolean + shadowHidden?: boolean; /** * The color used for buttons in the navigation bar */ - tintColor?: string + tintColor?: string; /** * The text color of the navigation bar title */ - titleTextColor?: string + titleTextColor?: string; /** * A Boolean value that indicates whether the navigation bar is translucent */ - translucent?: boolean + translucent?: boolean; /** * NOT IN THE DOC BUT IN THE EXAMPLES */ - style?: ViewStyle + style?: ViewStyle; } /** @@ -1651,47 +1651,47 @@ declare namespace __React { /** * Navigate forward to a new route */ - push: ( route: Route ) => void + push: ( route: Route ) => void; /** * Go back one page */ - pop: () => void + pop: () => void; /** * Go back N pages at once. When N=1, behavior matches pop() */ - popN: ( n: number ) => void + popN: ( n: number ) => void; /** * Replace the route for the current page and immediately load the view for the new route */ - replace: ( route: Route ) => void + replace: ( route: Route ) => void; /** * Replace the route/view for the previous page */ - replacePrevious: ( route: Route ) => void + replacePrevious: ( route: Route ) => void; /** * Replaces the previous route/view and transitions back to it */ - replacePreviousAndPop: ( route: Route ) => void + replacePreviousAndPop: ( route: Route ) => void; /** * Replaces the top item and popToTop */ - resetTo: ( route: Route ) => void + resetTo: ( route: Route ) => void; /** * Go back to the item for a particular route object */ - popToRoute( route: Route ): void + popToRoute( route: Route ): void; /** * Go back to the top item */ - popToTop(): void + popToTop(): void; } export interface NavigatorIOSStatic extends NavigationIOS, React.ComponentClass { @@ -1706,17 +1706,17 @@ declare namespace __React { /** * Whether to show the indicator (true, the default) or hide it (false). */ - animating?: boolean + animating?: boolean; /** * The foreground color of the spinner (default is gray). */ - color?: string + color?: string; /** * Whether the indicator should hide when not animating (true by default). */ - hidesWhenStopped?: boolean + hidesWhenStopped?: boolean; /** * Size of the indicator. @@ -1724,11 +1724,11 @@ declare namespace __React { * * enum('small', 'large') */ - size?: 'small' | 'large' + size?: 'small' | 'large'; - style?: ViewStyle + style?: ViewStyle; - ref?: Ref + ref?: Ref; } export interface ActivityIndicatorStatic extends React.ComponentClass { @@ -1743,22 +1743,22 @@ declare namespace __React { /** * Whether to show the indicator (true, the default) or hide it (false). */ - animating?: boolean + animating?: boolean; /** * The foreground color of the spinner (default is gray). */ - color?: string + color?: string; /** * Whether the indicator should hide when not animating (true by default). */ - hidesWhenStopped?: boolean + hidesWhenStopped?: boolean; /** * Invoked on mount and layout changes with */ - onLayout?: ( event: {nativeEvent: { layout: {x: number, y: number , width: number, height: number}}} ) => void + onLayout?: ( event: {nativeEvent: { layout: {x: number, y: number , width: number, height: number}}} ) => void; /** * Size of the indicator. @@ -1766,11 +1766,11 @@ declare namespace __React { * * enum('small', 'large') */ - size?: 'small' | 'large' + size?: 'small' | 'large'; - style?: ViewStyle + style?: ViewStyle; - ref?: Ref + ref?: Ref; } /** @@ -1785,48 +1785,48 @@ declare namespace __React { /** * The currently selected date. */ - date?: Date + date?: Date; /** * Maximum date. * Restricts the range of possible date/time values. */ - maximumDate?: Date + maximumDate?: Date; /** * Maximum date. * Restricts the range of possible date/time values. */ - minimumDate?: Date + minimumDate?: Date; /** * enum(1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30) * The interval at which minutes can be selected. */ - minuteInterval?: number + minuteInterval?: number; /** * enum('date', 'time', 'datetime') * The date picker mode. */ - mode?: "date" | "time" | "datetime" + mode?: "date" | "time" | "datetime"; /** * Date change handler. * This is called when the user changes the date or time in the UI. * The first and only argument is a Date object representing the new date and time. */ - onDateChange?: ( newDate: Date ) => void + onDateChange?: ( newDate: Date ) => void; /** * Timezone offset in minutes. * By default, the date picker will use the device's timezone. With this parameter, it is possible to force a certain timezone offset. * For instance, to show times in Pacific Standard Time, pass -7 * 60. */ - timeZoneOffsetInMinutes?: number + timeZoneOffsetInMinutes?: number; - ref?: Ref + ref?: Ref; } export interface DatePickerIOSStatic extends React.ComponentClass { @@ -1884,23 +1884,23 @@ declare namespace __React { * - 'none' (the default), drags do not dismiss the keyboard. * - 'on-drag', the keyboard is dismissed when a drag begins. */ - keyboardDismissMode?: "none" | "on-drag" + keyboardDismissMode?: "none" | "on-drag"; /** * Function called whenever the navigation view has been closed. */ - onDrawerClose?: () => void + onDrawerClose?: () => void; /** * Function called whenever the navigation view has been opened. */ - onDrawerOpen?: () => void + onDrawerOpen?: () => void; /** * Function called whenever there is an interaction with the navigation view. * @param event */ - onDrawerSlide?: (event: DrawerSlideEvent) => void + onDrawerSlide?: (event: DrawerSlideEvent) => void; /** * Function called when the drawer state has changed. @@ -1914,22 +1914,22 @@ declare namespace __React { * it's closing or opening animation * @param event */ - onDrawerStateChanged?: (event: "Idle" | "Dragging" | "Settling") => void + onDrawerStateChanged?: (event: "Idle" | "Dragging" | "Settling") => void; /** * The navigation view that will be rendered to the side of the * screen and can be pulled in. */ - renderNavigationView?: () => JSX.Element + renderNavigationView?: () => JSX.Element; /** * Make the drawer take the entire screen and draw the background of * the status bar to allow it to open over the status bar. It will * only have an effect on API 21+. */ - statusBarBackgroundColor?: any + statusBarBackgroundColor?: any; - ref?: Ref + ref?: Ref; } export interface DrawerLayoutAndroidStatic extends React.ComponentClass { @@ -1940,17 +1940,17 @@ declare namespace __React { positions: { Left: number; Right: number; - } + }; /** * Opens the drawer. */ - openDrawer(): void + openDrawer(): void; /** * Closes the drawer. */ - closeDrawer(): void + closeDrawer(): void; } @@ -1958,8 +1958,8 @@ declare namespace __React { * @see PickerIOS.ios.js */ export interface PickerIOSItemProperties extends React.Props { - value?: string | number - label?: string + value?: string | number; + label?: string; } /** @@ -1972,10 +1972,10 @@ declare namespace __React { * @see Picker.js */ export interface PickerItemProperties extends React.Props { - label: string - value?: any - color?: string /* See ColorPropType.js for details */ - testID?: string + label: string; + value?: any; + color?: string; /* See ColorPropType.js for details */ + testID?: string; } export interface PickerItemStatic extends React.ComponentClass { @@ -1983,20 +1983,20 @@ declare namespace __React { export interface PickerPropertiesIOS extends ViewProperties, React.Props { - itemStyle?: ViewStyle + itemStyle?: ViewStyle; - ref?: Ref + ref?: Ref; } export interface PickerPropertiesAndroid extends ViewProperties, React.Props { - enabled?: boolean + enabled?: boolean; - mode?: "dialog" | "dropdown" + mode?: "dialog" | "dropdown"; - prompt?: string + prompt?: string; - ref?: Ref + ref?: Ref; } /** @@ -2013,22 +2013,22 @@ declare namespace __React { * @param itemValue * @param itemPosition */ - onValueChange?: ( itemValue: any, itemPosition: number ) => void + onValueChange?: ( itemValue: any, itemPosition: number ) => void; /** * Value matching value of one of the items. * Can be a string or an integer. */ - selectedValue?: any + selectedValue?: any; - style?: ViewStyle + style?: ViewStyle; /** * Used to locate this view in end-to-end tests. */ - testId?: string + testId?: string; - ref?: Ref + ref?: Ref; } /** @@ -2037,7 +2037,7 @@ declare namespace __React { */ export interface PickerStatic extends React.ComponentClass { - Item: PickerItemStatic + Item: PickerItemStatic; } /** @@ -2046,7 +2046,7 @@ declare namespace __React { */ export interface PickerIOSProperties extends React.Props { - itemStyle?: ViewStyle + itemStyle?: ViewStyle; } @@ -2056,7 +2056,7 @@ declare namespace __React { */ export interface PickerIOSStatic extends React.ComponentClass { - Item: PickerIOSItemStatic + Item: PickerIOSItemStatic; } /** @@ -2065,7 +2065,7 @@ declare namespace __React { */ export interface ProgressBarAndroidProperties extends ViewProperties, React.Props { - style?: ViewStyle + style?: ViewStyle; /** * Style of the ProgressBar. One of: @@ -2077,30 +2077,30 @@ declare namespace __React { SmallInverse LargeInverse */ - styleAttr?: "Horizontal" | "Normal" | "Small" | "Large" | "Inverse" | "SmallInverse" | "LargeInverse" + styleAttr?: "Horizontal" | "Normal" | "Small" | "Large" | "Inverse" | "SmallInverse" | "LargeInverse"; /** * If the progress bar will show indeterminate progress. * Note that this can only be false if styleAttr is Horizontal. */ - indeterminate?: boolean + indeterminate?: boolean; /** * The progress value (between 0 and 1). */ - progress?: number + progress?: number; /** * Color of the progress bar. */ - color?: string + color?: string; /** * Used to locate this view in end-to-end tests. */ - testID?: string + testID?: string; - ref?: Ref + ref?: Ref; } export interface ProgressBarAndroidStatic extends React.ComponentClass { } @@ -2111,39 +2111,39 @@ declare namespace __React { */ export interface ProgressViewIOSProperties extends ViewProperties, React.Props { - style?: ViewStyle + style?: ViewStyle; /** * The progress bar style. */ - progressViewStyle?: "default" | "bar" + progressViewStyle?: "default" | "bar"; /** * The progress value (between 0 and 1). */ - progress?: number + progress?: number; /** * The tint color of the progress bar itself. */ - progressTintColor?: string + progressTintColor?: string; /** * The tint color of the progress bar track. */ - trackTintColor?: string + trackTintColor?: string; /** * A stretchable image to display as the progress bar. */ - progressImage?: any + progressImage?: any; /** * A stretchable image to display behind the progress bar. */ - trackImage?: any + trackImage?: any; - ref?: Ref + ref?: Ref; } export interface ProgressViewIOSStatic extends React.ComponentClass { } @@ -2153,19 +2153,19 @@ declare namespace __React { /** * The color of the refresh indicator. */ - tintColor?: string + tintColor?: string; /** * The title displayed under the refresh indicator. */ - title?: string + title?: string; /** * Title color. */ - titleColor?: string + titleColor?: string; - ref?: Ref + ref?: Ref; } export interface RefreshControlPropertiesAndroid extends ViewProperties, React.Props { @@ -2173,30 +2173,30 @@ declare namespace __React { /** * The colors (at least one) that will be used to draw the refresh indicator. */ - colors?: string[] + colors?: string[]; /** * Whether the pull to refresh functionality is enabled. */ - enabled?: boolean + enabled?: boolean; /** * The background color of the refresh indicator. */ - progressBackgroundColor?: string + progressBackgroundColor?: string; /** * Size of the refresh indicator, see RefreshControl.SIZE. */ - size?: number + size?: number; /** * Progress view top offset * @platform android */ - progressViewOffset?: number + progressViewOffset?: number; - ref?: Ref + ref?: Ref; } export interface RefreshControlProperties extends RefreshControlPropertiesIOS, RefreshControlPropertiesAndroid, React.Props { @@ -2204,18 +2204,18 @@ declare namespace __React { /** * Called when the view starts refreshing. */ - onRefresh?: () => void + onRefresh?: () => void; /** * Whether the view should be indicating an active refresh. */ - refreshing?: boolean + refreshing?: boolean; - ref?: Ref + ref?: Ref; } export interface RefreshControlStatic extends React.ComponentClass { - SIZE: Object // Undocumented + SIZE: Object; // Undocumented } export interface SliderPropertiesIOS extends ViewProperties, React.Props { @@ -2224,39 +2224,39 @@ declare namespace __React { * Assigns a maximum track image. Only static images are supported. * The leftmost pixel of the image will be stretched to fill the track. */ - maximumTrackImage?: any + maximumTrackImage?: any; /** * The color used for the track to the right of the button. * Overrides the default blue gradient image. */ - maximumTrackTintColor?: string + maximumTrackTintColor?: string; /** * Assigns a minimum track image. Only static images are supported. * The rightmost pixel of the image will be stretched to fill the track. */ - minimumTrackImage?: string + minimumTrackImage?: string; /** * The color used for the track to the left of the button. * Overrides the default blue gradient image. */ - minimumTrackTintColor?: string + minimumTrackTintColor?: string; /** * Sets an image for the thumb. Only static images are supported. */ - thumbImage?: any + thumbImage?: any; /** * Assigns a single image for the track. Only static images * are supported. The center pixel of the image will be stretched * to fill the track. */ - trackImage?: any + trackImage?: any; - ref?: Ref + ref?: Ref; } export interface SliderProperties extends SliderPropertiesIOS, React.Props { @@ -2265,44 +2265,44 @@ declare namespace __React { * If true the user won't be able to move the slider. * Default value is false. */ - disabled?: boolean + disabled?: boolean; /** * Initial maximum value of the slider. Default value is 1. */ - maximumValue?: number + maximumValue?: number; /** * Initial minimum value of the slider. Default value is 0. */ - minimumValue?: number + minimumValue?: number; /** * Callback called when the user finishes changing the value (e.g. when the slider is released). * @param value */ - onSlidingComplete?: (value: number) => void + onSlidingComplete?: (value: number) => void; /** * Callback continuously called while the user is dragging the slider. * @param value */ - onValueChange?: (value: number) => void + onValueChange?: (value: number) => void; /** * Step value of the slider. The value should be between 0 and (maximumValue - minimumValue). Default value is 0. */ - step?: number + step?: number; /** * Used to style and layout the Slider. See StyleSheet.js and ViewStylePropTypes.js for more info. */ - style?: ViewStyle + style?: ViewStyle; /** * Used to locate this view in UI automation tests. */ - testID?: string + testID?: string; /** * Initial value of the slider. The value should be between minimumValue @@ -2311,7 +2311,7 @@ declare namespace __React { * This is not a controlled component, you don't need to update * the value during dragging. */ - value?: number + value?: number; } export interface SliderStatic extends React.ComponentClass { @@ -2327,52 +2327,52 @@ declare namespace __React { /** * If true the user won't be able to move the slider. Default value is false. */ - disabled?: boolean + disabled?: boolean; /** * Initial maximum value of the slider. Default value is 1. */ - maximumValue?: number + maximumValue?: number; /** * The color used for the track to the right of the button. Overrides the default blue gradient image. */ - maximumTrackTintColor?: string + maximumTrackTintColor?: string; /** * Initial minimum value of the slider. Default value is 0. */ - minimumValue?: number + minimumValue?: number; - minimumTrackImage?: any + minimumTrackImage?: any; /** * The color used for the track to the left of the button. Overrides the default blue gradient image. */ - minimumTrackTintColor?: string + minimumTrackTintColor?: string; /** * Callback called when the user finishes changing the value (e.g. when the slider is released). */ - onSlidingComplete?: () => void + onSlidingComplete?: () => void; /** * Callback continuously called while the user is dragging the slider. */ - onValueChange?: ( value: number ) => void + onValueChange?: ( value: number ) => void; /** * Step value of the slider. * The value should be between 0 and (maximumValue - minimumValue). * Default value is 0. */ - step?: number + step?: number; /** * Used to style and layout the Slider. * @see StyleSheet.js and ViewStylePropTypes.js for more info. */ - style?: ViewStyle + style?: ViewStyle; /** * Initial value of the slider. @@ -2381,9 +2381,9 @@ declare namespace __React { * * This is not a controlled component, e.g. if you don't update the value, the component won't be reset to its inital value. */ - value?: number + value?: number; - ref?: Ref + ref?: Ref; } export interface SliderIOSStatic extends React.ComponentClass { @@ -2395,8 +2395,8 @@ declare namespace __React { * @see SwitchIOS.ios.js */ export interface SwitchIOSStyle extends ViewStyle { - height?: number - width?: number + height?: number; + width?: number; } @@ -2408,34 +2408,34 @@ declare namespace __React { /** * If true the user won't be able to toggle the switch. Default value is false. */ - disabled?: boolean + disabled?: boolean; /** * Background color when the switch is turned on. */ - onTintColor?: string + onTintColor?: string; /** * Callback that is called when the user toggles the switch. */ - onValueChange?: ( value: boolean ) => void + onValueChange?: ( value: boolean ) => void; /** * Background color for the switch round button. */ - thumbTintColor?: string + thumbTintColor?: string; /** * Background color when the switch is turned off. */ - tintColor?: string + tintColor?: string; /** * The value of the switch, if true the switch will be turned on. Default value is false. */ - value?: boolean + value?: boolean; - style?: SwitchIOSStyle + style?: SwitchIOSStyle; } /** @@ -2460,18 +2460,18 @@ declare namespace __React { * contain - The image will be resized such that it will be completely * visible, contained within the frame of the View. */ - contain: string + contain: string; /** * cover - The image will be resized such that the entire area of the view * is covered by the image, potentially clipping parts of the image. */ - cover: string + cover: string; /** * stretch - The image will be stretched to fill the entire frame of the * view without clipping. This may change the aspect ratio of the image, * distoring it. Only supported on iOS. */ - stretch: string + stretch: string; } /** @@ -2479,20 +2479,20 @@ declare namespace __React { * @see https://facebook.github.io/react-native/docs/image.html#style */ export interface ImageStyle extends FlexStyle, TransformsStyle { - resizeMode?: string //Object.keys(ImageResizeMode) - backfaceVisibility?: "visible" | "hidden" - borderBottomLeftRadius?: number - borderBottomRightRadius?: number - backgroundColor?: string - borderColor?: string - borderWidth?: number - borderRadius?: number - borderTopLeftRadius?: number - borderTopRightRadius?: number - overflow?: "visible" | "hidden" - overlayColor?: string - tintColor?: string - opacity?: number + resizeMode?: string; //Object.keys(ImageResizeMode) + backfaceVisibility?: "visible" | "hidden"; + borderBottomLeftRadius?: number; + borderBottomRightRadius?: number; + backgroundColor?: string; + borderColor?: string; + borderWidth?: number; + borderRadius?: number; + borderTopLeftRadius?: number; + borderTopRightRadius?: number; + overflow?: "visible" | "hidden"; + overlayColor?: string; + tintColor?: string; + opacity?: number; } export interface ImagePropertiesIOS { @@ -2512,22 +2512,22 @@ declare namespace __React { * This is useful for creating resizable rounded buttons, shadows, and other resizable assets. * More info on Apple documentation */ - capInsets?: Insets + capInsets?: Insets; /** * A static image to display while downloading the final image off the network. */ - defaultSource?: {uri: string} | number + defaultSource?: {uri: string} | number; /** * Invoked on load error with {nativeEvent: {error}} */ - onError?: ( error: {nativeEvent: any} ) => void + onError?: ( error: {nativeEvent: any} ) => void; /** * Invoked on download progress with {nativeEvent: {loaded, total}} */ - onProgress?: ()=> void + onProgress?: () => void; } /** @@ -2546,17 +2546,17 @@ declare namespace __React { /** * Invoked when load completes successfully */ - onLoad?: () => void + onLoad?: () => void; /** * Invoked when load either succeeds or fails */ - onLoadEnd?: () => void + onLoadEnd?: () => void; /** * Invoked on load start */ - onLoadStart?: () => void + onLoadStart?: () => void; /** @@ -2564,7 +2564,7 @@ declare namespace __React { * * enum('cover', 'contain', 'stretch') */ - resizeMode?: "cover" | "contain" | "stretch" + resizeMode?: "cover" | "contain" | "stretch"; /** * uri is a string representing the resource identifier for the image, @@ -2577,7 +2577,7 @@ declare namespace __React { * * Style */ - style?: ImageStyle; + style?: ImageStyle; /** * A unique identifier for this element to be used in UI Automation testing scripts. @@ -2588,9 +2588,9 @@ declare namespace __React { export interface ImageStatic extends React.ComponentClass { uri: string; - resizeMode: ImageResizeModeStatic - getSize(uri: string, success: (width: number, height: number) => void, failure: (error: any) => void): any - prefetch(url: string): any + resizeMode: ImageResizeModeStatic; + getSize(uri: string, success: (width: number, height: number) => void, failure: (error: any) => void): any; + prefetch(url: string): any; } /** @@ -2598,7 +2598,7 @@ declare namespace __React { */ export interface ListViewProperties extends ScrollViewProperties, React.Props { - dataSource?: ListViewDataSource + dataSource?: ListViewDataSource; /** * Flag indicating whether empty section headers should be rendered. @@ -2607,14 +2607,14 @@ declare namespace __React { * desired to be rendered their indices should be excluded from * sectionID object. */ - enableEmptySections?: boolean + enableEmptySections?: boolean; /** * How many rows to render on initial component mount. Use this to make * it so that the first screen worth of data apears at one time instead of * over the course of multiple frames. */ - initialListSize?: number + initialListSize?: number; /** * (visibleRows, changedRows) => void @@ -2625,31 +2625,31 @@ declare namespace __React { * that have changed their visibility, with true indicating visible, and * false indicating the view has moved out of view. */ - onChangeVisibleRows?: ( visibleRows: Array<{[sectionId: string]: {[rowID: string]: boolean}}>, changedRows: Array<{[sectionId: string]: {[rowID: string]: boolean}}> ) => void + onChangeVisibleRows?: ( visibleRows: Array<{[sectionId: string]: {[rowID: string]: boolean}}>, changedRows: Array<{[sectionId: string]: {[rowID: string]: boolean}}> ) => void; /** * Called when all rows have been rendered and the list has been scrolled * to within onEndReachedThreshold of the bottom. The native scroll * event is provided. */ - onEndReached?: () => void + onEndReached?: () => void; /** * Threshold in pixels for onEndReached. */ - onEndReachedThreshold?: number + onEndReachedThreshold?: number; /** * Number of rows to render per event loop. */ - pageSize?: number + pageSize?: number; /** * An experimental performance optimization for improving scroll perf of * large lists, used in conjunction with overflow: 'hidden' on the row * containers. Use at your own risk. */ - removeClippedSubviews?: boolean + removeClippedSubviews?: boolean; /** * () => renderable @@ -2659,7 +2659,7 @@ declare namespace __React { * in StaticContainer or other mechanism as appropriate. Footer is always * at the bottom of the list, and header at the top, on every render pass. */ - renderFooter?: () => React.ReactElement + renderFooter?: () => React.ReactElement; /** * () => renderable @@ -2669,7 +2669,7 @@ declare namespace __React { * in StaticContainer or other mechanism as appropriate. Footer is always * at the bottom of the list, and header at the top, on every render pass. */ - renderHeader?: () => React.ReactElement + renderHeader?: () => React.ReactElement; /** * (rowData, sectionID, rowID) => renderable @@ -2678,14 +2678,14 @@ declare namespace __React { * is exactly what was put into the data source, but it's also possible to * provide custom extractors. */ - renderRow?: ( rowData: any, sectionID: string | number, rowID: string | number, highlightRow?: boolean ) => React.ReactElement + renderRow?: ( rowData: any, sectionID: string | number, rowID: string | number, highlightRow?: boolean ) => React.ReactElement; /** * A function that returns the scrollable component in which the list rows are rendered. * Defaults to returning a ScrollView with the given props. */ - renderScrollComponent?: ( props: ScrollViewProperties ) => React.ReactElement + renderScrollComponent?: ( props: ScrollViewProperties ) => React.ReactElement; /** * (sectionData, sectionID) => renderable @@ -2696,7 +2696,7 @@ declare namespace __React { * stick to the top until it is pushed off the screen by the next section * header. */ - renderSectionHeader?: ( sectionData: any, sectionId: string | number ) => React.ReactElement + renderSectionHeader?: ( sectionData: any, sectionId: string | number ) => React.ReactElement; /** @@ -2705,15 +2705,15 @@ declare namespace __React { * but not the last row if there is a section header below. * Take a sectionID and rowID of the row above and whether its adjacent row is highlighted. */ - renderSeparator?: ( sectionID: string | number, rowID: string | number, adjacentRowHighlighted?: boolean ) => React.ReactElement + renderSeparator?: ( sectionID: string | number, rowID: string | number, adjacentRowHighlighted?: boolean ) => React.ReactElement; /** * How early to start rendering rows before they come on screen, in * pixels. */ - scrollRenderAheadDistance?: number + scrollRenderAheadDistance?: number; - ref?: Ref + ref?: Ref; } export interface ListViewStatic extends React.ComponentClass { @@ -2722,31 +2722,31 @@ declare namespace __React { export interface MapViewAnnotation { - latitude?: number - longitude?: number - animateDrop?: boolean - title?: string - subtitle?: string - hasLeftCallout?: boolean - hasRightCallout?: boolean - onLeftCalloutPress?: () => void - onRightCalloutPress?: () => void - id?: string + latitude?: number; + longitude?: number; + animateDrop?: boolean; + title?: string; + subtitle?: string; + hasLeftCallout?: boolean; + hasRightCallout?: boolean; + onLeftCalloutPress?: () => void; + onRightCalloutPress?: () => void; + id?: string; } export interface MapViewRegion { - latitude: number - longitude: number - latitudeDelta?: number - longitudeDelta?: number + latitude: number; + longitude: number; + latitudeDelta?: number; + longitudeDelta?: number; } export interface MapViewOverlay { - coordinates: ({latitude: number, longitude: number})[] - lineWidth?: number - strokeColor?: Object - fillColor?: Object - id?: string + coordinates: ({latitude: number, longitude: number})[]; + lineWidth?: number; + strokeColor?: Object; + fillColor?: Object; + id?: string; } export interface MapViewPropertiesIOS { @@ -2755,22 +2755,22 @@ declare namespace __React { * If false points of interest won't be displayed on the map. * Default value is true. */ - showsPointsOfInterest?: boolean + showsPointsOfInterest?: boolean; /** * Map annotations with title/subtitle. */ - annotations?: MapViewAnnotation[] + annotations?: MapViewAnnotation[]; /** * If true the map will follow the user's location whenever it changes. Note that this has no effect unless showsUserLocation is enabled. Default value is true. */ - followUserLocation?: boolean + followUserLocation?: boolean; /** * Insets for the map's legal label, originally at bottom left of the map. See EdgeInsetsPropType.js for more information. */ - legalLabelInsets?: Insets + legalLabelInsets?: Insets; /** * The map type to be displayed. @@ -2780,32 +2780,32 @@ declare namespace __React { * * enum('standard', 'satellite', 'hybrid') */ - mapType?: string + mapType?: string; /** * Maximum size of area that can be displayed. */ - maxDelta?: number + maxDelta?: number; /** * Minimum size of area that can be displayed. */ - minDelta?: number + minDelta?: number; /** * Map overlays */ - overlays: MapViewOverlay[] + overlays: MapViewOverlay[]; /** * If false compass won't be displayed on the map. * Default value is true. */ - showsCompass?: boolean + showsCompass?: boolean; } export interface MapViewPropertiesAndroid { - active?: boolean + active?: boolean; } export interface MapViewProperties extends MapViewPropertiesIOS, MapViewPropertiesAndroid, Touchable, ViewProperties, React.Props { @@ -2815,17 +2815,17 @@ declare namespace __React { /** * Callback that is called once, when the user taps an annotation. */ - onAnnotationPress?: () => void + onAnnotationPress?: () => void; /** * Callback that is called continuously when the user is dragging the map. */ - onRegionChange?: ( region: MapViewRegion ) => void + onRegionChange?: ( region: MapViewRegion ) => void; /** * Callback that is called once, when the user is done moving the map. */ - onRegionChangeComplete?: ( region: MapViewRegion ) => void + onRegionChangeComplete?: ( region: MapViewRegion ) => void; /** * When this property is set to true and a valid camera is associated with the map, @@ -2834,13 +2834,13 @@ declare namespace __React { * When this property is set to false, the camera’s pitch angle is ignored and * the map is always displayed as if the user is looking straight down onto it. */ - pitchEnabled?: boolean + pitchEnabled?: boolean; /** * The region to be displayed by the map. * The region is defined by the center coordinates and the span of coordinates to display. */ - region?: MapViewRegion + region?: MapViewRegion; /** * When this property is set to true and a valid camera is associated with the map, @@ -2849,13 +2849,13 @@ declare namespace __React { * When this property is set to false, the camera’s heading angle is ignored and the map is always oriented * so that true north is situated at the top of the map view */ - rotateEnabled?: boolean + rotateEnabled?: boolean; /** * If false the user won't be able to change the map region being displayed. * Default value is true. */ - scrollEnabled?: boolean + scrollEnabled?: boolean; /** * If true the app will ask for the user's location and focus on it. @@ -2864,21 +2864,21 @@ declare namespace __React { * NOTE: You need to add NSLocationWhenInUseUsageDescription key in Info.plist to enable geolocation, * otherwise it is going to fail silently! */ - showsUserLocation?: boolean + showsUserLocation?: boolean; /** * Used to style and layout the MapView. * See StyleSheet.js and ViewStylePropTypes.js for more info. */ - style?: ViewStyle + style?: ViewStyle; /** * If false the user won't be able to pinch/zoom the map. * Default value is true. */ - zoomEnabled?: boolean + zoomEnabled?: boolean; - ref?: Ref + ref?: Ref; } /** @@ -2891,12 +2891,12 @@ declare namespace __React { // Only `animated` is documented. The JS code says `animated` is // deprecated and `animationType` is preferred. - animated?: boolean - animationType?: "none" | "slide" | "fade" - transparent?: boolean - visible?: boolean - onRequestClose?: () => void - onShow?: (event: NativeSyntheticEvent) => void + animated?: boolean; + animationType?: "none" | "slide" | "fade"; + transparent?: boolean; + visible?: boolean; + onRequestClose?: () => void; + onShow?: (event: NativeSyntheticEvent) => void; } @@ -2912,7 +2912,7 @@ declare namespace __React { * * @enum('none', 'button', 'radiobutton_checked', 'radiobutton_unchecked' ) */ - accessibilityComponentType?: string + accessibilityComponentType?: string; } export interface TouchableWithoutFeedbackIOSProperties { @@ -2936,7 +2936,7 @@ declare namespace __React { /** * Called when the touch is released, but not if cancelled (e.g. by a scroll that steals the responder lock). */ - accessible?: boolean + accessible?: boolean; /** * Delay in ms, from onPressIn, before onLongPress is called. @@ -2956,7 +2956,7 @@ declare namespace __React { /** * If true, disable all interactions for this component. */ - disabled?: boolean + disabled?: boolean; /** * This defines how far your touch can start away from the button. @@ -2965,13 +2965,13 @@ declare namespace __React { * the Z-index of sibling views always takes precedence if a touch hits * two overlapping views. */ - hitSlop?: {top: number, left: number, bottom: number, right: number} + hitSlop?: {top: number, left: number, bottom: number, right: number}; /** * Invoked on mount and layout changes with * {nativeEvent: {layout: {x, y, width, height}}} */ - onLayout?: ( event: LayoutChangeEvent ) => void + onLayout?: ( event: LayoutChangeEvent ) => void; onLongPress?: () => void; @@ -2988,7 +2988,7 @@ declare namespace __React { /** * //FIXME: not in doc but available in examples */ - style?: ViewStyle + style?: ViewStyle; /** * When the scroll view is disabled, this defines how far your @@ -2998,7 +2998,7 @@ declare namespace __React { * while the scroll view is disabled. Ensure you pass in a constant * to reduce memory allocations. */ - pressRetentionOffset?: {top: number, left: number, bottom: number, right: number} + pressRetentionOffset?: {top: number, left: number, bottom: number, right: number}; } @@ -3026,29 +3026,29 @@ declare namespace __React { /** * Determines what the opacity of the wrapped view should be when touch is active. */ - activeOpacity?: number + activeOpacity?: number; /** * * Called immediately after the underlay is hidden */ - onHideUnderlay?: () => void + onHideUnderlay?: () => void; /** * Called immediately after the underlay is shown */ - onShowUnderlay?: () => void + onShowUnderlay?: () => void; /** * @see https://facebook.github.io/react-native/docs/view.html#style */ - style?: ViewStyle + style?: ViewStyle; /** * The color of the underlay that will show through when the touch is active. */ - underlayColor?: string + underlayColor?: string; } /** @@ -3076,7 +3076,7 @@ declare namespace __React { * Determines what the opacity of the wrapped view should be when touch is active. * Defaults to 0.2 */ - activeOpacity?: number + activeOpacity?: number; } /** @@ -3091,7 +3091,7 @@ declare namespace __React { /** * Determines what the opacity of the wrapped view should be when touch is active. */ - setOpacityTo: (value: number) => void + setOpacityTo: (value: number) => void; } @@ -3107,7 +3107,7 @@ declare namespace __React { * 2) TouchableNativeFeedback.SelectableBackgroundBorderless() - will create object that represent android theme's default background for borderless selectable elements (?android:attr/selectableItemBackgroundBorderless). Available on android API level 21+ * 3) TouchableNativeFeedback.Ripple(color, borderless) - will create object that represents ripple drawable with specified color (as a string). If property borderless evaluates to true the ripple will render outside of the view bounds (see native actionbar buttons as an example of that behavior). This background type is available on Android API level 21+ */ - background?: any + background?: any; } /** @@ -3121,9 +3121,9 @@ declare namespace __React { * @see https://facebook.github.io/react-native/docs/touchablenativefeedback.html#content */ export interface TouchableNativeFeedbackStatic extends React.ComponentClass { - SelectableBackground: () => TouchableNativeFeedbackStatic - SelectableBackgroundBorderless: () => TouchableNativeFeedbackStatic - Ripple: ( color: string, borderless?: boolean ) => TouchableNativeFeedbackStatic + SelectableBackground: () => TouchableNativeFeedbackStatic; + SelectableBackgroundBorderless: () => TouchableNativeFeedbackStatic; + Ripple: ( color: string, borderless?: boolean ) => TouchableNativeFeedbackStatic; } @@ -3140,7 +3140,7 @@ declare namespace __React { // A list of all gestures that are enabled on this scene gestures: { pop: LeftToRightGesture, - }, + }; // Rebound spring parameters when transitioning FROM this scene springFriction: number; @@ -3172,23 +3172,23 @@ declare namespace __React { } export interface Route { - component?: React.ComponentClass - id?: string - title?: string + component?: React.ComponentClass; + id?: string; + title?: string; passProps?: Object; //anything else - [key: string]: any + [key: string]: any; //Commonly found properties - backButtonTitle?: string - content?: string + backButtonTitle?: string; + content?: string; message?: string; - index?: number - onRightButtonPress?: () => void - rightButtonTitle?: string - sceneConfig?: SceneConfig - wrapperStyle?: any + index?: number; + onRightButtonPress?: () => void; + rightButtonTitle?: string; + sceneConfig?: SceneConfig; + wrapperStyle?: any; } @@ -3205,40 +3205,40 @@ declare namespace __React { * @param route * @param routeStack */ - configureScene?: ( route: Route, routeStack: Route[] ) => SceneConfig + configureScene?: ( route: Route, routeStack: Route[] ) => SceneConfig; /** * Specify a route to start on. * A route is an object that the navigator will use to identify each scene to render. * initialRoute must be a route in the initialRouteStack if both props are provided. * The initialRoute will default to the last item in the initialRouteStack. */ - initialRoute?: Route + initialRoute?: Route; /** * Provide a set of routes to initially mount. * Required if no initialRoute is provided. * Otherwise, it will default to an array containing only the initialRoute */ - initialRouteStack?: Route[] + initialRouteStack?: Route[]; /** * Optionally provide a navigation bar that persists across scene transitions */ - navigationBar?: React.ReactElement + navigationBar?: React.ReactElement; /** * Optionally provide the navigator object from a parent Navigator */ - navigator?: Navigator + navigator?: Navigator; /** * @deprecated Use navigationContext.addListener('willfocus', callback) instead. */ - onDidFocus?: Function + onDidFocus?: Function; /** * @deprecated Use navigationContext.addListener('willfocus', callback) instead. */ - onWillFocus?: Function + onWillFocus?: Function; /** * Required function which renders the scene for a given route. @@ -3246,17 +3246,17 @@ declare namespace __React { * @param route * @param navigator */ - renderScene?: ( route: Route, navigator: Navigator ) => React.ReactElement + renderScene?: ( route: Route, navigator: Navigator ) => React.ReactElement; /** * Styles to apply to the container of each scene */ - sceneStyle?: ViewStyle + sceneStyle?: ViewStyle; /** * //FIXME: not found in doc but found in examples */ - debugOverlay?: boolean + debugOverlay?: boolean; } @@ -3367,9 +3367,9 @@ declare namespace __React { export interface NavState { - routeStack: Route[] - idStack: number[] - presentedIndex: number + routeStack: Route[]; + idStack: number[]; + presentedIndex: number; } export interface NavigationBarStyle { @@ -3379,27 +3379,27 @@ declare namespace __React { export interface NavigationBarRouteMapper { Title: ( route: Route, nav: Navigator, index: number, navState: NavState ) => React.ReactElement; - LeftButton: ( route: Route, nav: Navigator, index: number, navState: NavState )=> React.ReactElement; - RightButton: ( route: Route, nav: Navigator, index: number, navState: NavState )=> React.ReactElement; + LeftButton: ( route: Route, nav: Navigator, index: number, navState: NavState ) => React.ReactElement; + RightButton: ( route: Route, nav: Navigator, index: number, navState: NavState ) => React.ReactElement; } /** * @see NavigatorNavigationBar.js */ export interface NavigationBarProperties extends React.Props { - navigator?: Navigator - routeMapper?: NavigationBarRouteMapper - navState?: NavState - style?: ViewStyle + navigator?: Navigator; + routeMapper?: NavigationBarRouteMapper; + navState?: NavState; + style?: ViewStyle; } export interface NavigationBarStatic extends React.ComponentClass { - Styles: NavigationBarStyle + Styles: NavigationBarStyle; } - export type NavigationBar = NavigationBarStatic - export var NavigationBar: NavigationBarStatic + export type NavigationBar = NavigationBarStatic; + export var NavigationBar: NavigationBarStatic; export interface BreadcrumbNavigationBarStyle { @@ -3407,29 +3407,29 @@ declare namespace __React { } export interface BreadcrumbNavigationBarRouteMapper { - rightContentForRoute: ( route: Route, navigator: Navigator ) => React.ReactElement - titleContentForRoute: ( route: Route, navigator: Navigator ) => React.ReactElement - iconForRoute: ( route: Route, navigator: Navigator ) => React.ReactElement + rightContentForRoute: ( route: Route, navigator: Navigator ) => React.ReactElement; + titleContentForRoute: ( route: Route, navigator: Navigator ) => React.ReactElement; + iconForRoute: ( route: Route, navigator: Navigator ) => React.ReactElement; //in samples... - separatorForRoute: ( route: Route, navigator: Navigator ) => React.ReactElement + separatorForRoute: ( route: Route, navigator: Navigator ) => React.ReactElement; } /** * @see NavigatorNavigationBar.js */ export interface BreadcrumbNavigationBarProperties extends React.Props { - navigator?: Navigator - routeMapper?: BreadcrumbNavigationBarRouteMapper - navState?: NavState - style?: ViewStyle + navigator?: Navigator; + routeMapper?: BreadcrumbNavigationBarRouteMapper; + navState?: NavState; + style?: ViewStyle; } export interface BreadcrumbNavigationBarStatic extends React.ComponentClass { - Styles: BreadcrumbNavigationBarStyle + Styles: BreadcrumbNavigationBarStyle; } - export type BreadcrumbNavigationBar = BreadcrumbNavigationBarStatic - var BreadcrumbNavigationBar: BreadcrumbNavigationBarStatic + export type BreadcrumbNavigationBar = BreadcrumbNavigationBarStatic; + var BreadcrumbNavigationBar: BreadcrumbNavigationBarStatic; } @@ -3479,7 +3479,7 @@ declare namespace __React { * their respective objects, merged as one and then returned. This also explains * the alternative use. */ - flatten(style: Object): Object + flatten(style: Object): Object; /** * This is defined as the width of a thin line on the platform. It can be @@ -3498,14 +3498,14 @@ declare namespace __React { * constant size, because on different platforms and screen densities its * value may be calculated differently. */ - hairlineWidth: number + hairlineWidth: number; /** * A very common pattern is to create overlays with position absolute and zero positioning, * so `absoluteFill` can be used for convenience and to reduce duplication of these repeated * styles. */ - absoluteFill: number + absoluteFill: number; /** @@ -3526,17 +3526,17 @@ declare namespace __React { right: number top: number bottom: number - } + }; } /** * //FIXME: Could not find docs. Inferred from examples and jscode : ListViewDataSource.js */ export interface DataSourceAssetCallback { - rowHasChanged?: ( r1: any, r2: any ) => boolean - sectionHeaderHasChanged?: ( h1: any, h2: any ) => boolean - getRowData?: ( dataBlob: any, sectionID: number | string, rowID: number | string ) => T - getSectionHeaderData?: ( dataBlob: any, sectionID: number | string ) => T + rowHasChanged?: ( r1: any, r2: any ) => boolean; + sectionHeaderHasChanged?: ( h1: any, h2: any ) => boolean; + getRowData?: ( dataBlob: any, sectionID: number | string, rowID: number | string ) => T; + getSectionHeaderData?: ( dataBlob: any, sectionID: number | string ) => T; } /** @@ -3560,7 +3560,7 @@ declare namespace __React { * handle merging of old and new data separately and then pass that into * this function as the `dataBlob`. */ - cloneWithRows( dataBlob: Array | {[key: string ]: any}, rowIdentities?: Array ): ListViewDataSource + cloneWithRows( dataBlob: Array | {[key: string ]: any}, rowIdentities?: Array ): ListViewDataSource; /** * This performs the same function as the `cloneWithRows` function but here @@ -3573,41 +3573,41 @@ declare namespace __React { * * Note: this returns a new object! */ - cloneWithRowsAndSections( dataBlob: Array | {[key: string]: any}, sectionIdentities?: Array, rowIdentities?: Array> ): ListViewDataSource + cloneWithRowsAndSections( dataBlob: Array | {[key: string]: any}, sectionIdentities?: Array, rowIdentities?: Array> ): ListViewDataSource; - getRowCount(): number + getRowCount(): number; /** * Gets the data required to render the row. */ - getRowData( sectionIndex: number, rowIndex: number ): any + getRowData( sectionIndex: number, rowIndex: number ): any; /** * Gets the rowID at index provided if the dataSource arrays were flattened, * or null of out of range indexes. */ - getRowIDForFlatIndex( index: number ): string + getRowIDForFlatIndex( index: number ): string; /** * Gets the sectionID at index provided if the dataSource arrays were flattened, * or null for out of range indexes. */ - getSectionIDForFlatIndex( index: number ): string + getSectionIDForFlatIndex( index: number ): string; /** * Returns an array containing the number of rows in each section */ - getSectionLengths(): Array + getSectionLengths(): Array; /** * Returns if the section header is dirtied and needs to be rerendered */ - sectionHeaderShouldUpdate( sectionIndex: number ): boolean + sectionHeaderShouldUpdate( sectionIndex: number ): boolean; /** * Gets the data required to render the section header */ - getSectionHeaderData( sectionIndex: number ): any + getSectionHeaderData( sectionIndex: number ): any; } @@ -3619,23 +3619,23 @@ declare namespace __React { /** * Little red bubble that sits at the top right of the icon. */ - badge?: string | number + badge?: string | number; /** * A custom icon for the tab. It is ignored when a system icon is defined. */ - icon?: {uri: string} | string + icon?: {uri: string} | string; /** * Callback when this tab is being selected, * you should change the state of your component to set selected={true}. */ - onPress?: () => void + onPress?: () => void; /** * It specifies whether the children are visible or not. If you see a blank content, you probably forgot to add a selected one. */ - selected?: boolean + selected?: boolean; /** * A custom icon when the tab is selected. @@ -3646,7 +3646,7 @@ declare namespace __React { /** * React style object. */ - style?: ViewStyle + style?: ViewStyle; /** * Items comes with a few predefined system icons. @@ -3654,14 +3654,14 @@ declare namespace __React { * * enum('bookmarks', 'contacts', 'downloads', 'favorites', 'featured', 'history', 'more', 'most-recent', 'most-viewed', 'recents', 'search', 'top-rated') */ - systemIcon: "bookmarks" | "contacts" | "downloads" | "favorites" | "featured" | "history" | "more" | "most-recent" | "most-viewed" | "recents" | "search" | "top-rated" + systemIcon: "bookmarks" | "contacts" | "downloads" | "favorites" | "featured" | "history" | "more" | "most-recent" | "most-viewed" | "recents" | "search" | "top-rated"; /** * Text that appears under the icon. It is ignored when a system icon is defined. */ - title?: string + title?: string; - ref?: Ref + ref?: Ref; } export interface TabBarItemStatic extends React.ComponentClass { @@ -3675,26 +3675,26 @@ declare namespace __React { /** * Background color of the tab bar */ - barTintColor?: string + barTintColor?: string; - style?: ViewStyle + style?: ViewStyle; /** * Color of the currently selected tab icon */ - tintColor?: string + tintColor?: string; /** * A Boolean value that indicates whether the tab bar is translucent */ - translucent?: boolean + translucent?: boolean; /** * Color of text on unselected tabs */ - unselectedTintColor?: string + unselectedTintColor?: string; - ref?: Ref + ref?: Ref; } export interface TabBarIOSStatic extends React.ComponentClass { @@ -3734,14 +3734,14 @@ declare namespace __React { preference set in Settings > Display > Font size, on iOS it will always return the default pixel ratio. */ - getFontScale(): number + getFontScale(): number; /** * Converts a layout size (dp) to pixel size (px). * Guaranteed to return an integer number. * @param layoutSize */ - getPixelSizeForLayoutSize(layoutSize: number): number + getPixelSizeForLayoutSize(layoutSize: number): number; /** * Rounds a layout size (dp) to the nearest layout size that @@ -3751,22 +3751,22 @@ declare namespace __React { * which corresponds to exactly (8.33 * 3) = 25 pixels. * @param layoutSize */ - roundToNearestPixel(layoutSize: number): number + roundToNearestPixel(layoutSize: number): number; /** * No-op for iOS, but used on the web. Should not be documented. [sic] */ - startDetecting(): void + startDetecting(): void; } /** * @see https://facebook.github.io/react-native/docs/platform-specific-code.html#content */ - export type PlatformOSType = 'ios' | 'android' + export type PlatformOSType = 'ios' | 'android'; export interface PlatformStatic { - OS: PlatformOSType, + OS: PlatformOSType; /** * @see https://facebook.github.io/react-native/docs/platform-specific-code.html#content @@ -3794,7 +3794,7 @@ declare namespace __React { * }); // removes the listener if already registered * */ - removeListener( eventType: String, listener: Function): void + removeListener( eventType: String, listener: Function): void; } // Used by Dimensions below @@ -3842,14 +3842,14 @@ declare namespace __React { * This should only be called from native code by sending the didUpdateDimensions event. * @param {object} dims Simple string-keyed object of dimensions to set */ - set( dims: {[key: string]: any}[] ): void + set( dims: {[key: string]: any}[] ): void; } export type PromiseTask = { - gen: () => Promise - } + gen: () => Promise; + }; - export type Handle = number + export type Handle = number; export interface InteractionManagerStatic { @@ -3859,54 +3859,54 @@ declare namespace __React { * @param fn */ runAfterInteractions( fn: () => void | PromiseTask): - {then: Function, done: Function, cancel: Function} + {then: Function, done: Function, cancel: Function}; /** * Notify manager that an interaction has started. */ - createInteractionHandle(): Handle + createInteractionHandle(): Handle; /** * Notify manager that an interaction has completed. */ - clearInteractionHandle(handle: Handle): void + clearInteractionHandle(handle: Handle): void; /** * A positive number will use setTimeout to schedule any tasks after * the eventLoopRunningTime hits the deadline value, otherwise all * tasks will be executed in one setImmediate batch (default). */ - setDeadline(deadline: number): void + setDeadline(deadline: number): void; } export interface ScrollViewStyle extends FlexStyle, TransformsStyle { - backfaceVisibility?: "visible" | "hidden" - backgroundColor?: string - borderColor?: string - borderTopColor?: string - borderRightColor?: string - borderBottomColor?: string - borderLeftColor?: string - borderRadius?: number - borderTopLeftRadius?: number - borderTopRightRadius?: number - borderBottomLeftRadius?: number - borderBottomRightRadius?: number - borderStyle?: "solid" | "dotted" | "dashed" - borderWidth?: number - borderTopWidth?: number - borderRightWidth?: number - borderBottomWidth?: number - borderLeftWidth?: number - opacity?: number - overflow?: "visible" | "hidden" - shadowColor?: string - shadowOffset?: {width: number; height: number} - shadowOpacity?: number - shadowRadius?: number - elevation?: number + backfaceVisibility?: "visible" | "hidden"; + backgroundColor?: string; + borderColor?: string; + borderTopColor?: string; + borderRightColor?: string; + borderBottomColor?: string; + borderLeftColor?: string; + borderRadius?: number; + borderTopLeftRadius?: number; + borderTopRightRadius?: number; + borderBottomLeftRadius?: number; + borderBottomRightRadius?: number; + borderStyle?: "solid" | "dotted" | "dashed"; + borderWidth?: number; + borderTopWidth?: number; + borderRightWidth?: number; + borderBottomWidth?: number; + borderLeftWidth?: number; + opacity?: number; + overflow?: "visible" | "hidden"; + shadowColor?: string; + shadowOffset?: {width: number; height: number}; + shadowOpacity?: number; + shadowRadius?: number; + elevation?: number; } @@ -3917,19 +3917,19 @@ declare namespace __React { * even if the content is smaller than the scroll view itself. The default * value is true when `horizontal={true}` and false otherwise. */ - alwaysBounceHorizontal?: boolean + alwaysBounceHorizontal?: boolean; /** * When true the scroll view bounces vertically when it reaches the end * even if the content is smaller than the scroll view itself. The default * value is false when `horizontal={true}` and true otherwise. */ - alwaysBounceVertical?: boolean + alwaysBounceVertical?: boolean; /** * Controls whether iOS should automatically adjust the content inset for scroll views that are placed behind a navigation bar or tab bar/ toolbar. * The default value is true. */ - automaticallyAdjustContentInsets?: boolean // true + automaticallyAdjustContentInsets?: boolean; // true /** * When true the scroll view bounces when it reaches the end of the @@ -3937,19 +3937,19 @@ declare namespace __React { * the scroll direction. When false it disables all bouncing even if * the `alwaysBounce*` props are true. The default value is true. */ - bounces?: boolean + bounces?: boolean; /** * When true gestures can drive zoom past min/max and the zoom will animate * to the min/max value at gesture end otherwise the zoom will not exceed * the limits. */ - bouncesZoom?: boolean + bouncesZoom?: boolean; /** * When false once tracking starts won't try to drag if the touch moves. * The default value is true. */ - canCancelContentTouches?: boolean + canCancelContentTouches?: boolean; /** * When true the scroll view automatically centers the content when the @@ -3957,19 +3957,19 @@ declare namespace __React { * larger than the scroll view this property has no effect. The default * value is false. */ - centerContent?: boolean + centerContent?: boolean; /** * The amount by which the scroll view content is inset from the edges of the scroll view. * Defaults to {0, 0, 0, 0}. */ - contentInset?: Insets // zeros + contentInset?: Insets; // zeros /** * Used to manually set the starting scroll offset. * The default value is {x: 0, y: 0} */ - contentOffset?: PointProperties // zeros + contentOffset?: PointProperties; // zeros /** * A floating-point number that determines how quickly the scroll view @@ -3977,13 +3977,13 @@ declare namespace __React { * - Normal: 0.998 (the default) * - Fast: 0.9 */ - decelerationRate?: "fast" | "normal" | number + decelerationRate?: "fast" | "normal" | number; /** * When true the ScrollView will try to lock to only vertical or horizontal * scrolling while dragging. The default value is false. */ - directionalLockEnabled?: boolean + directionalLockEnabled?: boolean; /** * The style of the scroll indicators. @@ -3993,32 +3993,32 @@ declare namespace __React { * - white, scroll indicator is white. This style is good against * a black content background. */ - indicatorStyle?: "default" | "black" | "white" + indicatorStyle?: "default" | "black" | "white"; /** * The maximum allowed zoom scale. The default value is 1.0. */ - maximumZoomScale?: number + maximumZoomScale?: number; /** * The minimum allowed zoom scale. The default value is 1.0. */ - minimumZoomScale?: number + minimumZoomScale?: number; /** * Deprecated. Use the refreshControl prop instead. */ - onRefreshStart?: () => void + onRefreshStart?: () => void; /** * Called when a scrolling animation ends. */ - onScrollAnimationEnd?: () => void + onScrollAnimationEnd?: () => void; /** * When false, the content does not scroll. The default value is true */ - scrollEnabled?: boolean // true + scrollEnabled?: boolean; // true /** * This controls how often the scroll event will be fired while scrolling (in events per seconds). @@ -4026,20 +4026,20 @@ declare namespace __React { * but can lead to scroll performance problems due to the volume of information being send over the bridge. * The default value is zero, which means the scroll event will be sent only once each time the view is scrolled. */ - scrollEventThrottle?: number // null + scrollEventThrottle?: number; // null /** * The amount by which the scroll view indicators are inset from the edges of the scroll view. * This should normally be set to the same value as the contentInset. * Defaults to {0, 0, 0, 0}. */ - scrollIndicatorInsets?: Insets //zeroes + scrollIndicatorInsets?: Insets; //zeroes /** * When true the scroll view scrolls to top when the status bar is tapped. * The default value is true. */ - scrollsToTop?: boolean + scrollsToTop?: boolean; /** * When snapToInterval is set, snapToAlignment will define the relationship of the the snapping to the scroll view. @@ -4047,14 +4047,14 @@ declare namespace __React { * - center will align the snap in the center * - end will align the snap at the right (horizontal) or bottom (vertical) */ - snapToAlignment?: string + snapToAlignment?: string; /** * When set, causes the scroll view to stop at multiples of the value of snapToInterval. * This can be used for paginating through children that have lengths smaller than the scroll view. * Used in combination with snapToAlignment. */ - snapToInterval?: number + snapToInterval?: number; /** * An array of child indices determining which children get docked to the @@ -4063,12 +4063,12 @@ declare namespace __React { * top of the scroll view. This property is not supported in conjunction * with `horizontal={true}`. */ - stickyHeaderIndices?: number[] + stickyHeaderIndices?: number[]; /** * The current scale of the scroll view content. The default value is 1.0. */ - zoomScale?: number + zoomScale?: number; } export interface ScrollViewPropertiesAndroid { @@ -4080,7 +4080,7 @@ declare namespace __React { * unnecessary overdraw. This is an advanced optimization that is not * needed in the general case. */ - endFillColor?: string + endFillColor?: string; /** * Tag used to log scroll performance on this scroll view. Will force @@ -4089,7 +4089,7 @@ declare namespace __React { * FpsListener for it to be useful. * @platform android */ - scrollPerfTag?: string + scrollPerfTag?: string; } @@ -4110,13 +4110,13 @@ declare namespace __React { * } * }); */ - contentContainerStyle?: ViewStyle + contentContainerStyle?: ViewStyle; /** * When true the scroll view's children are arranged horizontally in a row * instead of vertically in a column. The default value is false. */ - horizontal?: boolean + horizontal?: boolean; /** * Determines whether the keyboard gets dismissed in response to a drag. @@ -4126,7 +4126,7 @@ declare namespace __React { * and moves in synchrony with the touch; dragging upwards cancels the * dismissal. */ - keyboardDismissMode?: string + keyboardDismissMode?: string; /** * When false tapping outside of the focused text input when the keyboard @@ -4134,20 +4134,20 @@ declare namespace __React { * taps and the keyboard will not dismiss automatically. The default value * is false. */ - keyboardShouldPersistTaps?: boolean + keyboardShouldPersistTaps?: boolean; /** * Fires at most once per frame during scrolling. * The frequency of the events can be contolled using the scrollEventThrottle prop. */ - onScroll?: (event?: { nativeEvent: NativeScrollEvent }) => void + onScroll?: (event?: { nativeEvent: NativeScrollEvent }) => void; /** * When true the scroll view stops on multiples of the scroll view's size * when scrolling. This can be used for horizontal pagination. The default * value is false. */ - pagingEnabled?: boolean + pagingEnabled?: boolean; /** * Experimental: When true offscreen child views (whose `overflow` value is @@ -4155,40 +4155,40 @@ declare namespace __React { * This canimprove scrolling performance on long lists. The default value is * false. */ - removeClippedSubviews?: boolean + removeClippedSubviews?: boolean; /** * When true, shows a horizontal scroll indicator. */ - showsHorizontalScrollIndicator?: boolean + showsHorizontalScrollIndicator?: boolean; /** * When true, shows a vertical scroll indicator. */ - showsVerticalScrollIndicator?: boolean + showsVerticalScrollIndicator?: boolean; /** * Style */ - style?: ScrollViewStyle + style?: ScrollViewStyle; /** * A RefreshControl component, used to provide pull-to-refresh * functionality for the ScrollView. */ - refreshControl?: React.ReactElement + refreshControl?: React.ReactElement; - ref?: Ref + ref?: Ref; } export interface ScrollViewProps extends ScrollViewProperties, React.Props { - ref?: Ref + ref?: Ref; } interface ScrollViewStatic extends React.ComponentClass { // Deprecated. Use RefreshControl instead. - endRefreshing?: () => void + endRefreshing?: () => void; /** * Scrolls to a given x, y offset, either immediately or with a smooth animation. @@ -4218,7 +4218,7 @@ declare namespace __React { getInnerViewNode(): any; // Deprecated, do not use. - scrollWithoutAnimationTo?: (y: number, x: number) => void + scrollWithoutAnimationTo?: (y: number, x: number) => void; } @@ -4261,25 +4261,25 @@ declare namespace __React { export interface SwipeableListViewDataSource { cloneWithRowsAndSections(dataBlob: any, sectionIdentities: Array, - rowIdentities: Array>): SwipeableListViewDataSource - getDataSource(): ListViewDataSource - getOpenRowID(): string - setOpenRowID(rowID: string): ListViewDataSource + rowIdentities: Array>): SwipeableListViewDataSource; + getDataSource(): ListViewDataSource; + getOpenRowID(): string; + setOpenRowID(rowID: string): ListViewDataSource; } export interface SwipeableListViewProps extends React.Props { - dataSource: SwipeableListViewDataSource - maxSwipeDistance?: number + dataSource: SwipeableListViewDataSource; + maxSwipeDistance?: number; // Callback method to render the swipeable view - renderRow: ( rowData: any, sectionID: string | number, rowID: string | number, highlightRow?: boolean ) => React.ReactElement + renderRow: ( rowData: any, sectionID: string | number, rowID: string | number, highlightRow?: boolean ) => React.ReactElement; // Callback method to render the view that will be unveiled on swipe - renderQuickActions(rowData: Object, sectionID: string, rowID: string): React.ReactElement + renderQuickActions(rowData: Object, sectionID: string, rowID: string): React.ReactElement; } export interface SwipeableListViewStatic extends React.ComponentClass { - getNewDataSource(): SwipeableListViewDataSource + getNewDataSource(): SwipeableListViewDataSource; } @@ -4293,16 +4293,16 @@ declare namespace __React { * @see: http://facebook.github.io/react-native/docs/actionsheetios.html#content */ export interface ActionSheetIOSOptions { - title?: string - options?: string[] - cancelButtonIndex?: number - destructiveButtonIndex?: number - message?: string + title?: string; + options?: string[]; + cancelButtonIndex?: number; + destructiveButtonIndex?: number; + message?: string; } export interface ShareActionSheetIOSOptions { - message?: string - url?: string + message?: string; + url?: string; } /** @@ -4318,7 +4318,7 @@ declare namespace __React { * title (string) - a title to show above the action sheet * message (string) - a message to show below the title */ - showActionSheetWithOptions: ( options: ActionSheetIOSOptions, callback: ( buttonIndex: number ) => void ) => void + showActionSheetWithOptions: ( options: ActionSheetIOSOptions, callback: ( buttonIndex: number ) => void ) => void; /** * Display the iOS share sheet. The options object should contain one @@ -4329,20 +4329,20 @@ declare namespace __React { * the file it points to will be loaded and shared directly. In this * way, you can share images, videos, PDF files, etc. */ - showShareActionSheetWithOptions: ( options: ShareActionSheetIOSOptions, failureCallback: ( error: Error ) => void, successCallback: ( success: boolean, method: string ) => void ) => void + showShareActionSheetWithOptions: ( options: ShareActionSheetIOSOptions, failureCallback: ( error: Error ) => void, successCallback: ( success: boolean, method: string ) => void ) => void; } /** * @see https://facebook.github.io/react-native/docs/alert.html#content */ export interface AlertButton { - text?: string - onPress?: () => void - style?: "default" | "cancel" | "destructive" + text?: string; + onPress?: () => void; + style?: "default" | "cancel" | "destructive"; } export interface AlertStatic { - alert: (title: string, message?: string, buttons?: AlertButton[], type?: string) => void + alert: (title: string, message?: string, buttons?: AlertButton[], type?: string) => void; } @@ -4350,14 +4350,14 @@ declare namespace __React { * //FIXME: No documentation - inferred from RCTAdSupport.m */ export interface AdSupportIOSStatic { - getAdvertisingId: ( onSuccess: ( deviceId: string ) => void, onFailure: ( err: Error ) => void ) => void - getAdvertisingTrackingEnabled: ( onSuccess: ( hasTracking: boolean ) => void, onFailure: ( err: Error ) => void ) => void + getAdvertisingId: ( onSuccess: ( deviceId: string ) => void, onFailure: ( err: Error ) => void ) => void; + getAdvertisingTrackingEnabled: ( onSuccess: ( hasTracking: boolean ) => void, onFailure: ( err: Error ) => void ) => void; } interface AlertIOSButton { - text: string - onPress?: () => void - style?: "default" | "cancel" | "destructive" + text: string; + onPress?: () => void; + style?: "default" | "cancel" | "destructive"; } /** @@ -4384,7 +4384,7 @@ declare namespace __React { type -- deprecated, do not use */ - alert: ( title: string, message?: string, callbackOrButtons?: (value: string) => void| Array, type?: string ) => void + alert: ( title: string, message?: string, callbackOrButtons?: (value: string) => void| Array, type?: string ) => void; /* Prompt the user to enter some text. @@ -4399,7 +4399,7 @@ declare namespace __React { defaultValue: string -- the default value for the text field. */ - prompt: ( title: string, value?: string, callbackOrButtons?: (value: string) => void | Array, type?: string, defaultValue?: string ) => void + prompt: ( title: string, value?: string, callbackOrButtons?: (value: string) => void | Array, type?: string, defaultValue?: string ) => void; } /** @@ -4418,23 +4418,23 @@ declare namespace __React { * * @see https://facebook.github.io/react-native/docs/appstateios.html#content */ - export type AppStateEvent = "change" | "memoryWarning" - export type AppStateStatus = "active" | "background" | "inactive" + export type AppStateEvent = "change" | "memoryWarning"; + export type AppStateStatus = "active" | "background" | "inactive"; export interface AppStateStatic { - currentState: string + currentState: string; /** * Add a handler to AppState changes by listening to the change event * type and providing the handler */ - addEventListener( type: AppStateEvent, listener: ( state: AppStateStatus ) => void ): void + addEventListener( type: AppStateEvent, listener: ( state: AppStateStatus ) => void ): void; /** * Remove a handler by passing the change event type and the handler */ - removeEventListener( type: AppStateEvent, listener: ( state: AppStateStatus ) => void ): void + removeEventListener( type: AppStateEvent, listener: ( state: AppStateStatus ) => void ): void; } /** @@ -4451,48 +4451,48 @@ declare namespace __React { /** * Fetches key and passes the result to callback, along with an Error if there is any. */ - getItem( key: string, callback?: ( error?: Error, result?: string ) => void ): Promise + getItem( key: string, callback?: ( error?: Error, result?: string ) => void ): Promise; /** * Sets value for key and calls callback on completion, along with an Error if there is any */ - setItem( key: string, value: string, callback?: ( error?: Error ) => void ): Promise + setItem( key: string, value: string, callback?: ( error?: Error ) => void ): Promise; - removeItem( key: string, callback?: ( error?: Error ) => void ): Promise + removeItem( key: string, callback?: ( error?: Error ) => void ): Promise; /** * Merges existing value with input value, assuming they are stringified json. Returns a Promise object. * Not supported by all native implementation */ - mergeItem( key: string, value: string, callback?: ( error?: Error ) => void ): Promise + mergeItem( key: string, value: string, callback?: ( error?: Error ) => void ): Promise; /** * Erases all AsyncStorage for all clients, libraries, etc. You probably don't want to call this. * Use removeItem or multiRemove to clear only your own keys instead. */ - clear( callback?: ( error?: Error ) => void ): Promise + clear( callback?: ( error?: Error ) => void ): Promise; /** * Gets all keys known to the app, for all callers, libraries, etc */ - getAllKeys( callback?: ( error?: Error, keys?: string[] ) => void ): Promise + getAllKeys( callback?: ( error?: Error, keys?: string[] ) => void ): Promise; /** * multiGet invokes callback with an array of key-value pair arrays that matches the input format of multiSet */ - multiGet( keys: string[], callback?: ( errors?: Error[], result?: string[][] ) => void ): Promise + multiGet( keys: string[], callback?: ( errors?: Error[], result?: string[][] ) => void ): Promise; /** * multiSet and multiMerge take arrays of key-value array pairs that match the output of multiGet, * * multiSet([['k1', 'val1'], ['k2', 'val2']], cb); */ - multiSet( keyValuePairs: string[][], callback?: ( errors?: Error[] ) => void ): Promise + multiSet( keyValuePairs: string[][], callback?: ( errors?: Error[] ) => void ): Promise; /** * Delete all the keys in the keys array. */ - multiRemove( keys: string[], callback?: ( errors?: Error[] ) => void ): Promise + multiRemove( keys: string[], callback?: ( errors?: Error[] ) => void ): Promise; /** * Merges existing values with input values, assuming they are stringified json. @@ -4500,7 +4500,7 @@ declare namespace __React { * * Not supported by all native implementations. */ - multiMerge( keyValuePairs: string[][], callback?: ( errors?: Error[] ) => void ): Promise + multiMerge( keyValuePairs: string[][], callback?: ( errors?: Error[] ) => void ): Promise; } /** @@ -4519,8 +4519,8 @@ declare namespace __React { first: number; after?: string; groupTypes: string; // 'Album','All','Event','Faces','Library','PhotoStream','SavedPhotos' - groupName?: string - assetType?: string + groupName?: string; + assetType?: string; } export interface CameraRollNodeInfo { @@ -4543,12 +4543,12 @@ declare namespace __React { } export interface GetPhotosParamType { - first: number - after: string - groupTypes: "Album" | "All" | "Event" | "Faces" | "Library" | "PhotoStream" | "SavedPhotos" - groupName: string - assetType: "All" | "Videos" | "Photos" - mimeTypes: string[] + first: number; + after: string; + groupTypes: "Album" | "All" | "Event" | "Faces" | "Library" | "PhotoStream" | "SavedPhotos"; + groupName: string; + assetType: "All" | "Videos" | "Photos"; + mimeTypes: string[]; } export interface GetPhotosReturnType { @@ -4563,13 +4563,13 @@ declare namespace __React { isStored?: boolean } } - }[] + }[]; page_info: { has_next_page: boolean start_cursor?: string end_cursor?: string - } + }; } /** @@ -4577,7 +4577,7 @@ declare namespace __React { */ export interface CameraRollStatic { - GroupTypesOptions: string[] //'Album','All','Event','Faces','Library','PhotoStream','SavedPhotos' + GroupTypesOptions: string[]; //'Album','All','Event','Faces','Library','PhotoStream','SavedPhotos' /** * Saves the image to the camera roll / gallery. @@ -4593,7 +4593,7 @@ declare namespace __React { * @deprecated use saveToCameraRoll instead * */ - saveImageWithTag( tag: string ): Promise + saveImageWithTag( tag: string ): Promise; /** * Saves the photo or video to the camera roll / gallery. @@ -4609,7 +4609,7 @@ declare namespace __React { * * Returns a Promise which will resolve with the new URI. */ - saveToCameraRoll(tag: string, type?: 'photo' | 'video'): Promise + saveToCameraRoll(tag: string, type?: 'photo' | 'video'): Promise; /** * Invokes callback with photo identifier objects from the local camera roll of the device matching shape defined by getPhotosReturnChecker. @@ -4625,16 +4625,16 @@ declare namespace __React { } export interface DatePickerAndroidOpenOption { - date?: Date | number - minDate?: Date | number - maxDate?: Date | number + date?: Date | number; + minDate?: Date | number; + maxDate?: Date | number; } export interface DatePickerAndroidOpenReturn { - action: string // Deduced from DatePickerAndroid.android.js - year?: number - month?: number - day?: number + action: string; // Deduced from DatePickerAndroid.android.js + year?: number; + month?: number; + day?: number; } export interface DatePickerAndroidStatic { @@ -4647,33 +4647,33 @@ declare namespace __React { Note the native date picker dialog has some UI glitches on Android 4 and lower when using the minDate and maxDate options. */ - open(options?: DatePickerAndroidOpenOption): Promise + open(options?: DatePickerAndroidOpenOption): Promise; /** * A date has been selected. */ - dateSetAction: string + dateSetAction: string; /** * The dialog has been dismissed. */ - dismissedAction: string + dismissedAction: string; } export interface FetchableListenable { - fetch: () => Promise + fetch: () => Promise; /** * eventName is expected to be `change` * //FIXME: No doc - inferred from NetInfo.js */ - addEventListener: ( eventName: string, listener: ( result: T ) => void ) => void + addEventListener: ( eventName: string, listener: ( result: T ) => void ) => void; /** * eventName is expected to be `change` * //FIXME: No doc - inferred from NetInfo.js */ - removeEventListener: ( eventName: string, listener: ( result: T ) => void ) => void + removeEventListener: ( eventName: string, listener: ( result: T ) => void ) => void; } export interface IntentAndroidStatic { @@ -4690,7 +4690,7 @@ declare namespace __React { @deprecated */ - openURL(url: string): void + openURL(url: string): void; /** * Determine whether or not an installed app can handle a given URL. @@ -4703,7 +4703,7 @@ declare namespace __React { @deprecated */ - canOpenURL(url: string, callback: (supported: boolean) => void): void + canOpenURL(url: string, callback: (supported: boolean) => void): void; /** * If the app launch was triggered by an app link with {@code Intent.ACTION_VIEW}, it will give the link url, otherwise it will give null @@ -4712,7 +4712,7 @@ declare namespace __React { @deprecated */ - getInitialURL(callback: (url: string) => void):void + getInitialURL(callback: (url: string) => void): void; } export interface LinkingStatic { @@ -4720,13 +4720,13 @@ declare namespace __React { * Add a handler to Linking changes by listening to the url event type and providing the handler * @platform ios */ - addEventListener(type: string, handler: (event: {url: string}) => void): void + addEventListener(type: string, handler: (event: {url: string}) => void): void; /** * Remove a handler by passing the url event type and the handler * @platform ios */ - removeEventListener(type: string, handler: (event: {url: string}) => void): void + removeEventListener(type: string, handler: (event: {url: string}) => void): void; /** * Try to open the given url with any of the installed apps. @@ -4734,7 +4734,7 @@ declare namespace __React { * NOTE: This method will fail if the system doesn't know how to open the specified URL. If you're passing in a non-http(s) URL, it's best to check {@code canOpenURL} first. * NOTE: For web URLs, the protocol ("http://", "https://") must be set accordingly! */ - openURL(url: string): Promise + openURL(url: string): Promise; /** * Determine whether or not an installed app can handle a given URL. @@ -4742,13 +4742,13 @@ declare namespace __React { * NOTE: As of iOS 9, your app needs to provide the LSApplicationQueriesSchemes key inside Info.plist. * @param URL the URL to open */ - canOpenURL(url: string): Promise + canOpenURL(url: string): Promise; /** * If the app launch was triggered by an app link with, it will give the link url, otherwise it will give null * NOTE: To support deep linking on Android, refer http://developer.android.com/training/app-indexing/deep-linking.html#handling-intents */ - getInitialURL(): Promise + getInitialURL(): Promise; } export interface LinkingIOSStatic { @@ -4756,26 +4756,26 @@ declare namespace __React { * Add a handler to LinkingIOS changes by listening to the url event type and providing the handler @deprecated */ - addEventListener(type: string, handler: (event: {url: string}) => void): void + addEventListener(type: string, handler: (event: {url: string}) => void): void; /** * Remove a handler by passing the url event type and the handler @deprecated */ - removeEventListener(type: string, handler: (event: {url: string}) => void): void + removeEventListener(type: string, handler: (event: {url: string}) => void): void; /** * Try to open the given url with any of the installed apps. @deprecated */ - openURL(url: string): void + openURL(url: string): void; /** * Determine whether or not an installed app can handle a given URL. The callback function will be called with bool supported as the only argument NOTE: As of iOS 9, your app needs to provide the LSApplicationQueriesSchemes key inside Info.plist. @deprecated */ - canOpenURL(url: string, callback: (supported: boolean) => void): void + canOpenURL(url: string, callback: (supported: boolean) => void): void; /** * If the app launch was triggered by an app link, it will pop the link url, otherwise it will return null @@ -4802,7 +4802,7 @@ declare namespace __React { "NONE" | "MOBILE" | "WIFI" | "MOBILE_MMS" | "MOBILE_SUPL" | "MOBILE_DUN" | "MOBILE_HIPRI" | "WIMAX" | "BLUETOOTH" | "DUMMY" | "ETHERNET" | "MOBILE_FOTA" | "MOBILE_IMS" | "MOBILE_CBS" | "WIFI_P2P" | "MOBILE_IA" | "MOBILE_EMERGENCY" | - "PROXY" | "VPN" | "UNKNOWN" + "PROXY" | "VPN" | "UNKNOWN"; export interface NetInfoStatic extends FetchableListenable { @@ -4811,7 +4811,7 @@ declare namespace __React { * Available on all platforms. * Asynchronously fetch a boolean to determine internet connectivity. */ - isConnected: FetchableListenable + isConnected: FetchableListenable; /** * Available on Android. Detect if the current active connection is @@ -4819,7 +4819,7 @@ declare namespace __React { * sensitive to heavy data usage on that connection due to monetary * costs, data limitations or battery/performance issues. */ - isConnectionExpensive: FetchableListenable + isConnectionExpensive: FetchableListenable; } @@ -4828,56 +4828,56 @@ declare namespace __React { /** * ID of the gestureState- persisted as long as there at least one touch on */ - stateID: number + stateID: number; /** * the latest screen coordinates of the recently-moved touch */ - moveX: number + moveX: number; /** * the latest screen coordinates of the recently-moved touch */ - moveY: number + moveY: number; /** * the screen coordinates of the responder grant */ - x0: number + x0: number; /** * the screen coordinates of the responder grant */ - y0: number + y0: number; /** * accumulated distance of the gesture since the touch started */ - dx: number + dx: number; /** * accumulated distance of the gesture since the touch started */ - dy: number + dy: number; /** * current velocity of the gesture */ - vx: number + vx: number; /** * current velocity of the gesture */ - vy: number + vy: number; /** * Number of touches currently on screen */ - numberActiveTouches: number + numberActiveTouches: number; // All `gestureState` accounts for timeStamps up until: - _accountsForMovesUpTo: number + _accountsForMovesUpTo: number; } @@ -4885,23 +4885,23 @@ declare namespace __React { * @see documentation of GestureResponderHandlers */ export interface PanResponderCallbacks { - onMoveShouldSetPanResponder?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => boolean - onStartShouldSetPanResponder?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void - onPanResponderGrant?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void - onPanResponderMove?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void - onPanResponderRelease?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void - onPanResponderTerminate?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void + onMoveShouldSetPanResponder?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => boolean; + onStartShouldSetPanResponder?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void; + onPanResponderGrant?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void; + onPanResponderMove?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void; + onPanResponderRelease?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void; + onPanResponderTerminate?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void; - onMoveShouldSetPanResponderCapture?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => boolean - onStartShouldSetPanResponderCapture?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => boolean - onPanResponderReject?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void - onPanResponderStart?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void - onPanResponderEnd?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void - onPanResponderTerminationRequest?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => boolean + onMoveShouldSetPanResponderCapture?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => boolean; + onStartShouldSetPanResponderCapture?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => boolean; + onPanResponderReject?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void; + onPanResponderStart?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void; + onPanResponderEnd?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => void; + onPanResponderTerminationRequest?: ( e: GestureResponderEvent, gestureState: PanResponderGestureState ) => boolean; } export interface PanResponderInstance { - panHandlers: GestureResponderHandlers + panHandlers: GestureResponderHandlers; } /** @@ -4944,13 +4944,13 @@ declare namespace __React { * accordingly. (numberActiveTouches) may not be totally accurate unless you * are the responder. */ - create( config: PanResponderCallbacks ): PanResponderInstance + create( config: PanResponderCallbacks ): PanResponderInstance; } export interface PushNotificationPermissions { - alert?: boolean - badge?: boolean - sound?: boolean + alert?: boolean; + badge?: boolean; + sound?: boolean; } export interface PushNotification { @@ -4959,47 +4959,47 @@ declare namespace __React { /** * An alias for `getAlert` to get the notification's main message string */ - getMessage(): string | Object + getMessage(): string | Object; /** * Gets the sound string from the `aps` object */ - getSound(): string + getSound(): string; /** * Gets the notification's main message from the `aps` object */ - getAlert(): string | Object + getAlert(): string | Object; /** * Gets the badge count number from the `aps` object */ - getBadgeCount(): number + getBadgeCount(): number; /** * Gets the data object on the notif */ - getData(): Object + getData(): Object; } type PresentLocalNotificationDetails = { - alertBody: string - alertAction: string - soundName?: string - category?: string - userInfo?: Object - } + alertBody: string; + alertAction: string; + soundName?: string; + category?: string; + userInfo?: Object; + }; type ScheduleLocalNotificationDetails = { - fireDate: Date - alertBody: string - alertAction: string - soundName?: string - category?: string - userInfo?: Object - } + fireDate: Date; + alertBody: string; + alertAction: string; + soundName?: string; + category?: string; + userInfo?: Object; + }; /** * Handle push notifications for your app, including permission handling and icon badge number. @@ -5018,7 +5018,7 @@ declare namespace __React { * category : The category of this notification, required for actionable notifications (optional). * userInfo : An optional object containing additional notification data. */ - presentLocalNotification(details: PresentLocalNotificationDetails): void + presentLocalNotification(details: PresentLocalNotificationDetails): void; /** * Schedules the localNotification for future presentation. @@ -5030,28 +5030,28 @@ declare namespace __React { * category : The category of this notification, required for actionable notifications (optional). * userInfo : An optional object containing additional notification data. */ - scheduleLocalNotification(details: ScheduleLocalNotificationDetails): void + scheduleLocalNotification(details: ScheduleLocalNotificationDetails): void; /** * Cancels all scheduled localNotifications */ - cancelAllLocalNotifications(): void + cancelAllLocalNotifications(): void; /** * Cancel local notifications. * Optionally restricts the set of canceled notifications to those notifications whose userInfo fields match the corresponding fields in the userInfo argument. */ - cancelLocalNotifications(userInfo: Object): void + cancelLocalNotifications(userInfo: Object): void; /** * Sets the badge number for the app icon on the home screen */ - setApplicationIconBadgeNumber( number: number ): void + setApplicationIconBadgeNumber( number: number ): void; /** * Gets the current badge number for the app icon on the home screen */ - getApplicationIconBadgeNumber( callback: ( badge: number ) => void ): void + getApplicationIconBadgeNumber( callback: ( badge: number ) => void ): void; /** * Attaches a listener to remote notifications while the app is running in the @@ -5061,13 +5061,13 @@ declare namespace __React { * * The type MUST be 'notification' */ - addEventListener( type: string, handler: ( notification: PushNotification ) => void ):void + addEventListener( type: string, handler: ( notification: PushNotification ) => void ): void; /** * Requests all notification permissions from iOS, prompting the user's * dialog box. */ - requestPermissions( permissions?: PushNotificationPermissions[] ): Promise + requestPermissions( permissions?: PushNotificationPermissions[] ): Promise; /** * Unregister for all remote notifications received via Apple Push @@ -5079,7 +5079,7 @@ declare namespace __React { * Settings app. Apps unregistered through this method can always * re-register. */ - abandonPermissions(): void + abandonPermissions(): void; /** * See what push permissions are currently enabled. `callback` will be @@ -5089,13 +5089,13 @@ declare namespace __React { * - `badge` :boolean * - `sound` :boolean */ - checkPermissions( callback: ( permissions: PushNotificationPermissions ) => void ): void + checkPermissions( callback: ( permissions: PushNotificationPermissions ) => void ): void; /** * Removes the event listener. Do this in `componentWillUnmount` to prevent * memory leaks */ - removeEventListener( type: string, handler: ( notification: PushNotification ) => void ): void + removeEventListener( type: string, handler: ( notification: PushNotification ) => void ): void; /** * An initial notification will be available if the app was cold-launched @@ -5104,50 +5104,50 @@ declare namespace __React { * The first caller of `popInitialNotification` will get the initial * notification object, or `null`. Subsequent invocations will return null. */ - popInitialNotification(): PushNotification + popInitialNotification(): PushNotification; } /** * @enum('default', 'light-content') */ - export type StatusBarStyle = "default" | "light-content" + export type StatusBarStyle = "default" | "light-content"; /** * @enum('none','fade', 'slide') */ - type StatusBarAnimation = "none" | "fade" | "slide" + type StatusBarAnimation = "none" | "fade" | "slide"; export interface StatusBarPropertiesIOS extends React.Props { /** * Sets the color of the status bar text. */ - barStyle?: StatusBarStyle + barStyle?: StatusBarStyle; /** * If the network activity indicator should be visible. */ - networkActivityIndicatorVisible?: boolean + networkActivityIndicatorVisible?: boolean; /** * The transition effect when showing and hiding the status bar using * the hidden prop. Defaults to 'fade'. */ - showHideTransition?: "fade" | "slide" + showHideTransition?: "fade" | "slide"; } export interface StatusBarPropertiesAndroid extends React.Props { /** * The background color of the status bar. */ - backgroundColor?: any + backgroundColor?: any; /** * If the status bar is translucent. When translucent is set to true, * the app will draw under the status bar. This is useful when using a * semi transparent status bar color. */ - translucent?: boolean + translucent?: boolean; } export interface StatusBarProperties extends StatusBarPropertiesIOS, StatusBarPropertiesAndroid, React.Props { @@ -5156,25 +5156,25 @@ declare namespace __React { * If the transition between status bar property changes should be * animated. Supported for backgroundColor, barStyle and hidden. */ - animated?: boolean + animated?: boolean; /** * If the status bar is hidden. */ - hidden?: boolean + hidden?: boolean; } export interface StatusBarStatic extends React.ComponentClass { - setHidden: (hidden: boolean, animation: StatusBarAnimation) => void + setHidden: (hidden: boolean, animation: StatusBarAnimation) => void; - setBarStyle: (style: StatusBarStyle, animated: boolean) => void + setBarStyle: (style: StatusBarStyle, animated: boolean) => void; - setNetworkActivityIndicatorVisible: (visible: boolean) => void + setNetworkActivityIndicatorVisible: (visible: boolean) => void; - setBackgroundColor: (color: string, animated: boolean) => void + setBackgroundColor: (color: string, animated: boolean) => void; - setTranslucent: (translucent: boolean) => void + setTranslucent: (translucent: boolean) => void; } @@ -5186,10 +5186,10 @@ declare namespace __React { } type TimePickerAndroidOpenOptions = { - hour?: number - minute?: number - is24Hour?: boolean - } + hour?: number; + minute?: number; + is24Hour?: boolean; + }; export interface TimePickerAndroidStatic { @@ -5207,17 +5207,17 @@ declare namespace __React { * being TimePickerAndroid.dismissedAction and all the other keys being * undefined. Always check whether the action before reading the values. */ - open(options: TimePickerAndroidOpenOptions): Promise<{action: string, hour: number, minute: number}> + open(options: TimePickerAndroidOpenOptions): Promise<{action: string, hour: number, minute: number}>; /** * A time has been selected. */ - timeSetAction: string + timeSetAction: string; /** * The dialog has been dismissed. */ - dismissedAction: string + dismissedAction: string; } export interface ToastAndroidStatic { @@ -5226,9 +5226,9 @@ declare namespace __React { * int duration: The duration of the toast. * May be ToastAndroid.SHORT or ToastAndroid.LONG */ - show(message: string, duration: number): void - SHORT: number - LONG: number + show(message: string, duration: number): void; + SHORT: number; + LONG: number; } export interface SwitchPropertiesIOS extends ViewProperties, React.Props { @@ -5236,19 +5236,19 @@ declare namespace __React { /** * Background color when the switch is turned on. */ - onTintColor?: string + onTintColor?: string; /** * Color of the foreground switch grip. */ - thumbTintColor?: string + thumbTintColor?: string; /** * Background color when the switch is turned off. */ - tintColor?: string + tintColor?: string; - ref?: Ref + ref?: Ref; } export interface SwitchProperties extends ViewProperties, React.Props { @@ -5257,27 +5257,27 @@ declare namespace __React { * If true the user won't be able to toggle the switch. * Default value is false. */ - disabled?: boolean + disabled?: boolean; /** * Invoked with the new value when the value changes. */ - onValueChange?: (value: boolean) => void + onValueChange?: (value: boolean) => void; /** * Used to locate this view in end-to-end tests. */ - testID?: string + testID?: string; /** * The value of the switch. If true the switch will be turned on. * Default value is false. */ - value?: boolean + value?: boolean; - style?: ViewStyle + style?: ViewStyle; - ref?: Ref + ref?: Ref; } export interface SwitchStatic extends React.ComponentClass { @@ -5296,18 +5296,18 @@ declare namespace __React { * @see https://facebook.github.io/react-native/docs/vibrationios.html#content */ export interface VibrationIOSStatic { - vibrate(): void + vibrate(): void; } export interface VibrationStatic { // Vibration patterns are currently unsupported. - vibrate(pattern: number | number[], repeat: boolean): void + vibrate(pattern: number | number[], repeat: boolean): void; /** * Stop vibration * @platform android */ - cancel(): void + cancel(): void; } /** @@ -5339,7 +5339,7 @@ declare namespace __React { inOut(easing: EasingFunction): EasingFunction; } - export module Animated { + export namespace Animated { // Most (all?) functions where AnimatedValue is used any subclass of Animated can be used as well. type AnimatedValue = Animated; type AnimatedValueXY = ValueXY; @@ -5577,7 +5577,7 @@ declare namespace __React { export function stagger( time: number, animations: Array - ): CompositeAnimation + ): CompositeAnimation; /** * Spring animation based on Rebound and Origami. Tracks velocity state to @@ -5590,7 +5590,7 @@ declare namespace __React { type ParallelConfig = { stopTogether?: boolean; // If one is stopped, stop all. default: true - } + }; /** * Starts an array of animations all at the same time. By default, if one @@ -5604,7 +5604,7 @@ declare namespace __React { type Mapping = {[key: string]: Mapping} | AnimatedValue; interface EventConfig { - listener?: Function + listener?: Function; } /** @@ -5644,55 +5644,53 @@ declare namespace __React { * On Android, this can return almost immediately if the location is cached or * request an update, which might take a while. */ - getCurrentPosition(geo_success: (position: GeolocationReturnType) => void, geo_error?: (error: Error) => void, geo_options?: GetCurrentPositionOptions): void + getCurrentPosition(geo_success: (position: GeolocationReturnType) => void, geo_error?: (error: Error) => void, geo_options?: GetCurrentPositionOptions): void; /* * Invokes the success callback whenever the location changes. Supported * options: timeout (ms), maximumAge (ms), enableHighAccuracy (bool), distanceFilter(m) */ - watchPosition(success: (position: Geolocation) => void, error?: (error: Error) => void, options?: WatchPositionOptions): void + watchPosition(success: (position: Geolocation) => void, error?: (error: Error) => void, options?: WatchPositionOptions): void; - clearWatch(watchID: number): void + clearWatch(watchID: number): void; - stopObserving(): void + stopObserving(): void; } // Network Polyfill // TODO: Add proper support for fetch - export type fetch = (url: string, options?: Object) => Promise + export type fetch = (url: string, options?: Object) => Promise; // Timers polyfill - export type timedScheduler = (fn: string | Function, time: number) => number - export type untimedScheduler = (fn: string | Function) => number - export type setTimeout = timedScheduler - export type setInterval = timedScheduler - export type setImmediate = untimedScheduler - export type requestAnimationFrame = untimedScheduler + export type timedScheduler = (fn: string | Function, time: number) => number; + export type untimedScheduler = (fn: string | Function) => number; + export type setTimeout = timedScheduler; + export type setInterval = timedScheduler; + export type setImmediate = untimedScheduler; + export type requestAnimationFrame = untimedScheduler; - export type schedulerCanceller = (id: number) => void - export type clearTimeout = schedulerCanceller - export type clearInterval = schedulerCanceller - export type clearImmediate = schedulerCanceller - export type cancelAnimationFrame = schedulerCanceller + export type schedulerCanceller = (id: number) => void; + export type clearTimeout = schedulerCanceller; + export type clearInterval = schedulerCanceller; + export type clearImmediate = schedulerCanceller; + export type cancelAnimationFrame = schedulerCanceller; export interface TabsReducerStatic { JumpToAction(index: number): any; } - export type TabsReducerFunction = (params:any) => any; + export type TabsReducerFunction = (params: any) => any; export interface NavigationReducerStatic { TabsReducer: any; // (TabsReducerFunction | TabsReducerStatic); } - export interface NavigationTab - { + export interface NavigationTab { key: string; } - export interface NavigationAction - { + export interface NavigationAction { type: string; } @@ -5713,32 +5711,32 @@ declare namespace __React { // Definitions for NavigationExperimental feature are deduced // from code examples export interface NavigationAnimatedViewStaticProps { - route?: any - style?: ViewStyle - renderOverlay?(props: Object): JSX.Element - applyAnimation(pos: any, navState: Object): void // TODO: what's pos? - renderScene?(props: Object): JSX.Element + route?: any; + style?: ViewStyle; + renderOverlay?(props: Object): JSX.Element; + applyAnimation(pos: any, navState: Object): void; // TODO: what's pos? + renderScene?(props: Object): JSX.Element; } export interface NavigationAnimatedViewStatic extends React.ComponentClass { } export interface NavigationHeaderProps { - renderTitleComponent?(props: Object): JSX.Element - onNavigateBack(): void + renderTitleComponent?(props: Object): JSX.Element; + onNavigateBack(): void; } export interface NavigationHeaderStatic extends React.ComponentClass { - Title: JSX.Element - HEIGHT: number + Title: JSX.Element; + HEIGHT: number; } export interface NavigationCardStackProps { - direction?: 'horizontal' | 'vertical' - style?: ViewStyle - route?: any - renderScene?(props: any /* undocumented on 0.27 */): JSX.Element - onNavigateBack(): void + direction?: 'horizontal' | 'vertical'; + style?: ViewStyle; + route?: any; + renderScene?(props: any /* undocumented on 0.27 */): JSX.Element; + onNavigateBack(): void; } export interface NavigationCardStackStatic extends React.ComponentClass { @@ -5800,181 +5798,181 @@ declare namespace __React { // export var AppRegistry: AppRegistryStatic; - export var ActivityIndicator: ActivityIndicatorStatic - export type ActivityIndicator = ActivityIndicatorStatic + export var ActivityIndicator: ActivityIndicatorStatic; + export type ActivityIndicator = ActivityIndicatorStatic; - export var ActivityIndicatorIOS: ActivityIndicatorIOSStatic - export type ActivityIndicatorIOS = ActivityIndicatorIOSStatic + export var ActivityIndicatorIOS: ActivityIndicatorIOSStatic; + export type ActivityIndicatorIOS = ActivityIndicatorIOSStatic; - export var DatePickerIOS: DatePickerIOSStatic - export type DatePickerIOS = DatePickerIOSStatic + export var DatePickerIOS: DatePickerIOSStatic; + export type DatePickerIOS = DatePickerIOSStatic; - export var DrawerLayoutAndroid: DrawerLayoutAndroidStatic - export type DrawerLayoutAndroid = DrawerLayoutAndroidStatic + export var DrawerLayoutAndroid: DrawerLayoutAndroidStatic; + export type DrawerLayoutAndroid = DrawerLayoutAndroidStatic; - export var Image: ImageStatic - export type Image = ImageStatic + export var Image: ImageStatic; + export type Image = ImageStatic; - export var LayoutAnimation: LayoutAnimationStatic - export type LayoutAnimation = LayoutAnimationStatic + export var LayoutAnimation: LayoutAnimationStatic; + export type LayoutAnimation = LayoutAnimationStatic; - export var ListView: ListViewStatic - export type ListView = ListViewStatic + export var ListView: ListViewStatic; + export type ListView = ListViewStatic; - export var MapView: MapViewStatic - export type MapView = MapViewStatic + export var MapView: MapViewStatic; + export type MapView = MapViewStatic; - export var Modal: ModalStatic - export type Modal = ModalStatic + export var Modal: ModalStatic; + export type Modal = ModalStatic; - export var Navigator: NavigatorStatic - export type Navigator = NavigatorStatic + export var Navigator: NavigatorStatic; + export type Navigator = NavigatorStatic; - export var NavigatorIOS: NavigatorIOSStatic - export type NavigatorIOS = NavigatorIOSStatic + export var NavigatorIOS: NavigatorIOSStatic; + export type NavigatorIOS = NavigatorIOSStatic; - export var Picker: PickerStatic - export type Picker = PickerStatic + export var Picker: PickerStatic; + export type Picker = PickerStatic; - export var PickerIOS: PickerIOSStatic - export type PickerIOS = PickerIOSStatic + export var PickerIOS: PickerIOSStatic; + export type PickerIOS = PickerIOSStatic; - export var ProgressBarAndroid: ProgressBarAndroidStatic - export type ProgressBarAndroid = ProgressBarAndroidStatic + export var ProgressBarAndroid: ProgressBarAndroidStatic; + export type ProgressBarAndroid = ProgressBarAndroidStatic; - export var ProgressViewIOS: ProgressViewIOSStatic - export type ProgressViewIOS = ProgressViewIOSStatic + export var ProgressViewIOS: ProgressViewIOSStatic; + export type ProgressViewIOS = ProgressViewIOSStatic; - export var RefreshControl: RefreshControlStatic - export type RefreshControl = RefreshControlStatic + export var RefreshControl: RefreshControlStatic; + export type RefreshControl = RefreshControlStatic; - export var Slider: SliderIOS - export type Slider = SliderIOS + export var Slider: SliderIOS; + export type Slider = SliderIOS; - export var SliderIOS: SliderIOSStatic - export type SliderIOS = SliderIOSStatic + export var SliderIOS: SliderIOSStatic; + export type SliderIOS = SliderIOSStatic; - export var StatusBar: StatusBarStatic - export type StatusBar = StatusBarStatic + export var StatusBar: StatusBarStatic; + export type StatusBar = StatusBarStatic; - export var ScrollView: ScrollViewStatic - export type ScrollView = ScrollViewStatic + export var ScrollView: ScrollViewStatic; + export type ScrollView = ScrollViewStatic; - export var StyleSheet: StyleSheetStatic - export type StyleSheet = StyleSheetStatic + export var StyleSheet: StyleSheetStatic; + export type StyleSheet = StyleSheetStatic; - export var SwipeableListView: SwipeableListViewStatic - export type SwipeableListView = SwipeableListViewStatic + export var SwipeableListView: SwipeableListViewStatic; + export type SwipeableListView = SwipeableListViewStatic; - export var Switch: SwitchStatic - export type Switch = SwitchStatic + export var Switch: SwitchStatic; + export type Switch = SwitchStatic; - export var SwitchIOS: SwitchIOSStatic - export type SwitchIOS = SwitchIOSStatic + export var SwitchIOS: SwitchIOSStatic; + export type SwitchIOS = SwitchIOSStatic; - export var TabBarIOS: TabBarIOSStatic - export type TabBarIOS = TabBarIOSStatic + export var TabBarIOS: TabBarIOSStatic; + export type TabBarIOS = TabBarIOSStatic; - export var Text: TextStatic - export type Text = TextStatic + export var Text: TextStatic; + export type Text = TextStatic; - export var TextInput: TextInputStatic - export type TextInput = TextInputStatic + export var TextInput: TextInputStatic; + export type TextInput = TextInputStatic; - export var ToolbarAndroid: ToolbarAndroidStatic - export type ToolbarAndroid = ToolbarAndroidStatic + export var ToolbarAndroid: ToolbarAndroidStatic; + export type ToolbarAndroid = ToolbarAndroidStatic; - export var TouchableHighlight: TouchableHighlightStatic - export type TouchableHighlight = TouchableHighlightStatic + export var TouchableHighlight: TouchableHighlightStatic; + export type TouchableHighlight = TouchableHighlightStatic; - export var TouchableNativeFeedback: TouchableNativeFeedbackStatic - export type TouchableNativeFeedback = TouchableNativeFeedbackStatic + export var TouchableNativeFeedback: TouchableNativeFeedbackStatic; + export type TouchableNativeFeedback = TouchableNativeFeedbackStatic; - export var TouchableOpacity: TouchableOpacityStatic - export type TouchableOpacity = TouchableOpacityStatic + export var TouchableOpacity: TouchableOpacityStatic; + export type TouchableOpacity = TouchableOpacityStatic; - export var TouchableWithoutFeedback: TouchableWithoutFeedbackStatic - export type TouchableWithoutFeedback= TouchableWithoutFeedbackStatic + export var TouchableWithoutFeedback: TouchableWithoutFeedbackStatic; + export type TouchableWithoutFeedback= TouchableWithoutFeedbackStatic; - export var View: ViewStatic - export type View = ViewStatic + export var View: ViewStatic; + export type View = ViewStatic; - export var ViewPagerAndroid: ViewPagerAndroidStatic - export type ViewPagerAndroid = ViewPagerAndroidStatic + export var ViewPagerAndroid: ViewPagerAndroidStatic; + export type ViewPagerAndroid = ViewPagerAndroidStatic; - export var WebView: WebViewStatic - export type WebView = WebViewStatic + export var WebView: WebViewStatic; + export type WebView = WebViewStatic; //////////// APIS ////////////// - export var ActionSheetIOS: ActionSheetIOSStatic - export type ActionSheetIOS = ActionSheetIOSStatic + export var ActionSheetIOS: ActionSheetIOSStatic; + export type ActionSheetIOS = ActionSheetIOSStatic; - export var AdSupportIOS: AdSupportIOSStatic - export type AdSupportIOS = AdSupportIOSStatic + export var AdSupportIOS: AdSupportIOSStatic; + export type AdSupportIOS = AdSupportIOSStatic; - export var Alert: AlertStatic - export type Alert = AlertStatic + export var Alert: AlertStatic; + export type Alert = AlertStatic; - export var AlertIOS: AlertIOSStatic - export type AlertIOS = AlertIOSStatic + export var AlertIOS: AlertIOSStatic; + export type AlertIOS = AlertIOSStatic; - export var AppState : AppStateStatic; + export var AppState: AppStateStatic; export type AppState = AppStateStatic; - export var AppStateIOS: AppStateStatic - export type AppStateIOS = AppStateStatic + export var AppStateIOS: AppStateStatic; + export type AppStateIOS = AppStateStatic; - export var AsyncStorage: AsyncStorageStatic - export type AsyncStorage = AsyncStorageStatic + export var AsyncStorage: AsyncStorageStatic; + export type AsyncStorage = AsyncStorageStatic; - export var BackAndroid: BackAndroidStatic - export type BackAndroid = BackAndroidStatic + export var BackAndroid: BackAndroidStatic; + export type BackAndroid = BackAndroidStatic; - export var CameraRoll: CameraRollStatic - export type CameraRoll = CameraRollStatic + export var CameraRoll: CameraRollStatic; + export type CameraRoll = CameraRollStatic; - export var Clipboard: ClipboardStatic - export type Clipboard = ClipboardStatic + export var Clipboard: ClipboardStatic; + export type Clipboard = ClipboardStatic; - export var DatePickerAndroid: DatePickerAndroidStatic - export type DatePickerAndroid = DatePickerAndroidStatic + export var DatePickerAndroid: DatePickerAndroidStatic; + export type DatePickerAndroid = DatePickerAndroidStatic; - export var IntentAndroid: IntentAndroidStatic - export type IntentAndroid = IntentAndroidStatic + export var IntentAndroid: IntentAndroidStatic; + export type IntentAndroid = IntentAndroidStatic; - export var KeyboardAvoidingView: KeyboardAvoidingViewStatic - export type KeyboardAvoidingView = KeyboardAvoidingViewStatic + export var KeyboardAvoidingView: KeyboardAvoidingViewStatic; + export type KeyboardAvoidingView = KeyboardAvoidingViewStatic; - export var Linking: LinkingStatic - export type Linking = LinkingStatic + export var Linking: LinkingStatic; + export type Linking = LinkingStatic; - export var LinkingIOS: LinkingIOSStatic - export type LinkingIOS = LinkingIOSStatic + export var LinkingIOS: LinkingIOSStatic; + export type LinkingIOS = LinkingIOSStatic; - export var NetInfo: NetInfoStatic - export type NetInfo = NetInfoStatic + export var NetInfo: NetInfoStatic; + export type NetInfo = NetInfoStatic; - export var PanResponder: PanResponderStatic - export type PanResponder = PanResponderStatic + export var PanResponder: PanResponderStatic; + export type PanResponder = PanResponderStatic; - export var PushNotificationIOS: PushNotificationIOSStatic - export type PushNotificationIOS = PushNotificationIOSStatic + export var PushNotificationIOS: PushNotificationIOSStatic; + export type PushNotificationIOS = PushNotificationIOSStatic; - export var StatusBarIOS: StatusBarIOSStatic - export type StatusBarIOS = StatusBarIOSStatic + export var StatusBarIOS: StatusBarIOSStatic; + export type StatusBarIOS = StatusBarIOSStatic; - export var TimePickerAndroid: TimePickerAndroidStatic - export type TimePickerAndroid = TimePickerAndroidStatic + export var TimePickerAndroid: TimePickerAndroidStatic; + export type TimePickerAndroid = TimePickerAndroidStatic; - export var ToastAndroid: ToastAndroidStatic - export type ToastAndroid = ToastAndroidStatic + export var ToastAndroid: ToastAndroidStatic; + export type ToastAndroid = ToastAndroidStatic; - export var VibrationIOS: VibrationIOSStatic - export type VibrationIOS = VibrationIOSStatic + export var VibrationIOS: VibrationIOSStatic; + export type VibrationIOS = VibrationIOSStatic; - export var Vibration: VibrationStatic - export type Vibration = VibrationStatic + export var Vibration: VibrationStatic; + export type Vibration = VibrationStatic; export var Dimensions: Dimensions; export var ShadowPropTypesIOS: ShadowPropTypesIOSStatic; @@ -6001,15 +5999,15 @@ declare namespace __React { * Use: * const MyModule = NativeModules.ModuleName */ - export var NativeModules: any - export var NativeAppEventEmitter: NativeAppEventEmitterStatic + export var NativeModules: any; + export var NativeAppEventEmitter: NativeAppEventEmitterStatic; //////////// Plugins ////////////// export interface ComponentInterface

{ name?: string; displayName?: string; - propTypes: P + propTypes: P; } export function requireNativeComponent

( @@ -6022,18 +6020,18 @@ declare namespace __React { // /TODO: BGR: These are leftovers of the initial port that must be revisited // - export var SegmentedControlIOS: SegmentedControlIOSStatic - export type SegmentedControlIOS = SegmentedControlIOSStatic + export var SegmentedControlIOS: SegmentedControlIOSStatic; + export type SegmentedControlIOS = SegmentedControlIOSStatic; - export var PixelRatio: PixelRatioStatic - export var Platform: PlatformStatic - export var DeviceEventEmitter: DeviceEventEmitterStatic - export var DeviceEventSubscription: DeviceEventSubscriptionStatic - export type DeviceEventSubscription = DeviceEventSubscriptionStatic - export var InteractionManager: InteractionManagerStatic + export var PixelRatio: PixelRatioStatic; + export var Platform: PlatformStatic; + export var DeviceEventEmitter: DeviceEventEmitterStatic; + export var DeviceEventSubscription: DeviceEventSubscriptionStatic; + export type DeviceEventSubscription = DeviceEventSubscriptionStatic; + export var InteractionManager: InteractionManagerStatic; - export var Geolocation: GeolocationStatic - export type Geolocation = GeolocationStatic + export var Geolocation: GeolocationStatic; + export type Geolocation = GeolocationStatic; ////////////////////////////////////////////////////////////////////////// // @@ -6051,7 +6049,7 @@ declare namespace __React { * In general, you shouldn't need to call this yourself - the animation API's will manage frame updates for you. * @see https://facebook.github.io/react-native/docs/animations.html#requestanimationframe */ - requestAnimationFrame( fn: () => void ) : void; + requestAnimationFrame( fn: () => void ): void; } @@ -6063,30 +6061,30 @@ declare namespace __React { //FIXME: Documentation ? export interface TestModuleStatic { - verifySnapshot: ( done: ( indicator?: any ) => void ) => void - markTestPassed: ( indicator: any ) => void - markTestCompleted: () => void + verifySnapshot: ( done: ( indicator?: any ) => void ) => void; + markTestPassed: ( indicator: any ) => void; + markTestCompleted: () => void; } - export var TestModule: TestModuleStatic - export type TestModule = TestModuleStatic + export var TestModule: TestModuleStatic; + export type TestModule = TestModuleStatic; } } declare module "react-native" { - import ReactNative = __React - export = ReactNative + import ReactNative = __React; + export = ReactNative; } -declare var global: __React.GlobalStatic +declare var global: __React.GlobalStatic; -declare function require( name: string ): any +declare function require( name: string ): any; /** * This variable is set to true when react-native is running in Dev mode * Typical usage: * if (__DEV__) console.log('Running in dev mode') */ -declare var __DEV__: boolean +declare var __DEV__: boolean; diff --git a/react/index.d.ts b/react/index.d.ts index 9d5ff227df..df4db7918a 100644 --- a/react/index.d.ts +++ b/react/index.d.ts @@ -2174,7 +2174,7 @@ declare namespace React { rx?: number | string; ry?: number | string; spreadMethod?: string; - stdDeviation?: number | string + stdDeviation?: number | string; stopColor?: string; stopOpacity?: number | string; stroke?: string; diff --git a/realm/index.d.ts b/realm/index.d.ts index ad77dc5598..662e86b8ca 100644 --- a/realm/index.d.ts +++ b/realm/index.d.ts @@ -115,7 +115,7 @@ declare namespace Realm { * @returns Results */ sorted(descriptor: string | SortDescriptor, reverse?: boolean): Results; - + /** * @returns Iterator */ diff --git a/restify/index.d.ts b/restify/index.d.ts index 1c5057a8ec..d57218758a 100644 --- a/restify/index.d.ts +++ b/restify/index.d.ts @@ -485,7 +485,7 @@ interface HttpClient extends Client { patch: (opts?: string | { path?: string; [name: string]: any }, callback?: Function) => any; del: (opts?: string | { path?: string; [name: string]: any }, callback?: Function) => any; } - + interface ThrottleOptions { burst?: number; rate?: number; diff --git a/rrule/index.d.ts b/rrule/index.d.ts index 57b124035a..1f911fbf52 100644 --- a/rrule/index.d.ts +++ b/rrule/index.d.ts @@ -25,7 +25,7 @@ declare namespace RRule { bymonthday?: number | number[]; byyearday?: number | number[]; byweekno?: number | number[]; - byweekday?: Weekday | Weekday[] | number | number[]; + byweekday?: Weekday | Weekday[] | number | number[]; byhour?: number | number[]; byminute?: number | number[]; bysecond?: number | number[]; diff --git a/seamless/index.d.ts b/seamless/index.d.ts index c6987b272f..cd4119b3ca 100644 --- a/seamless/index.d.ts +++ b/seamless/index.d.ts @@ -7,14 +7,14 @@ declare namespace Seamless { export interface SeamlessJQuery extends JQuery { - seamless_options: Options, - connection: Connection, - send(data: any): void, - receive(callback: Callback): void, - receive(type: string, callback: Callback): void, - seamless_ready(data: any, event: any): void, - seamless_update(data: any, event: any): any, - seamless_error(data: any, event: any): void + seamless_options: Options; + connection: Connection; + send(data: any): void; + receive(callback: Callback): void; + receive(type: string, callback: Callback): void; + seamless_ready(data: any, event: any): void; + seamless_update(data: any, event: any): any; + seamless_error(data: any, event: any): void; } export interface Options { @@ -22,77 +22,77 @@ declare namespace Seamless { * The text to show when the child page is loading. * @default 'Loading ...' */ - loading?: string, + loading?: string; /** * The url of the spinner GIF that is shown when the child page is loading. * @default 'http://www.travistidwell.com/seamless.js/src/loader.gif' */ - spinner?: string, + spinner?: string; /** * Show or not the loading indicator. * @default true */ - showLoadingIndicator?: boolean, + showLoadingIndicator?: boolean; /** * Called when a child iframe has finished connecting. * @default null */ - onConnect?: ((data: any) => void) | null, + onConnect?: ((data: any) => void) | null; /** * The styles to inject into the child page. * @default [] */ - styles?: string[], + styles?: string[]; /** * If the fallback functionality is enabled. * @default false */ - fallback?: boolean, + fallback?: boolean; /** * Additional query params to attach to the fallback window when it is opened. * @default '' */ - fallbackParams?: string, + fallbackParams?: string; /** * A message to show below the child iframe to offer assistance if they are having problems. * @default '' */ - fallbackText?: string, + fallbackText?: string; /** * The string to show within the 'Click here' link to open the fallback window. * @default 'Click Here' */ - fallbackLinkText?: string, + fallbackLinkText?: string; /** * Text to add after the fallbackLinkText link. * @default 'to open in a separate window.' */ - fallbackLinkAfter?: string, + fallbackLinkAfter?: string; /** * An array of string styles to add to the fallback text when something bad happens. * @default [ 'padding: 15px', 'border: 1px solid transparent', 'border-radius: 4px', 'color: #3a87ad', 'background-color: #d9edf7', 'border-color: #bce8f1' ] */ - fallbackStyles?: string[], + fallbackStyles?: string[]; /** * An array of string styles to add to the fallback link. * @default [ 'display: inline-block', 'color: #333', 'border: 1px solid #ccc', 'background-color: #fff', 'padding: 5px 10px', 'text-decoration: none', 'font-size: 12px', 'line-height: 1.5', 'border-radius: 6px', 'font-weight: 400', 'cursor: pointer', '-webkit-user-select: none', '-moz-user-select: none', '-ms-user-select: none', 'user-select: none' ] */ - fallbackLinkStyles?: string[], + fallbackLinkStyles?: string[]; /** * An array of string styles to add to the fallback link on hover. * @default [ 'background-color:#ebebeb', 'border-color:#adadad' ] */ - fallbackLinkHoverStyles?: string[], + fallbackLinkHoverStyles?: string[]; /** * The width of the window that is opened up for the fallback. * @default 960 */ - fallbackWindowWidth?: number, + fallbackWindowWidth?: number; /** * The height of the window that is opened up for the fallback. * @default 800 */ - fallbackWindowHeight?: number + fallbackWindowHeight?: number; } export interface ConnectOptions { @@ -100,57 +100,57 @@ declare namespace Seamless { * The url of the parent page to connect to. * @default '' */ - url?: string, + url?: string; /** * The container for the main content on the page which determines the height of the page. * @default 'body' */ - container?: string, + container?: string; /** * The milliseconds that an update is created from the child to the parent. * @default 200 */ - update?: number, + update?: number; /** * If this page should allow injected styles. * @default false */ - allowStyleInjection?: boolean, + allowStyleInjection?: boolean; /** * Allow appended styles to be injected. * @default false */ - allowAppendedStyleInjection?: boolean, + allowAppendedStyleInjection?: boolean; /** * If the child page requires cookies (See Child iFrame Cookie Problem section) * @default false */ - requireCookies?: boolean, + requireCookies?: boolean; /** * The message to show if the cookie test fails. * @default 'Your browser requires this page to be opened in a separate window.' */ - cookieFallbackMsg?: string, + cookieFallbackMsg?: string; /** * The text to place inside the link to have them open a new window if the cookie test fails. * @default 'Click Here' */ - cookieFallbackLinkMsg?: string, + cookieFallbackLinkMsg?: string; /** * The text to place after the link when the cookie test fails. * @default ' to open in a separate window.' */ - cookieFallbackAfterMsg?: string, + cookieFallbackAfterMsg?: string; /** * Callback that is called when an update is triggered to the parent. * @default null */ - onUpdate?(data: any): void, + onUpdate?(data: any): void; /** * Called when the parent connects to this iframe. * @default null */ - onConnect?(data: any): void + onConnect?(data: any): void; } export interface Callback { @@ -158,29 +158,29 @@ declare namespace Seamless { } export interface Connection { - id: number, - target: string, - url: string, - active: boolean, - queue: any[] - send(data: any): void, - receive(callback: Callback): void, - receive(type: string, callback: Callback): void, - setActive(active: boolean): void + id: number; + target: string; + url: string; + active: boolean; + queue: any[]; + send(data: any): void; + receive(callback: Callback): void; + receive(type: string, callback: Callback): void; + setActive(active: boolean): void; } export interface Static { - options: ConnectOptions, - connect(options: ConnectOptions): Connection + options: ConnectOptions; + connect(options: ConnectOptions): Connection; } } interface JQuery { - seamless(options?: Seamless.Options): Seamless.SeamlessJQuery + seamless(options?: Seamless.Options): Seamless.SeamlessJQuery; } interface JQueryStatic { - seamless: Seamless.Static + seamless: Seamless.Static; } diff --git a/tapable/index.d.ts b/tapable/index.d.ts index 68ea3e4104..77df4138ac 100644 --- a/tapable/index.d.ts +++ b/tapable/index.d.ts @@ -202,4 +202,4 @@ declare namespace Tapable { } } -export = Tapable +export = Tapable; diff --git a/webrtc/RTCPeerConnection.d.ts b/webrtc/RTCPeerConnection.d.ts index 13352158ec..d399d7b8d2 100644 --- a/webrtc/RTCPeerConnection.d.ts +++ b/webrtc/RTCPeerConnection.d.ts @@ -455,7 +455,7 @@ interface RTCPeerConnection extends EventTarget { // Extension: https://www.w3.org/TR/webrtc/#h-rtcpeerconnection-interface-extensions-1 readonly sctp: RTCSctpTransport | null; createDataChannel(label: string | null, dataChannelDict?: RTCDataChannelInit): RTCDataChannel; - ondatachannel: (event: RTCDataChannelEvent) => void; + ondatachannel: (event: RTCDataChannelEvent) => void; // Extension: https://www.w3.org/TR/webrtc/#h-rtcpeerconnection-interface-extensions-2 getStats(selector?: MediaStreamTrack | null): Promise; diff --git a/website-scraper/index.d.ts b/website-scraper/index.d.ts index bcc718f693..01a053d415 100644 --- a/website-scraper/index.d.ts +++ b/website-scraper/index.d.ts @@ -19,7 +19,7 @@ declare namespace websiteScraper { attr: string; } interface RequestOptions { - headers: request.Headers + headers: request.Headers; } interface Options { urls: Array; diff --git a/webtorrent/index.d.ts b/webtorrent/index.d.ts index b19507920e..83f0e840e7 100644 --- a/webtorrent/index.d.ts +++ b/webtorrent/index.d.ts @@ -244,7 +244,7 @@ declare namespace WebTorrent { /** * Emitted whenever a new peer is connected for this torrent. wire is an instance of bittorrent-protocol, which is a node.js-style duplex stream to the remote peer. This event can be used to specify custom BitTorrent protocol extensions. */ - on(event: 'wire', callback:(wire: any, addr: any) => void): this; + on(event: 'wire', callback: (wire: any, addr: any) => void): this; } export interface InTorrentFile extends NodeJS.EventEmitter { diff --git a/xml-js/index.d.ts b/xml-js/index.d.ts index eb89067c86..c4110cc116 100644 --- a/xml-js/index.d.ts +++ b/xml-js/index.d.ts @@ -4,74 +4,74 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export interface ElementCompact { - [key: string]: any + [key: string]: any; _attributes?: { [key: string]: number | number - } - _cdata?: string | number - _comment?: string | number + }; + _cdata?: string | number; + _comment?: string | number; _declaration?: { _attributes?: { version?: string | number encoding?: string | number } - } - _text?: string | number + }; + _text?: string | number; } export interface Element { attributes?: { [key: string]: string | number - } - cdata?: string | number - comment?: string | number + }; + cdata?: string | number; + comment?: string | number; declaration?: { attributes?: { version: string | number encoding: string | number } - } - elements?: Array - text?: string | number - type?: string | number - name?: string | number + }; + elements?: Array; + text?: string | number; + type?: string | number; + name?: string | number; } declare namespace Options { interface XML2JS extends ChangingKeyNames, IgnoreOptions { - compact?: boolean - spaces?: number | string - trim?: boolean - sanitize?: boolean - nativeType?: boolean - addParent?: boolean - alwaysChildren?: boolean + compact?: boolean; + spaces?: number | string; + trim?: boolean; + sanitize?: boolean; + nativeType?: boolean; + addParent?: boolean; + alwaysChildren?: boolean; } interface JS2XML extends ChangingKeyNames, IgnoreOptions { - spaces?: number | string - compact?: boolean - fullTagEmptyElement?: boolean + spaces?: number | string; + compact?: boolean; + fullTagEmptyElement?: boolean; } interface IgnoreOptions { - ignoreDeclaration?: boolean - ignoreAttributes?: boolean - ignoreComment?: boolean - ignoreCdata?: boolean - ignoreText?: boolean + ignoreDeclaration?: boolean; + ignoreAttributes?: boolean; + ignoreComment?: boolean; + ignoreCdata?: boolean; + ignoreText?: boolean; } interface ChangingKeyNames { - declarationKey?: string - attributesKey?: string - textKey?: string - cdataKey?: string - commentKey?: string - parentKey?: string - typeKey?: string - nameKey?: string - elementsKey?: string + declarationKey?: string; + attributesKey?: string; + textKey?: string; + cdataKey?: string; + commentKey?: string; + parentKey?: string; + typeKey?: string; + nameKey?: string; + elementsKey?: string; } }