From ccb835b2b49d12a6ed8ccc39775ed28b49e2314f Mon Sep 17 00:00:00 2001 From: VorobeY1326 Date: Fri, 20 May 2016 20:25:55 +0500 Subject: [PATCH 001/613] Definitions for jquery.tooltipster 3.3.0 --- jquery.tooltipster/jquery.tooltipster.d.ts | 41 ++++++++++++++++------ 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/jquery.tooltipster/jquery.tooltipster.d.ts b/jquery.tooltipster/jquery.tooltipster.d.ts index a4df0a36e3..13260f15fe 100644 --- a/jquery.tooltipster/jquery.tooltipster.d.ts +++ b/jquery.tooltipster/jquery.tooltipster.d.ts @@ -1,6 +1,6 @@ -// Type definitions for jQuery Tooltipster 3.0.5 +// Type definitions for jQuery Tooltipster 3.3.0 // Project: https://github.com/iamceege/tooltipster -// Definitions by: Patrick Magee +// Definitions by: Patrick Magee , Dmitry Pesterev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -21,14 +21,13 @@ interface JQueryTooltipsterOptions { */ arrowColor?: any; /** - * If autoClose is set to false, the tooltip will never close unless you call the 'close' method yourself. Default: true + * If autoClose is set to false, the tooltip will never close unless you call the 'hide' method yourself. Default: true */ autoClose?: boolean; /** * If set, this will override the content of the tooltip. Default: null - * @type string, jQuery object */ - content?: any; + content?: string | JQuery; /** * If the content of the tooltip is provided as a string, it is displayed as plain text by default. If this content should actually be interpreted as HTML, set this option to true. Default: false */ @@ -38,15 +37,19 @@ interface JQueryTooltipsterOptions { */ contentCloning?: boolean; /** + * Tooltipster logs notices into the console when you're doing something you ideally shouldn't be doing. Set to false to disable logging. Default: true + */ + debug?: boolean; + /** * Delay how long it takes (in milliseconds) for the tooltip to start animating in. Default: 200 */ delay?: number; /** - * Set a fixed width for the tooltip. The tooltip will always be a consistent width - no matter your content size. Default: 0 (auto width) + * Set a minimum width for the tooltip. Default: 0 (auto width) */ - fixedWidth?: number; + minWidth?: number; /** - * Set a max width for the tooltip. If the tooltip ends up being smaller than the set max width, the tooltip's width will be set automatically. Default: 0 (no max width) + * Set a maximum width for the tooltip. Default: null (no max width) */ maxWidth?: number; /** @@ -66,10 +69,13 @@ interface JQueryTooltipsterOptions { */ functionAfter?: (origin) => void; /** - * If using the iconDesktop or iconTouch options, this sets the content for your icon. Default: '(?)' - * @type string, jQuery object + * If true, the tooltip will close if its origin is clicked. This option only applies when 'trigger' is 'hover' and 'autoClose' is false. Default: false */ - icon?: any; + hideOnClick?: boolean; + /** + * If using the iconDesktop or iconTouch options, this sets the content for your icon. Default: '(?)' + */ + icon?: string | JQuery; /** * If you provide a jQuery object to the 'icon' option, this sets if it is a clone of this object that should actually be used. Default: true */ @@ -95,6 +101,10 @@ interface JQueryTooltipsterOptions { */ interactiveTolerance?: number; /** + * Allows you to put multiple tooltips on a single element. Read further instructions down this page. Default: false + */ + multiple?: boolean; + /** * Offsets the tooltip (in pixels) farther left/right from the origin. Default: 0 */ offsetX?: number; @@ -116,6 +126,15 @@ interface JQueryTooltipsterOptions { */ positionTracker?: boolean; /** + * Called after the tooltip has been repositioned by the position tracker (if enabled). Default: A function that will close the tooltip if the trigger is 'hover' and autoClose is false. + */ + positionTrackerCallback?: (origin) => void; + /** + * Specify if a TITLE attribute should be restored on the HTML element after a call to the 'destroy' method. This attribute may be omitted, or be restored with the value that existed before Tooltipster was initialized, or be restored with the stringified value of the current content. Note: in case of multiple tooltips on a single element, only the last destroyed tooltip may trigger a restoration. Default: 'current' + * 'none', 'previous' or 'current' + */ + restoration?: string; + /** * Set the speed of the animation. Default: 350 */ speed?: number; From da38d0569abda73fd1b8b6d768781059433adbf2 Mon Sep 17 00:00:00 2001 From: VorobeY1326 Date: Fri, 20 May 2016 20:26:56 +0500 Subject: [PATCH 002/613] Updated tests to test type union in content --- jquery.tooltipster/jquery.tooltipster-tests.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jquery.tooltipster/jquery.tooltipster-tests.ts b/jquery.tooltipster/jquery.tooltipster-tests.ts index 8a8f29acae..df5ec17e51 100644 --- a/jquery.tooltipster/jquery.tooltipster-tests.ts +++ b/jquery.tooltipster/jquery.tooltipster-tests.ts @@ -2,7 +2,7 @@ // Type definition tests for jQuery Tooltipster 3.0.5 // Project: https://github.com/iamceege/tooltipster -// Definitions by: Patrick Magee +// Definitions by: Patrick Magee , Dmitry Pesterev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Tests taken from the getting started section of the Tooltipster website @@ -13,6 +13,10 @@ $(document).ready(function () { $('#my-tooltip').tooltipster({ content: $(' This text is in bold case !') }); + + $('#my-tooltip').tooltipster({ + content: 'string test' + }); }); @@ -191,4 +195,4 @@ $(document).ready(function () { }); }); -$('#my-special-tooltip').tooltipster('content', 'My new content'); \ No newline at end of file +$('#my-special-tooltip').tooltipster('content', 'My new content'); From 15e410b756322c505802ab2b006cda295d808ccb Mon Sep 17 00:00:00 2001 From: VorobeY1326 Date: Fri, 20 May 2016 20:27:34 +0500 Subject: [PATCH 003/613] Version --- jquery.tooltipster/jquery.tooltipster-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.tooltipster/jquery.tooltipster-tests.ts b/jquery.tooltipster/jquery.tooltipster-tests.ts index df5ec17e51..21a5446c12 100644 --- a/jquery.tooltipster/jquery.tooltipster-tests.ts +++ b/jquery.tooltipster/jquery.tooltipster-tests.ts @@ -1,6 +1,6 @@ /// -// Type definition tests for jQuery Tooltipster 3.0.5 +// Type definition tests for jQuery Tooltipster 3.3.0 // Project: https://github.com/iamceege/tooltipster // Definitions by: Patrick Magee , Dmitry Pesterev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From b3ebf8a9934841796bdaabe8d3cde6ee9052ca0b Mon Sep 17 00:00:00 2001 From: Caleb Eggensperger Date: Tue, 24 May 2016 13:24:57 -0400 Subject: [PATCH 004/613] Fix component router breakage --- angularjs/angular-component-router.d.ts | 51 +++++++++++++++++++++++++ angularjs/angular.d.ts | 44 --------------------- 2 files changed, 51 insertions(+), 44 deletions(-) diff --git a/angularjs/angular-component-router.d.ts b/angularjs/angular-component-router.d.ts index 228db1e017..6406736873 100644 --- a/angularjs/angular-component-router.d.ts +++ b/angularjs/angular-component-router.d.ts @@ -429,4 +429,55 @@ declare module angular { interface OnReuse { $routerOnReuse(next?: angular.ComponentInstruction, prev?: angular.ComponentInstruction): any; } + + /** + * Runtime representation a type that a Component or other object is instances of. + * + * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by + * the `MyCustomComponent` constructor function. + */ + interface Type extends Function { + } + + /** + * `RouteDefinition` defines a route within a {@link RouteConfig} decorator. + * + * Supported keys: + * - `path` or `aux` (requires exactly one of these) + * - `component`, `loader`, `redirectTo` (requires exactly one of these) + * - `name` or `as` (optional) (requires exactly one of these) + * - `data` (optional) + * + * See also {@link Route}, {@link AsyncRoute}, {@link AuxRoute}, and {@link Redirect}. + */ + interface RouteDefinition { + path?: string; + aux?: string; + component?: Type | ComponentDefinition | string; + loader?: Function; + redirectTo?: any[]; + as?: string; + name?: string; + data?: any; + useAsDefault?: boolean; + } + + /** + * Represents either a component type (`type` is `component`) or a loader function + * (`type` is `loader`). + * + * See also {@link RouteDefinition}. + */ + interface ComponentDefinition { + type: string; + loader?: Function; + component?: Type; + } + + // Supplement IComponentOptions from angular.d.ts with router-specific + // fields. + interface IComponentOptions { + $canActivate?: () => boolean; + $routeConfig?: RouteDefinition[]; + } } diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index d1197dec16..7c3019a001 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -1632,50 +1632,6 @@ declare module angular { // see http://angularjs.blogspot.com.br/2015/11/angularjs-15-beta2-and-14-releases.html // and http://toddmotto.com/exploring-the-angular-1-5-component-method/ /////////////////////////////////////////////////////////////////////////// - /** - * Runtime representation a type that a Component or other object is instances of. - * - * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by - * the `MyCustomComponent` constructor function. - */ - interface Type extends Function { - } - - /** - * `RouteDefinition` defines a route within a {@link RouteConfig} decorator. - * - * Supported keys: - * - `path` or `aux` (requires exactly one of these) - * - `component`, `loader`, `redirectTo` (requires exactly one of these) - * - `name` or `as` (optional) (requires exactly one of these) - * - `data` (optional) - * - * See also {@link Route}, {@link AsyncRoute}, {@link AuxRoute}, and {@link Redirect}. - */ - interface RouteDefinition { - path?: string; - aux?: string; - component?: Type | ComponentDefinition | string; - loader?: Function; - redirectTo?: any[]; - as?: string; - name?: string; - data?: any; - useAsDefault?: boolean; - } - - /** - * Represents either a component type (`type` is `component`) or a loader function - * (`type` is `loader`). - * - * See also {@link RouteDefinition}. - */ - interface ComponentDefinition { - type: string; - loader?: Function; - component?: Type; - } - /** * Component definition object (a simplified directive definition object) */ From 9e13e02ace794fba00f44bcf70f41cdca1a56b4e Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Wed, 15 Jun 2016 15:59:48 +0300 Subject: [PATCH 005/613] Updated definitions for wampy.js v3.0.x --- wampy/wampy-tests.ts | 5 +++-- wampy/wampy.d.ts | 22 +++++++++++++++++----- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/wampy/wampy-tests.ts b/wampy/wampy-tests.ts index f7dcf9fe52..c0ac8d6656 100644 --- a/wampy/wampy-tests.ts +++ b/wampy/wampy-tests.ts @@ -13,7 +13,8 @@ ws.options({ onConnect: function () { console.log('Yahoo! We are online!'); }, onClose: function () { console.log('See you next time!'); }, onError: function () { console.log('Breakdown happened'); }, - onReconnect: function () { console.log('Reconnecting...'); } + onReconnect: function () { console.log('Reconnecting...'); }, + onReconnectSuccess: function () { console.log('Successfully reconnected!'); } }); ws.connect(); @@ -93,7 +94,7 @@ var status = ws.getOpStatus(); ws.cancel(status.reqId); -var sqrt_f = function (x: number) { return x*x; }; +var sqrt_f = function (x: number, y: any) { return [{}, x*x]; }; ws.register('sqrt.value', sqrt_f); diff --git a/wampy/wampy.d.ts b/wampy/wampy.d.ts index 650a8a91a5..e068b97a25 100644 --- a/wampy/wampy.d.ts +++ b/wampy/wampy.d.ts @@ -1,4 +1,4 @@ -// Type definitions for wampy.js v2.0.1 +// Type definitions for wampy.js v3.0.x // Project: https://github.com/KSDaemon/wampy.js // Definitions by: Konstantin Burkalev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -12,10 +12,13 @@ declare module "wampy" { transportEncoding?: string; realm?: string; helloCustomDetails?: any; + onChallenge?: (auth_method: string, challenge_details: string) => string; + authid?: string; onConnect?: () => void; onClose?: () => void; onError?: () => void; onReconnect?: () => void; + onReconnectSuccess?: () => void; ws?: any; msgpackCoder?: any; } @@ -36,7 +39,7 @@ declare module "wampy" { } interface RegisterCallbacksHash extends SuccessErrorCallbacksHash { - rpc: (data: any) => any; + rpc: (data: any, options: any) => any[]; } interface CallSuccessErrorCallbacksHash { @@ -51,8 +54,17 @@ declare module "wampy" { disclose_me?: boolean; } - interface CallAdvancedOptions extends AdvancedOptions { + interface PublishAdvancedOptions extends AdvancedOptions { + exclude_authid?: string | string[]; + exclude_authrole?: string | string[]; + eligible_authid?: string | string[]; + eligible_authrole?: string | string[]; + } + + interface CallAdvancedOptions { + disclose_me?: boolean; receive_progress?: boolean; + timeout?: number; } interface CancelAdvancedOptions { @@ -71,7 +83,7 @@ declare module "wampy" { publish(topicURI: string, payload?: any, callbacks?: SuccessErrorCallbacksHash, - advancedOptions?: AdvancedOptions): Wampy; + advancedOptions?: PublishAdvancedOptions): Wampy; call(topicURI: string, payload?: any, callbacks?: (((data: any) => void) | CallSuccessErrorCallbacksHash), @@ -79,7 +91,7 @@ declare module "wampy" { cancel(reqId: number, callbacks?: ((() => void) | SuccessErrorCallbacksHash), advancedOptions?: CancelAdvancedOptions): Wampy; - register(topicURI: string, callbacks: (((data: any) => any) | RegisterCallbacksHash)): Wampy; + register(topicURI: string, callbacks: (((data: any, options: any) => any[]) | RegisterCallbacksHash)): Wampy; unregister(topicURI: string, callbacks?: ((() => void) | SuccessErrorCallbacksHash)): Wampy; } From b2e1844aba38db3f4181205cf4d49c7b769a56c5 Mon Sep 17 00:00:00 2001 From: efokschaner Date: Sat, 6 Aug 2016 23:26:19 -0700 Subject: [PATCH 006/613] Update definitions for msgpack-lite --- msgpack-lite/index.d.ts | 130 ++++++++++++++++++++++++----- msgpack-lite/msgpack-lite-tests.ts | 76 ++++++++++++++++- msgpack-lite/tsconfig.json | 2 +- 3 files changed, 183 insertions(+), 25 deletions(-) diff --git a/msgpack-lite/index.d.ts b/msgpack-lite/index.d.ts index 400d22b2e7..53ed592afa 100644 --- a/msgpack-lite/index.d.ts +++ b/msgpack-lite/index.d.ts @@ -1,14 +1,72 @@ -// Type definitions for msgpack-lite 0.1.20 +// Type definitions for msgpack-lite v0.1.26 // Project: https://github.com/kawanet/msgpack-lite -// Definitions by: Endel Dreyer +// Definitions by: Endel Dreyer , Edmund Fokschaner // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -declare module "msgpack-lite" { - import { Transform } from "stream"; +declare module 'msgpack-lite' { + import * as stream from 'stream'; namespace MsgpackLite { - interface BufferOptions { codec: any; } + /** + * encode from JS Object to MessagePack + */ + function encode(input: any, options?: EncoderOptions): Buffer; + + /** + * decode from MessagePack to JS Object + */ + function decode(input: Buffer | Uint8Array | Array, options?: DecoderOptions): any; + + /** + * create a stream that encodes from JS Object to MessagePack + */ + function createEncodeStream(options?: EncoderOptions & stream.TransformOptions ): EncodeStream; + + /** + * create a stream that decodes from MessagePack (Buffer) to JS Object + */ + function createDecodeStream(options?: DecoderOptions & stream.TransformOptions): DecodeStream; + + /** + * Codecs allow for Custom Extension Types + * Register a custom extension type number to serialize/deserialize your own class instances. + * https://github.com/kawanet/msgpack-lite#custom-extension-types-codecs + * If you wish to modify the default built-in codec, you can access it at msgpack.codec.preset + */ + function createCodec(options?: CodecOptions): Codec; + + /** + * The default built-in codec + */ + var codec: { + /** + * The default built-in codec + */ + preset: Codec; + }; + + interface Codec { + /** + * Register a custom extension to serialize your own class instances + * + * @param etype an integer within the range of 0 and 127 (0x0 and 0x7F) + * @param Class the constructor of the type you wish to serialize + * @param packer a function that converts an instance of T to bytes + */ + addExtPacker( + etype: number, + Class: new(...args: any[]) => T, + packer: (t: T) => Buffer | Uint8Array): void; + + /** + * Register a custom extension to deserialize your own class instances + * + * @param etype an integer within the range of 0 and 127 (0x0 and 0x7F) + * @param unpacker a function that converts bytes to an instance of T + */ + addExtUnpacker(etype: number, unpacker: (data: Buffer | Uint8Array) => T): void; + } interface Encoder { bufferish: any; @@ -42,29 +100,59 @@ declare module "msgpack-lite" { end: (chunk: any) => void; } - interface EncodeStream extends Transform { + interface EncodeStream extends stream.Transform { encoder: Encoder; } - interface DecodeStream extends Transform { + + interface DecodeStream extends stream.Transform { decoder: Decoder; } - interface Codec { - new (options?: any): Codec; - options: any; - init (): void; - addExtPacker (etype: number, Class: any, packer: (value: any) => any): void; - getExtPacker (value: any): (value: any) => any; - addExtUnpacker (etype: number, unpacker: (value: any) => any): void; - getExtUnpacker (etype: number): (value: any) => any; + interface CodecOptions { + /** + * It includes the preset extensions for JavaScript native objects. + * @see https://github.com/kawanet/msgpack-lite#extension-types + * @default false + */ + preset?: boolean; + /** + * It runs a validation of the value before writing it into buffer. + * This is the default behavior for some old browsers which do not support ArrayBuffer object. + * @default varies + */ + safe?: boolean; + /** + * It uses raw formats instead of bin and str. + * Set true for compatibility with msgpack's old spec. + * @see https://github.com/kawanet/msgpack-lite#compatibility-mode + * @default false + */ + raw?: boolean; + /** + * It decodes msgpack's int64/uint64 formats with int64-buffer object. + * int64-buffer is a cutom integer type with 64 bits of precision instead + * of the built-in IEEE-754 53 bits. See https://github.com/kawanet/int64-buffer + * @default false + */ + int64?: boolean; + /** + * It ties msgpack's bin format with ArrayBuffer object, instead of Buffer object. + * @default false + */ + binarraybuffer?: boolean; + /** + * It returns Uint8Array object when encoding, instead of Buffer object. + */ + uint8array?: boolean; } - export function encode(input: any, options?: BufferOptions): any; - export function decode(input: Buffer | Uint8Array | Array, options?: BufferOptions): any; - export function createEncodeStream (): EncodeStream; - export function createDecodeStream (): DecodeStream; - export function createCodec (options?: any): Codec; - export function codec (): { preset: Codec }; + interface EncoderOptions { + codec?: Codec + } + + interface DecoderOptions { + codec?: Codec + } } export = MsgpackLite; diff --git a/msgpack-lite/msgpack-lite-tests.ts b/msgpack-lite/msgpack-lite-tests.ts index f6d8725754..3608e6bfd9 100644 --- a/msgpack-lite/msgpack-lite-tests.ts +++ b/msgpack-lite/msgpack-lite-tests.ts @@ -1,5 +1,75 @@ +import * as msgpack from 'msgpack-lite'; -import * as msgpack from "msgpack-lite"; +// https://github.com/kawanet/msgpack-lite#encoding-and-decoding-messagepack +function encodingAndDecoding() { + // encode from JS Object to MessagePack (Buffer) + var buffer = msgpack.encode({"foo": "bar"}); -var encoded = msgpack.encode(""); -msgpack.decode(encoded); + // decode from MessagePack (Buffer) to JS Object + var data = msgpack.decode(buffer); // => {"foo": "bar"} +} + +// https://github.com/kawanet/msgpack-lite#writing-to-messagepack-stream +function writingToStream() { + var fs = require("fs"); + + var writeStream = fs.createWriteStream("test.msp"); + var encodeStream = msgpack.createEncodeStream(); + encodeStream.pipe(writeStream); + + // send multiple objects to stream + encodeStream.write({foo: "bar"}); + encodeStream.write({baz: "qux"}); + + // call this once you're done writing to the stream. + encodeStream.end(); +} + +// https://github.com/kawanet/msgpack-lite#reading-from-messagepack-stream +function readingFromStream() { + var fs = require("fs"); + var msgpack = require("msgpack-lite"); + + var readStream = fs.createReadStream("test.msp"); + var decodeStream = msgpack.createDecodeStream(); + + // show multiple objects decoded from stream + readStream.pipe(decodeStream).on("data", console.warn); +} + +// https://github.com/kawanet/msgpack-lite#decoding-messagepack-bytes-array +function decodingBytesArray() { + // decode() accepts Buffer instance per default + msgpack.decode(new Buffer([0x81, 0xA3, 0x66, 0x6F, 0x6F, 0xA3, 0x62, 0x61, 0x72])); + + // decode() also accepts Array instance + msgpack.decode([0x81, 0xA3, 0x66, 0x6F, 0x6F, 0xA3, 0x62, 0x61, 0x72]); + + // decode() accepts raw Uint8Array instance as well + msgpack.decode(new Uint8Array([0x81, 0xA3, 0x66, 0x6F, 0x6F, 0xA3, 0x62, 0x61, 0x72])); +} + +// https://github.com/kawanet/msgpack-lite#custom-extension-types-codecs +function customExtensionTypes() { + var codec = msgpack.createCodec(); + codec.addExtPacker(0x3F, MyVector, myVectorPacker); + codec.addExtUnpacker(0x3F, myVectorUnpacker); + + var data = new MyVector(1, 2); + var encoded = msgpack.encode(data, {codec: codec}); + var decoded = msgpack.decode(encoded, {codec: codec}); + + class MyVector { + constructor(public x: number, public y: number) {} + } + + function myVectorPacker(vector: MyVector) { + var array = [vector.x, vector.y]; + return msgpack.encode(array); // return Buffer serialized + } + + function myVectorUnpacker(buffer: Buffer | Uint8Array): MyVector { + var array = msgpack.decode(buffer); + return new MyVector(array[0], array[1]); // return Object deserialized + } +} diff --git a/msgpack-lite/tsconfig.json b/msgpack-lite/tsconfig.json index 39588c1eef..6070c69ece 100644 --- a/msgpack-lite/tsconfig.json +++ b/msgpack-lite/tsconfig.json @@ -4,7 +4,7 @@ "target": "es6", "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" From 0c28d885a4109aa79bff1267eeaf85297807e24d Mon Sep 17 00:00:00 2001 From: efokschaner Date: Sun, 1 Jan 2017 18:14:21 -0800 Subject: [PATCH 007/613] Add tslint.json to msgpack-lite --- msgpack-lite/index.d.ts | 8 ++++---- msgpack-lite/tslint.json | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 msgpack-lite/tslint.json diff --git a/msgpack-lite/index.d.ts b/msgpack-lite/index.d.ts index 53ed592afa..128be7fad1 100644 --- a/msgpack-lite/index.d.ts +++ b/msgpack-lite/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for msgpack-lite v0.1.26 +// Type definitions for msgpack-lite 0.1 // Project: https://github.com/kawanet/msgpack-lite // Definitions by: Endel Dreyer , Edmund Fokschaner // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -16,7 +16,7 @@ declare module 'msgpack-lite' { /** * decode from MessagePack to JS Object */ - function decode(input: Buffer | Uint8Array | Array, options?: DecoderOptions): any; + function decode(input: Buffer | Uint8Array | number[], options?: DecoderOptions): any; /** * create a stream that encodes from JS Object to MessagePack @@ -147,11 +147,11 @@ declare module 'msgpack-lite' { } interface EncoderOptions { - codec?: Codec + codec?: Codec; } interface DecoderOptions { - codec?: Codec + codec?: Codec; } } diff --git a/msgpack-lite/tslint.json b/msgpack-lite/tslint.json new file mode 100644 index 0000000000..2221e40e4a --- /dev/null +++ b/msgpack-lite/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } \ No newline at end of file From 16b909b10fbaed9f6d8cd7e145a8d33201cf0d97 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 7 Jan 2017 02:54:53 +0300 Subject: [PATCH 008/613] Node api fix according to official API --- node/index.d.ts | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/node/index.d.ts b/node/index.d.ts index a52b0424de..e9b120cc2b 100644 --- a/node/index.d.ts +++ b/node/index.d.ts @@ -281,9 +281,9 @@ declare namespace NodeJS { readable: boolean; isTTY?: boolean; read(size?: number): string | Buffer; - setEncoding(encoding: string | null): void; - pause(): ReadableStream; - resume(): ReadableStream; + setEncoding(encoding: string | null): this; + pause(): this; + resume(): this; pipe(destination: T, options?: { end?: boolean; }): T; unpipe(destination?: T): void; unshift(chunk: string): void; @@ -302,10 +302,7 @@ declare namespace NodeJS { end(str: string, encoding?: string, cb?: Function): void; } - export interface ReadWriteStream extends ReadableStream, WritableStream { - pause(): ReadWriteStream; - resume(): ReadWriteStream; - } + export interface ReadWriteStream extends ReadableStream, WritableStream { } export interface Events extends EventEmitter { } @@ -1845,11 +1842,11 @@ declare module "net" { connect(port: number, host?: string, connectionListener?: Function): void; connect(path: string, connectionListener?: Function): void; bufferSize: number; - setEncoding(encoding?: string): void; + setEncoding(encoding?: string): this; write(data: any, encoding?: string, callback?: Function): void; destroy(): void; - pause(): Socket; - resume(): Socket; + pause(): this; + resume(): this; setTimeout(timeout: number, callback?: Function): void; setNoDelay(noDelay?: boolean): void; setKeepAlive(enable?: boolean, initialDelay?: number): void; @@ -3339,9 +3336,9 @@ declare module "stream" { constructor(opts?: ReadableOptions); protected _read(size: number): void; read(size?: number): any; - setEncoding(encoding: string): void; - pause(): Readable; - resume(): Readable; + setEncoding(encoding: string): this; + pause(): this; + resume(): this; pipe(destination: T, options?: { end?: boolean; }): T; unpipe(destination?: T): void; unshift(chunk: any): void; @@ -3502,8 +3499,8 @@ declare module "stream" { // Note: Duplex extends both Readable and Writable. export class Duplex extends Readable implements NodeJS.ReadWriteStream { // Readable - pause(): Duplex; - resume(): Duplex; + pause(): this; + resume(): this; // Writeable writable: boolean; constructor(opts?: DuplexOptions); @@ -3528,9 +3525,9 @@ declare module "stream" { protected _transform(chunk: any, encoding: string, callback: Function): void; protected _flush(callback: Function): void; read(size?: number): any; - setEncoding(encoding: string): void; - pause(): Transform; - resume(): Transform; + setEncoding(encoding: string): this; + pause(): this; + resume(): this; pipe(destination: T, options?: { end?: boolean; }): T; unpipe(destination?: T): void; unshift(chunk: any): void; From 261edf6ed5faf327a9f7977ee0c40a4277dd775c Mon Sep 17 00:00:00 2001 From: efokschaner Date: Sat, 7 Jan 2017 06:17:23 -0800 Subject: [PATCH 009/613] Fix no-single-declare-module lint error --- msgpack-lite/index.d.ts | 282 ++++++++++++++--------------- msgpack-lite/msgpack-lite-tests.ts | 1 - 2 files changed, 138 insertions(+), 145 deletions(-) diff --git a/msgpack-lite/index.d.ts b/msgpack-lite/index.d.ts index 128be7fad1..e451267dbc 100644 --- a/msgpack-lite/index.d.ts +++ b/msgpack-lite/index.d.ts @@ -4,156 +4,150 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -declare module 'msgpack-lite' { - import * as stream from 'stream'; +import * as stream from 'stream'; - namespace MsgpackLite { - /** - * encode from JS Object to MessagePack - */ - function encode(input: any, options?: EncoderOptions): Buffer; +/** + * encode from JS Object to MessagePack + */ +export function encode(input: any, options?: EncoderOptions): Buffer; - /** - * decode from MessagePack to JS Object - */ - function decode(input: Buffer | Uint8Array | number[], options?: DecoderOptions): any; +/** + * decode from MessagePack to JS Object + */ +export function decode(input: Buffer | Uint8Array | number[], options?: DecoderOptions): any; - /** - * create a stream that encodes from JS Object to MessagePack - */ - function createEncodeStream(options?: EncoderOptions & stream.TransformOptions ): EncodeStream; +/** + * create a stream that encodes from JS Object to MessagePack + */ +export function createEncodeStream(options?: EncoderOptions & stream.TransformOptions ): EncodeStream; - /** - * create a stream that decodes from MessagePack (Buffer) to JS Object - */ - function createDecodeStream(options?: DecoderOptions & stream.TransformOptions): DecodeStream; +/** + * create a stream that decodes from MessagePack (Buffer) to JS Object + */ +export function createDecodeStream(options?: DecoderOptions & stream.TransformOptions): DecodeStream; - /** - * Codecs allow for Custom Extension Types - * Register a custom extension type number to serialize/deserialize your own class instances. - * https://github.com/kawanet/msgpack-lite#custom-extension-types-codecs - * If you wish to modify the default built-in codec, you can access it at msgpack.codec.preset - */ - function createCodec(options?: CodecOptions): Codec; +/** + * Codecs allow for Custom Extension Types + * Register a custom extension type number to serialize/deserialize your own class instances. + * https://github.com/kawanet/msgpack-lite#custom-extension-types-codecs + * If you wish to modify the default built-in codec, you can access it at msgpack.codec.preset + */ +export function createCodec(options?: CodecOptions): Codec; - /** - * The default built-in codec - */ - var codec: { - /** - * The default built-in codec - */ - preset: Codec; - }; +/** + * The default built-in codec + */ +export var codec: { + /** + * The default built-in codec + */ + preset: Codec; +}; - interface Codec { - /** - * Register a custom extension to serialize your own class instances - * - * @param etype an integer within the range of 0 and 127 (0x0 and 0x7F) - * @param Class the constructor of the type you wish to serialize - * @param packer a function that converts an instance of T to bytes - */ - addExtPacker( - etype: number, - Class: new(...args: any[]) => T, - packer: (t: T) => Buffer | Uint8Array): void; +export interface Codec { + /** + * Register a custom extension to serialize your own class instances + * + * @param etype an integer within the range of 0 and 127 (0x0 and 0x7F) + * @param Class the constructor of the type you wish to serialize + * @param packer a function that converts an instance of T to bytes + */ + addExtPacker( + etype: number, + Class: new(...args: any[]) => T, + packer: (t: T) => Buffer | Uint8Array): void; - /** - * Register a custom extension to deserialize your own class instances - * - * @param etype an integer within the range of 0 and 127 (0x0 and 0x7F) - * @param unpacker a function that converts bytes to an instance of T - */ - addExtUnpacker(etype: number, unpacker: (data: Buffer | Uint8Array) => T): void; - } - - interface Encoder { - bufferish: any; - maxBufferSize: number; - minBufferSize: number; - offset: number; - start: number; - write: (chunk: any) => void; - fetch: () => void; - flush: () => void; - push: (chunk: any) => void; - pull: () => number; - read: () => number; - reserve: (length: number) => number; - send: (buffer: Buffer) => void; - encode: (chunk: any) => void; - end: (chunk: any) => void; - } - - interface Decoder { - bufferish: any; - offset: number; - fetch: () => void; - flush: () => void; - pull: () => number; - read: () => number; - write: (chunk: any) => void; - reserve: (length: number) => number; - decode: (chunk: any) => void; - push: (chunk: any) => void; - end: (chunk: any) => void; - } - - interface EncodeStream extends stream.Transform { - encoder: Encoder; - } - - interface DecodeStream extends stream.Transform { - decoder: Decoder; - } - - interface CodecOptions { - /** - * It includes the preset extensions for JavaScript native objects. - * @see https://github.com/kawanet/msgpack-lite#extension-types - * @default false - */ - preset?: boolean; - /** - * It runs a validation of the value before writing it into buffer. - * This is the default behavior for some old browsers which do not support ArrayBuffer object. - * @default varies - */ - safe?: boolean; - /** - * It uses raw formats instead of bin and str. - * Set true for compatibility with msgpack's old spec. - * @see https://github.com/kawanet/msgpack-lite#compatibility-mode - * @default false - */ - raw?: boolean; - /** - * It decodes msgpack's int64/uint64 formats with int64-buffer object. - * int64-buffer is a cutom integer type with 64 bits of precision instead - * of the built-in IEEE-754 53 bits. See https://github.com/kawanet/int64-buffer - * @default false - */ - int64?: boolean; - /** - * It ties msgpack's bin format with ArrayBuffer object, instead of Buffer object. - * @default false - */ - binarraybuffer?: boolean; - /** - * It returns Uint8Array object when encoding, instead of Buffer object. - */ - uint8array?: boolean; - } - - interface EncoderOptions { - codec?: Codec; - } - - interface DecoderOptions { - codec?: Codec; - } - } - - export = MsgpackLite; + /** + * Register a custom extension to deserialize your own class instances + * + * @param etype an integer within the range of 0 and 127 (0x0 and 0x7F) + * @param unpacker a function that converts bytes to an instance of T + */ + addExtUnpacker(etype: number, unpacker: (data: Buffer | Uint8Array) => T): void; } + +export interface Encoder { + bufferish: any; + maxBufferSize: number; + minBufferSize: number; + offset: number; + start: number; + write: (chunk: any) => void; + fetch: () => void; + flush: () => void; + push: (chunk: any) => void; + pull: () => number; + read: () => number; + reserve: (length: number) => number; + send: (buffer: Buffer) => void; + encode: (chunk: any) => void; + end: (chunk: any) => void; +} + +export interface Decoder { + bufferish: any; + offset: number; + fetch: () => void; + flush: () => void; + pull: () => number; + read: () => number; + write: (chunk: any) => void; + reserve: (length: number) => number; + decode: (chunk: any) => void; + push: (chunk: any) => void; + end: (chunk: any) => void; +} + +export interface EncodeStream extends stream.Transform { + encoder: Encoder; +} + +export interface DecodeStream extends stream.Transform { + decoder: Decoder; +} + +export interface CodecOptions { + /** + * It includes the preset extensions for JavaScript native objects. + * @see https://github.com/kawanet/msgpack-lite#extension-types + * @default false + */ + preset?: boolean; + /** + * It runs a validation of the value before writing it into buffer. + * This is the default behavior for some old browsers which do not support ArrayBuffer object. + * @default varies + */ + safe?: boolean; + /** + * It uses raw formats instead of bin and str. + * Set true for compatibility with msgpack's old spec. + * @see https://github.com/kawanet/msgpack-lite#compatibility-mode + * @default false + */ + raw?: boolean; + /** + * It decodes msgpack's int64/uint64 formats with int64-buffer object. + * int64-buffer is a cutom integer type with 64 bits of precision instead + * of the built-in IEEE-754 53 bits. See https://github.com/kawanet/int64-buffer + * @default false + */ + int64?: boolean; + /** + * It ties msgpack's bin format with ArrayBuffer object, instead of Buffer object. + * @default false + */ + binarraybuffer?: boolean; + /** + * It returns Uint8Array object when encoding, instead of Buffer object. + */ + uint8array?: boolean; +} + +export interface EncoderOptions { + codec?: Codec; +} + +export interface DecoderOptions { + codec?: Codec; +} \ No newline at end of file diff --git a/msgpack-lite/msgpack-lite-tests.ts b/msgpack-lite/msgpack-lite-tests.ts index 3608e6bfd9..033fde060c 100644 --- a/msgpack-lite/msgpack-lite-tests.ts +++ b/msgpack-lite/msgpack-lite-tests.ts @@ -28,7 +28,6 @@ function writingToStream() { // https://github.com/kawanet/msgpack-lite#reading-from-messagepack-stream function readingFromStream() { var fs = require("fs"); - var msgpack = require("msgpack-lite"); var readStream = fs.createReadStream("test.msp"); var decodeStream = msgpack.createDecodeStream(); From bbc7449794201aaa4a8c34363068e2a2e70c5321 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 7 Jan 2017 19:57:33 +0300 Subject: [PATCH 010/613] Mongodb-node reconciliation --- mongodb/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index 82f8f0dcce..26d1656baf 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -1185,7 +1185,7 @@ export interface Cursor extends Readable { // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setCursorOption setCursorOption(field: string, value: Object): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setEncoding - setEncoding(encoding: string): void; + setEncoding(encoding: string): this; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setReadPreference setReadPreference(readPreference: string | ReadPreference): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#showRecordId @@ -1271,7 +1271,7 @@ export interface AggregationCursor extends Readable { //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#rewind rewind(): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#setEncoding - setEncoding(encoding: string): void; + setEncoding(encoding: string): this; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#skip skip(value: number): AggregationCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#sort @@ -1312,7 +1312,7 @@ export interface CommandCursor extends Readable { //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#rewind rewind(): CommandCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#setEncoding - setEncoding(encoding: string): void; + setEncoding(encoding: string): this; // http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#setReadPreference setReadPreference(readPreference: string | ReadPreference): CommandCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#toArray From 6c25f377ff8bbaf1cf1f9d39b22f5350b8eca55e Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 7 Jan 2017 23:13:39 +0300 Subject: [PATCH 011/613] Fixed @node/node interface accroding to official NodeJS API. Closing #13782 --- node/index.d.ts | 7243 ++++++++++++++++++++++------------------------- 1 file changed, 3445 insertions(+), 3798 deletions(-) diff --git a/node/index.d.ts b/node/index.d.ts index e9b120cc2b..e6333dd7d1 100644 --- a/node/index.d.ts +++ b/node/index.d.ts @@ -8,37 +8,162 @@ * Node.js v6.x API * * * ************************************************/ +interface NodeError { + /** + * Returns a string describing the point in the code at which the Error was instantiated. + * + * For example: + * + * ``` + * Error: Things keep happening! + * at /home/gbusey/file.js:525:2 + * at Frobnicator.refrobulate (/home/gbusey/business-logic.js:424:21) + * at Actor. (/home/gbusey/actors.js:400:8) + * at increaseSynergy (/home/gbusey/actors.js:701:6) + * ``` + * + * The first line is formatted as : , and is followed by a series of stack frames (each line beginning with "at "). Each frame describes a call site within the code that lead to the error being generated. V8 attempts to display a name for each function (by variable name, function name, or object method name), but occasionally it will not be able to find a suitable name. If V8 cannot determine a name for the function, only location information will be displayed for that frame. Otherwise, the determined function name will be displayed with location information appended in parentheses. + */ + stack?: string; -// This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build -interface Console { - Console: typeof NodeJS.Console; - assert(value: any, message?: string, ...optionalParams: any[]): void; - dir(obj: any, options?: {showHidden?: boolean, depth?: number, colors?: boolean}): void; - error(message?: any, ...optionalParams: any[]): void; - info(message?: any, ...optionalParams: any[]): void; - log(message?: any, ...optionalParams: any[]): void; - time(label: string): void; - timeEnd(label: string): void; - trace(message?: any, ...optionalParams: any[]): void; - warn(message?: any, ...optionalParams: any[]): void; + /** + * Returns the string description of error as set by calling new Error(message). The message passed to the constructor will also appear in the first line of the stack trace of the Error, however changing this property after the Error object is created may not change the first line of the stack trace. + * + * ``` + * const err = new Error('The message'); + * console.log(err.message); + * // Prints: The message + * ``` + */ + message: string; } -interface Error { - stack?: string; -} +interface Error extends NodeError { } interface ErrorConstructor { - captureStackTrace(targetObject: Object, constructorOpt?: Function): void; - stackTraceLimit: number; + /** + * Creates a `.stack` property on `targetObject`, which when accessed returns a string representing the location in the code at which `Error.captureStackTrace()`` was called. + * + * ```js + * const myObject = {}; + * Error.captureStackTrace(myObject); + * myObject.stack // similar to `new Error().stack` + * ``` + * + * The first line of the trace, instead of being prefixed with `ErrorType : message`, will be the result of calling `targetObject.toString()``. + * + * The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace. + * + * The constructorOpt argument is useful for hiding implementation details of error generation from an end user. For instance: + * + * ```js + * function MyError() { + * Error.captureStackTrace(this, MyError); + * } + * + * // Without passing MyError to captureStackTrace, the MyError + * // frame would should up in the .stack property. by passing + * // the constructor, we omit that frame and all frames above it. + * new MyError().stack + * ``` + */ + captureStackTrace(targetObject: T, constructorOpt?: new () => T): void; + + /** + * The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or `Error.captureStackTrace(obj))``. + * + * The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed. + * + * If set to a non-number value, or set to a negative number, stack traces will not capture any frames. + */ + stackTraceLimit: number; } -// compat for TypeScript 1.8 -// if you use with --target es3 or --target es5 and use below definitions, -// use the lib.es6.d.ts that is bundled with TypeScript 1.8. -interface MapConstructor { } -interface WeakMapConstructor { } -interface SetConstructor { } -interface WeakSetConstructor { } +// ES2015 collection types +interface NodeCollection { + size: number; +} + +interface NodeWeakCollection {} + +interface IterableIterator {} + +interface NodeCollectionConstructor { + prototype: T; +} + +interface Map extends NodeCollection { + clear(): void; + delete(key: K): boolean; + entries(): Array<[K, V]>; + forEach(callbackfn: (value: V, index: K, map: Map) => void, thisArg?: any): void; + get(key: K): V; + has(key: K): boolean; + keys(): Array; + set(key: K, value?: V): Map; + values(): Array; + // [Symbol.iterator]():Array<[K,V]>; + // [Symbol.toStringTag]: "Map"; +} + +interface MapConstructor extends NodeCollectionConstructor> { + new (): Map; + new (): Map; +} + +declare var Map: MapConstructor; + +interface WeakMap extends NodeWeakCollection { + clear(): void; + delete(key: K): boolean; + get(key: K): V | void; + has(key: K): boolean; + set(key: K, value?: V): WeakMap; +} + +interface WeakMapConstructor extends NodeCollectionConstructor> { + new (): WeakMap; + new (): WeakMap; +} + +declare var WeakMap: WeakMapConstructor; + +interface Set extends NodeCollection { + add(value: T): Set; + clear(): void; + delete(value: T): boolean; + entries(): Array<[T, T]>; + forEach(callbackfn: (value: T, index: T, set: Set) => void, thisArg?: any): void; + has(value: T): boolean; + keys(): Array; + values(): Array; + // [Symbol.iterator]():Array; + // [Symbol.toStringTag]: "Set"; +} + +interface SetConstructor extends NodeCollectionConstructor> { + new (): Set; + new (): Set; + new (iterable: Array): Set; +} + +declare var Set: SetConstructor; + +interface WeakSet extends NodeWeakCollection { + add(value: T): WeakSet; + clear(): void; + delete(value: T): boolean; + has(value: T): boolean; + // [Symbol.toStringTag]: "WeakSet"; +} + +interface WeakSetConstructor extends NodeCollectionConstructor> { + new (): WeakSet; + new (): WeakSet; + new (iterable: Array): WeakSet; +} + +declare var WeakSet: WeakSetConstructor; /************************************************ * * @@ -47,7 +172,6 @@ interface WeakSetConstructor { } ************************************************/ declare var process: NodeJS.Process; declare var global: NodeJS.Global; -declare var console: Console; declare var __filename: string; declare var __dirname: string; @@ -60,26 +184,44 @@ declare function setImmediate(callback: (...args: any[]) => void, ...args: any[] declare function clearImmediate(immediateId: any): void; interface NodeRequireFunction { - (id: string): any; + (id: string): any; } interface NodeRequire extends NodeRequireFunction { - resolve(id: string): string; - cache: any; - extensions: any; - main: NodeModule | undefined; + resolve(id: string): string; + cache: { [filename: string]: NodeModule }; + extensions: NodeExtensions; + main: any; +} + +interface NodeExtensions { + '.js': (m: NodeModule, filename: string) => any; + '.json': (m: NodeModule, filename: string) => any; + '.node': (m: NodeModule, filename: string) => any; + [ext: string]: (m: NodeModule, filename: string) => any; } declare var require: NodeRequire; -interface NodeModule { - exports: any; - require: NodeRequireFunction; - id: string; - filename: string; - loaded: boolean; - parent: NodeModule | null; - children: NodeModule[]; +declare class NodeModule { + static runMain(): void; + static wrap(code: string): string; + static _nodeModulePaths(path: string): string[]; + static _load(request: string, parent?: NodeModule, isMain?: boolean): any; + static _resolveFilename(request: string, parent?: NodeModule, isMain?: boolean): string; + static _extensions: NodeExtensions; + + constructor(filename: string); + _compile(code: string, filename: string): string; + + id: string; + parent: NodeModule; + filename: string; + paths: string[]; + children: NodeModule[]; + exports: any; + loaded: boolean; + require: NodeRequireFunction; } declare var module: NodeModule; @@ -87,159 +229,209 @@ declare var module: NodeModule; // Same as module.exports declare var exports: any; declare var SlowBuffer: { - new (str: string, encoding?: string): Buffer; - new (size: number): Buffer; - new (size: Uint8Array): Buffer; - new (array: any[]): Buffer; - prototype: Buffer; - isBuffer(obj: any): boolean; - byteLength(string: string, encoding?: string): number; - concat(list: Buffer[], totalLength?: number): Buffer; + new (str: string, encoding?: string): Buffer; + new (size: number): Buffer; + new (size: Uint8Array): Buffer; + new (array: any[]): Buffer; + prototype: Buffer; + isBuffer(obj: any): boolean; + byteLength(string: string, encoding?: string): number; + concat(list: Buffer[], totalLength?: number): Buffer; }; +// Console class (compatible with TypeScript `lib.d.ts`). +declare interface Console { + log(msg: any, ...params: any[]): void; + info(msg: any, ...params: any[]): void; + warn(msg: any, ...params: any[]): void; + error(msg: any, ...params: any[]): void; + dir(value: any, ...params: any[]): void; + time(timerName?: string): void; + timeEnd(timerName?: string): void; + trace(msg: any, ...params: any[]): void; + assert(test?: boolean, msg?: string, ...params: any[]): void; -// Buffer class -type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "binary" | "hex"; -interface Buffer extends NodeBuffer { } + Console: new (stdout: NodeJS.WritableStream) => Console; +} -/** - * Raw data is stored in instances of the Buffer class. - * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. - * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - */ -declare var Buffer: { - /** - * Allocates a new buffer containing the given {str}. - * - * @param str String to store in buffer. - * @param encoding encoding to use, optional. Default is 'utf8' - */ - new (str: string, encoding?: string): Buffer; - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - */ - new (size: number): Buffer; - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - */ - new (array: Uint8Array): Buffer; - /** - * Produces a Buffer backed by the same allocated memory as - * the given {ArrayBuffer}. - * - * - * @param arrayBuffer The ArrayBuffer with which to share memory. - */ - new (arrayBuffer: ArrayBuffer): Buffer; - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - */ - new (array: any[]): Buffer; - /** - * Copies the passed {buffer} data onto a new {Buffer} instance. - * - * @param buffer The buffer to copy. - */ - new (buffer: Buffer): Buffer; - prototype: Buffer; - /** - * Allocates a new Buffer using an {array} of octets. - * - * @param array - */ - from(array: any[]): Buffer; - /** - * When passed a reference to the .buffer property of a TypedArray instance, - * the newly created Buffer will share the same allocated memory as the TypedArray. - * The optional {byteOffset} and {length} arguments specify a memory range - * within the {arrayBuffer} that will be shared by the Buffer. - * - * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer() - * @param byteOffset - * @param length - */ - from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer; - /** - * Copies the passed {buffer} data onto a new Buffer instance. - * - * @param buffer - */ - from(buffer: Buffer): Buffer; - /** - * Creates a new Buffer containing the given JavaScript string {str}. - * If provided, the {encoding} parameter identifies the character encoding. - * If not provided, {encoding} defaults to 'utf8'. - * - * @param str - */ - from(str: string, encoding?: string): Buffer; - /** - * Returns true if {obj} is a Buffer - * - * @param obj object to test. - */ - isBuffer(obj: any): obj is Buffer; - /** - * Returns true if {encoding} is a valid encoding argument. - * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - * - * @param encoding string to test. - */ - isEncoding(encoding: string): boolean; - /** - * Gives the actual byte length of a string. encoding defaults to 'utf8'. - * This is not the same as String.prototype.length since that returns the number of characters in a string. - * - * @param string string to test. - * @param encoding encoding used to evaluate (defaults to 'utf8') - */ - byteLength(string: string, encoding?: string): number; - /** - * Returns a buffer which is the result of concatenating all the buffers in the list together. - * - * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. - * If the list has exactly one item, then the first item of the list is returned. - * If the list has more than one item, then a new Buffer is created. - * - * @param list An array of Buffer objects to concatenate - * @param totalLength Total length of the buffers when concatenated. - * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. - */ - concat(list: Buffer[], totalLength?: number): Buffer; - /** - * The same as buf1.compare(buf2). - */ - compare(buf1: Buffer, buf2: Buffer): number; - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - * @param fill if specified, buffer will be initialized by calling buf.fill(fill). - * If parameter is omitted, buffer will be filled with zeros. - * @param encoding encoding used for call to buf.fill while initalizing - */ - alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer; - /** - * Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents - * of the newly created Buffer are unknown and may contain sensitive data. - * - * @param size count of octets to allocate - */ - allocUnsafe(size: number): Buffer; - /** - * Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents - * of the newly created Buffer are unknown and may contain sensitive data. - * - * @param size count of octets to allocate - */ - allocUnsafeSlow(size: number): Buffer; -}; +declare var console: Console; + +declare class Buffer extends Uint8Array { + [index: number]: number; + /** + * Allocates a new buffer containing the given {str}. + * + * @param str String to store in buffer. + * @param encoding encoding to use, optional. Default is 'utf8' + */ + constructor(str: string, encoding?: string); + /** + * Allocates a new buffer of {size} octets. + * + * @param size count of octets to allocate. + */ + constructor(size: number); + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + */ + constructor(array: Uint8Array); + /** + * Produces a Buffer backed by the same allocated memory as + * the given {ArrayBuffer}. + * + * + * @param arrayBuffer The ArrayBuffer with which to share memory. + */ + constructor(arrayBuffer: ArrayBuffer); + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + */ + constructor(array: any[]); + /** + * Copies the passed {buffer} data onto a new {Buffer} instance. + * + * @param buffer The buffer to copy. + */ + constructor(buffer: Buffer); + /** + * Allocates a new Buffer using an {array} of octets. + * + * @param array + */ + static from(array: any[]): Buffer; + /** + * When passed a reference to the .buffer property of a TypedArray instance, + * the newly created Buffer will share the same allocated memory as the TypedArray. + * The optional {byteOffset} and {length} arguments specify a memory range + * within the {arrayBuffer} that will be shared by the Buffer. + * + * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer() + * @param byteOffset + * @param length + */ + static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer; + /** + * Copies the passed {buffer} data onto a new Buffer instance. + * + * @param buffer + */ + static from(buffer: Buffer): Buffer; + /** + * Creates a new Buffer containing the given JavaScript string {str}. + * If provided, the {encoding} parameter identifies the character encoding. + * If not provided, {encoding} defaults to 'utf8'. + * + * @param str + */ + static from(str: string, encoding?: string): Buffer; + /** + * Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the `Buffer` will be _zero-filled_. + * + * @param size The desired length of the new `Buffer` + * @param fill A value to pre-fill the new `Buffer` with. Default: `0` + * @param encoding If `fill` is a string, this is its encoding. Default: `'utf8'` + */ + static alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer; + /** + * Allocates a new _non-zero-filled_ `Buffer` of `size` bytes. The `size` must be less than or equal to the value of `buffer.kMaxLength`. Otherwise, a `RangeError` is thrown. A zero-length `Buffer` will be created if `size <= 0`. + * + * The underlying memory for `Buffer` instances created in this way is not initialized. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `buf.fill(0)` to initialize such `Buffer` instances to zeroes. + * + * @param size The desired length of the new `Buffer` + */ + static allocUnsafe(size: number): Buffer; + /** + * Returns `true` if `obj` is a Buffer, `false` otherwise. + */ + static isBuffer(obj: any): obj is Buffer; + /** + * Returns `true` if `encoding` contains a supported character encoding, or `false` otherwise. + * + * @param encoding A character encoding name to check. + */ + static isEncoding(encoding: string): boolean; + /** + * Gives the actual byte length of a string. encoding defaults to 'utf8'. + * This is not the same as String.prototype.length since that returns the number of characters in a string. + * + * @param string string to test. + * @param encoding encoding used to evaluate (defaults to 'utf8') + */ + static byteLength(string: string, encoding?: string): number; + /** + * Returns a buffer which is the result of concatenating all the buffers in the list together. + * + * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. + * If the list has exactly one item, then the first item of the list is returned. + * If the list has more than one item, then a new Buffer is created. + * + * @param list An array of Buffer objects to concatenate + * @param totalLength Total length of the buffers when concatenated. + * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. + */ + static concat(list: Buffer[], totalLength?: number): Buffer; + /** + * The same as buf1.compare(buf2). + */ + compare(buf1: Buffer, buf2: Buffer): number; + write(string: string, offset?: number, length?: number, encoding?: string): number; + toString(encoding?: string, start?: number, end?: number): string; + toJSON(): any; + equals(otherBuffer: Buffer): boolean; + compare(otherBuffer: Buffer): number; + copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; + slice(start?: number, end?: number): Buffer; + writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number; + readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number; + readIntLE(offset: number, byteLength: number, noAssert?: boolean): number; + readIntBE(offset: number, byteLength: number, noAssert?: boolean): number; + readUInt8(offset: number, noAssert?: boolean): number; + readUInt16LE(offset: number, noAssert?: boolean): number; + readUInt16BE(offset: number, noAssert?: boolean): number; + readUInt32LE(offset: number, noAssert?: boolean): number; + readUInt32BE(offset: number, noAssert?: boolean): number; + readInt8(offset: number, noAssert?: boolean): number; + readInt16LE(offset: number, noAssert?: boolean): number; + readInt16BE(offset: number, noAssert?: boolean): number; + readInt32LE(offset: number, noAssert?: boolean): number; + readInt32BE(offset: number, noAssert?: boolean): number; + readFloatLE(offset: number, noAssert?: boolean): number; + readFloatBE(offset: number, noAssert?: boolean): number; + readDoubleLE(offset: number, noAssert?: boolean): number; + readDoubleBE(offset: number, noAssert?: boolean): number; + writeUInt8(value: number, offset: number, noAssert?: boolean): number; + writeUInt16LE(value: number, offset: number, noAssert?: boolean): number; + writeUInt16BE(value: number, offset: number, noAssert?: boolean): number; + writeUInt32LE(value: number, offset: number, noAssert?: boolean): number; + writeUInt32BE(value: number, offset: number, noAssert?: boolean): number; + writeInt8(value: number, offset: number, noAssert?: boolean): number; + writeInt16LE(value: number, offset: number, noAssert?: boolean): number; + writeInt16BE(value: number, offset: number, noAssert?: boolean): number; + writeInt32LE(value: number, offset: number, noAssert?: boolean): number; + writeInt32BE(value: number, offset: number, noAssert?: boolean): number; + writeFloatLE(value: number, offset: number, noAssert?: boolean): number; + writeFloatBE(value: number, offset: number, noAssert?: boolean): number; + writeDoubleLE(value: number, offset: number, noAssert?: boolean): number; + writeDoubleBE(value: number, offset: number, noAssert?: boolean): number; + fill(value: any, offset?: number, end?: number): this; + indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; + lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; + swap16(): this; + swap32(): this; + swap64(): this; + includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean; + entries(): IterableIterator<[number, number]>; + keys(): IterableIterator; + values(): IterableIterator; +} /************************************************ * * @@ -247,301 +439,244 @@ declare var Buffer: { * * ************************************************/ declare namespace NodeJS { - export var Console: { - prototype: Console; - new(stdout: WritableStream, stderr?: WritableStream): Console; - } + export interface ErrnoException extends Error { + errno?: number; + code?: string; + path?: string; + syscall?: string; + stack?: string; + } - export interface ErrnoException extends Error { - errno?: number; - code?: string; - path?: string; - syscall?: string; - stack?: string; - } + export interface EventEmitter { + addListener(event: string, listener: Function): this; + on(event: string, listener: Function): this; + once(event: string, listener: Function): this; + prependListener(event: string, listener: Function): this; + prependOnceListener(event: string, listener: Function): this; + removeListener(event: string, listener: Function): this; + removeAllListeners(event?: string): this; + setMaxListeners(n: number): this; + getMaxListeners(): number; + listeners(event: string): Function[]; + emit(event: string, ...args: any[]): boolean; + eventNames(): string[]; + listenerCount(type: string): number; + } - export class EventEmitter { - addListener(event: string | symbol, listener: Function): this; - on(event: string | symbol, listener: Function): this; - once(event: string | symbol, listener: Function): this; - removeListener(event: string | symbol, listener: Function): this; - removeAllListeners(event?: string | symbol): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string | symbol): Function[]; - emit(event: string | symbol, ...args: any[]): boolean; - listenerCount(type: string | symbol): number; - // Added in Node 6... - prependListener(event: string | symbol, listener: Function): this; - prependOnceListener(event: string | symbol, listener: Function): this; - eventNames(): (string | symbol)[]; - } + export interface ReadableStream extends EventEmitter { + readable: boolean; + read(size?: number): string | Buffer; + setEncoding(encoding: string): this; + isPaused(): boolean; + pause(): this; + resume(): this; + pipe(destination: T, options?: { end?: boolean; }): T; + unpipe(destination?: T): void; + unshift(chunk: string): void; + unshift(chunk: Buffer): void; + wrap(oldStream: ReadableStream): ReadableStream; + } - export interface ReadableStream extends EventEmitter { - readable: boolean; - isTTY?: boolean; - read(size?: number): string | Buffer; - setEncoding(encoding: string | null): this; - pause(): this; - resume(): this; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: string): void; - unshift(chunk: Buffer): void; - wrap(oldStream: ReadableStream): ReadableStream; - } + export interface WritableStream extends EventEmitter { + writable: boolean; + setDefaultEncoding(encoding: string): this; + write(buffer: Buffer | string, cb?: Function): boolean; + write(str: string, encoding?: string, cb?: Function): boolean; + end(): void; + end(buffer: Buffer, cb?: Function): void; + end(str: string, cb?: Function): void; + end(str: string, encoding?: string, cb?: Function): void; + } - export interface WritableStream extends EventEmitter { - writable: boolean; - isTTY?: boolean; - write(buffer: Buffer | string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - } + export interface ReadWriteStream extends ReadableStream, WritableStream { } - export interface ReadWriteStream extends ReadableStream, WritableStream { } + export interface Events extends EventEmitter { } - export interface Events extends EventEmitter { } + export interface Domain extends Events { + run(fn: Function): void; + add(emitter: Events): void; + remove(emitter: Events): void; + bind(cb: (err: Error, data: any) => any): any; + intercept(cb: (data: any) => any): any; + dispose(): void; - export interface Domain extends Events { - run(fn: Function): void; - add(emitter: Events): void; - remove(emitter: Events): void; - bind(cb: (err: Error, data: any) => any): any; - intercept(cb: (data: any) => any): any; - dispose(): void; + addListener(event: string, listener: Function): this; + on(event: string, listener: Function): this; + once(event: string, listener: Function): this; + removeListener(event: string, listener: Function): this; + removeAllListeners(event?: string): this; + } - addListener(event: string, listener: Function): this; - on(event: string, listener: Function): this; - once(event: string, listener: Function): this; - removeListener(event: string, listener: Function): this; - removeAllListeners(event?: string): this; - } + export interface MemoryUsage { + rss: number; + heapTotal: number; + heapUsed: number; + } - export interface MemoryUsage { - rss: number; - heapTotal: number; - heapUsed: number; - } + export interface Env { + PATH: string; + [key: string]: string; + } - export interface CpuUsage { - user: number; - system: number; - } + export interface Versions { + http_parser: string; + node: string; + v8: string; + ares: string; + uv: string; + zlib: string; + modules: string; + openssl: string; + } - export interface ProcessVersions { - http_parser: string; - node: string; - v8: string; - ares: string; - uv: string; - zlib: string; - modules: string; - openssl: string; - } + export interface Process extends EventEmitter { + stdout: WritableStream; + stderr: WritableStream; + stdin: ReadableStream; + argv: string[]; + argv0: string; + /** + * The process.execArgv property returns the set of Node.js-specific command-line options passed when the Node.js process was launched. These options do not appear in the array returned by the process.argv property, and do not include the Node.js executable, the name of the script, or any options following the script name. These options are useful in order to spawn child processes with the same execution environment as the parent. + */ + execArgv: string[]; + execPath: string; + abort(): void; + chdir(directory: string): void; + cwd(): string; + env: Env; + exit(code?: number): void; + exitCode?: number; + getgid(): number; + setgid(id: number): void; + setgid(id: string): void; + getuid(): number; + setuid(id: number): void; + setuid(id: string): void; + version: string; + versions: Versions; + config: { + target_defaults: { + cflags: any[]; + default_configuration: string; + defines: string[]; + include_dirs: string[]; + libraries: string[]; + }; + variables: { + clang: number; + host_arch: string; + node_install_npm: boolean; + node_install_waf: boolean; + node_prefix: string; + node_shared_openssl: boolean; + node_shared_v8: boolean; + node_shared_zlib: boolean; + node_use_dtrace: boolean; + node_use_etw: boolean; + node_use_openssl: boolean; + target_arch: string; + v8_no_strict_aliasing: number; + v8_use_snapshot: boolean; + visibility: string; + }; + }; + kill(pid: number, signal?: string | number): void; + pid: number; + title: string; + arch: string; + platform: string; + memoryUsage(): MemoryUsage; + nextTick(callback: Function): void; + umask(mask?: number): number; + uptime(): number; + hrtime(time?: [number, number]): [number, number]; + domain: Domain; - export interface Process extends EventEmitter { - stdout: WritableStream; - stderr: WritableStream; - stdin: ReadableStream; - argv: string[]; - argv0: string; - execArgv: string[]; - execPath: string; - abort(): void; - chdir(directory: string): void; - cwd(): string; - env: any; - exit(code?: number): void; - exitCode: number; - getgid(): number; - setgid(id: number): void; - setgid(id: string): void; - getuid(): number; - setuid(id: number): void; - setuid(id: string): void; - version: string; - versions: ProcessVersions; - config: { - target_defaults: { - cflags: any[]; - default_configuration: string; - defines: string[]; - include_dirs: string[]; - libraries: string[]; - }; - variables: { - clang: number; - host_arch: string; - node_install_npm: boolean; - node_install_waf: boolean; - node_prefix: string; - node_shared_openssl: boolean; - node_shared_v8: boolean; - node_shared_zlib: boolean; - node_use_dtrace: boolean; - node_use_etw: boolean; - node_use_openssl: boolean; - target_arch: string; - v8_no_strict_aliasing: number; - v8_use_snapshot: boolean; - visibility: string; - }; - }; - kill(pid: number, signal?: string | number): void; - pid: number; - title: string; - arch: string; - platform: string; - mainModule?: NodeModule; - memoryUsage(): MemoryUsage; - cpuUsage(previousValue?: CpuUsage): CpuUsage; - nextTick(callback: Function, ...args: any[]): void; - umask(mask?: number): number; - uptime(): number; - hrtime(time?: [number, number]): [number, number]; - domain: Domain; + // Worker + send?(message: any, sendHandle?: any): void; + disconnect(): void; + connected: boolean; + } - // Worker - send?(message: any, sendHandle?: any): void; - disconnect(): void; - connected: boolean; - } + export interface Global { + Array: typeof Array; + ArrayBuffer: typeof ArrayBuffer; + Boolean: typeof Boolean; + Buffer: typeof Buffer; + DataView: typeof DataView; + Date: typeof Date; + Error: typeof Error; + EvalError: typeof EvalError; + Float32Array: typeof Float32Array; + Float64Array: typeof Float64Array; + Function: typeof Function; + GLOBAL: Global; + Infinity: typeof Infinity; + Int16Array: typeof Int16Array; + Int32Array: typeof Int32Array; + Int8Array: typeof Int8Array; + Intl: typeof Intl; + JSON: typeof JSON; + Map: MapConstructor; + Math: typeof Math; + NaN: typeof NaN; + Number: typeof Number; + Object: typeof Object; + Promise: Function; + RangeError: typeof RangeError; + ReferenceError: typeof ReferenceError; + RegExp: typeof RegExp; + Set: SetConstructor; + String: typeof String; + Symbol: Function; + SyntaxError: typeof SyntaxError; + TypeError: typeof TypeError; + URIError: typeof URIError; + Uint16Array: typeof Uint16Array; + Uint32Array: typeof Uint32Array; + Uint8Array: typeof Uint8Array; + Uint8ClampedArray: Function; + WeakMap: WeakMapConstructor; + WeakSet: WeakSetConstructor; + clearImmediate: (immediateId: any) => void; + clearInterval: (intervalId: NodeJS.Timer) => void; + clearTimeout: (timeoutId: NodeJS.Timer) => void; + console: typeof console; + decodeURI: typeof decodeURI; + decodeURIComponent: typeof decodeURIComponent; + encodeURI: typeof encodeURI; + encodeURIComponent: typeof encodeURIComponent; + escape: (str: string) => string; + eval: typeof eval; + global: Global; + isFinite: typeof isFinite; + isNaN: typeof isNaN; + parseFloat: typeof parseFloat; + parseInt: typeof parseInt; + process: Process; + root: Global; + setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => any; + setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; + setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; + undefined: typeof undefined; + unescape: (str: string) => string; + gc: () => void; + v8debug?: any; + } - export interface Global { - Array: typeof Array; - ArrayBuffer: typeof ArrayBuffer; - Boolean: typeof Boolean; - Buffer: typeof Buffer; - DataView: typeof DataView; - Date: typeof Date; - Error: typeof Error; - EvalError: typeof EvalError; - Float32Array: typeof Float32Array; - Float64Array: typeof Float64Array; - Function: typeof Function; - GLOBAL: Global; - Infinity: typeof Infinity; - Int16Array: typeof Int16Array; - Int32Array: typeof Int32Array; - Int8Array: typeof Int8Array; - Intl: typeof Intl; - JSON: typeof JSON; - Map: MapConstructor; - Math: typeof Math; - NaN: typeof NaN; - Number: typeof Number; - Object: typeof Object; - Promise: Function; - RangeError: typeof RangeError; - ReferenceError: typeof ReferenceError; - RegExp: typeof RegExp; - Set: SetConstructor; - String: typeof String; - Symbol: Function; - SyntaxError: typeof SyntaxError; - TypeError: typeof TypeError; - URIError: typeof URIError; - Uint16Array: typeof Uint16Array; - Uint32Array: typeof Uint32Array; - Uint8Array: typeof Uint8Array; - Uint8ClampedArray: Function; - WeakMap: WeakMapConstructor; - WeakSet: WeakSetConstructor; - clearImmediate: (immediateId: any) => void; - clearInterval: (intervalId: NodeJS.Timer) => void; - clearTimeout: (timeoutId: NodeJS.Timer) => void; - console: typeof console; - decodeURI: typeof decodeURI; - decodeURIComponent: typeof decodeURIComponent; - encodeURI: typeof encodeURI; - encodeURIComponent: typeof encodeURIComponent; - escape: (str: string) => string; - eval: typeof eval; - global: Global; - isFinite: typeof isFinite; - isNaN: typeof isNaN; - parseFloat: typeof parseFloat; - parseInt: typeof parseInt; - process: Process; - root: Global; - setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => any; - setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; - setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; - undefined: typeof undefined; - unescape: (str: string) => string; - gc: () => void; - v8debug?: any; - } + export interface Timer { + ref(): void; + unref(): void; + _called: boolean; + _onTimeout: Function; + _timerArgs?: any[]; + } - export interface Timer { - ref(): void; - unref(): void; - } -} - -interface IterableIterator { } - -/** - * @deprecated - */ -interface NodeBuffer extends Uint8Array { - write(string: string, offset?: number, length?: number, encoding?: string): number; - toString(encoding?: string, start?: number, end?: number): string; - toJSON(): { type: 'Buffer', data: any[] }; - equals(otherBuffer: Buffer): boolean; - compare(otherBuffer: Buffer, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number; - copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; - slice(start?: number, end?: number): Buffer; - writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number; - readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number; - readIntLE(offset: number, byteLength: number, noAssert?: boolean): number; - readIntBE(offset: number, byteLength: number, noAssert?: boolean): number; - readUInt8(offset: number, noAssert?: boolean): number; - readUInt16LE(offset: number, noAssert?: boolean): number; - readUInt16BE(offset: number, noAssert?: boolean): number; - readUInt32LE(offset: number, noAssert?: boolean): number; - readUInt32BE(offset: number, noAssert?: boolean): number; - readInt8(offset: number, noAssert?: boolean): number; - readInt16LE(offset: number, noAssert?: boolean): number; - readInt16BE(offset: number, noAssert?: boolean): number; - readInt32LE(offset: number, noAssert?: boolean): number; - readInt32BE(offset: number, noAssert?: boolean): number; - readFloatLE(offset: number, noAssert?: boolean): number; - readFloatBE(offset: number, noAssert?: boolean): number; - readDoubleLE(offset: number, noAssert?: boolean): number; - readDoubleBE(offset: number, noAssert?: boolean): number; - swap16(): Buffer; - swap32(): Buffer; - swap64(): Buffer; - writeUInt8(value: number, offset: number, noAssert?: boolean): number; - writeUInt16LE(value: number, offset: number, noAssert?: boolean): number; - writeUInt16BE(value: number, offset: number, noAssert?: boolean): number; - writeUInt32LE(value: number, offset: number, noAssert?: boolean): number; - writeUInt32BE(value: number, offset: number, noAssert?: boolean): number; - writeInt8(value: number, offset: number, noAssert?: boolean): number; - writeInt16LE(value: number, offset: number, noAssert?: boolean): number; - writeInt16BE(value: number, offset: number, noAssert?: boolean): number; - writeInt32LE(value: number, offset: number, noAssert?: boolean): number; - writeInt32BE(value: number, offset: number, noAssert?: boolean): number; - writeFloatLE(value: number, offset: number, noAssert?: boolean): number; - writeFloatBE(value: number, offset: number, noAssert?: boolean): number; - writeDoubleLE(value: number, offset: number, noAssert?: boolean): number; - writeDoubleBE(value: number, offset: number, noAssert?: boolean): number; - fill(value: any, offset?: number, end?: number): this; - indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; - lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; - entries(): IterableIterator<[number, number]>; - includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean; - keys(): IterableIterator; - values(): IterableIterator; + export interface Immediate { + _argv?: any[]; + _callback: Function; + _onImmediate: Function; + } } /************************************************ @@ -550,3566 +685,3078 @@ interface NodeBuffer extends Uint8Array { * * ************************************************/ declare module "buffer" { - export var INSPECT_MAX_BYTES: number; - var BuffType: typeof Buffer; - var SlowBuffType: typeof SlowBuffer; - export { BuffType as Buffer, SlowBuffType as SlowBuffer }; + export var INSPECT_MAX_BYTES: number; + export var kMaxLength: number; + + export type Encoding = "ascii" | "latin1" | "binary" | "utf8" | "utf-8" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "hex" | "base64"; + + var BuffType: typeof Buffer; + var SlowBuffType: typeof SlowBuffer; + + export { BuffType as Buffer, SlowBuffType as SlowBuffer }; } declare module "querystring" { - export interface StringifyOptions { - encodeURIComponent?: Function; - } + export interface StringifyOptions { + encodeURIComponent?: Function; + } - export interface ParseOptions { - maxKeys?: number; - decodeURIComponent?: Function; - } + export interface ParseOptions { + maxKeys?: number; + decodeURIComponent?: Function; + } - export function stringify(obj: T, sep?: string, eq?: string, options?: StringifyOptions): string; - export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): any; - export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): T; - export function escape(str: string): string; - export function unescape(str: string): string; + export function stringify(obj: T, sep?: string, eq?: string, options?: StringifyOptions): string; + export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): any; + export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): T; + export function escape(str: string): string; + export function unescape(str: string): string; } declare module "events" { - class internal extends NodeJS.EventEmitter { } + export class EventEmitter implements NodeJS.EventEmitter { + static EventEmitter: EventEmitter; + static listenerCount(emitter: EventEmitter, event: string): number; // deprecated + static defaultMaxListeners: number; - namespace internal { - export class EventEmitter extends internal { - static listenerCount(emitter: EventEmitter, event: string | symbol): number; // deprecated - static defaultMaxListeners: number; + addListener(event: string, listener: (...args: any[]) => void): this; + on(event: string, listener: (...args: any[]) => void): this; + once(event: string, listener: (...args: any[]) => void): this; + prependListener(event: string, listener: (...args: any[]) => void): this; + prependOnceListener(event: string, listener: (...args: any[]) => void): this; + removeListener(event: string, listener: (...args: any[]) => void): this; + removeAllListeners(event?: string): this; + setMaxListeners(n: number): this; + getMaxListeners(): number; + listeners(event: string): Array<(...args: any[]) => void>; + listenerCount(event: string): number; + emit(event: string, ...args: any[]): boolean; + eventNames(): string[]; + } - addListener(event: string | symbol, listener: Function): this; - on(event: string | symbol, listener: Function): this; - once(event: string | symbol, listener: Function): this; - prependListener(event: string | symbol, listener: Function): this; - prependOnceListener(event: string | symbol, listener: Function): this; - removeListener(event: string | symbol, listener: Function): this; - removeAllListeners(event?: string | symbol): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string | symbol): Function[]; - emit(event: string | symbol, ...args: any[]): boolean; - eventNames(): (string | symbol)[]; - listenerCount(type: string | symbol): number; - } - } - - export = internal; + export interface Listener { + on(event: E, listener: L): this; + once(event: E, listener: L): this; + addListener(event: E, listener: L): this; + removeListener(event: E, listener: L): this; + listeners(event: E): L[]; + } } declare module "http" { - import * as events from "events"; - import * as net from "net"; - import * as stream from "stream"; + import * as events from "events"; + import * as net from "net"; + import * as stream from "stream"; - export interface RequestOptions { - protocol?: string; - host?: string; - hostname?: string; - family?: number; - port?: number; - localAddress?: string; - socketPath?: string; - method?: string; - path?: string; - headers?: { [key: string]: any }; - auth?: string; - agent?: Agent | boolean; - } + export interface OutgoingHeaders { + [header: string]: number | string | string[]; + } - export interface Server extends net.Server { - setTimeout(msecs: number, callback: Function): void; - maxHeadersCount: number; - timeout: number; - listening: boolean; - } + export interface IncomingHeaders { + [header: string]: string | string[]; + } + + export interface RequestOptions { + protocol?: string; + host?: string; + hostname?: string; + family?: number; + port?: number | string; + localAddress?: string; + socketPath?: string; + method?: string; + path?: string; + headers?: OutgoingHeaders; + auth?: string; + agent?: Agent | boolean; + } + + export class Server extends net.Server { + setTimeout(msecs: number, callback: Function): void; + maxHeadersCount: number; + timeout: number; + listening: boolean; + } + + export class ServerResponse extends stream.Writable { + finished: boolean; + headersSent: boolean; + statusCode: number; + statusMessage: string; + sendDate: boolean; + + // Extended base methods + write(buffer: Buffer): boolean; + write(buffer: Buffer, cb?: Function): boolean; + write(str: string, cb?: Function): boolean; + write(str: string, encoding?: string, cb?: Function): boolean; + write(str: string, encoding?: string, fd?: string): boolean; + + writeContinue(): void; + writeHead(statusCode: number, statusText?: string, headers?: OutgoingHeaders): void; + writeHead(statusCode: number, headers?: OutgoingHeaders): void; + setHeader(name: string, value: string | string[]): void; + setTimeout(msecs: number, callback: () => void): this; + getHeader(name: string): string; + removeHeader(name: string): void; + write(chunk: any, encoding?: string): any; + addTrailers(headers: OutgoingHeaders): void; + + // Extended base methods + end(): void; + end(buffer: Buffer, cb?: Function): void; + end(str: string, cb?: Function): void; + end(str: string, encoding?: string, cb?: Function): void; + } + + export class ClientRequest extends stream.Writable { + // Extended base methods + write(buffer: Buffer): boolean; + write(buffer: Buffer, cb?: Function): boolean; + write(str: string, cb?: Function): boolean; + write(str: string, encoding?: string, cb?: Function): boolean; + write(str: string, encoding?: string, fd?: string): boolean; + + write(chunk: any, encoding?: string): void; + abort(): void; + setTimeout(timeout: number, callback?: Function): void; + setNoDelay(noDelay?: boolean): void; + setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; + + setHeader(name: string, value: string | string[]): void; + getHeader(name: string): string; + removeHeader(name: string): void; + addTrailers(headers: any): void; + + // Extended base methods + end(): void; + end(buffer: Buffer, cb?: Function): void; + end(str: string, cb?: Function): void; + end(str: string, encoding?: string, cb?: Function): void; + end(data?: any, encoding?: string): void; + } + + export class IncomingMessage extends stream.Readable { + httpVersion: string; + headers: IncomingHeaders; + rawHeaders: string[]; + trailers: IncomingHeaders; + rawTrailers: string[]; + setTimeout(msecs: number, callback: Function): NodeJS.Timer; + destroy(error?: Error): void; /** - * @deprecated Use IncomingMessage + * Only valid for request obtained from http.Server. */ - export interface ServerRequest extends IncomingMessage { - connection: net.Socket; - } - export interface ServerResponse extends stream.Writable { - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; - - writeContinue(): void; - writeHead(statusCode: number, reasonPhrase?: string, headers?: any): void; - writeHead(statusCode: number, headers?: any): void; - statusCode: number; - statusMessage: string; - headersSent: boolean; - setHeader(name: string, value: string | string[]): void; - setTimeout(msecs: number, callback: Function): ServerResponse; - sendDate: boolean; - getHeader(name: string): string; - removeHeader(name: string): void; - write(chunk: any, encoding?: string): any; - addTrailers(headers: any): void; - finished: boolean; - - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; - } - export interface ClientRequest extends stream.Writable { - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; - - write(chunk: any, encoding?: string): void; - abort(): void; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; - - setHeader(name: string, value: string | string[]): void; - getHeader(name: string): string; - removeHeader(name: string): void; - addTrailers(headers: any): void; - - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; - } - export interface IncomingMessage extends stream.Readable { - httpVersion: string; - httpVersionMajor: number; - httpVersionMinor: number; - connection: net.Socket; - headers: any; - rawHeaders: string[]; - trailers: any; - rawTrailers: any; - setTimeout(msecs: number, callback: Function): NodeJS.Timer; - /** - * Only valid for request obtained from http.Server. - */ - method?: string; - /** - * Only valid for request obtained from http.Server. - */ - url?: string; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusCode?: number; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusMessage?: string; - socket: net.Socket; - destroy(error?: Error): void; - } + method?: string; /** - * @deprecated Use IncomingMessage + * Only valid for request obtained from http.Server. */ - export interface ClientResponse extends IncomingMessage { } + url?: string; + /** + * Only valid for response obtained from http.ClientRequest. + */ + statusCode?: number; + /** + * Only valid for response obtained from http.ClientRequest. + */ + statusMessage?: string; + socket: net.Socket; + } - export interface AgentOptions { - /** - * Keep sockets around in a pool to be used by other requests in the future. Default = false - */ - keepAlive?: boolean; - /** - * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. - * Only relevant if keepAlive is set to true. - */ - keepAliveMsecs?: number; - /** - * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity - */ - maxSockets?: number; - /** - * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. - */ - maxFreeSockets?: number; - } + export interface AgentOptions { + /** + * Keep sockets around in a pool to be used by other requests in the future. Default = false + */ + keepAlive?: boolean; + /** + * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. + * Only relevant if keepAlive is set to true. + */ + keepAliveMsecs?: number; + /** + * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity + */ + maxSockets?: number; + /** + * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. + */ + maxFreeSockets?: number; + } - export class Agent { - maxSockets: number; - sockets: any; - requests: any; + export class Agent { + maxSockets: number; + sockets: any; + requests: any; - constructor(opts?: AgentOptions); + constructor(opts?: AgentOptions); - /** - * Destroy any sockets that are currently in use by the agent. - * It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled, - * then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise, - * sockets may hang open for quite a long time before the server terminates them. - */ - destroy(): void; - } + /** + * Destroy any sockets that are currently in use by the agent. + * It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled, + * then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise, + * sockets may hang open for quite a long time before the server terminates them. + */ + destroy(): void; + } - export var METHODS: string[]; + export var METHODS: string[]; - export var STATUS_CODES: { - [errorCode: number]: string; - [errorCode: string]: string; - }; - export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) => void): Server; - export function createClient(port?: number, host?: string): any; - export function request(options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - export function get(options: any, callback?: (res: IncomingMessage) => void): ClientRequest; - export var globalAgent: Agent; + export var STATUS_CODES: { + [errorCode: number]: string; + [errorCode: string]: string; + }; + + export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) => void): Server; + export function createClient(port?: number, host?: string): any; + export function request(options: string | RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; + export function get(options: string | RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; + export var globalAgent: Agent; } declare module "cluster" { - import * as child from "child_process"; - import * as events from "events"; - import * as net from "net"; + import * as child from "child_process"; + import * as events from "events"; - // interfaces - export interface ClusterSettings { - execArgv?: string[]; // default: process.execArgv - exec?: string; - args?: string[]; - silent?: boolean; - stdio?: any[]; - uid?: number; - gid?: number; - } + export interface ClusterSettings { + exec?: string; + args?: string[]; + silent?: boolean; + } - export interface ClusterSetupMasterSettings { - exec?: string; // default: process.argv[1] - args?: string[]; // default: process.argv.slice(2) - silent?: boolean; // default: false - stdio?: any[]; - } + export interface Address { + address: string; + port: number; + addressType: string; + } - export interface Address { - address: string; - port: number; - addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6" - } + export class Worker extends events.EventEmitter { + id: string; + process: child.ChildProcess; + suicide: boolean; + send(message: any, sendHandle?: any): boolean; + kill(signal?: string): void; + destroy(signal?: string): void; + disconnect(): void; + isConnected(): boolean; + isDead(): boolean; + } - export class Worker extends events.EventEmitter { - id: string; - process: child.ChildProcess; - suicide: boolean; - send(message: any, sendHandle?: any): boolean; - kill(signal?: string): void; - destroy(signal?: string): void; - disconnect(): void; - isConnected(): boolean; - isDead(): boolean; - exitedAfterDisconnect: boolean; + export var settings: ClusterSettings; + export var isMaster: boolean; + export var isWorker: boolean; + export function setupMaster(settings?: ClusterSettings): void; + export function fork(env?: any): Worker; + export function disconnect(callback?: Function): void; + export var worker: Worker; + export var workers: { + [index: string]: Worker + }; - /** - * events.EventEmitter - * 1. disconnect - * 2. error - * 3. exit - * 4. listening - * 5. message - * 6. online - */ - addListener(event: string, listener: Function): this; - addListener(event: "disconnect", listener: () => void): this; - addListener(event: "error", listener: (code: number, signal: string) => void): this; - addListener(event: "exit", listener: (code: number, signal: string) => void): this; - addListener(event: "listening", listener: (address: Address) => void): this; - addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - addListener(event: "online", listener: () => void): this; - - emit(event: string, listener: Function): boolean - emit(event: "disconnect", listener: () => void): boolean - emit(event: "error", listener: (code: number, signal: string) => void): boolean - emit(event: "exit", listener: (code: number, signal: string) => void): boolean - emit(event: "listening", listener: (address: Address) => void): boolean - emit(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): boolean - emit(event: "online", listener: () => void): boolean - - on(event: string, listener: Function): this; - on(event: "disconnect", listener: () => void): this; - on(event: "error", listener: (code: number, signal: string) => void): this; - on(event: "exit", listener: (code: number, signal: string) => void): this; - on(event: "listening", listener: (address: Address) => void): this; - on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - on(event: "online", listener: () => void): this; - - once(event: string, listener: Function): this; - once(event: "disconnect", listener: () => void): this; - once(event: "error", listener: (code: number, signal: string) => void): this; - once(event: "exit", listener: (code: number, signal: string) => void): this; - once(event: "listening", listener: (address: Address) => void): this; - once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - once(event: "online", listener: () => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "disconnect", listener: () => void): this; - prependListener(event: "error", listener: (code: number, signal: string) => void): this; - prependListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependListener(event: "listening", listener: (address: Address) => void): this; - prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependListener(event: "online", listener: () => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "disconnect", listener: () => void): this; - prependOnceListener(event: "error", listener: (code: number, signal: string) => void): this; - prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependOnceListener(event: "listening", listener: (address: Address) => void): this; - prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependOnceListener(event: "online", listener: () => void): this; - } - - export interface Cluster extends events.EventEmitter { - Worker: Worker; - disconnect(callback?: Function): void; - fork(env?: any): Worker; - isMaster: boolean; - isWorker: boolean; - // TODO: cluster.schedulingPolicy - settings: ClusterSettings; - setupMaster(settings?: ClusterSetupMasterSettings): void; - worker: Worker; - workers: { - [index: string]: Worker - }; - - /** - * events.EventEmitter - * 1. disconnect - * 2. exit - * 3. fork - * 4. listening - * 5. message - * 6. online - * 7. setup - */ - addListener(event: string, listener: Function): this; - addListener(event: "disconnect", listener: (worker: Worker) => void): this; - addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - addListener(event: "fork", listener: (worker: Worker) => void): this; - addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - addListener(event: "online", listener: (worker: Worker) => void): this; - addListener(event: "setup", listener: (settings: any) => void): this; - - emit(event: string, listener: Function): boolean; - emit(event: "disconnect", listener: (worker: Worker) => void): boolean; - emit(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): boolean; - emit(event: "fork", listener: (worker: Worker) => void): boolean; - emit(event: "listening", listener: (worker: Worker, address: Address) => void): boolean; - emit(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): boolean; - emit(event: "online", listener: (worker: Worker) => void): boolean; - emit(event: "setup", listener: (settings: any) => void): boolean; - - on(event: string, listener: Function): this; - on(event: "disconnect", listener: (worker: Worker) => void): this; - on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - on(event: "fork", listener: (worker: Worker) => void): this; - on(event: "listening", listener: (worker: Worker, address: Address) => void): this; - on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - on(event: "online", listener: (worker: Worker) => void): this; - on(event: "setup", listener: (settings: any) => void): this; - - once(event: string, listener: Function): this; - once(event: "disconnect", listener: (worker: Worker) => void): this; - once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - once(event: "fork", listener: (worker: Worker) => void): this; - once(event: "listening", listener: (worker: Worker, address: Address) => void): this; - once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - once(event: "online", listener: (worker: Worker) => void): this; - once(event: "setup", listener: (settings: any) => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "disconnect", listener: (worker: Worker) => void): this; - prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - prependListener(event: "fork", listener: (worker: Worker) => void): this; - prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependListener(event: "online", listener: (worker: Worker) => void): this; - prependListener(event: "setup", listener: (settings: any) => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this; - prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - prependOnceListener(event: "fork", listener: (worker: Worker) => void): this; - prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependOnceListener(event: "online", listener: (worker: Worker) => void): this; - prependOnceListener(event: "setup", listener: (settings: any) => void): this; - - } - - export function disconnect(callback?: Function): void; - export function fork(env?: any): Worker; - export var isMaster: boolean; - export var isWorker: boolean; - // TODO: cluster.schedulingPolicy - export var settings: ClusterSettings; - export function setupMaster(settings?: ClusterSetupMasterSettings): void; - export var worker: Worker; - export var workers: { - [index: string]: Worker - }; - - /** - * events.EventEmitter - * 1. disconnect - * 2. exit - * 3. fork - * 4. listening - * 5. message - * 6. online - * 7. setup - */ - export function addListener(event: string, listener: Function): Cluster; - export function addListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; - export function addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - export function addListener(event: "fork", listener: (worker: Worker) => void): Cluster; - export function addListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - export function addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. - export function addListener(event: "online", listener: (worker: Worker) => void): Cluster; - export function addListener(event: "setup", listener: (settings: any) => void): Cluster; - - export function emit(event: string, listener: Function): boolean; - export function emit(event: "disconnect", listener: (worker: Worker) => void): boolean; - export function emit(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): boolean; - export function emit(event: "fork", listener: (worker: Worker) => void): boolean; - export function emit(event: "listening", listener: (worker: Worker, address: Address) => void): boolean; - export function emit(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): boolean; - export function emit(event: "online", listener: (worker: Worker) => void): boolean; - export function emit(event: "setup", listener: (settings: any) => void): boolean; - - export function on(event: string, listener: Function): Cluster; - export function on(event: "disconnect", listener: (worker: Worker) => void): Cluster; - export function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - export function on(event: "fork", listener: (worker: Worker) => void): Cluster; - export function on(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - export function on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. - export function on(event: "online", listener: (worker: Worker) => void): Cluster; - export function on(event: "setup", listener: (settings: any) => void): Cluster; - - export function once(event: string, listener: Function): Cluster; - export function once(event: "disconnect", listener: (worker: Worker) => void): Cluster; - export function once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - export function once(event: "fork", listener: (worker: Worker) => void): Cluster; - export function once(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - export function once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. - export function once(event: "online", listener: (worker: Worker) => void): Cluster; - export function once(event: "setup", listener: (settings: any) => void): Cluster; - - export function removeListener(event: string, listener: Function): Cluster; - export function removeAllListeners(event?: string): Cluster; - export function setMaxListeners(n: number): Cluster; - export function getMaxListeners(): number; - export function listeners(event: string): Function[]; - export function listenerCount(type: string): number; - - export function prependListener(event: string, listener: Function): Cluster; - export function prependListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; - export function prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - export function prependListener(event: "fork", listener: (worker: Worker) => void): Cluster; - export function prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - export function prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. - export function prependListener(event: "online", listener: (worker: Worker) => void): Cluster; - export function prependListener(event: "setup", listener: (settings: any) => void): Cluster; - - export function prependOnceListener(event: string, listener: Function): Cluster; - export function prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; - export function prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - export function prependOnceListener(event: "fork", listener: (worker: Worker) => void): Cluster; - export function prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - export function prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. - export function prependOnceListener(event: "online", listener: (worker: Worker) => void): Cluster; - export function prependOnceListener(event: "setup", listener: (settings: any) => void): Cluster; - - export function eventNames(): string[]; + // Event emitter + export function addListener(event: string, listener: Function): void; + export function on(event: "disconnect", listener: (worker: Worker) => void): void; + export function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): void; + export function on(event: "fork", listener: (worker: Worker) => void): void; + export function on(event: "listening", listener: (worker: Worker, address: any) => void): void; + export function on(event: "message", listener: (worker: Worker, message: any) => void): void; + export function on(event: "online", listener: (worker: Worker) => void): void; + export function on(event: "setup", listener: (settings: any) => void): void; + export function on(event: string, listener: Function): any; + export function once(event: string, listener: Function): void; + export function removeListener(event: string, listener: Function): void; + export function removeAllListeners(event?: string): void; + export function setMaxListeners(n: number): void; + export function listeners(event: string): Function[]; + export function emit(event: string, ...args: any[]): boolean; } declare module "zlib" { - import * as stream from "stream"; - export interface ZlibOptions { chunkSize?: number; windowBits?: number; level?: number; memLevel?: number; strategy?: number; dictionary?: any; finishFlush?: number } + import * as stream from "stream"; - export interface Gzip extends stream.Transform { } - export interface Gunzip extends stream.Transform { } - export interface Deflate extends stream.Transform { } - export interface Inflate extends stream.Transform { } - export interface DeflateRaw extends stream.Transform { } - export interface InflateRaw extends stream.Transform { } - export interface Unzip extends stream.Transform { } + export interface ZlibOptions { chunkSize?: number; windowBits?: number; level?: number; memLevel?: number; strategy?: number; dictionary?: any; } + export interface ZlibCallback { (error: Error, result: any): void } - export function createGzip(options?: ZlibOptions): Gzip; - export function createGunzip(options?: ZlibOptions): Gunzip; - export function createDeflate(options?: ZlibOptions): Deflate; - export function createInflate(options?: ZlibOptions): Inflate; - export function createDeflateRaw(options?: ZlibOptions): DeflateRaw; - export function createInflateRaw(options?: ZlibOptions): InflateRaw; - export function createUnzip(options?: ZlibOptions): Unzip; + export interface Gzip extends stream.Transform { } + export interface Gunzip extends stream.Transform { } + export interface Deflate extends stream.Transform { } + export interface Inflate extends stream.Transform { } + export interface DeflateRaw extends stream.Transform { } + export interface InflateRaw extends stream.Transform { } + export interface Unzip extends stream.Transform { } - export function deflate(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void; - export function deflateSync(buf: Buffer | string, options?: ZlibOptions): Buffer; - export function deflateRaw(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void; - export function deflateRawSync(buf: Buffer | string, options?: ZlibOptions): Buffer; - export function gzip(buf: Buffer, callback: (error: Error, result: Buffer) => void): void; - export function gzipSync(buf: Buffer, options?: ZlibOptions): Buffer; - export function gunzip(buf: Buffer, callback: (error: Error, result: Buffer) => void): void; - export function gunzipSync(buf: Buffer, options?: ZlibOptions): Buffer; - export function inflate(buf: Buffer, callback: (error: Error, result: Buffer) => void): void; - export function inflateSync(buf: Buffer, options?: ZlibOptions): Buffer; - export function inflateRaw(buf: Buffer, callback: (error: Error, result: Buffer) => void): void; - export function inflateRawSync(buf: Buffer, options?: ZlibOptions): Buffer; - export function unzip(buf: Buffer, callback: (error: Error, result: Buffer) => void): void; - export function unzipSync(buf: Buffer, options?: ZlibOptions): Buffer; + export function createGzip(options?: ZlibOptions): Gzip; + export function createGunzip(options?: ZlibOptions): Gunzip; + export function createDeflate(options?: ZlibOptions): Deflate; + export function createInflate(options?: ZlibOptions): Inflate; + export function createDeflateRaw(options?: ZlibOptions): DeflateRaw; + export function createInflateRaw(options?: ZlibOptions): InflateRaw; + export function createUnzip(options?: ZlibOptions): Unzip; - // Constants - export var Z_NO_FLUSH: number; - export var Z_PARTIAL_FLUSH: number; - export var Z_SYNC_FLUSH: number; - export var Z_FULL_FLUSH: number; - export var Z_FINISH: number; - export var Z_BLOCK: number; - export var Z_TREES: number; - export var Z_OK: number; - export var Z_STREAM_END: number; - export var Z_NEED_DICT: number; - export var Z_ERRNO: number; - export var Z_STREAM_ERROR: number; - export var Z_DATA_ERROR: number; - export var Z_MEM_ERROR: number; - export var Z_BUF_ERROR: number; - export var Z_VERSION_ERROR: number; - export var Z_NO_COMPRESSION: number; - export var Z_BEST_SPEED: number; - export var Z_BEST_COMPRESSION: number; - export var Z_DEFAULT_COMPRESSION: number; - export var Z_FILTERED: number; - export var Z_HUFFMAN_ONLY: number; - export var Z_RLE: number; - export var Z_FIXED: number; - export var Z_DEFAULT_STRATEGY: number; - export var Z_BINARY: number; - export var Z_TEXT: number; - export var Z_ASCII: number; - export var Z_UNKNOWN: number; - export var Z_DEFLATED: number; - export var Z_NULL: number; + export function deflate(buf: Buffer | string, callback?: ZlibCallback): void; + export function deflate(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; + export function deflateSync(buf: Buffer | string, options?: ZlibOptions): any; + export function deflateRaw(buf: Buffer | string, callback?: ZlibCallback): void; + export function deflateRaw(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; + export function deflateRawSync(buf: Buffer | string, options?: ZlibOptions): any; + export function gzip(buf: Buffer | string, callback?: ZlibCallback): void; + export function gzip(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; + export function gzipSync(buf: Buffer | string, options?: ZlibOptions): any; + export function gunzip(buf: Buffer | string, callback?: ZlibCallback): void; + export function gunzip(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; + export function gunzipSync(buf: Buffer | string, options?: ZlibOptions): any; + export function inflate(buf: Buffer | string, callback?: ZlibCallback): void; + export function inflate(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; + export function inflateSync(buf: Buffer | string, options?: ZlibOptions): any; + export function inflateRaw(buf: Buffer | string, callback?: ZlibCallback): void; + export function inflateRaw(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; + export function inflateRawSync(buf: Buffer | string, options?: ZlibOptions): any; + export function unzip(buf: Buffer | string, callback?: ZlibCallback): void; + export function unzip(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; + export function unzipSync(buf: Buffer | string, options?: ZlibOptions): any; + + // Constants + export var Z_NO_FLUSH: number; + export var Z_PARTIAL_FLUSH: number; + export var Z_SYNC_FLUSH: number; + export var Z_FULL_FLUSH: number; + export var Z_FINISH: number; + export var Z_BLOCK: number; + export var Z_TREES: number; + export var Z_OK: number; + export var Z_STREAM_END: number; + export var Z_NEED_DICT: number; + export var Z_ERRNO: number; + export var Z_STREAM_ERROR: number; + export var Z_DATA_ERROR: number; + export var Z_MEM_ERROR: number; + export var Z_BUF_ERROR: number; + export var Z_VERSION_ERROR: number; + export var Z_NO_COMPRESSION: number; + export var Z_BEST_SPEED: number; + export var Z_BEST_COMPRESSION: number; + export var Z_DEFAULT_COMPRESSION: number; + export var Z_FILTERED: number; + export var Z_HUFFMAN_ONLY: number; + export var Z_RLE: number; + export var Z_FIXED: number; + export var Z_DEFAULT_STRATEGY: number; + export var Z_BINARY: number; + export var Z_TEXT: number; + export var Z_ASCII: number; + export var Z_UNKNOWN: number; + export var Z_DEFLATED: number; + export var Z_NULL: number; } declare module "os" { - export interface CpuInfo { - model: string; - speed: number; - times: { - user: number; - nice: number; - sys: number; - idle: number; - irq: number; - }; - } - - export interface NetworkInterfaceInfo { - address: string; - netmask: string; - family: string; - mac: string; - internal: boolean; - } - - export function hostname(): string; - export function loadavg(): number[]; - export function uptime(): number; - export function freemem(): number; - export function totalmem(): number; - export function cpus(): CpuInfo[]; - export function type(): string; - export function release(): string; - export function networkInterfaces(): { [index: string]: NetworkInterfaceInfo[] }; - export function homedir(): string; - export function userInfo(options?: { encoding: string }): { username: string, uid: number, gid: number, shell: any, homedir: string } - export var constants: { - UV_UDP_REUSEADDR: number, - errno: { - SIGHUP: number; - SIGINT: number; - SIGQUIT: number; - SIGILL: number; - SIGTRAP: number; - SIGABRT: number; - SIGIOT: number; - SIGBUS: number; - SIGFPE: number; - SIGKILL: number; - SIGUSR1: number; - SIGSEGV: number; - SIGUSR2: number; - SIGPIPE: number; - SIGALRM: number; - SIGTERM: number; - SIGCHLD: number; - SIGSTKFLT: number; - SIGCONT: number; - SIGSTOP: number; - SIGTSTP: number; - SIGTTIN: number; - SIGTTOU: number; - SIGURG: number; - SIGXCPU: number; - SIGXFSZ: number; - SIGVTALRM: number; - SIGPROF: number; - SIGWINCH: number; - SIGIO: number; - SIGPOLL: number; - SIGPWR: number; - SIGSYS: number; - SIGUNUSED: number; - }, - signals: { - E2BIG: number; - EACCES: number; - EADDRINUSE: number; - EADDRNOTAVAIL: number; - EAFNOSUPPORT: number; - EAGAIN: number; - EALREADY: number; - EBADF: number; - EBADMSG: number; - EBUSY: number; - ECANCELED: number; - ECHILD: number; - ECONNABORTED: number; - ECONNREFUSED: number; - ECONNRESET: number; - EDEADLK: number; - EDESTADDRREQ: number; - EDOM: number; - EDQUOT: number; - EEXIST: number; - EFAULT: number; - EFBIG: number; - EHOSTUNREACH: number; - EIDRM: number; - EILSEQ: number; - EINPROGRESS: number; - EINTR: number; - EINVAL: number; - EIO: number; - EISCONN: number; - EISDIR: number; - ELOOP: number; - EMFILE: number; - EMLINK: number; - EMSGSIZE: number; - EMULTIHOP: number; - ENAMETOOLONG: number; - ENETDOWN: number; - ENETRESET: number; - ENETUNREACH: number; - ENFILE: number; - ENOBUFS: number; - ENODATA: number; - ENODEV: number; - ENOENT: number; - ENOEXEC: number; - ENOLCK: number; - ENOLINK: number; - ENOMEM: number; - ENOMSG: number; - ENOPROTOOPT: number; - ENOSPC: number; - ENOSR: number; - ENOSTR: number; - ENOSYS: number; - ENOTCONN: number; - ENOTDIR: number; - ENOTEMPTY: number; - ENOTSOCK: number; - ENOTSUP: number; - ENOTTY: number; - ENXIO: number; - EOPNOTSUPP: number; - EOVERFLOW: number; - EPERM: number; - EPIPE: number; - EPROTO: number; - EPROTONOSUPPORT: number; - EPROTOTYPE: number; - ERANGE: number; - EROFS: number; - ESPIPE: number; - ESRCH: number; - ESTALE: number; - ETIME: number; - ETIMEDOUT: number; - ETXTBSY: number; - EWOULDBLOCK: number; - EXDEV: number; - }, + export interface CpuInfo { + model: string; + speed: number; + times: { + user: number; + nice: number; + sys: number; + idle: number; + irq: number; }; - export function arch(): string; - export function platform(): string; - export function tmpdir(): string; - export var EOL: string; - export function endianness(): "BE" | "LE"; + } + + export interface NetworkInterfaceInfo { + address: string; + netmask: string; + family: string; + mac: string; + internal: boolean; + } + + export function tmpdir(): string; + export function homedir(): string; + export function endianness(): "BE" | "LE"; + export function hostname(): string; + export function type(): string; + export function platform(): string; + export function arch(): string; + export function release(): string; + export function uptime(): number; + export function loadavg(): number[]; + export function totalmem(): number; + export function freemem(): number; + export function cpus(): CpuInfo[]; + export function networkInterfaces(): { [index: string]: NetworkInterfaceInfo[] }; + export function userInfo(options?: { encoding: 'buffer' }): { username: Buffer, uid: number, gid: number, shell: Buffer | null, homedir: Buffer } + export function userInfo(options?: { encoding: string }): { username: string, uid: number, gid: number, shell: string | null, homedir: string } + export var EOL: string; } declare module "https" { - import * as tls from "tls"; - import * as events from "events"; - import * as http from "http"; + import * as tls from "tls"; + import * as events from "events"; + import * as http from "http"; - export interface ServerOptions { - pfx?: any; - key?: any; - passphrase?: string; - cert?: any; - ca?: any; - crl?: any; - ciphers?: string; - honorCipherOrder?: boolean; - requestCert?: boolean; - rejectUnauthorized?: boolean; - NPNProtocols?: any; - SNICallback?: (servername: string, cb: (err: Error, ctx: tls.SecureContext) => any) => any; - } + export interface ServerOptions { + pfx?: any; + key?: any; + passphrase?: string; + cert?: any; + ca?: any; + crl?: any; + ciphers?: string; + honorCipherOrder?: boolean; + requestCert?: boolean; + rejectUnauthorized?: boolean; + NPNProtocols?: any; + SNICallback?: (servername: string) => any; + } - export interface RequestOptions extends http.RequestOptions { - pfx?: any; - key?: any; - passphrase?: string; - cert?: any; - ca?: any; - ciphers?: string; - rejectUnauthorized?: boolean; - secureProtocol?: string; - } + export interface RequestOptions extends http.RequestOptions { + pfx?: string | Buffer; + key?: string | Buffer; + passphrase?: string; + cert?: string | Buffer; + ca?: string | Buffer | string[] | Buffer[]; + ciphers?: string; + rejectUnauthorized?: boolean; + secureProtocol?: string; + } - export interface Agent extends http.Agent { } + export interface AgentOptions extends http.AgentOptions { + /** + * Certificate, Private key and CA certificates to use for SSL. Default `null`. + */ + pfx?: string | Buffer; + /** + * Private key to use for SSL. Default `null`. + */ + key?: string | Buffer | string[] | Buffer[]; + /** + * A string of passphrase for the private key or pfx. Default `null`. + */ + passphrase?: string; + /** + * Public x509 certificate to use. Default `null`. + */ + cert?: string | Buffer | string[] | Buffer[]; + /** + * A string, `Buffer`, array of strings, or array of `Buffer`s of trusted certificates in PEM format. If this is omitted several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections. + */ + ca?: string | Buffer | string[] | Buffer[]; + /** + * A string describing the ciphers to use or exclude. Consult https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT for details on the format. + */ + ciphers?: string; + /** + * If `true`, the server certificate is verified against the list of supplied CAs. An `'error'` event is emitted if verification fails. Verification happens at the connection level, before the HTTP request is sent. Default `true`. + */ + rejectUnauthorized?: boolean; + /** + * Servername for SNI (Server Name Indication) TLS extension. + */ + servername?: string; + /** + * The SSL method to use, e.g. `SSLv3_method` to force SSL version 3. The possible values depend on your installation of OpenSSL and are defined in the constant SSL_METHODS. + */ + secureProtocol?: string; + maxCachedSessions?: number; + } - export interface AgentOptions extends http.AgentOptions { - pfx?: any; - key?: any; - passphrase?: string; - cert?: any; - ca?: any; - ciphers?: string; - rejectUnauthorized?: boolean; - secureProtocol?: string; - maxCachedSessions?: number; - } + export class Agent extends http.Agent { + constructor(options?: AgentOptions); + } - export var Agent: { - new (options?: AgentOptions): Agent; - }; - export interface Server extends tls.Server { } - export function createServer(options: ServerOptions, requestListener?: Function): Server; - export function request(options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - export function get(options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - export var globalAgent: Agent; + export class Server extends tls.Server { } + + export function createServer(options: ServerOptions, requestListener?: Function): Server; + export function request(options: string | RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; + export function get(options: string | RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; + export var globalAgent: Agent; } declare module "punycode" { - export function decode(string: string): string; - export function encode(string: string): string; - export function toUnicode(domain: string): string; - export function toASCII(domain: string): string; - export var ucs2: ucs2; - interface ucs2 { - decode(string: string): number[]; - encode(codePoints: number[]): string; - } - export var version: any; + export function decode(string: string): string; + export function encode(string: string): string; + export function toUnicode(domain: string): string; + export function toASCII(domain: string): string; + export var ucs2: ucs2; + interface ucs2 { + decode(string: string): number[]; + encode(codePoints: number[]): string; + } + export var version: any; } declare module "repl" { - import * as stream from "stream"; - import * as readline from "readline"; + import { EventEmitter } from "events"; + import { Interface } from "readline"; - export interface ReplOptions { - prompt?: string; - input?: NodeJS.ReadableStream; - output?: NodeJS.WritableStream; - terminal?: boolean; - eval?: Function; - useColors?: boolean; - useGlobal?: boolean; - ignoreUndefined?: boolean; - writer?: Function; - completer?: Function; - replMode?: any; - breakEvalOnSigint?: any; - } + export interface ReplOptions { + prompt?: string; + input?: NodeJS.ReadableStream; + output?: NodeJS.WritableStream; + terminal?: boolean; + eval?: Function; + useColors?: boolean; + useGlobal?: boolean; + ignoreUndefined?: boolean; + writer?: Function; + completer?: Function; + replMode?: symbol; + breakEvalOnSigint?: boolean; + } - export interface REPLServer extends readline.ReadLine { - defineCommand(keyword: string, cmd: Function | { help: string, action: Function }): void; - displayPrompt(preserveCursor?: boolean): void; + export function start(options: ReplOptions): REPLServer; - /** - * events.EventEmitter - * 1. exit - * 2. reset - **/ + export type REPLCommand = (this: REPLServer, rest: string) => void; - addListener(event: string, listener: Function): this; - addListener(event: "exit", listener: () => void): this; - addListener(event: "reset", listener: Function): this; + export class REPLServer extends Interface { + inputStream: NodeJS.ReadableStream; + outputStream: NodeJS.WritableStream; + useColors: boolean; + commands: { + [command: string]: REPLCommand; + }; + defineCommand(keyword: string, cmd: REPLCommand | { help: string, action: REPLCommand }): void; + displayPrompt(preserveCursor?: boolean): void; + setPrompt(prompt: string): void; + turnOffEditorMode(): void; + } - emit(event: string, ...args: any[]): boolean; - emit(event: "exit"): boolean; - emit(event: "reset", context: any): boolean; - - on(event: string, listener: Function): this; - on(event: "exit", listener: () => void): this; - on(event: "reset", listener: Function): this; - - once(event: string, listener: Function): this; - once(event: "exit", listener: () => void): this; - once(event: "reset", listener: Function): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "exit", listener: () => void): this; - prependListener(event: "reset", listener: Function): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "exit", listener: () => void): this; - prependOnceListener(event: "reset", listener: Function): this; - } - - export function start(options: ReplOptions): REPLServer; + export class Recoverable extends SyntaxError { + err: Error; + constructor(err: Error); + } } declare module "readline" { - import * as events from "events"; - import * as stream from "stream"; + import * as events from "events"; + import * as stream from "stream"; - export interface Key { - sequence?: string; - name?: string; - ctrl?: boolean; - meta?: boolean; - shift?: boolean; - } + export interface Key { + sequence?: string; + name?: string; + ctrl?: boolean; + meta?: boolean; + shift?: boolean; + } - export interface ReadLine extends events.EventEmitter { - setPrompt(prompt: string): void; - prompt(preserveCursor?: boolean): void; - question(query: string, callback: (answer: string) => void): void; - pause(): ReadLine; - resume(): ReadLine; - close(): void; - write(data: string | Buffer, key?: Key): void; + export class Interface extends events.EventEmitter { + setPrompt(prompt: string): void; + prompt(preserveCursor?: boolean): void; + question(query: string, callback: (answer: string) => void): void; + pause(): this; + resume(): this; + close(): void; + write(data: string | Buffer, key?: Key): void; + } - /** - * events.EventEmitter - * 1. close - * 2. line - * 3. pause - * 4. resume - * 5. SIGCONT - * 6. SIGINT - * 7. SIGTSTP - **/ + export interface Completer { + (line: string): CompleterResult; + (line: string, callback: (err: any, result: CompleterResult) => void): any; + } - addListener(event: string, listener: Function): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "line", listener: (input: any) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "SIGCONT", listener: () => void): this; - addListener(event: "SIGINT", listener: () => void): this; - addListener(event: "SIGTSTP", listener: () => void): this; + export interface CompleterResult { + completions: string[]; + line: string; + } - emit(event: string, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "line", input: any): boolean; - emit(event: "pause"): boolean; - emit(event: "resume"): boolean; - emit(event: "SIGCONT"): boolean; - emit(event: "SIGINT"): boolean; - emit(event: "SIGTSTP"): boolean; + export interface InterfaceOptions { + input: NodeJS.ReadableStream; + output?: NodeJS.WritableStream; + completer?: Completer; + terminal?: boolean; + historySize?: number; + } - on(event: string, listener: Function): this; - on(event: "close", listener: () => void): this; - on(event: "line", listener: (input: any) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "SIGCONT", listener: () => void): this; - on(event: "SIGINT", listener: () => void): this; - on(event: "SIGTSTP", listener: () => void): this; + export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer, terminal?: boolean): Interface; + export function createInterface(options: InterfaceOptions): Interface; - once(event: string, listener: Function): this; - once(event: "close", listener: () => void): this; - once(event: "line", listener: (input: any) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "SIGCONT", listener: () => void): this; - once(event: "SIGINT", listener: () => void): this; - once(event: "SIGTSTP", listener: () => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "line", listener: (input: any) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "SIGCONT", listener: () => void): this; - prependListener(event: "SIGINT", listener: () => void): this; - prependListener(event: "SIGTSTP", listener: () => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "line", listener: (input: any) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "SIGCONT", listener: () => void): this; - prependOnceListener(event: "SIGINT", listener: () => void): this; - prependOnceListener(event: "SIGTSTP", listener: () => void): this; - } - - export interface Completer { - (line: string): CompleterResult; - (line: string, callback: (err: any, result: CompleterResult) => void): any; - } - - export type CompleterResult = [string[], string]; - - export interface ReadLineOptions { - input: NodeJS.ReadableStream; - output?: NodeJS.WritableStream; - completer?: Completer; - terminal?: boolean; - historySize?: number; - } - - export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer, terminal?: boolean): ReadLine; - export function createInterface(options: ReadLineOptions): ReadLine; - - export function cursorTo(stream: NodeJS.WritableStream, x: number, y: number): void; - export function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void; - export function clearLine(stream: NodeJS.WritableStream, dir: number): void; - export function clearScreenDown(stream: NodeJS.WritableStream): void; + export function cursorTo(stream: NodeJS.WritableStream, x: number, y: number): void; + export function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void; + export function clearLine(stream: NodeJS.WritableStream, dir: number): void; + export function clearScreenDown(stream: NodeJS.WritableStream): void; } declare module "vm" { - export interface Context { } - export interface ScriptOptions { - filename?: string; - lineOffset?: number; - columnOffset?: number; - displayErrors?: boolean; - timeout?: number; - cachedData?: Buffer; - produceCachedData?: boolean; - } - export interface RunningScriptOptions { - filename?: string; - lineOffset?: number; - columnOffset?: number; - displayErrors?: boolean; - timeout?: number; - } - export class Script { - constructor(code: string, options?: ScriptOptions); - runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any; - runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any; - runInThisContext(options?: RunningScriptOptions): any; - } - export function createContext(sandbox?: Context): Context; - export function isContext(sandbox: Context): boolean; - export function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions): any; - export function runInDebugContext(code: string): any; - export function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions): any; - export function runInThisContext(code: string, options?: RunningScriptOptions): any; + export interface Context { } + + export interface ScriptOptions { + filename?: string; + lineOffset?: number; + columnOffset?: number; + displayErrors?: boolean; + timeout?: number; + cachedData?: Buffer; + produceCachedData?: boolean; + } + + export interface RunInNewContextOptions { + filename?: string; + lineOffset?: number; + columnOffset?: number; + displayErrors?: boolean; + timeout?: number; + } + + export interface RunInContextOptions extends RunInNewContextOptions { + breakOnSigint?: boolean; + } + + export class Script { + constructor(code: string, options?: string | ScriptOptions); + runInContext(contextifiedSandbox: Context, options?: RunInContextOptions): any; + runInNewContext(sandbox?: Context, options?: RunInNewContextOptions): any; + runInThisContext(options?: RunInNewContextOptions): any; + } + + export function createContext(sandbox?: Context): Context; + export function isContext(sandbox: Context): boolean; + export function runInContext(code: string, contextifiedSandbox: Context, options?: string | RunInNewContextOptions): any; + export function runInDebugContext(code: string): any; + export function runInNewContext(code: string, sandbox?: Context, options?: string | RunInNewContextOptions): any; + export function runInThisContext(code: string, options?: string | RunInNewContextOptions): any; + /** + * @deprecated + */ + export function createScript(code: string, options?: string | ScriptOptions): Script; } declare module "child_process" { - import * as events from "events"; - import * as stream from "stream"; - import * as net from "net"; + import * as events from "events"; + import * as stream from "stream"; + import * as buffer from "buffer"; + import * as net from "net"; - export interface ChildProcess extends events.EventEmitter { - stdin: stream.Writable; - stdout: stream.Readable; - stderr: stream.Readable; - stdio: [stream.Writable, stream.Readable, stream.Readable]; - pid: number; - kill(signal?: string): void; - send(message: any, sendHandle?: any): boolean; - connected: boolean; - disconnect(): void; - unref(): void; - ref(): void; + export class ChildProcess extends events.EventEmitter implements + events.Listener<'close', (code: number, signal: string) => void>, + events.Listener<'error', (error: Error) => void>, + events.Listener<'exit', ((code: number, signal: string | null) => void) | ((code: number | null, signal: string) => void)>, + events.Listener<'message', (message: any, sendHandle?: net.Socket | net.Server) => void>, + events.Listener<'disconnect', () => void> { + stdin: stream.Writable; + stdout: stream.Readable; + stderr: stream.Readable; + stdio: [stream.Writable, stream.Readable, stream.Readable]; + pid: number; + kill(signal?: string): void; + send(message: any, sendHandle?: any): boolean; + connected: boolean; + disconnect(): void; + unref(): void; + } - /** - * events.EventEmitter - * 1. close - * 2. disconnet - * 3. error - * 4. exit - * 5. message - **/ + export interface SpawnOptions { + cwd?: string; + env?: any; + stdio?: any; + detached?: boolean; + uid?: number; + gid?: number; + shell?: boolean | string; + } - addListener(event: string, listener: Function): this; - addListener(event: "close", listener: (code: number, signal: string) => void): this; - addListener(event: "disconnet", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "exit", listener: (code: number, signal: string) => void): this; - addListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this; + export function spawn(command: string, args?: string[], options?: SpawnOptions): ChildProcess; - emit(event: string, ...args: any[]): boolean; - emit(event: "close", code: number, signal: string): boolean; - emit(event: "disconnet"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "exit", code: number, signal: string): boolean; - emit(event: "message", message: any, sendHandle: net.Socket | net.Server): boolean; + export interface ExecOptions { + cwd?: string; + env?: any; + shell?: string; + timeout?: number; + maxBuffer?: number; + killSignal?: string; + uid?: number; + gid?: number; + encoding?: buffer.Encoding | 'buffer'; + } - on(event: string, listener: Function): this; - on(event: "close", listener: (code: number, signal: string) => void): this; - on(event: "disconnet", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "exit", listener: (code: number, signal: string) => void): this; - on(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this; + export function exec(command: string, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + export function exec(command: string, options: ExecOptions & { encoding: 'buffer' }, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; + export function exec(command: string, options: ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - once(event: string, listener: Function): this; - once(event: "close", listener: (code: number, signal: string) => void): this; - once(event: "disconnet", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "exit", listener: (code: number, signal: string) => void): this; - once(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this; + export interface ExecFileOptions { + cwd?: string; + env?: any; + timeout?: number; + maxBuffer?: number; + killSignal?: string; + uid?: number; + gid?: number; + encoding?: buffer.Encoding | 'buffer'; + } - prependListener(event: string, listener: Function): this; - prependListener(event: "close", listener: (code: number, signal: string) => void): this; - prependListener(event: "disconnet", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this; + export function execFile(file: string, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + export function execFile(file: string, options?: ExecFileOptions & { encoding: 'buffer' }, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; + export function execFile(file: string, options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + export function execFile(file: string, args?: string[], callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + export function execFile(file: string, args?: string[], options?: ExecFileOptions & { encoding: 'buffer' }, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; + export function execFile(file: string, args?: string[], options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "close", listener: (code: number, signal: string) => void): this; - prependOnceListener(event: "disconnet", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependOnceListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this; - } + export interface ForkOptions { + cwd?: string; + env?: any; + execPath?: string; + execArgv?: string[]; + silent?: boolean; + uid?: number; + gid?: number; + } - export interface SpawnOptions { - cwd?: string; - env?: any; - stdio?: any; - detached?: boolean; - uid?: number; - gid?: number; - shell?: boolean | string; - } - export function spawn(command: string, args?: string[], options?: SpawnOptions): ChildProcess; + export function fork(modulePath: string, args?: string[], options?: ForkOptions): ChildProcess; - export interface ExecOptions { - cwd?: string; - env?: any; - shell?: string; - timeout?: number; - maxBuffer?: number; - killSignal?: string; - uid?: number; - gid?: number; - } - export interface ExecOptionsWithStringEncoding extends ExecOptions { - encoding: BufferEncoding; - } - export interface ExecOptionsWithBufferEncoding extends ExecOptions { - encoding: string; // specify `null`. - } - export function exec(command: string, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - export function exec(command: string, options: ExecOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - // usage. child_process.exec("tsc", {encoding: null as string}, (err, stdout, stderr) => {}); - export function exec(command: string, options: ExecOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; - export function exec(command: string, options: ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + export interface SpawnSyncOptions { + cwd?: string; + input?: string | Buffer; + stdio?: any; + env?: any; + uid?: number; + gid?: number; + timeout?: number; + killSignal?: string; + maxBuffer?: number; + shell?: boolean | string; + encoding?: buffer.Encoding | 'buffer'; + } - export interface ExecFileOptions { - cwd?: string; - env?: any; - timeout?: number; - maxBuffer?: number; - killSignal?: string; - uid?: number; - gid?: number; - } - export interface ExecFileOptionsWithStringEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - export interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions { - encoding: string; // specify `null`. - } - export function execFile(file: string, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - export function execFile(file: string, options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - // usage. child_process.execFile("file.sh", {encoding: null as string}, (err, stdout, stderr) => {}); - export function execFile(file: string, options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; - export function execFile(file: string, options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - export function execFile(file: string, args?: string[], callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - export function execFile(file: string, args?: string[], options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - // usage. child_process.execFile("file.sh", ["foo"], {encoding: null as string}, (err, stdout, stderr) => {}); - export function execFile(file: string, args?: string[], options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; - export function execFile(file: string, args?: string[], options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + export interface SpawnSyncReturns { + pid: number; + output: string[]; + stdout: T; + stderr: T; + status: number; + signal: string; + error: Error; + } + export function spawnSync(command: string): SpawnSyncReturns; + export function spawnSync(command: string, options?: SpawnSyncOptions & { encoding: 'buffer' }): SpawnSyncReturns; + export function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; + export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptions & { encoding: 'buffer' }): SpawnSyncReturns; + export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptions): SpawnSyncReturns; - export interface ForkOptions { - cwd?: string; - env?: any; - execPath?: string; - execArgv?: string[]; - silent?: boolean; - uid?: number; - gid?: number; - } - export function fork(modulePath: string, args?: string[], options?: ForkOptions): ChildProcess; + export interface ExecSyncOptions { + cwd?: string; + input?: string | Buffer; + stdio?: any; + env?: any; + shell?: string; + uid?: number; + gid?: number; + timeout?: number; + killSignal?: string; + maxBuffer?: number; + encoding?: buffer.Encoding | 'buffer'; + } - export interface SpawnSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: string; - shell?: boolean | string; - } - export interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions { - encoding: BufferEncoding; - } - export interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions { - encoding: string; // specify `null`. - } - export interface SpawnSyncReturns { - pid: number; - output: string[]; - stdout: T; - stderr: T; - status: number; - signal: string; - error: Error; - } - export function spawnSync(command: string): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptions): SpawnSyncReturns; + export function execSync(command: string): Buffer; + export function execSync(command: string, options?: ExecSyncOptions & { encoding: 'buffer' }): Buffer; + export function execSync(command: string, options?: ExecSyncOptions): Buffer; - export interface ExecSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - shell?: string; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: string; - } - export interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions { - encoding: BufferEncoding; - } - export interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions { - encoding: string; // specify `null`. - } - export function execSync(command: string): Buffer; - export function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string; - export function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer; - export function execSync(command: string, options?: ExecSyncOptions): Buffer; + export interface ExecFileSyncOptions { + cwd?: string; + input?: string | Buffer; + stdio?: any; + env?: any; + uid?: number; + gid?: number; + timeout?: number; + killSignal?: string; + maxBuffer?: number; + encoding?: buffer.Encoding | 'buffer'; + } - export interface ExecFileSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: string; - } - export interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions { - encoding: BufferEncoding; - } - export interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions { - encoding: string; // specify `null`. - } - export function execFileSync(command: string): Buffer; - export function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string; - export function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; - export function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptionsWithStringEncoding): string; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions): Buffer; + export function execFileSync(command: string): Buffer; + export function execFileSync(command: string, options?: ExecFileSyncOptions & { encoding: 'buffer' }): Buffer; + export function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer; + export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions & { encoding: 'buffer' }): Buffer; + export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions): Buffer; } declare module "url" { - export interface Url { - href?: string; - protocol?: string; - auth?: string; - hostname?: string; - port?: string; - host?: string; - pathname?: string; - search?: string; - query?: string | any; - slashes?: boolean; - hash?: string; - path?: string; - } + export interface Url { + href?: string; + protocol?: string; + auth?: string; + hostname?: string; + port?: string; + host?: string; + pathname?: string; + search?: string; + query?: string | any; + slashes?: boolean; + hash?: string; + path?: string; + } - export function parse(urlStr: string, parseQueryString?: boolean, slashesDenoteHost?: boolean): Url; - export function format(url: Url): string; - export function resolve(from: string, to: string): string; + export function parse(urlStr: string, parseQueryString?: boolean, slashesDenoteHost?: boolean): Url; + export function format(url: Url | string): string; + export function resolve(from: string, to: string): string; } declare module "dns" { - export interface MxRecord { - exchange: string, - priority: number - } + export function lookup(domain: string, family: number, callback: (err: Error, address: string, family: number) => void): string; + export function lookup(domain: string, callback: (err: Error, address: string, family: number) => void): string; + export function resolve(domain: string, rrtype: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolve(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolve4(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolve6(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolveMx(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolveTxt(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolveSrv(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolveNs(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolveCname(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function reverse(ip: string, callback: (err: Error, domains: string[]) => void): string[]; - export function lookup(domain: string, family: number, callback: (err: Error, address: string, family: number) => void): string; - export function lookup(domain: string, callback: (err: Error, address: string, family: number) => void): string; - export function resolve(domain: string, rrtype: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolve(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolve4(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolve6(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolveMx(domain: string, callback: (err: Error, addresses: MxRecord[]) => void): string[]; - export function resolveTxt(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolveSrv(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolveNs(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolveCname(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function reverse(ip: string, callback: (err: Error, domains: string[]) => void): string[]; - export function setServers(servers: string[]): void; - - //Error codes - export var NODATA: string; - export var FORMERR: string; - export var SERVFAIL: string; - export var NOTFOUND: string; - export var NOTIMP: string; - export var REFUSED: string; - export var BADQUERY: string; - export var BADNAME: string; - export var BADFAMILY: string; - export var BADRESP: string; - export var CONNREFUSED: string; - export var TIMEOUT: string; - export var EOF: string; - export var FILE: string; - export var NOMEM: string; - export var DESTRUCTION: string; - export var BADSTR: string; - export var BADFLAGS: string; - export var NONAME: string; - export var BADHINTS: string; - export var NOTINITIALIZED: string; - export var LOADIPHLPAPI: string; - export var ADDRGETNETWORKPARAMS: string; - export var CANCELLED: string; + export const NODATA: 'ENODATA'; + export const FORMERR: 'EFORMERR'; + export const SERVFAIL: 'ESERVFAIL'; + export const NOTFOUND: 'ENOTFOUND'; + export const NOTIMP: 'ENOTIMP'; + export const REFUSED: 'EREFUSED'; + export const BADQUERY: 'EBADQUERY'; + export const BADNAME: 'EBADNAME'; + export const BADFAMILY: 'EBADFAMILY'; + export const BADRESP: 'EBADRESP'; + export const CONNREFUSED: 'ECONNREFUSED'; + export const TIMEOUT: 'ETIMEOUT'; + export const EOF: 'EOF'; + export const FILE: 'EFILE'; + export const NOMEM: 'ENOMEM'; + export const DESTRUCTION: 'EDESTRUCTION'; + export const BADSTR: 'EBADSTR'; + export const BADFLAGS: 'EBADFLAGS'; + export const NONAME: 'ENONAME'; + export const BADHINTS: 'EBADHINTS'; + export const NOTINITIALIZED: 'ENOTINITIALIZED'; + export const LOADIPHLPAPI: 'ELOADIPHLPAPI'; + export const ADDRGETNETWORKPARAMS: 'EADDRGETNETWORKPARAMS'; + export const CANCELLED: 'ECANCELLED'; } declare module "net" { - import * as stream from "stream"; - import * as events from "events"; + import * as stream from "stream"; - export interface Socket extends stream.Duplex { - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; + export class Socket extends stream.Duplex { + constructor(options?: { fd?: string; type?: string; allowHalfOpen?: boolean; }); - connect(port: number, host?: string, connectionListener?: Function): void; - connect(path: string, connectionListener?: Function): void; - bufferSize: number; - setEncoding(encoding?: string): this; - write(data: any, encoding?: string, callback?: Function): void; - destroy(): void; - pause(): this; - resume(): this; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setKeepAlive(enable?: boolean, initialDelay?: number): void; - address(): { port: number; family: string; address: string; }; - unref(): void; - ref(): void; + // Extended base methods + write(buffer: Buffer): boolean; + write(buffer: Buffer, cb?: Function): boolean; + write(str: string, cb?: Function): boolean; + write(str: string, encoding?: string, cb?: Function): boolean; + write(str: string, encoding?: string, fd?: string): boolean; - remoteAddress: string; - remoteFamily: string; - remotePort: number; - localAddress: string; - localPort: number; - bytesRead: number; - bytesWritten: number; - destroyed: boolean; + connect(port: number, host?: string, connectionListener?: Function): void; + connect(path: string, connectionListener?: Function): void; + bufferSize: number; + write(data: any, encoding?: string, callback?: Function): void; + destroy(): void; + setTimeout(timeout: number, callback?: Function): void; + setNoDelay(noDelay?: boolean): void; + setKeepAlive(enable?: boolean, initialDelay?: number): void; + address(): { port: number; family: string; address: string; }; + unref(): void; + ref(): void; - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; + remoteAddress: string; + remoteFamily: string; + remotePort: number; + localAddress: string; + localPort: number; + bytesRead: number; + bytesWritten: number; - /** - * events.EventEmitter - * 1. close - * 2. connect - * 3. data - * 4. drain - * 5. end - * 6. error - * 7. lookup - * 8. timeout - */ - addListener(event: string, listener: Function): this; - addListener(event: "close", listener: (had_error: boolean) => void): this; - addListener(event: "connect", listener: () => void): this; - addListener(event: "data", listener: (data: Buffer) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - addListener(event: "timeout", listener: () => void): this; + // Extended base methods + end(): void; + end(buffer: Buffer, cb?: Function): void; + end(str: string, cb?: Function): void; + end(str: string, encoding?: string, cb?: Function): void; + end(data?: any, encoding?: string): void; + } - emit(event: string, ...args: any[]): boolean; - emit(event: "close", had_error: boolean): boolean; - emit(event: "connect"): boolean; - emit(event: "data", data: Buffer): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean; - emit(event: "timeout"): boolean; + export interface ListenOptions { + port?: number; + host?: string; + backlog?: number; + path?: string; + exclusive?: boolean; + } - on(event: string, listener: Function): this; - on(event: "close", listener: (had_error: boolean) => void): this; - on(event: "connect", listener: () => void): this; - on(event: "data", listener: (data: Buffer) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - on(event: "timeout", listener: () => void): this; + export class Server extends Socket { + listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function): this; + listen(port: number, hostname?: string, listeningListener?: Function): this; + listen(port: number, backlog?: number, listeningListener?: Function): this; + listen(port: number, listeningListener?: Function): this; + listen(path: string, backlog?: number, listeningListener?: Function): this; + listen(path: string, listeningListener?: Function): this; + listen(handle: any, backlog?: number, listeningListener?: Function): this; + listen(handle: any, listeningListener?: Function): this; + listen(options: ListenOptions, listeningListener?: Function): this; + close(callback?: () => void): this; + address(): { port: number; family: string; address: string; }; + getConnections(cb: (error: Error, count: number) => void): void; + ref(): this; + unref(): this; + maxConnections: number; + connections: number; + } - once(event: string, listener: Function): this; - once(event: "close", listener: (had_error: boolean) => void): this; - once(event: "connect", listener: () => void): this; - once(event: "data", listener: (data: Buffer) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - once(event: "timeout", listener: () => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "close", listener: (had_error: boolean) => void): this; - prependListener(event: "connect", listener: () => void): this; - prependListener(event: "data", listener: (data: Buffer) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - prependListener(event: "timeout", listener: () => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "close", listener: (had_error: boolean) => void): this; - prependOnceListener(event: "connect", listener: () => void): this; - prependOnceListener(event: "data", listener: (data: Buffer) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - } - - export var Socket: { - new (options?: { fd?: string; type?: string; allowHalfOpen?: boolean; }): Socket; - }; - - export interface ListenOptions { - port?: number; - host?: string; - backlog?: number; - path?: string; - exclusive?: boolean; - } - - export interface Server extends events.EventEmitter { - listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function): Server; - listen(port: number, hostname?: string, listeningListener?: Function): Server; - listen(port: number, backlog?: number, listeningListener?: Function): Server; - listen(port: number, listeningListener?: Function): Server; - listen(path: string, backlog?: number, listeningListener?: Function): Server; - listen(path: string, listeningListener?: Function): Server; - listen(options: ListenOptions, listeningListener?: Function): Server; - listen(handle: any, backlog?: number, listeningListener?: Function): Server; - listen(handle: any, listeningListener?: Function): Server; - close(callback?: Function): Server; - address(): { port: number; family: string; address: string; }; - getConnections(cb: (error: Error, count: number) => void): void; - ref(): Server; - unref(): Server; - maxConnections: number; - connections: number; - - /** - * events.EventEmitter - * 1. close - * 2. connection - * 3. error - * 4. listening - */ - addListener(event: string, listener: Function): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connection", listener: (socket: Socket) => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - - emit(event: string, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connection", socket: Socket): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - - on(event: string, listener: Function): this; - on(event: "close", listener: () => void): this; - on(event: "connection", listener: (socket: Socket) => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - - once(event: string, listener: Function): this; - once(event: "close", listener: () => void): this; - once(event: "connection", listener: (socket: Socket) => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connection", listener: (socket: Socket) => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - } - export function createServer(connectionListener?: (socket: Socket) => void): Server; - export function createServer(options?: { allowHalfOpen?: boolean; }, connectionListener?: (socket: Socket) => void): Server; - export function connect(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; - export function connect(port: number, host?: string, connectionListener?: Function): Socket; - export function connect(path: string, connectionListener?: Function): Socket; - export function createConnection(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; - export function createConnection(port: number, host?: string, connectionListener?: Function): Socket; - export function createConnection(path: string, connectionListener?: Function): Socket; - export function isIP(input: string): number; - export function isIPv4(input: string): boolean; - export function isIPv6(input: string): boolean; + export function createServer(connectionListener?: (socket: Socket) => void): Server; + export function createServer(options?: { allowHalfOpen?: boolean; }, connectionListener?: (socket: Socket) => void): Server; + export function connect(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; + export function connect(port: number, host?: string, connectionListener?: Function): Socket; + export function connect(path: string, connectionListener?: Function): Socket; + export function createConnection(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; + export function createConnection(port: number, host?: string, connectionListener?: Function): Socket; + export function createConnection(path: string, connectionListener?: Function): Socket; + export function isIP(input: string): number; + export function isIPv4(input: string): boolean; + export function isIPv6(input: string): boolean; } declare module "dgram" { - import * as events from "events"; + import * as events from "events"; - interface RemoteInfo { - address: string; - family: string; - port: number; - } + export interface RemoteInfo { + address: string; + port: number; + size: number; + } - interface AddressInfo { - address: string; - family: string; - port: number; - } + export interface AddressInfo { + address: string; + family: string; + port: number; + } - interface BindOptions { - port: number; - address?: string; - exclusive?: boolean; - } + export interface BindOptions { + port: number; + address?: string; + exclusive?: boolean; + } - interface SocketOptions { - type: "udp4" | "udp6"; - reuseAddr?: boolean; - } + export interface SocketOptions { + type: string; + reuseAddr?: boolean; + } - export function createSocket(type: string, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - export function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; + export function createSocket(type: string | SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - export interface Socket extends events.EventEmitter { - send(msg: Buffer | String | any[], port: number, address: string, callback?: (error: Error, bytes: number) => void): void; - send(msg: Buffer | String | any[], offset: number, length: number, port: number, address: string, callback?: (error: Error, bytes: number) => void): void; - bind(port?: number, address?: string, callback?: () => void): void; - bind(options: BindOptions, callback?: Function): void; - close(callback?: any): void; - address(): AddressInfo; - setBroadcast(flag: boolean): void; - setTTL(ttl: number): void; - setMulticastTTL(ttl: number): void; - setMulticastLoopback(flag: boolean): void; - addMembership(multicastAddress: string, multicastInterface?: string): void; - dropMembership(multicastAddress: string, multicastInterface?: string): void; - ref(): this; - unref(): this; - - /** - * events.EventEmitter - * 1. close - * 2. error - * 3. listening - * 4. message - **/ - addListener(event: string, listener: Function): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "message", listener: (msg: Buffer, rinfo: AddressInfo) => void): this; - - emit(event: string, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit(event: "message", msg: Buffer, rinfo: AddressInfo): boolean; - - on(event: string, listener: Function): this; - on(event: "close", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "message", listener: (msg: Buffer, rinfo: AddressInfo) => void): this; - - once(event: string, listener: Function): this; - once(event: "close", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "message", listener: (msg: Buffer, rinfo: AddressInfo) => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "message", listener: (msg: Buffer, rinfo: AddressInfo) => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: AddressInfo) => void): this; - } + export class Socket extends events.EventEmitter { + send(msg: Buffer | string | Array, offset: number, length: number, port: number, address: string, callback?: (error: Error, bytes: number) => void): void; + send(msg: Buffer | string | Array, port: number, address: string, callback?: (error: Error, bytes: number) => void): void; + bind(port: number, address?: string, callback?: () => void): void; + bind(options: BindOptions, callback?: () => void): void; + close(callback?: () => void): void; + setTTL(ttl: number): void; + address(): AddressInfo; + setBroadcast(flag: boolean): void; + setMulticastTTL(ttl: number): void; + setMulticastLoopback(flag: boolean): void; + addMembership(multicastAddress: string, multicastInterface?: string): void; + dropMembership(multicastAddress: string, multicastInterface?: string): void; + ref(): void; + unref(): void; + } } declare module "fs" { - import * as stream from "stream"; - import * as events from "events"; - - interface Stats { - isFile(): boolean; - isDirectory(): boolean; - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isSymbolicLink(): boolean; - isFIFO(): boolean; - isSocket(): boolean; - dev: number; - ino: number; - mode: number; - nlink: number; - uid: number; - gid: number; - rdev: number; - size: number; - blksize: number; - blocks: number; - atime: Date; - mtime: Date; - ctime: Date; - birthtime: Date; - } - - interface FSWatcher extends events.EventEmitter { - close(): void; - - /** - * events.EventEmitter - * 1. change - * 2. error - */ - addListener(event: string, listener: Function): this; - addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - addListener(event: "error", listener: (code: number, signal: string) => void): this; - - on(event: string, listener: Function): this; - on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - on(event: "error", listener: (code: number, signal: string) => void): this; - - once(event: string, listener: Function): this; - once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - once(event: "error", listener: (code: number, signal: string) => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - prependListener(event: "error", listener: (code: number, signal: string) => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - prependOnceListener(event: "error", listener: (code: number, signal: string) => void): this; - } - - export interface ReadStream extends stream.Readable { - close(): void; - destroy(): void; - bytesRead: number; - path: string | Buffer; - - /** - * events.EventEmitter - * 1. open - * 2. close - */ - addListener(event: string, listener: Function): this; - addListener(event: "open", listener: (fd: number) => void): this; - addListener(event: "close", listener: () => void): this; - - on(event: string, listener: Function): this; - on(event: "open", listener: (fd: number) => void): this; - on(event: "close", listener: () => void): this; - - once(event: string, listener: Function): this; - once(event: "open", listener: (fd: number) => void): this; - once(event: "close", listener: () => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "open", listener: (fd: number) => void): this; - prependListener(event: "close", listener: () => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "open", listener: (fd: number) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - } - - export interface WriteStream extends stream.Writable { - close(): void; - bytesWritten: number; - path: string | Buffer; - - /** - * events.EventEmitter - * 1. open - * 2. close - */ - addListener(event: string, listener: Function): this; - addListener(event: "open", listener: (fd: number) => void): this; - addListener(event: "close", listener: () => void): this; - - on(event: string, listener: Function): this; - on(event: "open", listener: (fd: number) => void): this; - on(event: "close", listener: () => void): this; - - once(event: string, listener: Function): this; - once(event: "open", listener: (fd: number) => void): this; - once(event: "close", listener: () => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "open", listener: (fd: number) => void): this; - prependListener(event: "close", listener: () => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "open", listener: (fd: number) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - } + import * as stream from "stream"; + import * as events from "events"; + import * as buffer from "buffer"; + /** + * Objects returned from `fs.stat()`, `fs.lstat()` and `fs.fstat()` and their synchronous counterparts are of this type. + */ + export class Stats { + isFile(): boolean; + isDirectory(): boolean; + isBlockDevice(): boolean; + isCharacterDevice(): boolean; + isSymbolicLink(): boolean; + isFIFO(): boolean; + isSocket(): boolean; + dev: number; + ino: number; + mode: number; + nlink: number; + uid: number; + gid: number; + rdev: number; + size: number; + blksize: number; + blocks: number; /** - * Asynchronous rename. - * @param oldPath - * @param newPath - * @param callback No arguments other than a possible exception are given to the completion callback. + * "Access Time" - Time when file data last accessed. Changed by the `mknod(2)`, `utimes(2)`, and `read(2)` system calls. */ - export function rename(oldPath: string, newPath: string, callback?: (err?: NodeJS.ErrnoException) => void): void; + atime: Date; /** - * Synchronous rename - * @param oldPath - * @param newPath + * "Modified Time" - Time when file data last modified. Changed by the `mknod(2)`, `utimes(2)`, and `write(2)` system calls. */ - export function renameSync(oldPath: string, newPath: string): void; - export function truncate(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function truncate(path: string | Buffer, len: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function truncateSync(path: string | Buffer, len?: number): void; - export function ftruncate(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function ftruncate(fd: number, len: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function ftruncateSync(fd: number, len?: number): void; - export function chown(path: string | Buffer, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function chownSync(path: string | Buffer, uid: number, gid: number): void; - export function fchown(fd: number, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fchownSync(fd: number, uid: number, gid: number): void; - export function lchown(path: string | Buffer, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function lchownSync(path: string | Buffer, uid: number, gid: number): void; - export function chmod(path: string | Buffer, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function chmod(path: string | Buffer, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function chmodSync(path: string | Buffer, mode: number): void; - export function chmodSync(path: string | Buffer, mode: string): void; - export function fchmod(fd: number, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fchmod(fd: number, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fchmodSync(fd: number, mode: number): void; - export function fchmodSync(fd: number, mode: string): void; - export function lchmod(path: string | Buffer, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function lchmod(path: string | Buffer, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function lchmodSync(path: string | Buffer, mode: number): void; - export function lchmodSync(path: string | Buffer, mode: string): void; - export function stat(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; - export function lstat(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; - export function fstat(fd: number, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; - export function statSync(path: string | Buffer): Stats; - export function lstatSync(path: string | Buffer): Stats; - export function fstatSync(fd: number): Stats; - export function link(srcpath: string | Buffer, dstpath: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function linkSync(srcpath: string | Buffer, dstpath: string | Buffer): void; - export function symlink(srcpath: string | Buffer, dstpath: string | Buffer, type?: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function symlinkSync(srcpath: string | Buffer, dstpath: string | Buffer, type?: string): void; - export function readlink(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, linkString: string) => any): void; - export function readlinkSync(path: string | Buffer): string; - export function realpath(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void; - export function realpath(path: string | Buffer, cache: { [path: string]: string }, callback: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void; - export function realpathSync(path: string | Buffer, cache?: { [path: string]: string }): string; - /* - * Asynchronous unlink - deletes the file specified in {path} - * - * @param path - * @param callback No arguments other than a possible exception are given to the completion callback. + mtime: Date; + /** + * "Change Time" - Time when file status was last changed (inode data modification). Changed by the `chmod(2)`, `chown(2)`, `link(2)`, `mknod(2)`, `rename(2)`, `unlink(2)`,` utimes(2)`, `read(2)`, and `write(2)` system calls. */ - export function unlink(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Synchronous unlink - deletes the file specified in {path} - * - * @param path + ctime: Date; + /** + * "Birth Time" - Time of file creation. Set once when the file is created. On filesystems where birthtime is not available, this field may instead hold either the `ctime` or `1970-01-01T00:00Z` (ie, unix epoch timestamp `0`). Note that this value may be greater than `atime` or `mtime` in this case. On Darwin and other FreeBSD variants, also set if the `atime` is explicitly set to an earlier value than the current `birthtime` using the `utimes(2)` system call. */ - export function unlinkSync(path: string | Buffer): void; - /* - * Asynchronous rmdir - removes the directory specified in {path} - * - * @param path - * @param callback No arguments other than a possible exception are given to the completion callback. + birthtime: Date; + } + + export type WatchListener = (eventType: string, filename?: string | Buffer) => void; + + /** + * Objects returned from fs.watch() are of this type. + */ + export class FSWatcher extends events.EventEmitter implements + events.Listener<'change', WatchListener> { + close(): void; + } + + export class ReadStream extends stream.Readable implements + events.Listener<'open', (fd: number) => void>, + events.Listener<'close', () => void> { + bytesRead: number; + path: string | Buffer; + close(): void; + destroy(): void; + } + + export class WriteStream extends stream.Writable implements + events.Listener<'open', (fd: number) => void>, + events.Listener<'close', () => void> { + close(): void; + bytesWritten: number; + path: string | Buffer; + } + + export const F_OK: number; + export const R_OK: number; + export const W_OK: number; + export const X_OK: number; + + export const constants: { + O_RDONLY: number; + O_WRONLY: number; + O_RDWR: number; + S_IFMT: number; + S_IFREG: number; + S_IFDIR: number; + S_IFCHR: number; + S_IFBLK: number; + S_IFIFO: number; + S_IFLNK: number; + S_IFSOCK: number; + O_CREAT: number; + O_EXCL: number; + O_NOCTTY: number; + O_TRUNC: number; + O_APPEND: number; + O_DIRECTORY: number; + O_NOFOLLOW: number; + O_SYNC: number; + O_SYMLINK: number; + O_NONBLOCK: number; + S_IRWXU: number; + S_IRUSR: number; + S_IWUSR: number; + S_IXUSR: number; + S_IRWXG: number; + S_IRGRP: number; + S_IWGRP: number; + S_IXGRP: number; + S_IRWXO: number; + S_IROTH: number; + S_IWOTH: number; + S_IXOTH: number; + F_OK: number; + R_OK: number; + W_OK: number; + X_OK: number; + [key: string]: number; + } + + /** + * Tests a user's permissions for the file or directory specified by `path`. The `mode` argument is an optional integer that specifies the accessibility checks to be performed. The following constants define the possible values of `mode`. It is possible to create a mask consisting of the bitwise OR of two or more values. + */ + export function access(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; + export function access(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous version of `fs.access()`. This throws if any accessibility checks fail, and does nothing otherwise. + */ + export function accessSync(path: string | Buffer, mode?: number): void; + + export interface AppendFileOptions { + encoding?: buffer.Encoding; + mode?: number; + flag?: string; + } + + /** + * Asynchronously append data to a file, creating the file if it does not yet exist. `data` can be a string or a buffer. + */ + export function appendFile(file: string | Buffer | number, data: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; + export function appendFile(file: string | Buffer | number, data: string | Buffer, options: buffer.Encoding | AppendFileOptions | null, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * The synchronous version of `fs.appendFile()`. + */ + export function appendFileSync(file: string | Buffer | number, data: string | Buffer, options?: AppendFileOptions | null): void; + + /** + * Asynchronous chmod(2). + */ + export function chmod(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous chmod(2). + */ + export function chmodSync(path: string | Buffer, mode: number): void; + + /** + * Asynchronous chown(2). + */ + export function chown(path: string | Buffer, uid: number, gid: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous chown(2). + */ + export function chownSync(path: string | Buffer, uid: number, gid: number): void; + + /** + * Asynchronous close(2). + */ + export function close(fd: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous close(2). + */ + export function closeSync(fd: number): void; + + export interface ReadStreamOptions { + flags?: string; + encoding?: buffer.Encoding; + fd?: number; + mode?: number; + autoClose?: boolean; + start?: number; + end?: number; + } + + /** + * Returns a new ReadStream object. + * + * Be aware that, unlike the default value set for `highWaterMark` on a readable stream (16 kb), the stream returned by this method has a default value of 64 kb for the same parameter. + */ + export function createReadStream(path: string | Buffer, options?: ReadStreamOptions | null): ReadStream; + + export interface WriteStreamOptions { + flags?: string; + defaultEncoding?: buffer.Encoding; + fd?: number; + mode?: number; + autoClose?: boolean; + start: number; + end: number; + } + + /** + * Returns a new WriteStream object. + */ + export function createWriteStream(path: string | Buffer, options?: WriteStreamOptions | null): WriteStream; + + /** + * Test whether or not the given path exists by checking with the file system. Then call the `callback` argument with either true or false. + * + * @deprecated + */ + export function exists(path: string | Buffer, callback: (exists: boolean) => void): void; + + /** + * Synchronous version of `fs.exists()`. Returns true if the file exists, false otherwise. + */ + export function existsSync(path: string | Buffer): boolean; + + /** + * Asynchronous fchmod(2). + */ + export function fchmod(fd: number, mode: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous fchmod(2). + */ + export function fchmodSync(fd: number, mode: number): void; + + /** + * Asynchronous fchown(2). + */ + export function fchown(fd: number, uid: number, gid: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous fchown(2). + */ + export function fchownSync(fd: number, uid: number, gid: number): void; + + /** + * Asynchronous fdatasync(2). + */ + export function fdatasync(fd: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous fdatasync(2). + */ + export function fdatasyncSync(fd: number): void; + + /** + * Asynchronous fstat(2). + */ + export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; + + /** + * Synchronous fstat(2). + */ + export function fstatSync(fd: number): Stats; + + /** + * Asynchronous fsync(2). + */ + export function fsync(fd: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous fsync(2). + */ + export function fsyncSync(fd: number): void; + + /** + * Asynchronous ftruncate(2). + * + * If the file referred to by the file descriptor was larger than `len` bytes, only the first `len` bytes will be retained in the file. + * + * If the file previously was shorter than `len` bytes, it is extended, and the extended part is filled with null bytes ('\0'). + */ + export function ftruncate(fd: number, len: number | null | undefined, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous ftruncate(2). + */ + export function ftruncateSync(fd: number, len?: number | null): void; + + /** + * Change the file timestamps of a file referenced by the supplied file descriptor. + */ + export function futimes(fd: number, atime: number, mtime: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous version of `fs.futimes()`. + */ + export function futimesSync(fd: number, atime: number, mtime: number): void; + + /** + * Asynchronous lchmod(2). + * + * Only available on Mac OS X. + * + * @deprecated + */ + export function lchmod(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous lchmod(2). + * + * @deprecated + */ + export function lchmodSync(path: string | Buffer, mode: number): void; + + /** + * Asynchronous lchown(2). + * + * @deprecated + */ + export function lchown(path: string | Buffer, uid: number, gid: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous lchown(2). + * + * @deprecated + */ + export function lchownSync(path: string | Buffer, uid: number, gid: number): void; + + /** + * Asynchronous link(2). + */ + export function link(existingPath: string | Buffer, newPath: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous link(2). + */ + export function linkSync(existingPath: string | Buffer, newPath: string | Buffer): void; + + /** + * Asynchronous lstat(2). `lstat()` is identical to `stat()`, except that if `path` is a symbolic link, then the link itself is stat-ed, not the file that it refers to. + */ + export function lstat(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; + + /** + * Synchronous lstat(2). + */ + export function lstatSync(path: string | Buffer): Stats; + + /** + * Asynchronous mkdir(2). `mode` defaults to `0o777`. + */ + export function mkdir(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; + export function mkdir(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous mkdir(2). + */ + export function mkdirSync(path: string | Buffer, mode?: number): void; + + export interface MkdtempOptions { + encoding: buffer.Encoding; + } + + /** + * Creates a unique temporary directory. + * + * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * + * The created folder path is passed as a string to the callback's second parameter. + */ + export function mkdtemp(prefix: string, callback: (err: NodeJS.ErrnoException | null, dir: string) => void): void; + export function mkdtemp(prefix: string, options: buffer.Encoding | MkdtempOptions | null, callback: (err: NodeJS.ErrnoException | null, dir: string) => void): void; + + /** + * The synchronous version of fs.mkdtemp(). Returns the created folder path. + */ + export function mkdtempSync(prefix: string, options?: buffer.Encoding | MkdtempOptions | null): string; + + /** + * Asynchronous file open. See open(2). `flags` can be: + * + * 'r' - Open file for reading. An exception occurs if the file does not exist. + * + * 'r+' - Open file for reading and writing. An exception occurs if the file does not exist. + * + * 'rs+' - Open file for reading and writing in synchronous mode. Instructs the operating system to bypass the local file system cache. + * + * This is primarily useful for opening files on NFS mounts as it allows you to skip the potentially stale local cache. It has a very real impact on I/O performance so don't use this flag unless you need it. + * + * Note that this doesn't turn `fs.open()` into a synchronous blocking call. If that's what you want then you should be using `fs.openSync()` + * + * 'w' - Open file for writing. The file is created (if it does not exist) or truncated (if it exists). + * + * 'wx' - Like `'w'` but fails if `path` exists. + * + * 'w+' - Open file for reading and writing. The file is created (if it does not exist) or truncated (if it exists). + * + * 'wx+' - Like `'w+'` but fails if `path` exists. + * + * 'a' - Open file for appending. The file is created if it does not exist. + * + * 'ax' - Like 'a' but fails if `path` exists. + * + * 'a+' - Open file for reading and appending. The file is created if it does not exist. + * + * 'ax+' - Like 'a+' but fails if `path` exists. + * + * `mode` sets the file mode (permission and sticky bits), but only if the file was created. It defaults to `0666`, readable and writable. + */ + export function open(path: string | Buffer, flags: string | number, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; + export function open(path: string | Buffer, flags: string | number, mode: number, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; + + /** + * Synchronous version of `fs.open()`. + */ + export function openSync(path: string | Buffer, flags: string | number, mode?: number): number; + + /** + * Read data from the file specified by fd. + * + * @param buffer is the buffer that the data will be written to. + * @param offset is the offset in the buffer to start writing at. + * @param length is an integer specifying the number of bytes to read. + * @param position is an integer specifying where to begin reading from in the file. If position is null, data will be read from the current file position. + */ + export function read(fd: number, buffer: string | Buffer, offset: number, length: number, position: number, callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: Buffer) => void): void; + + export interface ReaddirOptions { + encoding?: buffer.Encoding | 'buffer'; + } + + /** + * Asynchronous readdir(3). Reads the contents of a directory. + * + * @param files is an array of the names of the files in the directory excluding '.' and '..'. + */ + export function readdir(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null, files: string[]) => void): void; + export function readdir(path: string | Buffer, options: 'buffer' | (ReadFileOptions & { encoding: 'buffer' }), callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void): void; + export function readdir(path: string | Buffer, options: buffer.Encoding | ReaddirOptions | null, callback: (err: NodeJS.ErrnoException | null, files: string[]) => void): void; + + /** + * Synchronous readdir(3). Returns an array of filenames excluding '.' and '..'. + */ + export function readdirSync(path: string | Buffer): string[]; + export function readdirSync(path: string | Buffer, options: 'buffer' | (ReaddirOptions & { encoding: 'buffer' })): Buffer[]; + export function readdirSync(path: string | Buffer, options: buffer.Encoding | ReaddirOptions | null): string[]; + + export interface ReadFileOptions { + encoding?: buffer.Encoding | 'buffer'; + flag?: string; + } + + /** + * Asynchronously reads the entire contents of a file. + */ + export function readFile(file: string | Buffer | number, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void; + export function readFile(file: string | Buffer | number, options: buffer.Encoding | (ReadFileOptions & { encoding: buffer.Encoding }), callback: (err: NodeJS.ErrnoException | null, data: string) => void): void; + export function readFile(file: string | Buffer | number, options: 'buffer' | ReadFileOptions | null, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void; + + /** + * Synchronous version of `fs.readFile`. + */ + export function readFileSync(file: string | Buffer | number): Buffer; + export function readFileSync(file: string | Buffer | number, options: buffer.Encoding | (ReadFileOptions & { encoding: buffer.Encoding })): string; + export function readFileSync(file: string | Buffer | number, options: 'buffer' | ReadFileOptions | null): Buffer; + + export interface ReadlinkOptions { + encoding?: buffer.Encoding | 'buffer'; + } + + /** + * Asynchronous readlink(2). + */ + export function readlink(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null, linkString: string) => void): void; + export function readlink(path: string | Buffer, options: 'buffer' | (ReadlinkOptions & { encoding: 'buffer' }), callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void): void; + export function readlink(path: string | Buffer, options: buffer.Encoding | ReadlinkOptions | null, callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void): void; + + /** + * Synchronous readlink(2). + */ + export function readlinkSync(path: string | Buffer): string; + export function readlinkSync(path: string | Buffer, options: 'buffer' | (ReadlinkOptions & { encoding: 'buffer' })): Buffer; + export function readlinkSync(path: string | Buffer, options: buffer.Encoding | ReadlinkOptions | null): string; + + /** + * Synchronous version of `fs.read()`. + */ + export function readSync(fd: number, buffer: string | Buffer, offset: number, length: number, position: number): number; + + export interface RealpathOptions { + encoding?: buffer.Encoding | 'buffer'; + } + + /** + * Asynchronous realpath(3). May use `process.cwd` to resolve relative paths. + * + * Only paths that can be converted to UTF8 strings are supported. + */ + export function realpath(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void; + export function realpath(path: string | Buffer, options: 'buffer' | (RealpathOptions & { encoding: 'buffer' }), callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void; + export function realpath(path: string | Buffer, options: buffer.Encoding | RealpathOptions | null, callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void; + + /** + * Synchronous realpath(3). Returns the resolved path. + * + * Only paths that can be converted to UTF8 strings are supported. + */ + export function realpathSync(path: string | Buffer): string; + export function realpathSync(path: string | Buffer, options: 'buffer' | (RealpathOptions & { encoding: 'buffer' })): Buffer; + export function realpathSync(path: string | Buffer, options: buffer.Encoding | RealpathOptions | null): string; + + /** + * Asynchronous rename(2). + */ + export function rename(oldPath: string | Buffer, newPath: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous rename(2). + */ + export function renameSync(oldPath: string | Buffer, newPath: string | Buffer): void; + + /** + * Asynchronous rmdir(2). + */ + export function rmdir(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous rmdir(2). + */ + export function rmdirSync(path: string | Buffer): void; + + /** + * Asynchronous stat(2). + * + * In case of an error, the `err.code` will be one of Common System Errors. + * + * Using `fs.stat()` to check for the existence of a file before calling `fs.open()`, `fs.readFile()` or `fs.writeFile()` is not recommended. Instead, user code should open/read/write the file directly and handle the error raised if the file is not available. + * + * To check if a file exists without manipulating it afterwards, `fs.access()` is recommended. + */ + export function stat(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; + + /** + * Synchronous stat(2). + */ + export function statSync(path: string | Buffer): Stats; + + /** + * Asynchronous symlink(2). The type argument is only available on Windows (ignored on other platforms). Note that Windows junction points require the destination path to be absolute. When using `'junction'`, the target argument will automatically be normalized to absolute path. + */ + export function symlink(target: string | Buffer, path: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; + export function symlink(target: string | Buffer, path: string | Buffer, type: 'dir' | 'file' | 'junction', callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous symlink(2). + */ + export function symlinkSync(target: string | Buffer, path: string | Buffer, type?: 'dir' | 'file' | 'junction'): void; + + /** + * Asynchronous truncate(2). + */ + export function truncate(path: string | Buffer, len: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous truncate(2). + */ + export function truncateSync(path: string | Buffer, len?: number): void; + + /** + * Asynchronous unlink(2). + */ + export function unlink(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous unlink(2). + */ + export function unlinkSync(path: string | Buffer): void; + + /** + * Stop watching for changes on `filename`. If `listener` is specified, only that particular listener is removed. Otherwise, _all_ listeners are removed and you have effectively stopped watching `filename`. + * + * Calling `fs.unwatchFile()` with a filename that is not being watched is a no-op, not an error. + * + * Note: `fs.watch()` is more efficient than `fs.watchFile()` and `fs.unwatchFile()`. `fs.watch()` should be used instead of `fs.watchFile()` and `fs.unwatchFile()` when possible. + */ + export function unwatchFile(filename: string | Buffer, listener?: WatchListener): void; + + /** + * Change file timestamps of the file referenced by the supplied path. + * + * Note: the arguments `atime` and `mtime` of the following related functions follow these rules: + * + * - The value should be a Unix timestamp in seconds. For example, `Date.now()` returns milliseconds, so it should be divided by 1000 before passing it in. + * If the value is a numeric string like `'123456789'`, the value will get converted to the corresponding number. + * If the value is `NaN` or `Infinity`, the value will get converted to `Date.now() / 1000`. + */ + export function utimes(path: string | Buffer, atime: number, mtime: number, callback: (err: NodeJS.ErrnoException | null) => void): void; + + /** + * Synchronous version of `fs.utimes()`. + */ + export function utimesSync(path: string | Buffer, atime: number, mtime: number): void; + + export interface WatchOptions { + /** + * Indicates whether the process should continue to run as long as files are being watched. default = `true`. */ - export function rmdir(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Synchronous rmdir - removes the directory specified in {path} - * - * @param path + persistent?: boolean; + /** + * Indicates whether all subdirectories should be watched, or only the current directory. The applies when a directory is specified, and only on supported platforms (See Caveats). default = `false`. */ - export function rmdirSync(path: string | Buffer): void; - /* - * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param callback No arguments other than a possible exception are given to the completion callback. + recursive?: boolean; + /** + * Specifies the character encoding to be used for the filename passed to the listener. default = `'utf8'`. */ - export function mkdir(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. + encoding?: buffer.Encoding; + } + + /** + * Watch for changes on `filename`, where `filename` is either a file or a directory. The returned object is a `fs.FSWatcher`. + * + * Please note the listener callback is attached to the `'change'` event fired by `fs.FSWatcher`, but they are not the same thing. + */ + export function watch(filename: string | Buffer): FSWatcher; + export function watch(filename: string | Buffer, options: buffer.Encoding | WatchOptions | null): FSWatcher; + export function watch(filename: string | Buffer, listener: WatchListener): FSWatcher; + export function watch(filename: string | Buffer, options: buffer.Encoding | WatchOptions | null, listener: WatchListener): FSWatcher; + + export interface WatchFileOptions { + /** + * Indicates whether the process should continue to run as long as files are being watched */ - export function mkdir(path: string | Buffer, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. + persistent: boolean; + /** + * Indicates how often the target should be polled in milliseconds. The default is `5007`. */ - export function mkdir(path: string | Buffer, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Synchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdirSync(path: string | Buffer, mode?: number): void; - /* - * Synchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdirSync(path: string | Buffer, mode?: string): void; - /* - * Asynchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * - * @param prefix - * @param callback The created folder path is passed as a string to the callback's second parameter. - */ - export function mkdtemp(prefix: string, callback?: (err: NodeJS.ErrnoException, folder: string) => void): void; - /* - * Synchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * - * @param prefix - * @returns Returns the created folder path. - */ - export function mkdtempSync(prefix: string): string; - export function readdir(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void; - export function readdirSync(path: string | Buffer): string[]; - export function close(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function closeSync(fd: number): void; - export function open(path: string | Buffer, flags: string | number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void; - export function open(path: string | Buffer, flags: string | number, mode: number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void; - export function openSync(path: string | Buffer, flags: string | number, mode?: number): number; - export function utimes(path: string | Buffer, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function utimes(path: string | Buffer, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function utimesSync(path: string | Buffer, atime: number, mtime: number): void; - export function utimesSync(path: string | Buffer, atime: Date, mtime: Date): void; - export function futimes(fd: number, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function futimes(fd: number, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function futimesSync(fd: number, atime: number, mtime: number): void; - export function futimesSync(fd: number, atime: Date, mtime: Date): void; - export function fsync(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fsyncSync(fd: number): void; - export function write(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void; - export function write(fd: number, buffer: Buffer, offset: number, length: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void; - export function write(fd: number, data: any, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; - export function write(fd: number, data: any, offset: number, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; - export function write(fd: number, data: any, offset: number, encoding: string, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; - export function writeSync(fd: number, buffer: Buffer, offset: number, length: number, position?: number): number; - export function writeSync(fd: number, data: any, position?: number, enconding?: string): number; - export function read(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, bytesRead: number, buffer: Buffer) => void): void; - export function readSync(fd: number, buffer: Buffer, offset: number, length: number, position: number): number; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param encoding - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, encoding: string, callback: (err: NodeJS.ErrnoException, data: string) => void): void; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer. - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, options: { encoding: string; flag?: string; }, callback: (err: NodeJS.ErrnoException, data: string) => void): void; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer. - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, options: { flag?: string; }, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; - /* - * Synchronous readFile - Synchronously reads the entire contents of a file. - * - * @param fileName - * @param encoding - */ - export function readFileSync(filename: string, encoding: string): string; - /* - * Synchronous readFile - Synchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer. - */ - export function readFileSync(filename: string, options: { encoding: string; flag?: string; }): string; - /* - * Synchronous readFile - Synchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer. - */ - export function readFileSync(filename: string, options?: { flag?: string; }): Buffer; - export function writeFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void; - export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void; - export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void; - export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function appendFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void; - export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void; - export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void; - export function watchFile(filename: string, listener: (curr: Stats, prev: Stats) => void): void; - export function watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr: Stats, prev: Stats) => void): void; - export function unwatchFile(filename: string, listener?: (curr: Stats, prev: Stats) => void): void; - export function watch(filename: string, listener?: (event: string, filename: string) => any): FSWatcher; - export function watch(filename: string, encoding: string, listener?: (event: string, filename: string | Buffer) => any): FSWatcher; - export function watch(filename: string, options: { persistent?: boolean; recursive?: boolean; encoding?: string }, listener?: (event: string, filename: string | Buffer) => any): FSWatcher; - export function exists(path: string | Buffer, callback?: (exists: boolean) => void): void; - export function existsSync(path: string | Buffer): boolean; + interval: number; + } - export namespace constants { - // File Access Constants + /** + * Watch for changes on filename. The callback listener will be called each time the file is accessed. + * + * Note: when an `fs.watchFile` operation results in an `ENOENT` error, it will invoke the listener once, with all the fields zeroed (or, for dates, the Unix Epoch). In Windows, `blksize` and `blocks` fields will be `undefined`, instead of zero. If the file is created later on, the listener will be called again, with the latest stat objects. + * + * Note: `fs.watch()` is more efficient than `fs.watchFile` and `fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and `fs.unwatchFile` when possible. + */ + export function watchFile(filename: string | Buffer, listener: (curr: Stats, prev: Stats) => void): void; + export function watchFile(filename: string | Buffer, options: WatchFileOptions | null, listener: (curr: Stats, prev: Stats) => void): void; - /** Constant for fs.access(). File is visible to the calling process. */ - export const F_OK: number; + /** + * Write `buffer` to the file specified by `fd`. + * + * `offset` and `length` determine the part of the buffer to be written. + * + * `position` refers to the offset from the beginning of the file where this data should be written. If `typeof position !== 'number'`, the data will be written at the current position. See pwrite(2). + * + * Note that it is unsafe to use `fs.write` multiple times on the same file without waiting for the callback. For this scenario, `fs.createWriteStream` is strongly recommended. + * + * On Linux, positional writes don't work when the file is opened in append mode. The kernel ignores the position argument and always appends the data to the end of the file. + */ + export function write(fd: number, buffer: string | Buffer, offset: number, length: number, callback: (err: NodeJS.ErrnoException | null, written: number, buffer: Buffer) => void): void; + export function write(fd: number, buffer: string | Buffer, offset: number, length: number, position: number, callback: (err: NodeJS.ErrnoException | null, written: number, buffer: Buffer) => void): void; + export function write(fd: number, data: string | Buffer, callback: (err: NodeJS.ErrnoException | null, written: number, string: string) => void): void; + export function write(fd: number, data: string | Buffer, position: number, callback: (err: NodeJS.ErrnoException | null, written: number, string: string) => void): void; + export function write(fd: number, data: string | Buffer, position: number, encoding: buffer.Encoding, callback: (err: NodeJS.ErrnoException | null, written: number, string: string) => void): void; - /** Constant for fs.access(). File can be read by the calling process. */ - export const R_OK: number; + export interface WriteFileOptions { + encoding?: buffer.Encoding; + mode?: number; + flag?: string; + } - /** Constant for fs.access(). File can be written by the calling process. */ - export const W_OK: number; + /** + * Asynchronously writes data to a file, replacing the file if it already exists. + * + * Note that it is unsafe to use `fs.writeFile` multiple times on the same file without waiting for the callback. For this scenario, `fs.createWriteStream` is strongly recommended. + * + * Note: If a file descriptor is specified as the `file`, it will not be closed automatically. + */ + export function writeFile(file: string | Buffer | number, data: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; + export function writeFile(file: string | Buffer | number, data: string | Buffer, options: buffer.Encoding | WriteFileOptions | null, callback: (err: NodeJS.ErrnoException | null) => void): void; - /** Constant for fs.access(). File can be executed by the calling process. */ - export const X_OK: number; + /** + * The synchronous version of `fs.writeFile()`. + */ + export function writeFileSync(file: string | Buffer | number, data: string | Buffer, options?: buffer.Encoding | WriteFileOptions | null): void; - // File Open Constants - - /** Constant for fs.open(). Flag indicating to open a file for read-only access. */ - export const O_RDONLY: number; - - /** Constant for fs.open(). Flag indicating to open a file for write-only access. */ - export const O_WRONLY: number; - - /** Constant for fs.open(). Flag indicating to open a file for read-write access. */ - export const O_RDWR: number; - - /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */ - export const O_CREAT: number; - - /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */ - export const O_EXCL: number; - - /** Constant for fs.open(). Flag indicating that if path identifies a terminal device, opening the path shall not cause that terminal to become the controlling terminal for the process (if the process does not already have one). */ - export const O_NOCTTY: number; - - /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */ - export const O_TRUNC: number; - - /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */ - export const O_APPEND: number; - - /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */ - export const O_DIRECTORY: number; - - /** Constant for fs.open(). Flag indicating reading accesses to the file system will no longer result in an update to the atime information associated with the file. This flag is available on Linux operating systems only. */ - export const O_NOATIME: number; - - /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */ - export const O_NOFOLLOW: number; - - /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */ - export const O_SYNC: number; - - /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */ - export const O_SYMLINK: number; - - /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */ - export const O_DIRECT: number; - - /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */ - export const O_NONBLOCK: number; - - // File Type Constants - - /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */ - export const S_IFMT: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */ - export const S_IFREG: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */ - export const S_IFDIR: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */ - export const S_IFCHR: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */ - export const S_IFBLK: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */ - export const S_IFIFO: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */ - export const S_IFLNK: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */ - export const S_IFSOCK: number; - - // File Mode Constants - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */ - export const S_IRWXU: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */ - export const S_IRUSR: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */ - export const S_IWUSR: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */ - export const S_IXUSR: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */ - export const S_IRWXG: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */ - export const S_IRGRP: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */ - export const S_IWGRP: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */ - export const S_IXGRP: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */ - export const S_IRWXO: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */ - export const S_IROTH: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */ - export const S_IWOTH: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */ - export const S_IXOTH: number; - } - - /** Tests a user's permissions for the file specified by path. */ - export function access(path: string | Buffer, callback: (err: NodeJS.ErrnoException) => void): void; - export function access(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException) => void): void; - /** Synchronous version of fs.access. This throws if any accessibility checks fail, and does nothing otherwise. */ - export function accessSync(path: string | Buffer, mode?: number): void; - export function createReadStream(path: string | Buffer, options?: { - flags?: string; - encoding?: string; - fd?: number; - mode?: number; - autoClose?: boolean; - start?: number; - end?: number; - }): ReadStream; - export function createWriteStream(path: string | Buffer, options?: { - flags?: string; - encoding?: string; - fd?: number; - mode?: number; - autoClose?: boolean; - start?: number; - }): WriteStream; - export function fdatasync(fd: number, callback: Function): void; - export function fdatasyncSync(fd: number): void; + /** + * Synchronous `fs.write`. + */ + export function writeSync(fd: number, buffer: string | Buffer, offset: number, length: number, position?: number): void; + export function writeSync(fd: number, data: string | Buffer, position?: number, encoding?: buffer.Encoding): void; } declare module "path" { + /** + * A parsed path object generated by path.parse() or consumed by path.format(). + */ + export interface ParsedPath { /** - * A parsed path object generated by path.parse() or consumed by path.format(). + * The root of the path such as '/' or 'c:\' */ - export interface ParsedPath { - /** - * The root of the path such as '/' or 'c:\' - */ - root: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base: string; - /** - * The file extension (if any) such as '.html' - */ - ext: string; - /** - * The file name without extension (if any) such as 'index' - */ - name: string; - } + root: string; + /** + * The full directory path such as '/home/user/dir' or 'c:\path\dir' + */ + dir: string; + /** + * The file name including extension (if any) such as 'index.html' + */ + base: string; + /** + * The file extension (if any) such as '.html' + */ + ext: string; + /** + * The file name without extension (if any) such as 'index' + */ + name: string; + } - /** - * Normalize a string path, reducing '..' and '.' parts. - * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. - * - * @param p string path to normalize. - */ + /** + * Normalize a string path, reducing '..' and '.' parts. + * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. + * + * @param p string path to normalize. + */ + export function normalize(p: string): string; + /** + * Join all arguments together and normalize the resulting path. + * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. + * + * @param paths string paths to join. + */ + export function join(...paths: string[]): string; + /** + * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. + * + * Starting from leftmost {from} paramter, resolves {to} to an absolute path. + * + * If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory. + * + * @param pathSegments string paths to join. Non-string arguments are ignored. + */ + export function resolve(...pathSegments: string[]): string; + /** + * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. + * + * @param path path to test. + */ + export function isAbsolute(path: string): boolean; + /** + * Solve the relative path from {from} to {to}. + * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. + * + * @param from + * @param to + */ + export function relative(from: string, to: string): string; + /** + * Return the directory name of a path. Similar to the Unix dirname command. + * + * @param p the path to evaluate. + */ + export function dirname(p: string): string; + /** + * Return the last portion of a path. Similar to the Unix basename command. + * Often used to extract the file name from a fully qualified path. + * + * @param p the path to evaluate. + * @param ext optionally, an extension to remove from the result. + */ + export function basename(p: string, ext?: string): string; + /** + * Return the extension of the path, from the last '.' to end of string in the last portion of the path. + * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string + * + * @param p the path to evaluate. + */ + export function extname(p: string): string; + /** + * The platform-specific file separator. '\\' or '/'. + */ + export var sep: string; + /** + * The platform-specific file delimiter. ';' or ':'. + */ + export var delimiter: string; + /** + * Returns an object from a path string - the opposite of format(). + * + * @param pathString path to evaluate. + */ + export function parse(pathString: string): ParsedPath; + /** + * Returns a path string from an object - the opposite of parse(). + * + * @param pathString path to evaluate. + */ + export function format(pathObject: ParsedPath): string; + + export module posix { export function normalize(p: string): string; - /** - * Join all arguments together and normalize the resulting path. - * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. - * - * @param paths paths to join. - */ export function join(...paths: string[]): string; - /** - * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. - * - * Starting from leftmost {from} paramter, resolves {to} to an absolute path. - * - * If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory. - * - * @param pathSegments string paths to join. Non-string arguments are ignored. - */ - export function resolve(...pathSegments: any[]): string; - /** - * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. - * - * @param path path to test. - */ - export function isAbsolute(path: string): boolean; - /** - * Solve the relative path from {from} to {to}. - * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. - * - * @param from - * @param to - */ + export function resolve(...pathSegments: string[]): string; + export function isAbsolute(p: string): boolean; export function relative(from: string, to: string): string; - /** - * Return the directory name of a path. Similar to the Unix dirname command. - * - * @param p the path to evaluate. - */ export function dirname(p: string): string; - /** - * Return the last portion of a path. Similar to the Unix basename command. - * Often used to extract the file name from a fully qualified path. - * - * @param p the path to evaluate. - * @param ext optionally, an extension to remove from the result. - */ export function basename(p: string, ext?: string): string; - /** - * Return the extension of the path, from the last '.' to end of string in the last portion of the path. - * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string - * - * @param p the path to evaluate. - */ export function extname(p: string): string; - /** - * The platform-specific file separator. '\\' or '/'. - */ export var sep: string; - /** - * The platform-specific file delimiter. ';' or ':'. - */ export var delimiter: string; - /** - * Returns an object from a path string - the opposite of format(). - * - * @param pathString path to evaluate. - */ - export function parse(pathString: string): ParsedPath; - /** - * Returns a path string from an object - the opposite of parse(). - * - * @param pathString path to evaluate. - */ - export function format(pathObject: ParsedPath): string; + export function parse(p: string): ParsedPath; + export function format(pP: ParsedPath): string; + } - export module posix { - export function normalize(p: string): string; - export function join(...paths: any[]): string; - export function resolve(...pathSegments: any[]): string; - export function isAbsolute(p: string): boolean; - export function relative(from: string, to: string): string; - export function dirname(p: string): string; - export function basename(p: string, ext?: string): string; - export function extname(p: string): string; - export var sep: string; - export var delimiter: string; - export function parse(p: string): ParsedPath; - export function format(pP: ParsedPath): string; - } - - export module win32 { - export function normalize(p: string): string; - export function join(...paths: any[]): string; - export function resolve(...pathSegments: any[]): string; - export function isAbsolute(p: string): boolean; - export function relative(from: string, to: string): string; - export function dirname(p: string): string; - export function basename(p: string, ext?: string): string; - export function extname(p: string): string; - export var sep: string; - export var delimiter: string; - export function parse(p: string): ParsedPath; - export function format(pP: ParsedPath): string; - } + export module win32 { + export function normalize(p: string): string; + export function join(...paths: string[]): string; + export function resolve(...pathSegments: string[]): string; + export function isAbsolute(p: string): boolean; + export function relative(from: string, to: string): string; + export function dirname(p: string): string; + export function basename(p: string, ext?: string): string; + export function extname(p: string): string; + export var sep: string; + export var delimiter: string; + export function parse(p: string): ParsedPath; + export function format(pP: ParsedPath): string; + } } declare module "string_decoder" { - export interface NodeStringDecoder { - write(buffer: Buffer): string; - end(buffer?: Buffer): string; - } - export var StringDecoder: { - new (encoding?: string): NodeStringDecoder; - }; + import * as buffer from "buffer"; + + export class StringDecoder { + /** + * @param encoding The character encoding the `StringDecoder` will use. Defaults to `'utf8'`. + */ + constructor(encoding?: buffer.Encoding); + /** + * Returns a decoded string, ensuring that any incomplete multibyte characters at the end of the `Buffer` are omitted from the returned string and stored in an internal buffer for the next call to `stringDecoder.write()` or `stringDecoder.end()`. + * + * @param buffer A `Buffer` containing the bytes to decode. + */ + write(buffer: Buffer): string; + /** + * Returns any remaining input stored in the internal buffer as a string. Bytes representing incomplete UTF-8 and UTF-16 characters will be replaced with substitution characters appropriate for the character encoding. + * + * If the `buffer` argument is provided, one final call to `stringDecoder.write()` is performed before returning the remaining input. + * + * @param buffer A `Buffer` containing the bytes to decode. + */ + end(buffer?: Buffer): string; + } } declare module "tls" { - import * as crypto from "crypto"; - import * as net from "net"; - import * as stream from "stream"; + import * as crypto from "crypto"; + import * as net from "net"; + import * as stream from "stream"; - var CLIENT_RENEG_LIMIT: number; - var CLIENT_RENEG_WINDOW: number; + export var CLIENT_RENEG_LIMIT: number; + export var CLIENT_RENEG_WINDOW: number; + export var SLAB_BUFFER_SIZE: number; + export var DEFAULT_CIPHERS: string; + export var DEFAULT_ECDH_CURVE: string; - export interface Certificate { - /** - * Country code. - */ - C: string; - /** - * Street. - */ - ST: string; - /** - * Locality. - */ - L: string; - /** - * Organization. - */ - O: string; - /** - * Organizational unit. - */ - OU: string; - /** - * Common name. - */ - CN: string; - } + export class Server extends net.Server { + /** + * The `server.addContext()` method adds a secure context that will be used if the client request's SNS hostname matches the supplied `hostname` (or wildcard). + * + * @param hostname A SNI hostname or wildcard (e.g. `'*'`) + * @param options An object containing any of the possible properties from the `tls.createSecureContext()` options arguments + */ + addContext(hostName: string, options: SecureContextOptions): void; + /** + * Returns a `Buffer` instance holding the keys currently used for encryption/decryption of the TLS Session Tickets. + */ + getTicketKeys(): Buffer; + /** + * Updates the keys for encryption/decryption of the TLS Session Tickets. + * + * Note: The key's Buffer should be 48 bytes long. See ticketKeys option in tls.createServer for more information on how it is used. + * + * Note: Changes to the ticket keys are effective only for future server connections. Existing or currently pending server connections will use the previous keys. + */ + setTicketKeys(keys: Buffer): void; + /** + * Returns the current number of concurrent connections on the server. + */ + connections: number; + } - export interface CipherNameAndProtocol { - /** - * The cipher name. - */ - name: string; - /** - * SSL/TLS protocol version. - */ - version: string; - } + export interface Certificate { + /** + * Country code. + */ + C: string; + /** + * Street. + */ + ST: string; + /** + * Locality. + */ + L: string; + /** + * Organization. + */ + O: string; + /** + * Organizational unit. + */ + OU: string; + /** + * Common name. + */ + CN: string; + } - export class TLSSocket extends stream.Duplex { - /** - * Construct a new tls.TLSSocket object from an existing TCP socket. - */ - constructor(socket:net.Socket, options?: { - /** - * An optional TLS context object from tls.createSecureContext() - */ - secureContext?: SecureContext, - /** - * If true the TLS socket will be instantiated in server-mode. - * Defaults to false. - */ - isServer?: boolean, - /** - * An optional net.Server instance. - */ - server?: net.Server, - /** - * If true the server will request a certificate from clients that - * connect and attempt to verify that certificate. Defaults to - * false. - */ - requestCert?: boolean, - /** - * If true the server will reject any connection which is not - * authorized with the list of supplied CAs. This option only has an - * effect if requestCert is true. Defaults to false. - */ - rejectUnauthorized?: boolean, - /** - * An array of strings or a Buffer naming possible NPN protocols. - * (Protocols should be ordered by their priority.) - */ - NPNProtocols?: string[] | Buffer, - /** - * An array of strings or a Buffer naming possible ALPN protocols. - * (Protocols should be ordered by their priority.) When the server - * receives both NPN and ALPN extensions from the client, ALPN takes - * precedence over NPN and the server does not send an NPN extension - * to the client. - */ - ALPNProtocols?: string[] | Buffer, - /** - * SNICallback(servername, cb) A function that will be - * called if the client supports SNI TLS extension. Two arguments - * will be passed when called: servername and cb. SNICallback should - * invoke cb(null, ctx), where ctx is a SecureContext instance. - * (tls.createSecureContext(...) can be used to get a proper - * SecureContext.) If SNICallback wasn't provided the default callback - * with high-level API will be used (see below). - */ - SNICallback?: Function, - /** - * An optional Buffer instance containing a TLS session. - */ - session?: Buffer, - /** - * If true, specifies that the OCSP status request extension will be - * added to the client hello and an 'OCSPResponse' event will be - * emitted on the socket before establishing a secure communication - */ - requestOCSP?: boolean - }); - /** - * Returns the bound address, the address family name and port of the underlying socket as reported by - * the operating system. - * @returns {any} - An object with three properties, e.g. { port: 12346, family: 'IPv4', address: '127.0.0.1' }. - */ - address(): { port: number; family: string; address: string }; - /** - * A boolean that is true if the peer certificate was signed by one of the specified CAs, otherwise false. - */ - authorized: boolean; - /** - * The reason why the peer's certificate has not been verified. - * This property becomes available only when tlsSocket.authorized === false. - */ - authorizationError: Error; - /** - * Static boolean value, always true. - * May be used to distinguish TLS sockets from regular ones. - */ - encrypted: boolean; - /** - * Returns an object representing the cipher name and the SSL/TLS protocol version of the current connection. - * @returns {CipherNameAndProtocol} - Returns an object representing the cipher name - * and the SSL/TLS protocol version of the current connection. - */ - getCipher(): CipherNameAndProtocol; - /** - * Returns an object representing the peer's certificate. - * The returned object has some properties corresponding to the field of the certificate. - * If detailed argument is true the full chain with issuer property will be returned, - * if false only the top certificate without issuer property. - * If the peer does not provide a certificate, it returns null or an empty object. - * @param {boolean} detailed - If true; the full chain with issuer property will be returned. - * @returns {any} - An object representing the peer's certificate. - */ - getPeerCertificate(detailed?: boolean): { - subject: Certificate; - issuerInfo: Certificate; - issuer: Certificate; - raw: any; - valid_from: string; - valid_to: string; - fingerprint: string; - serialNumber: string; - }; - /** - * Could be used to speed up handshake establishment when reconnecting to the server. - * @returns {any} - ASN.1 encoded TLS session or undefined if none was negotiated. - */ - getSession(): any; - /** - * NOTE: Works only with client TLS sockets. - * Useful only for debugging, for session reuse provide session option to tls.connect(). - * @returns {any} - TLS session ticket or undefined if none was negotiated. - */ - getTLSTicket(): any; - /** - * The string representation of the local IP address. - */ - localAddress: string; - /** - * The numeric representation of the local port. - */ - localPort: string; - /** - * The string representation of the remote IP address. - * For example, '74.125.127.100' or '2001:4860:a005::68'. - */ - remoteAddress: string; - /** - * The string representation of the remote IP family. 'IPv4' or 'IPv6'. - */ - remoteFamily: string; - /** - * The numeric representation of the remote port. For example, 443. - */ - remotePort: number; - /** - * Initiate TLS renegotiation process. - * - * NOTE: Can be used to request peer's certificate after the secure connection has been established. - * ANOTHER NOTE: When running as the server, socket will be destroyed with an error after handshakeTimeout timeout. - * @param {TlsOptions} options - The options may contain the following fields: rejectUnauthorized, - * requestCert (See tls.createServer() for details). - * @param {Function} callback - callback(err) will be executed with null as err, once the renegotiation - * is successfully completed. - */ - renegotiate(options: TlsOptions, callback: (err: Error) => any): any; - /** - * Set maximum TLS fragment size (default and maximum value is: 16384, minimum is: 512). - * Smaller fragment size decreases buffering latency on the client: large fragments are buffered by - * the TLS layer until the entire fragment is received and its integrity is verified; - * large fragments can span multiple roundtrips, and their processing can be delayed due to packet - * loss or reordering. However, smaller fragments add extra TLS framing bytes and CPU overhead, - * which may decrease overall server throughput. - * @param {number} size - TLS fragment size (default and maximum value is: 16384, minimum is: 512). - * @returns {boolean} - Returns true on success, false otherwise. - */ - setMaxSendFragment(size: number): boolean; + export interface Cipher { + /** + * The cipher name. + */ + name: string; + /** + * SSL/TLS protocol version. + */ + version: string; + } - /** - * events.EventEmitter - * 1. OCSPResponse - * 2. secureConnect - **/ - addListener(event: string, listener: Function): this; - addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - addListener(event: "secureConnect", listener: () => void): this; + export interface EphemeralKeyInfo { + type: 'DH' | 'ECDH'; + name?: string; + size: number; + } - emit(event: string, ...args: any[]): boolean; - emit(event: "OCSPResponse", response: Buffer): boolean; - emit(event: "secureConnect"): boolean; + export interface PeerCertificate { + subject: Certificate; + issuerInfo: Certificate; + issuer: Certificate; + raw: Buffer; + valid_from: string; + valid_to: string; + fingerprint: string; + serialNumber: string; + } - on(event: string, listener: Function): this; - on(event: "OCSPResponse", listener: (response: Buffer) => void): this; - on(event: "secureConnect", listener: () => void): this; + export interface TLSSocketOptions { + /** + * An optional TLS context object from `tls.createSecureContext()`. + */ + secureContext?: SecureContext; + /** + * If true the TLS socket will be instantiated in server-mode. Defaults to `false`. + */ + isServer?: boolean; + /** + * An optional net.Server instance. + */ + server?: net.Server; + /** + * Optional, see `tls.createServer()`. + */ + requestCert?: boolean; + /** + * Optional, see `tls.createServer()`. + */ + rejectUnauthorized?: boolean; + /** + * Optional, see `tls.createServer()`. + */ + NPNProtocols?: string[] | Buffer; + /** + * Optional, see `tls.createServer()`. + */ + ALPNProtocols?: string[] | Buffer; + /** + * Optional, see `tls.createServer()`. + */ + SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void; + /** + * An optional Buffer instance containing a TLS session. + */ + session?: Buffer; + /** + * If `true`, specifies that the OCSP status request extension will be added to the client hello and an 'OCSPResponse' event will be emitted on the socket before establishing a secure communication + */ + requestOCSP?: boolean; + } - once(event: string, listener: Function): this; - once(event: "OCSPResponse", listener: (response: Buffer) => void): this; - once(event: "secureConnect", listener: () => void): this; + export interface RenegotiateOptions { + rejectUnauthorized?: boolean; + requestCert?: boolean; + } - prependListener(event: string, listener: Function): this; - prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - prependListener(event: "secureConnect", listener: () => void): this; + export class TLSSocket extends net.Socket { + /** + * Construct a new `tls.TLSSocket` object from an existing TCP socket. + */ + constructor(socket: net.Socket, options?: TLSSocketOptions); + /** + * Returns `true` if the peer certificate was signed by one of the CAs specified when creating the `tls.TLSSocket` instance, otherwise `false`. + */ + authorized: boolean; + /** + * Returns the reason why the peer's certificate was not been verified. This property is set only when `tlsSocket.authorized === false`. + */ + authorizationError?: Error; + /** + * Always returns `true`. This may be used to distinguish TLS sockets from regular `net.Socket` instances. + */ + encrypted: true; + /** + * Returns an object representing the cipher name and the SSL/TLS protocol version that first defined the cipher. + */ + getCipher(): Cipher; + /** + * Returns an object representing the type, name, and size of parameter of an ephemeral key exchange in Perfect Forward Secrecy on a client connection. It returns an empty object when the key exchange is not ephemeral. As this is only supported on a client socket; `null` is returned if called on a server socket. The supported types are `'DH'` and `'ECDH'`. The `name` property is available only when type is `'ECDH'`. + */ + getEphemeralKeyInfo(): EphemeralKeyInfo; + /** + * Returns an object representing the peer's certificate. The returned object has some properties corresponding to the fields of the certificate. + * + * @param detailed Specify `true` to request that the full certificate chain with the `issuer` property be returned; false to return only the top certificate without the `issuer` property. + */ + getPeerCertificate(detailed?: boolean): PeerCertificate; + /** + * Returns a string containing the negotiated SSL/TLS protocol version of the current connection. The value `'unknown'` will be returned for connected sockets that have not completed the handshaking process. The value `null` will be returned for server sockets or disconnected client sockets. + */ + getProtocol(): string | null; + /** + * Returns the ASN.1 encoded TLS session or `undefined` if no session was negotiated. Can be used to speed up handshake establishment when reconnecting to the server. + */ + getSession(): Buffer | undefined; + /** + * Returns the TLS session ticket or `undefined` if no session was negotiated. + * + * Note: This only works with client TLS sockets. Useful only for debugging, for session reuse `provide` session option to `tls.connect()`. + */ + getTLSTicket(): Buffer | undefined; + /** + * Returns the string representation of the local IP address. + */ + localAddress: string; + /** + * Returns the numeric representation of the local port. + */ + localPort: number; + /** + * Returns the string representation of the remote IP address. For example, `'74.125.127.100'` or `'2001:4860:a005::68'`. + */ + remoteAddress: string; + /** + * Returns the string representation of the remote IP family. `'IPv4'` or `'IPv6'`. + */ + remoteFamily: string; + /** + * The numeric representation of the remote port. For example, 443. + */ + remotePort: number; + /** + * The `tlsSocket.renegotiate()` method initiates a TLS renegotiation process. + * + * Note: This method can be used to request a peer's certificate after the secure connection has been established. + * + * Note: When running as the server, the socket will be destroyed with an error after `handshakeTimeout` timeout. + */ + renegotiate(options: RenegotiateOptions, callback: (err: Error | null) => any): any; + /** + * The `tlsSocket.setMaxSendFragment()` method sets the maximum TLS fragment size. Returns `true` if setting the limit succeeded; false otherwise. + * + * Smaller fragment sizes decrease the buffering latency on the client: larger fragments are buffered by the TLS layer until the entire fragment is received and its integrity is verified; large fragments can span multiple roundtrips and their processing can be delayed due to packet loss or reordering. However, smaller fragments add extra TLS framing bytes and CPU overhead, which may decrease overall server throughput. + * + * @param size The maximum TLS fragment size. Defaults to `16384`. The maximum value is `16384`. + */ + setMaxSendFragment(size: number): boolean; + } - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - prependOnceListener(event: "secureConnect", listener: () => void): this; - } + export interface ConnectOptions { + /** + * Host the client should connect to. + */ + host?: string; + /** + * Port the client should connect to. + */ + port?: number | string; + /** + * Establish secure connection on a given socket rather than creating a new socket. If this option is specified, `host` and `port` are ignored. + */ + socket?: net.Socket; + /** + * Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored. + */ + path?: string; + /** + * A `string` or `Buffer` containing the private key, certificate, and CA certs of the client in PFX or PKCS12 format. + */ + pfx?: string | Buffer; + /** + * A string, `Buffer`, array of strings, or array of `Buffer`s containing the private key of the client in PEM format. + */ + key?: string | Buffer | string[] | Buffer[]; + /** + * A string containing the passphrase for the private key or pfx. + */ + passphrase?: string; + /** + * A string, `Buffer`, array of strings, or array of `Buffer`s containing the certificate key of the client in PEM format. + */ + cert?: string | Buffer | string[] | Buffer[]; + /** + * A string, `Buffer`, array of strings, or array of `Buffer`s of trusted certificates in PEM format. If this is omitted several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections. + */ + ca?: string | Buffer | string[] | Buffer[]; + /** + * A string describing the ciphers to use or exclude, separated by `:`. Uses the same default cipher suite as `tls.createServer()`. + */ + ciphers?: string; + /** + * If true, the server certificate is verified against the list of supplied CAs. An `'error'` event is emitted if verification fails; `err.code` contains the OpenSSL error code. Defaults to `true`. + */ + rejectUnauthorized?: boolean; + /** + * An array of strings or `Buffer`s containing supported NPN protocols. `Buffer`s should have the format `[len][name][len][name]...` e.g. `0x05hello0x05world`, where the first byte is the length of the next protocol name. Passing an array is usually much simpler, e.g. `['hello', 'world']`. + */ + NPNProtocols?: string[] | Buffer[]; + /** + * An array of strings or `Buffer`s containing the supported ALPN protocols. `Buffer`s should have the format `[len][name][len][name]...` e.g. `0x05hello0x05world`, where the first byte is the length of the next protocol name. Passing an array is usually much simpler: `['hello', 'world']`.) + */ + ALPNProtocols?: string[] | Buffer[]; + /** + * Server name for the SNI (Server Name Indication) TLS extension. + */ + servername?: string; + /** + * A callback function to be used when checking the server's hostname against the certificate. This should throw an error if verification fails. The method should return `undefined` if the `servername` and `cert` are verified. + */ + checkServerIdentity?: (servername: string, cert: Buffer) => void; + /** + * The SSL method to use, e.g., `SSLv3_method` to force SSL version 3. The possible values depend on the version of OpenSSL installed in the environment and are defined in the constant SSL_METHODS. + */ + secureProtocol?: string; + /** + * An optional TLS context object as returned by from `tls.createSecureContext( ... )`. It can be used for caching client certificates, keys, and CA certificates. + */ + secureContext?: SecureContext; + /** + * A `Buffer` instance, containing TLS session. + */ + session?: Buffer; + /** + * Minimum size of the DH parameter in bits to accept a TLS connection. When a server offers a DH parameter with a size less than `minDHSize`, the TLS connection is destroyed and an error is thrown. Defaults to `1024`. + */ + minDHSize?: number; + } - export interface TlsOptions { - host?: string; - port?: number; - pfx?: string | Buffer[]; - key?: string | string[] | Buffer | any[]; - passphrase?: string; - cert?: string | string[] | Buffer | Buffer[]; - ca?: string | string[] | Buffer | Buffer[]; - crl?: string | string[]; - ciphers?: string; - honorCipherOrder?: boolean; - requestCert?: boolean; - rejectUnauthorized?: boolean; - NPNProtocols?: string[] | Buffer; - SNICallback?: (servername: string, cb: (err: Error, ctx: SecureContext) => any) => any; - ecdhCurve?: string; - dhparam?: string | Buffer; - handshakeTimeout?: number; - ALPNProtocols?: string[] | Buffer; - sessionTimeout?: number; - ticketKeys?: any; - sessionIdContext?: string; - secureProtocol?: string; - } + export interface SecureContextOptions { + /** + * A string or `Buffer` holding the PFX or PKCS12 encoded private key, certificate, and CA certificates. + */ + pfx?: string | Buffer; + /** + * The private key of the server in PEM format. To support multiple keys using different algorithms, an array can be provided either as an array of key strings or as an array of objects in the format `{pem: key, passphrase: passphrase}`. This option is required for ciphers that make use of private keys. + */ + key?: string | string[] | Buffer | Array<{ pem: string | string[] | Buffer, passphrase: string }>; + /** + * A string containing the passphrase for the private key or pfx. + */ + passphrase?: string; + /** + * A string containing the PEM encoded certificate. + */ + cert?: string | Buffer | string[] | Buffer[]; + /** + * A string, `Buffer`, array of strings, or array of `Buffer`s of trusted certificates in PEM format. If omitted, several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections. + */ + ca?: string | Buffer | string[] | Buffer[]; + /** + * Either a string or array of strings of PEM encoded CRLs (Certificate Revocation List). + */ + crl?: string | string[]; + /** + * A string describing the ciphers to use or exclude. Consult https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT for details on the format. + */ + ciphers?: string; + /** + * If `true`, when a cipher is being selected, the server's preferences will be used instead of the client preferences. + */ + honorCipherOrder?: boolean; + } - export interface ConnectionOptions { - host?: string; - port?: number; - socket?: net.Socket; - pfx?: string | Buffer - key?: string | string[] | Buffer | Buffer[]; - passphrase?: string; - cert?: string | string[] | Buffer | Buffer[]; - ca?: string | Buffer | (string | Buffer)[]; - rejectUnauthorized?: boolean; - NPNProtocols?: (string | Buffer)[]; - servername?: string; - path?: string; - ALPNProtocols?: (string | Buffer)[]; - checkServerIdentity?: (servername: string, cert: string | Buffer | (string | Buffer)[]) => any; - secureProtocol?: string; - secureContext?: Object; - session?: Buffer; - minDHSize?: number; - } + export interface CreateServerOptions { + /** + * A `string` or `Buffer` containing the private key, certificate and CA certs of the server in PFX or PKCS12 format. (Mutually exclusive with the `key`, `cert`, and `ca` options.) + */ + pfx?: string | Buffer; + /** + * The private key of the server in PEM format. To support multiple keys using different algorithms an array can be provided either as a plain array of key strings or an array of objects in the format `{pem: key, passphrase: passphrase}`. This option is required for ciphers that make use of private keys. + */ + key?: string | string[] | Buffer | Array<{ pem: string | string[] | Buffer, passphrase: string }>; + /** + * A string containing the passphrase for the private key or pfx. + */ + passphrase?: string; + /** + * A string containing the PEM encoded certificate. + */ + cert?: string | Buffer | string[] | Buffer[]; + /** + * A string, `Buffer`, array of strings, or array of `Buffer`s of trusted certificates in PEM format. If omitted, several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections. + */ + ca?: string | Buffer | string[] | Buffer[]; + /** + * Either a string or array of strings of PEM encoded CRLs (Certificate Revocation List). + */ + crl?: string | string[]; + /** + * A string describing the ciphers to use or exclude, separated by `:`. + */ + ciphers?: string; + /** + * A string describing a named curve to use for ECDH key agreement or false to disable ECDH. Defaults to `prime256v1` (NIST P-256). Use crypto.getCurves() to obtain a list of available curve names. On recent releases, `openssl ecparam -list_curves` will also display the name and description of each available elliptic curve. + */ + ecdhCurve?: string; + /** + * A string or `Buffer` containing Diffie Hellman parameters, required for Perfect Forward Secrecy. Use `openssl dhparam` to create the parameters. The key length must be greater than or equal to 1024 bits, otherwise an error will be thrown. It is strongly recommended to use 2048 bits or larger for stronger security. If omitted or invalid, the parameters are silently discarded and DHE ciphers will not be available. + */ + dhparam?: string | Buffer; + /** + * Abort the connection if the SSL/TLS handshake does not finish in the specified number of milliseconds. Defaults to `120` seconds. A `'clientError'` is emitted on the `tls.Server` object whenever a handshake times out. + */ + handshakeTimeout?: number; + /** + * When choosing a cipher, use the server's preferences instead of the client preferences. Defaults to `true`. + */ + honorCipherOrder?: boolean; + /** + * If `true` the server will request a certificate from clients that connect and attempt to verify that certificate. Defaults to `false`. + */ + requestCert?: boolean; + /** + * If `true` the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if `requestCert` is `true`. Defaults to `false`. + */ + rejectUnauthorized?: boolean; + /** + * An array of strings or a `Buffer` naming possible NPN protocols. (Protocols should be ordered by their priority.) + */ + NPNProtocols?: string[] | Buffer; + /** + * An array of strings or a `Buffer` naming possible ALPN protocols. (Protocols should be ordered by their priority.) When the server receives both NPN and ALPN extensions from the client, ALPN takes precedence over NPN and the server does not send an NPN extension to the client. + */ + ALPNProtocols?: string[] | Buffer; + /** + * A function that will be called if the client supports SNI TLS extension. Two arguments will be passed when called: `servername` and `cb`. `SNICallback` should invoke `cb(null, ctx)`, where `ctx` is a SecureContext instance. (`tls.createSecureContext(...)` can be used to get a proper SecureContext.) If `SNICallback` wasn't provided the default callback with high-level API will be used (see below). + */ + SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void; + /** + * An integer specifying the number of seconds after which the TLS session identifiers and TLS session tickets created by the server will time out. See SSL_CTX_set_timeout for more details. + */ + sessionTimeout?: number; + /** + * A 48-byte `Buffer` instance consisting of a 16-byte prefix, a 16-byte HMAC key, and a 16-byte AES key. This can be used to accept TLS session tickets on multiple instances of the TLS server. Note that this is automatically shared between `cluster` module workers. + */ + ticketKeys?: Buffer; + /** + * A string containing an opaque identifier for session resumption. If `requestCert` is true, the default is a 128 bit truncated SHA1 hash value generated from the command-line. Otherwise, a default is not provided. + */ + sessionIdContext?: string; + /** + * The SSL method to use, e.g., `SSLv3_method` to force SSL version 3. The possible values depend on the version of OpenSSL installed in the environment and are defined in the constant SSL_METHODS. + */ + secureProtocol?: string; + } - export interface Server extends net.Server { - close(callback?: Function): Server; - address(): { port: number; family: string; address: string; }; - addContext(hostName: string, credentials: { - key: string; - cert: string; - ca: string; - }): void; - maxConnections: number; - connections: number; + export interface SecureContext { + context: any; + } - /** - * events.EventEmitter - * 1. tlsClientError - * 2. newSession - * 3. OCSPRequest - * 4. resumeSession - * 5. secureConnection - **/ - addListener(event: string, listener: Function): this; - addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - addListener(event: "newSession", listener: (sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void) => void): this; - addListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: Function) => void): this; - addListener(event: "resumeSession", listener: (sessionId: any, callback: (err: Error, sessionData: any) => void) => void): this; - addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + /** + * Creates a new tls.Server. The secureConnectionListener, if provided, is automatically set as a listener for the `'secureConnection'` event. + */ + export function createServer(options: CreateServerOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; - emit(event: string, ...args: any[]): boolean; - emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean; - emit(event: "newSession", sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void): boolean; - emit(event: "OCSPRequest", certificate: Buffer, issuer: Buffer, callback: Function): boolean; - emit(event: "resumeSession", sessionId: any, callback: (err: Error, sessionData: any) => void): boolean; - emit(event: "secureConnection", tlsSocket: TLSSocket): boolean; + /** + * Creates a new client connection to the given `port` and `host` or `options.port` and `options.host`. (If `host` is omitted, it defaults to `localhost`.) + */ + export function connect(options: ConnectOptions, callback?: () => void): TLSSocket; + export function connect(port: number, options?: ConnectOptions, callback?: () => void): TLSSocket; + export function connect(port: number, host?: string, options?: ConnectOptions, callback?: () => void): TLSSocket; - on(event: string, listener: Function): this; - on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - on(event: "newSession", listener: (sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void) => void): this; - on(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: Function) => void): this; - on(event: "resumeSession", listener: (sessionId: any, callback: (err: Error, sessionData: any) => void) => void): this; - on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + /** + * The `tls.createSecureContext()` method creates a credentials object. + * + * If the `'ca'` option is not given, then Node.js will use the default publicly trusted list of CAs as given in http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt. + */ + export function createSecureContext(options: SecureContextOptions): SecureContext; - once(event: string, listener: Function): this; - once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - once(event: "newSession", listener: (sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void) => void): this; - once(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: Function) => void): this; - once(event: "resumeSession", listener: (sessionId: any, callback: (err: Error, sessionData: any) => void) => void): this; - once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - prependListener(event: "newSession", listener: (sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void) => void): this; - prependListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: Function) => void): this; - prependListener(event: "resumeSession", listener: (sessionId: any, callback: (err: Error, sessionData: any) => void) => void): this; - prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - prependOnceListener(event: "newSession", listener: (sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void) => void): this; - prependOnceListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: Function) => void): this; - prependOnceListener(event: "resumeSession", listener: (sessionId: any, callback: (err: Error, sessionData: any) => void) => void): this; - prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - } - - export interface ClearTextStream extends stream.Duplex { - authorized: boolean; - authorizationError: Error; - getPeerCertificate(): any; - getCipher: { - name: string; - version: string; - }; - address: { - port: number; - family: string; - address: string; - }; - remoteAddress: string; - remotePort: number; - } - - export interface SecurePair { - encrypted: any; - cleartext: any; - } - - export interface SecureContextOptions { - pfx?: string | Buffer; - key?: string | Buffer; - passphrase?: string; - cert?: string | Buffer; - ca?: string | Buffer; - crl?: string | string[] - ciphers?: string; - honorCipherOrder?: boolean; - } - - export interface SecureContext { - context: any; - } - - export function createServer(options: TlsOptions, secureConnectionListener?: (cleartextStream: ClearTextStream) => void): Server; - export function connect(options: ConnectionOptions, secureConnectionListener?: () => void): ClearTextStream; - export function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): ClearTextStream; - export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): ClearTextStream; - export function createSecurePair(credentials?: crypto.Credentials, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair; - export function createSecureContext(details: SecureContextOptions): SecureContext; + /** + * Returns an array with the names of the supported SSL ciphers. + */ + export function getCiphers(): string[]; } declare module "crypto" { - export interface Certificate { - exportChallenge(spkac: string | Buffer): Buffer; - exportPublicKey(spkac: string | Buffer): Buffer; - verifySpkac(spkac: Buffer): boolean; - } - export var Certificate: { - new (): Certificate; - (): Certificate; - } + import * as stream from "stream"; - export var fips: boolean; + export var constants: { + defaultCipherList: string; + defaultCoreCipherList: string; + [key: string]: string | number; + } - export interface CredentialDetails { - pfx: string; - key: string; - passphrase: string; - cert: string; - ca: string | string[]; - crl: string | string[]; - ciphers: string; - } - export interface Credentials { context?: any; } - export function createCredentials(details: CredentialDetails): Credentials; - export function createHash(algorithm: string): Hash; - export function createHmac(algorithm: string, key: string | Buffer): Hmac; + export function getCiphers(): string[]; + export function getCurves(): string[]; + export function getHashes(): string[]; - type Utf8AsciiLatin1Encoding = "utf8" | "ascii" | "latin1"; - type HexBase64Latin1Encoding = "latin1" | "hex" | "base64"; - type Utf8AsciiBinaryEncoding = "utf8" | "ascii" | "binary"; - type HexBase64BinaryEncoding = "binary" | "base64" | "hex"; - type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid"; + export class Certificate { + constructor(); + exportChallenge(spkac: string | Buffer, encoding?: string): string; + exportPublicKey(spkac: string | Buffer, encoding?: string): Buffer; + verifySpkac(spkac: Buffer): boolean; + } - export interface Hash extends NodeJS.ReadWriteStream { - update(data: string | Buffer): Hash; - update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Hash; - digest(): Buffer; - digest(encoding: HexBase64Latin1Encoding): string; - } - export interface Hmac extends NodeJS.ReadWriteStream { - update(data: string | Buffer): Hmac; - update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Hmac; - digest(): Buffer; - digest(encoding: HexBase64Latin1Encoding): string; - } - export function createCipher(algorithm: string, password: any): Cipher; - export function createCipheriv(algorithm: string, key: any, iv: any): Cipher; - export interface Cipher extends NodeJS.ReadWriteStream { - update(data: Buffer): Buffer; - update(data: string, input_encoding: Utf8AsciiBinaryEncoding): Buffer; - update(data: Buffer, input_encoding: any, output_encoding: HexBase64BinaryEncoding): string; - update(data: string, input_encoding: Utf8AsciiBinaryEncoding, output_encoding: HexBase64BinaryEncoding): string; - final(): Buffer; - final(output_encoding: string): string; - setAutoPadding(auto_padding?: boolean): void; - getAuthTag(): Buffer; - setAAD(buffer: Buffer): void; - } - export function createDecipher(algorithm: string, password: any): Decipher; - export function createDecipheriv(algorithm: string, key: any, iv: any): Decipher; - export interface Decipher extends NodeJS.ReadWriteStream { - update(data: Buffer): Buffer; - update(data: string, input_encoding: HexBase64BinaryEncoding): Buffer; - update(data: Buffer, input_encoding: any, output_encoding: Utf8AsciiBinaryEncoding): string; - update(data: string, input_encoding: HexBase64BinaryEncoding, output_encoding: Utf8AsciiBinaryEncoding): string; - final(): Buffer; - final(output_encoding: string): string; - setAutoPadding(auto_padding?: boolean): void; - setAuthTag(tag: Buffer): void; - setAAD(buffer: Buffer): void; - } - export function createSign(algorithm: string): Signer; - export interface Signer extends NodeJS.WritableStream { - update(data: string | Buffer): Signer; - update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Signer; - sign(private_key: string | { key: string; passphrase: string }): Buffer; - sign(private_key: string | { key: string; passphrase: string }, output_format: HexBase64Latin1Encoding): string; - } - export function createVerify(algorith: string): Verify; - export interface Verify extends NodeJS.WritableStream { - update(data: string | Buffer): Verify; - update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Verify; - verify(object: string, signature: Buffer): boolean; - verify(object: string, signature: string, signature_format: HexBase64Latin1Encoding): boolean; - } - export function createDiffieHellman(prime_length: number, generator?: number): DiffieHellman; - export function createDiffieHellman(prime: Buffer): DiffieHellman; - export function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding): DiffieHellman; - export function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: number | Buffer): DiffieHellman; - export function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: string, generator_encoding: HexBase64Latin1Encoding): DiffieHellman; - export interface DiffieHellman { - generateKeys(): Buffer; - generateKeys(encoding: HexBase64Latin1Encoding): string; - computeSecret(other_public_key: Buffer): Buffer; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string; - getPrime(): Buffer; - getPrime(encoding: HexBase64Latin1Encoding): string; - getGenerator(): Buffer; - getGenerator(encoding: HexBase64Latin1Encoding): string; - getPublicKey(): Buffer; - getPublicKey(encoding: HexBase64Latin1Encoding): string; - getPrivateKey(): Buffer; - getPrivateKey(encoding: HexBase64Latin1Encoding): string; - setPublicKey(public_key: Buffer): void; - setPublicKey(public_key: string, encoding: string): void; - setPrivateKey(private_key: Buffer): void; - setPrivateKey(private_key: string, encoding: string): void; - verifyError: number; - } - export function getDiffieHellman(group_name: string): DiffieHellman; - export function pbkdf2(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string, callback: (err: Error, derivedKey: Buffer) => any): void; - export function pbkdf2Sync(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string): Buffer; - export function randomBytes(size: number): Buffer; - export function randomBytes(size: number, callback: (err: Error, buf: Buffer) => void): void; - export function pseudoRandomBytes(size: number): Buffer; - export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) => void): void; - export interface RsaPublicKey { - key: string; - padding?: number; - } - export interface RsaPrivateKey { - key: string; - passphrase?: string, - padding?: number; - } - export function publicEncrypt(public_key: string | RsaPublicKey, buffer: Buffer): Buffer - export function privateDecrypt(private_key: string | RsaPrivateKey, buffer: Buffer): Buffer - export function privateEncrypt(private_key: string | RsaPrivateKey, buffer: Buffer): Buffer - export function publicDecrypt(public_key: string | RsaPublicKey, buffer: Buffer): Buffer - export function getCiphers(): string[]; - export function getCurves(): string[]; - export function getHashes(): string[]; - export interface ECDH { - generateKeys(): Buffer; - generateKeys(encoding: HexBase64Latin1Encoding): string; - generateKeys(encoding: HexBase64Latin1Encoding, format: ECDHKeyFormat): string; - computeSecret(other_public_key: Buffer): Buffer; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string; - getPrivateKey(): Buffer; - getPrivateKey(encoding: HexBase64Latin1Encoding): string; - getPublicKey(): Buffer; - getPublicKey(encoding: HexBase64Latin1Encoding): string; - getPublicKey(encoding: HexBase64Latin1Encoding, format: ECDHKeyFormat): string; - setPrivateKey(private_key: Buffer): void; - setPrivateKey(private_key: string, encoding: HexBase64Latin1Encoding): void; - } - export function createECDH(curve_name: string): ECDH; - export function timingSafeEqual(a: Buffer, b: Buffer): boolean; - export var DEFAULT_ENCODING: string; + export function createHash(algorithm: string): Hash; + + export class Hash extends stream.Transform { + update(data: string | Buffer, input_encoding?: string): Hash; + digest(encoding: 'buffer'): Buffer; + digest(encoding: string): string; + digest(): Buffer; + } + + export function createHmac(algorithm: string, key: string | Buffer): Hmac; + + export class Hmac extends stream.Transform { + update(data: string | Buffer, input_encoding?: string): Hmac; + digest(encoding: 'buffer'): Buffer; + digest(encoding: string): string; + digest(): Buffer; + } + + export function createCipher(algorithm: string, password: string | Buffer): Cipher; + export function createCipheriv(algorithm: string, key: string | Buffer, iv: string | Buffer): Cipher; + + export class Cipher extends stream.Transform { + update(data: Buffer): Buffer; + update(data: string, input_encoding: "utf8" | "ascii" | "binary" | "latin1"): Buffer; + update(data: Buffer, input_encoding: any, output_encoding: "binary" | "latin1" | "base64" | "hex"): string; + update(data: string, input_encoding: "utf8" | "ascii" | "binary" | "latin1", output_encoding: "binary" | "latin1" | "base64" | "hex"): string; + final(): Buffer; + final(output_encoding: string): string; + setAAD(buffer: Buffer): void; + setAutoPadding(auto_padding: boolean): void; + getAuthTag(): Buffer; + } + + export function createDecipher(algorithm: string, password: string | Buffer): Decipher; + export function createDecipheriv(algorithm: string, key: string | Buffer, iv: string | Buffer): Decipher; + + export class Decipher extends stream.Transform { + update(data: Buffer): Buffer; + update(data: string, input_encoding: "binary" | "latin1" | "base64" | "hex"): Buffer; + update(data: Buffer, input_encoding: any, output_encoding: "utf8" | "ascii" | "binary" | "latin1"): string; + update(data: string, input_encoding: "binary" | "latin1" | "base64" | "hex", output_encoding: "utf8" | "ascii" | "binary" | "latin1"): string; + final(): Buffer; + final(output_encoding: string): string; + setAAD(buffer: Buffer): void; + setAutoPadding(auto_padding: boolean): void; + setAuthTag(tag: Buffer): void; + } + + export function createSign(algorithm: string): Signer; + + export class Signer extends stream.Writable { + update(data: string | Buffer): void; + sign(private_key: string): Buffer; + sign(private_key: string, output_format: string): string; + } + + export function createVerify(algorith: string): Verify; + + export class Verify extends stream.Writable { + update(data: string | Buffer): void; + verify(object: string, signature: string, signature_format?: string): boolean; + } + + export function createDiffieHellman(prime: number, prime_encoding?: string, generator?: number | string | Buffer, generator_encoding?: string): DiffieHellman; + export function createDiffieHellman(prime_length: number, generator?: number | string | Buffer): DiffieHellman; + export function getDiffieHellman(group_name: string): DiffieHellman; + + export class DiffieHellman { + verifyError: number; + computeSecret(other_public_key: string, input_encoding?: string, output_encoding?: string): string; + generateKeys(encoding?: string): string; + getPrime(encoding?: string): string; + getGenerator(encoding?: string): string; + getPublicKey(encoding?: string): string; + getPrivateKey(encoding?: string): string; + setPublicKey(public_key: string, encoding?: string): void; + setPrivateKey(public_key: string, encoding?: string): void; + } + + export function createECDH(curve_name: string): ECDH; + + export class ECDH { + computeSecret(other_public_key: string, input_encoding?: string, output_encoding?: string): string; + generateKeys(encoding?: string, format?: string): string; + getPrivateKey(encoding?: string): string; + getPublicKey(encoding?: string, format?: string): string; + setPrivateKey(private_key: string, encoding?: string): void; + } + + export function pbkdf2(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, callback: (err: Error, derivedKey: Buffer) => void): void; + export function pbkdf2(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string, callback: (err: Error, derivedKey: Buffer) => void): void; + + export function pbkdf2Sync(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number): Buffer; + export function pbkdf2Sync(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string): Buffer; + + export function randomBytes(size: number): Buffer; + export function randomBytes(size: number, callback: (err: Error, buf: Buffer) => void): void; + + export function pseudoRandomBytes(size: number): Buffer; + export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) => void): void; + + export interface RsaKey { + key: string; + passphrase?: string, + padding?: number; + } + + export function timingSafeEqual(a: Buffer, b: Buffer): boolean; + export function publicEncrypt(public_key: string | RsaKey, buffer: Buffer): Buffer; + export function privateEncrypt(private_key: string | RsaKey, buffer: Buffer): Buffer; + export function publicDecrypt(public_key: string | RsaKey, buffer: Buffer): Buffer; + export function privateDecrypt(private_key: string | RsaKey, buffer: Buffer): Buffer; + + export function setEngine(engine: string, flags?: number): void; } declare module "stream" { - import * as events from "events"; + import * as events from "events"; - class internal extends events.EventEmitter { - pipe(destination: T, options?: { end?: boolean; }): T; - } - namespace internal { + export class Stream extends events.EventEmitter { + pipe(destination: T, options?: { end?: boolean; }): T; + } - export class Stream extends internal { } + export interface ReadableOptions { + highWaterMark?: number; + encoding?: string; + objectMode?: boolean; + read?: (this: Readable, size?: number) => any; + } - export interface ReadableOptions { - highWaterMark?: number; - encoding?: string; - objectMode?: boolean; - read?: (size?: number) => any; - } + export class Readable extends events.EventEmitter implements NodeJS.ReadableStream { + readable: boolean; + constructor(opts?: ReadableOptions); + _read(size: number): void; + read(size?: number): any; + isPaused(): boolean; + setEncoding(encoding: string): this; + pause(): this; + resume(): this; + pipe(destination: T, options?: { end?: boolean; }): T; + unpipe(destination?: T): void; + unshift(chunk: any): void; + wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; + push(chunk: any, encoding?: string): boolean; + } - export class Readable extends events.EventEmitter implements NodeJS.ReadableStream { - readable: boolean; - constructor(opts?: ReadableOptions); - protected _read(size: number): void; - read(size?: number): any; - setEncoding(encoding: string): this; - pause(): this; - resume(): this; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: any): void; - wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; - push(chunk: any, encoding?: string): boolean; + export interface WritableOptions { + highWaterMark?: number; + decodeStrings?: boolean; + objectMode?: boolean; + write?: (chunk: string | Buffer, encoding: string, callback: Function) => any; + writev?: (chunks: { chunk: string | Buffer, encoding: string }[], callback: Function) => any; + } - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. data - * 3. end - * 4. readable - * 5. error - **/ - addListener(event: string, listener: Function): this; - addListener(event: string, listener: Function): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; + export class Writable extends events.EventEmitter implements NodeJS.WritableStream { + writable: boolean; + constructor(opts?: WritableOptions); + setDefaultEncoding(encoding: string): this; + _write(chunk: any, encoding: string, callback: Function): void; + write(chunk: any, cb?: Function): boolean; + write(chunk: any, encoding?: string, cb?: Function): boolean; + end(): void; + end(chunk: any, cb?: Function): void; + end(chunk: any, encoding?: string, cb?: Function): void; + } - emit(event: string, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "data", chunk: Buffer | string): boolean; - emit(event: "end"): boolean; - emit(event: "readable"): boolean; - emit(event: "error", err: Error): boolean; + export interface DuplexOptions extends ReadableOptions, WritableOptions { + allowHalfOpen?: boolean; + readableObjectMode?: boolean; + writableObjectMode?: boolean; + } - on(event: string, listener: Function): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "end", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; + // Note: Duplex extends both Readable and Writable. + export class Duplex extends Readable implements Writable { + writable: boolean; + constructor(opts?: DuplexOptions); + setDefaultEncoding(encoding: string): this; + _write(chunk: any, encoding: string, callback: Function): void; + write(chunk: any, cb?: Function): boolean; + write(chunk: any, encoding?: string, cb?: Function): boolean; + end(): void; + end(chunk: any, cb?: Function): void; + end(chunk: any, encoding?: string, cb?: Function): void; + } - once(event: string, listener: Function): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "end", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; + export interface TransformOptions extends ReadableOptions, WritableOptions { + write?: (chunk: string | Buffer, encoding: string, callback: Function) => any; + writev?: (chunks: { chunk: string | Buffer, encoding: string }[], callback: Function) => any; + } - prependListener(event: string, listener: Function): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; + export class Transform extends Duplex { + constructor(opts?: TransformOptions); + _transform(chunk: any, encoding: string, callback: Function): void; + } - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - - removeListener(event: string, listener: Function): this; - removeListener(event: "close", listener: () => void): this; - removeListener(event: "data", listener: (chunk: Buffer | string) => void): this; - removeListener(event: "end", listener: () => void): this; - removeListener(event: "readable", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - } - - export interface WritableOptions { - highWaterMark?: number; - decodeStrings?: boolean; - objectMode?: boolean; - write?: (chunk: string | Buffer, encoding: string, callback: Function) => any; - writev?: (chunks: { chunk: string | Buffer, encoding: string }[], callback: Function) => any; - } - - export class Writable extends events.EventEmitter implements NodeJS.WritableStream { - writable: boolean; - constructor(opts?: WritableOptions); - protected _write(chunk: any, encoding: string, callback: Function): void; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. drain - * 3. error - * 4. finish - * 5. pipe - * 6. unpipe - **/ - addListener(event: string, listener: Function): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: Readable) => void): this; - addListener(event: "unpipe", listener: (src: Readable) => void): this; - - emit(event: string, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "drain", chunk: Buffer | string): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pipe", src: Readable): boolean; - emit(event: "unpipe", src: Readable): boolean; - - on(event: string, listener: Function): this; - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: Readable) => void): this; - on(event: "unpipe", listener: (src: Readable) => void): this; - - once(event: string, listener: Function): this; - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: Readable) => void): this; - once(event: "unpipe", listener: (src: Readable) => void): this; - - prependListener(event: string, listener: Function): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: Readable) => void): this; - prependListener(event: "unpipe", listener: (src: Readable) => void): this; - - prependOnceListener(event: string, listener: Function): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; - - removeListener(event: string, listener: Function): this; - removeListener(event: "close", listener: () => void): this; - removeListener(event: "drain", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "finish", listener: () => void): this; - removeListener(event: "pipe", listener: (src: Readable) => void): this; - removeListener(event: "unpipe", listener: (src: Readable) => void): this; - } - - export interface DuplexOptions extends ReadableOptions, WritableOptions { - allowHalfOpen?: boolean; - readableObjectMode?: boolean; - writableObjectMode?: boolean; - } - - // Note: Duplex extends both Readable and Writable. - export class Duplex extends Readable implements NodeJS.ReadWriteStream { - // Readable - pause(): this; - resume(): this; - // Writeable - writable: boolean; - constructor(opts?: DuplexOptions); - protected _write(chunk: any, encoding: string, callback: Function): void; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - } - - export interface TransformOptions extends DuplexOptions { - transform?: (chunk: string | Buffer, encoding: string, callback: Function) => any; - flush?: (callback: Function) => any; - } - - // Note: Transform lacks the _read and _write methods of Readable/Writable. - export class Transform extends events.EventEmitter implements NodeJS.ReadWriteStream { - readable: boolean; - writable: boolean; - constructor(opts?: TransformOptions); - protected _transform(chunk: any, encoding: string, callback: Function): void; - protected _flush(callback: Function): void; - read(size?: number): any; - setEncoding(encoding: string): this; - pause(): this; - resume(): this; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: any): void; - wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; - push(chunk: any, encoding?: string): boolean; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - } - - export class PassThrough extends Transform { } - } - - export = internal; + export class PassThrough extends Transform { } } declare module "util" { - export interface InspectOptions { - showHidden?: boolean; - depth?: number; - colors?: boolean; - customInspect?: boolean; + /** + * The `util.debuglog()` method is used to create a function that conditionally writes debug messages to `stderr` based on the existence of the `NODE_DEBUG` environment variable. If the `section` name appears within the value of that environment variable, then the returned function operates similar to console.error(). If not, then the returned function is a no-op. + */ + export function debuglog(section: string): (msg: any, ...args: any[]) => void; + + export interface InspectOptions { + /** + * If `true`, the `object`'s non-enumerable symbols and properties will be included in the formatted result. Defaults to `false`. + */ + showHidden?: boolean; + /** + * Specifies the number of times to recurse while formatting the `object`. This is useful for inspecting large complicated objects. Defaults to `2`. To make it recurse indefinitely pass `null`. + */ + depth?: number | null; + /** + * If `true`, the output will be styled with ANSI color codes. Defaults to `false`. Colors are customizable, see "Customizing util.inspect colors". + */ + colors?: boolean; + /** + * If `false`, then custom `inspect(depth, opts)` functions exported on the object being inspected will not be called. Defaults to `true`. + */ + customInspect?: boolean; + /** + * If `true`, then objects and functions that are `Proxy` objects will be introspected to show their `target` and `handler` objects. Defaults to `false`. + */ + showProxy?: boolean; + /** + * Specifies the maximum number of array and `TypedArray` elements to include when formatting. Defaults to `100`. Set to `null` to show all array elements. Set to `0` or negative to show no array elements. + */ + maxArrayLength?: number | null; + /** + * The length at which an object's keys are split across multiple lines. Set to `Infinity` to format an object as a single line. Defaults to `60` for legacy compatibility. + */ + breakLength?: number; + } + + /** + * The `util.inspect()` method returns a string representation of object that is primarily useful for debugging. + */ + export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string; + export function inspect(object: any, options: InspectOptions): string; + + export namespace inspect { + export var colors: { + bold: [number, number]; + italic: [number, number]; + underline: [number, number]; + inverse: [number, number]; + white: [number, number]; + grey: [number, number]; + black: [number, number]; + blue: [number, number]; + cyan: [number, number]; + green: [number, number]; + magenta: [number, number]; + red: [number, number]; + yellow: [number, number]; } - export function format(format: any, ...param: any[]): string; - export function debug(string: string): void; - export function error(...param: any[]): void; - export function puts(...param: any[]): void; - export function print(...param: any[]): void; - export function log(string: string): void; - export function inspect(object: any, showHidden?: boolean, depth?: number, color?: boolean): string; - export function inspect(object: any, options: InspectOptions): string; - export function isArray(object: any): boolean; - export function isRegExp(object: any): boolean; - export function isDate(object: any): boolean; - export function isError(object: any): boolean; - export function inherits(constructor: any, superConstructor: any): void; - export function debuglog(key: string): (msg: string, ...param: any[]) => void; - export function isBoolean(object: any): boolean; - export function isBuffer(object: any): boolean; - export function isFunction(object: any): boolean; - export function isNull(object: any): boolean; - export function isNullOrUndefined(object: any): boolean; - export function isNumber(object: any): boolean; - export function isObject(object: any): boolean; - export function isPrimitive(object: any): boolean; - export function isString(object: any): boolean; - export function isSymbol(object: any): boolean; - export function isUndefined(object: any): boolean; - export function deprecate(fn: Function, message: string): Function; + export var styles: { + special: string; + number: string; + boolean: string; + undefined: string; + null: string; + string: string; + symbol: string; + date: string; + regexp: string; + }; + + export var custom: symbol; + } + + /** + * The `util.deprecate()` method wraps the given function or class in such a way that it is marked as deprecated. + */ + export function deprecate(fn: T, string: string): T; + + /** + * The `util.format()` method returns a formatted string using the first argument as a printf-like format. + */ + export function format(format: any, ...param: any[]): string; + + /** + * Inherit the prototype methods from one constructor into another. The prototype of constructor will be set to a new object created from superConstructor. + */ + export function inherits(constructor: any, superConstructor: any): void; + + /** + * Deprecated predecessor of `console.error`. + * + * @deprecated + */ + export function debug(string: string): void; + + /** + * Deprecated predecessor of `console.error`. + * + * @deprecated + */ + export function error(...strings: string[]): void; + + /** + * Internal alias for `Array.isArray`. + * + * @deprecated + */ + export function isArray(object: any): object is any[]; + + /** + * Returns `true` if the given `object` is a `Boolean`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isBoolean(object: any): object is boolean; + + /** + * Returns `true` if the given `object` is a `Buffer`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isBuffer(object: any): object is Buffer; + + /** + * Returns `true` if the given `object` is a `Date`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isDate(object: any): object is Date; + + /** + * Returns `true` if the given `object` is an `Error`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isError(object: any): object is Error; + + /** + * Returns `true` if the given `object` is a `Function`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isFunction(object: any): object is Function; + + /** + * Returns `true` if the given `object` is strictly `null`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isNull(object: any): object is null; + + /** + * Returns `true` if the given `object` is `null` or `undefined`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isNullOrUndefined(object: any): object is null | undefined; + + /** + * Returns `true` if the given `object` is a `Number`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isNumber(object: any): object is number; + + /** + * Returns true if the given `object` is strictly an `Object` and not a `Function`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isObject(object: any): object is Object; + + /** + * Returns true if the given `object` is a primitive type. Otherwise, returns `false`. + * + * @deprecated + */ + export function isPrimitive(object: any): object is string | number | boolean | null | undefined; + + /** + * Returns true if the given `object` is a `RegExp`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isRegExp(object: any): object is RegExp; + + /** + * Returns true if the given `object` is a `String`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isString(object: any): object is string; + + /** + * Returns true if the given `object` is a `Symbol`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isSymbol(object: any): object is symbol; + + /** + * Returns true if the given `object` is `undefined`. Otherwise, returns `false`. + * + * @deprecated + */ + export function isUndefined(object: any): object is symbol; + + /** + * The `util.log()` method prints the given `string` to `stdout` with an included timestamp. + * + * @deprecated + */ + export function log(string: string): void; + + /** + * Deprecated predecessor of `console.log`. + * + * @deprecated + */ + export function print(strings: string[]): void; + + /** + * Deprecated predecessor of `console.log`. + * + * @deprecated + */ + export function puts(strings: string[]): void; + + /** + * The `util._extend()` method was never intended to be used outside of internal Node.js modules. The community found and used it anyway. + * + * It is deprecated and should not be used in new code. JavaScript comes with very similar built-in functionality through `Object.assign()`. + * + * @deprecated + */ + export function _extend(target: T, source: U): T & U; } declare module "assert" { - function internal(value: any, message?: string): void; - namespace internal { - export class AssertionError implements Error { - name: string; - message: string; - actual: any; - expected: any; - operator: string; - generatedMessage: boolean; + function internal(value: any, message?: string): void; + namespace internal { + export class AssertionError implements Error { + name: string; + message: string; + actual: any; + expected: any; + operator: string; + generatedMessage: boolean; - constructor(options?: { - message?: string; actual?: any; expected?: any; - operator?: string; stackStartFunction?: Function - }); - } - - export function fail(actual: any, expected: any, message: string, operator: string): void; - export function ok(value: any, message?: string): void; - export function equal(actual: any, expected: any, message?: string): void; - export function notEqual(actual: any, expected: any, message?: string): void; - export function deepEqual(actual: any, expected: any, message?: string): void; - export function notDeepEqual(acutal: any, expected: any, message?: string): void; - export function strictEqual(actual: any, expected: any, message?: string): void; - export function notStrictEqual(actual: any, expected: any, message?: string): void; - export function deepStrictEqual(actual: any, expected: any, message?: string): void; - export function notDeepStrictEqual(actual: any, expected: any, message?: string): void; - export var throws: { - (block: Function, message?: string): void; - (block: Function, error: Function, message?: string): void; - (block: Function, error: RegExp, message?: string): void; - (block: Function, error: (err: any) => boolean, message?: string): void; - }; - - export var doesNotThrow: { - (block: Function, message?: string): void; - (block: Function, error: Function, message?: string): void; - (block: Function, error: RegExp, message?: string): void; - (block: Function, error: (err: any) => boolean, message?: string): void; - }; - - export function ifError(value: any): void; + constructor(options?: { + message?: string; actual?: any; expected?: any; + operator?: string; stackStartFunction?: Function + }); } - export = internal; + export function fail(actual?: any, expected?: any, message?: string, operator?: string): void; + export function ok(value: any, message?: string): void; + export function equal(actual: any, expected: any, message?: string): void; + export function notEqual(actual: any, expected: any, message?: string): void; + export function deepEqual(actual: any, expected: any, message?: string): void; + export function notDeepEqual(acutal: any, expected: any, message?: string): void; + export function strictEqual(actual: any, expected: any, message?: string): void; + export function notStrictEqual(actual: any, expected: any, message?: string): void; + export function deepStrictEqual(actual: any, expected: any, message?: string): void; + export function notDeepStrictEqual(actual: any, expected: any, message?: string): void; + export var throws: { + (block: Function, message?: string): void; + (block: Function, error: Function, message?: string): void; + (block: Function, error: RegExp, message?: string): void; + (block: Function, error: (err: any) => boolean, message?: string): void; + }; + + export var doesNotThrow: { + (block: Function, message?: string): void; + (block: Function, error: Function, message?: string): void; + (block: Function, error: RegExp, message?: string): void; + (block: Function, error: (err: any) => boolean, message?: string): void; + }; + + export function ifError(value: any): void; + } + + export = internal; } declare module "tty" { - import * as net from "net"; + import * as net from "net"; - export function isatty(fd: number): boolean; - export interface ReadStream extends net.Socket { - isRaw: boolean; - setRawMode(mode: boolean): void; - isTTY: boolean; - } - export interface WriteStream extends net.Socket { - columns: number; - rows: number; - isTTY: boolean; - } + export function isatty(fd: number): boolean; + export interface ReadStream extends net.Socket { + isRaw: boolean; + setRawMode(mode: boolean): void; + isTTY: boolean; + } + export interface WriteStream extends net.Socket { + columns: number; + rows: number; + isTTY: boolean; + } } declare module "domain" { - import * as events from "events"; + import * as events from "events"; - export class Domain extends events.EventEmitter implements NodeJS.Domain { - run(fn: Function): void; - add(emitter: events.EventEmitter): void; - remove(emitter: events.EventEmitter): void; - bind(cb: (err: Error, data: any) => any): any; - intercept(cb: (data: any) => any): any; - dispose(): void; - members: any[]; - enter(): void; - exit(): void; - } + export class Domain extends events.EventEmitter implements NodeJS.Domain { + run(fn: Function): void; + add(emitter: events.EventEmitter): void; + remove(emitter: events.EventEmitter): void; + bind(cb: (err: Error, data: any) => any): any; + intercept(cb: (data: any) => any): any; + dispose(): void; + members: any[]; + enter(): void; + exit(): void; + } - export function create(): Domain; + export function create(): Domain; } declare module "constants" { - export var E2BIG: number; - export var EACCES: number; - export var EADDRINUSE: number; - export var EADDRNOTAVAIL: number; - export var EAFNOSUPPORT: number; - export var EAGAIN: number; - export var EALREADY: number; - export var EBADF: number; - export var EBADMSG: number; - export var EBUSY: number; - export var ECANCELED: number; - export var ECHILD: number; - export var ECONNABORTED: number; - export var ECONNREFUSED: number; - export var ECONNRESET: number; - export var EDEADLK: number; - export var EDESTADDRREQ: number; - export var EDOM: number; - export var EEXIST: number; - export var EFAULT: number; - export var EFBIG: number; - export var EHOSTUNREACH: number; - export var EIDRM: number; - export var EILSEQ: number; - export var EINPROGRESS: number; - export var EINTR: number; - export var EINVAL: number; - export var EIO: number; - export var EISCONN: number; - export var EISDIR: number; - export var ELOOP: number; - export var EMFILE: number; - export var EMLINK: number; - export var EMSGSIZE: number; - export var ENAMETOOLONG: number; - export var ENETDOWN: number; - export var ENETRESET: number; - export var ENETUNREACH: number; - export var ENFILE: number; - export var ENOBUFS: number; - export var ENODATA: number; - export var ENODEV: number; - export var ENOENT: number; - export var ENOEXEC: number; - export var ENOLCK: number; - export var ENOLINK: number; - export var ENOMEM: number; - export var ENOMSG: number; - export var ENOPROTOOPT: number; - export var ENOSPC: number; - export var ENOSR: number; - export var ENOSTR: number; - export var ENOSYS: number; - export var ENOTCONN: number; - export var ENOTDIR: number; - export var ENOTEMPTY: number; - export var ENOTSOCK: number; - export var ENOTSUP: number; - export var ENOTTY: number; - export var ENXIO: number; - export var EOPNOTSUPP: number; - export var EOVERFLOW: number; - export var EPERM: number; - export var EPIPE: number; - export var EPROTO: number; - export var EPROTONOSUPPORT: number; - export var EPROTOTYPE: number; - export var ERANGE: number; - export var EROFS: number; - export var ESPIPE: number; - export var ESRCH: number; - export var ETIME: number; - export var ETIMEDOUT: number; - export var ETXTBSY: number; - export var EWOULDBLOCK: number; - export var EXDEV: number; - export var WSAEINTR: number; - export var WSAEBADF: number; - export var WSAEACCES: number; - export var WSAEFAULT: number; - export var WSAEINVAL: number; - export var WSAEMFILE: number; - export var WSAEWOULDBLOCK: number; - export var WSAEINPROGRESS: number; - export var WSAEALREADY: number; - export var WSAENOTSOCK: number; - export var WSAEDESTADDRREQ: number; - export var WSAEMSGSIZE: number; - export var WSAEPROTOTYPE: number; - export var WSAENOPROTOOPT: number; - export var WSAEPROTONOSUPPORT: number; - export var WSAESOCKTNOSUPPORT: number; - export var WSAEOPNOTSUPP: number; - export var WSAEPFNOSUPPORT: number; - export var WSAEAFNOSUPPORT: number; - export var WSAEADDRINUSE: number; - export var WSAEADDRNOTAVAIL: number; - export var WSAENETDOWN: number; - export var WSAENETUNREACH: number; - export var WSAENETRESET: number; - export var WSAECONNABORTED: number; - export var WSAECONNRESET: number; - export var WSAENOBUFS: number; - export var WSAEISCONN: number; - export var WSAENOTCONN: number; - export var WSAESHUTDOWN: number; - export var WSAETOOMANYREFS: number; - export var WSAETIMEDOUT: number; - export var WSAECONNREFUSED: number; - export var WSAELOOP: number; - export var WSAENAMETOOLONG: number; - export var WSAEHOSTDOWN: number; - export var WSAEHOSTUNREACH: number; - export var WSAENOTEMPTY: number; - export var WSAEPROCLIM: number; - export var WSAEUSERS: number; - export var WSAEDQUOT: number; - export var WSAESTALE: number; - export var WSAEREMOTE: number; - export var WSASYSNOTREADY: number; - export var WSAVERNOTSUPPORTED: number; - export var WSANOTINITIALISED: number; - export var WSAEDISCON: number; - export var WSAENOMORE: number; - export var WSAECANCELLED: number; - export var WSAEINVALIDPROCTABLE: number; - export var WSAEINVALIDPROVIDER: number; - export var WSAEPROVIDERFAILEDINIT: number; - export var WSASYSCALLFAILURE: number; - export var WSASERVICE_NOT_FOUND: number; - export var WSATYPE_NOT_FOUND: number; - export var WSA_E_NO_MORE: number; - export var WSA_E_CANCELLED: number; - export var WSAEREFUSED: number; - export var SIGHUP: number; - export var SIGINT: number; - export var SIGILL: number; - export var SIGABRT: number; - export var SIGFPE: number; - export var SIGKILL: number; - export var SIGSEGV: number; - export var SIGTERM: number; - export var SIGBREAK: number; - export var SIGWINCH: number; - export var SSL_OP_ALL: number; - export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; - export var SSL_OP_CIPHER_SERVER_PREFERENCE: number; - export var SSL_OP_CISCO_ANYCONNECT: number; - export var SSL_OP_COOKIE_EXCHANGE: number; - export var SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; - export var SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; - export var SSL_OP_EPHEMERAL_RSA: number; - export var SSL_OP_LEGACY_SERVER_CONNECT: number; - export var SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number; - export var SSL_OP_MICROSOFT_SESS_ID_BUG: number; - export var SSL_OP_MSIE_SSLV2_RSA_PADDING: number; - export var SSL_OP_NETSCAPE_CA_DN_BUG: number; - export var SSL_OP_NETSCAPE_CHALLENGE_BUG: number; - export var SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number; - export var SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number; - export var SSL_OP_NO_COMPRESSION: number; - export var SSL_OP_NO_QUERY_MTU: number; - export var SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; - export var SSL_OP_NO_SSLv2: number; - export var SSL_OP_NO_SSLv3: number; - export var SSL_OP_NO_TICKET: number; - export var SSL_OP_NO_TLSv1: number; - export var SSL_OP_NO_TLSv1_1: number; - export var SSL_OP_NO_TLSv1_2: number; - export var SSL_OP_PKCS1_CHECK_1: number; - export var SSL_OP_PKCS1_CHECK_2: number; - export var SSL_OP_SINGLE_DH_USE: number; - export var SSL_OP_SINGLE_ECDH_USE: number; - export var SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number; - export var SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number; - export var SSL_OP_TLS_BLOCK_PADDING_BUG: number; - export var SSL_OP_TLS_D5_BUG: number; - export var SSL_OP_TLS_ROLLBACK_BUG: number; - export var ENGINE_METHOD_DSA: number; - export var ENGINE_METHOD_DH: number; - export var ENGINE_METHOD_RAND: number; - export var ENGINE_METHOD_ECDH: number; - export var ENGINE_METHOD_ECDSA: number; - export var ENGINE_METHOD_CIPHERS: number; - export var ENGINE_METHOD_DIGESTS: number; - export var ENGINE_METHOD_STORE: number; - export var ENGINE_METHOD_PKEY_METHS: number; - export var ENGINE_METHOD_PKEY_ASN1_METHS: number; - export var ENGINE_METHOD_ALL: number; - export var ENGINE_METHOD_NONE: number; - export var DH_CHECK_P_NOT_SAFE_PRIME: number; - export var DH_CHECK_P_NOT_PRIME: number; - export var DH_UNABLE_TO_CHECK_GENERATOR: number; - export var DH_NOT_SUITABLE_GENERATOR: number; - export var NPN_ENABLED: number; - export var RSA_PKCS1_PADDING: number; - export var RSA_SSLV23_PADDING: number; - export var RSA_NO_PADDING: number; - export var RSA_PKCS1_OAEP_PADDING: number; - export var RSA_X931_PADDING: number; - export var RSA_PKCS1_PSS_PADDING: number; - export var POINT_CONVERSION_COMPRESSED: number; - export var POINT_CONVERSION_UNCOMPRESSED: number; - export var POINT_CONVERSION_HYBRID: number; - export var O_RDONLY: number; - export var O_WRONLY: number; - export var O_RDWR: number; - export var S_IFMT: number; - export var S_IFREG: number; - export var S_IFDIR: number; - export var S_IFCHR: number; - export var S_IFBLK: number; - export var S_IFIFO: number; - export var S_IFSOCK: number; - export var S_IRWXU: number; - export var S_IRUSR: number; - export var S_IWUSR: number; - export var S_IXUSR: number; - export var S_IRWXG: number; - export var S_IRGRP: number; - export var S_IWGRP: number; - export var S_IXGRP: number; - export var S_IRWXO: number; - export var S_IROTH: number; - export var S_IWOTH: number; - export var S_IXOTH: number; - export var S_IFLNK: number; - export var O_CREAT: number; - export var O_EXCL: number; - export var O_NOCTTY: number; - export var O_DIRECTORY: number; - export var O_NOATIME: number; - export var O_NOFOLLOW: number; - export var O_SYNC: number; - export var O_SYMLINK: number; - export var O_DIRECT: number; - export var O_NONBLOCK: number; - export var O_TRUNC: number; - export var O_APPEND: number; - export var F_OK: number; - export var R_OK: number; - export var W_OK: number; - export var X_OK: number; - export var UV_UDP_REUSEADDR: number; - export var SIGQUIT: number; - export var SIGTRAP: number; - export var SIGIOT: number; - export var SIGBUS: number; - export var SIGUSR1: number; - export var SIGUSR2: number; - export var SIGPIPE: number; - export var SIGALRM: number; - export var SIGCHLD: number; - export var SIGSTKFLT: number; - export var SIGCONT: number; - export var SIGSTOP: number; - export var SIGTSTP: number; - export var SIGTTIN: number; - export var SIGTTOU: number; - export var SIGURG: number; - export var SIGXCPU: number; - export var SIGXFSZ: number; - export var SIGVTALRM: number; - export var SIGPROF: number; - export var SIGIO: number; - export var SIGPOLL: number; - export var SIGPWR: number; - export var SIGSYS: number; - export var SIGUNUSED: number; - export var defaultCoreCipherList: string; - export var defaultCipherList: string; - export var ENGINE_METHOD_RSA: number; - export var ALPN_ENABLED: number; + export var E2BIG: number; + export var EACCES: number; + export var EADDRINUSE: number; + export var EADDRNOTAVAIL: number; + export var EAFNOSUPPORT: number; + export var EAGAIN: number; + export var EALREADY: number; + export var EBADF: number; + export var EBADMSG: number; + export var EBUSY: number; + export var ECANCELED: number; + export var ECHILD: number; + export var ECONNABORTED: number; + export var ECONNREFUSED: number; + export var ECONNRESET: number; + export var EDEADLK: number; + export var EDESTADDRREQ: number; + export var EDOM: number; + export var EEXIST: number; + export var EFAULT: number; + export var EFBIG: number; + export var EHOSTUNREACH: number; + export var EIDRM: number; + export var EILSEQ: number; + export var EINPROGRESS: number; + export var EINTR: number; + export var EINVAL: number; + export var EIO: number; + export var EISCONN: number; + export var EISDIR: number; + export var ELOOP: number; + export var EMFILE: number; + export var EMLINK: number; + export var EMSGSIZE: number; + export var ENAMETOOLONG: number; + export var ENETDOWN: number; + export var ENETRESET: number; + export var ENETUNREACH: number; + export var ENFILE: number; + export var ENOBUFS: number; + export var ENODATA: number; + export var ENODEV: number; + export var ENOENT: number; + export var ENOEXEC: number; + export var ENOLCK: number; + export var ENOLINK: number; + export var ENOMEM: number; + export var ENOMSG: number; + export var ENOPROTOOPT: number; + export var ENOSPC: number; + export var ENOSR: number; + export var ENOSTR: number; + export var ENOSYS: number; + export var ENOTCONN: number; + export var ENOTDIR: number; + export var ENOTEMPTY: number; + export var ENOTSOCK: number; + export var ENOTSUP: number; + export var ENOTTY: number; + export var ENXIO: number; + export var EOPNOTSUPP: number; + export var EOVERFLOW: number; + export var EPERM: number; + export var EPIPE: number; + export var EPROTO: number; + export var EPROTONOSUPPORT: number; + export var EPROTOTYPE: number; + export var ERANGE: number; + export var EROFS: number; + export var ESPIPE: number; + export var ESRCH: number; + export var ETIME: number; + export var ETIMEDOUT: number; + export var ETXTBSY: number; + export var EWOULDBLOCK: number; + export var EXDEV: number; + export var WSAEINTR: number; + export var WSAEBADF: number; + export var WSAEACCES: number; + export var WSAEFAULT: number; + export var WSAEINVAL: number; + export var WSAEMFILE: number; + export var WSAEWOULDBLOCK: number; + export var WSAEINPROGRESS: number; + export var WSAEALREADY: number; + export var WSAENOTSOCK: number; + export var WSAEDESTADDRREQ: number; + export var WSAEMSGSIZE: number; + export var WSAEPROTOTYPE: number; + export var WSAENOPROTOOPT: number; + export var WSAEPROTONOSUPPORT: number; + export var WSAESOCKTNOSUPPORT: number; + export var WSAEOPNOTSUPP: number; + export var WSAEPFNOSUPPORT: number; + export var WSAEAFNOSUPPORT: number; + export var WSAEADDRINUSE: number; + export var WSAEADDRNOTAVAIL: number; + export var WSAENETDOWN: number; + export var WSAENETUNREACH: number; + export var WSAENETRESET: number; + export var WSAECONNABORTED: number; + export var WSAECONNRESET: number; + export var WSAENOBUFS: number; + export var WSAEISCONN: number; + export var WSAENOTCONN: number; + export var WSAESHUTDOWN: number; + export var WSAETOOMANYREFS: number; + export var WSAETIMEDOUT: number; + export var WSAECONNREFUSED: number; + export var WSAELOOP: number; + export var WSAENAMETOOLONG: number; + export var WSAEHOSTDOWN: number; + export var WSAEHOSTUNREACH: number; + export var WSAENOTEMPTY: number; + export var WSAEPROCLIM: number; + export var WSAEUSERS: number; + export var WSAEDQUOT: number; + export var WSAESTALE: number; + export var WSAEREMOTE: number; + export var WSASYSNOTREADY: number; + export var WSAVERNOTSUPPORTED: number; + export var WSANOTINITIALISED: number; + export var WSAEDISCON: number; + export var WSAENOMORE: number; + export var WSAECANCELLED: number; + export var WSAEINVALIDPROCTABLE: number; + export var WSAEINVALIDPROVIDER: number; + export var WSAEPROVIDERFAILEDINIT: number; + export var WSASYSCALLFAILURE: number; + export var WSASERVICE_NOT_FOUND: number; + export var WSATYPE_NOT_FOUND: number; + export var WSA_E_NO_MORE: number; + export var WSA_E_CANCELLED: number; + export var WSAEREFUSED: number; + export var SIGHUP: number; + export var SIGINT: number; + export var SIGILL: number; + export var SIGABRT: number; + export var SIGFPE: number; + export var SIGKILL: number; + export var SIGSEGV: number; + export var SIGTERM: number; + export var SIGBREAK: number; + export var SIGWINCH: number; + export var SSL_OP_ALL: number; + export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; + export var SSL_OP_CIPHER_SERVER_PREFERENCE: number; + export var SSL_OP_CISCO_ANYCONNECT: number; + export var SSL_OP_COOKIE_EXCHANGE: number; + export var SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; + export var SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; + export var SSL_OP_EPHEMERAL_RSA: number; + export var SSL_OP_LEGACY_SERVER_CONNECT: number; + export var SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number; + export var SSL_OP_MICROSOFT_SESS_ID_BUG: number; + export var SSL_OP_MSIE_SSLV2_RSA_PADDING: number; + export var SSL_OP_NETSCAPE_CA_DN_BUG: number; + export var SSL_OP_NETSCAPE_CHALLENGE_BUG: number; + export var SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number; + export var SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number; + export var SSL_OP_NO_COMPRESSION: number; + export var SSL_OP_NO_QUERY_MTU: number; + export var SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; + export var SSL_OP_NO_SSLv2: number; + export var SSL_OP_NO_SSLv3: number; + export var SSL_OP_NO_TICKET: number; + export var SSL_OP_NO_TLSv1: number; + export var SSL_OP_NO_TLSv1_1: number; + export var SSL_OP_NO_TLSv1_2: number; + export var SSL_OP_PKCS1_CHECK_1: number; + export var SSL_OP_PKCS1_CHECK_2: number; + export var SSL_OP_SINGLE_DH_USE: number; + export var SSL_OP_SINGLE_ECDH_USE: number; + export var SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number; + export var SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number; + export var SSL_OP_TLS_BLOCK_PADDING_BUG: number; + export var SSL_OP_TLS_D5_BUG: number; + export var SSL_OP_TLS_ROLLBACK_BUG: number; + export var ENGINE_METHOD_DSA: number; + export var ENGINE_METHOD_DH: number; + export var ENGINE_METHOD_RAND: number; + export var ENGINE_METHOD_ECDH: number; + export var ENGINE_METHOD_ECDSA: number; + export var ENGINE_METHOD_CIPHERS: number; + export var ENGINE_METHOD_DIGESTS: number; + export var ENGINE_METHOD_STORE: number; + export var ENGINE_METHOD_PKEY_METHS: number; + export var ENGINE_METHOD_PKEY_ASN1_METHS: number; + export var ENGINE_METHOD_ALL: number; + export var ENGINE_METHOD_NONE: number; + export var DH_CHECK_P_NOT_SAFE_PRIME: number; + export var DH_CHECK_P_NOT_PRIME: number; + export var DH_UNABLE_TO_CHECK_GENERATOR: number; + export var DH_NOT_SUITABLE_GENERATOR: number; + export var NPN_ENABLED: number; + export var RSA_PKCS1_PADDING: number; + export var RSA_SSLV23_PADDING: number; + export var RSA_NO_PADDING: number; + export var RSA_PKCS1_OAEP_PADDING: number; + export var RSA_X931_PADDING: number; + export var RSA_PKCS1_PSS_PADDING: number; + export var POINT_CONVERSION_COMPRESSED: number; + export var POINT_CONVERSION_UNCOMPRESSED: number; + export var POINT_CONVERSION_HYBRID: number; + export var O_RDONLY: number; + export var O_WRONLY: number; + export var O_RDWR: number; + export var S_IFMT: number; + export var S_IFREG: number; + export var S_IFDIR: number; + export var S_IFCHR: number; + export var S_IFBLK: number; + export var S_IFIFO: number; + export var S_IFSOCK: number; + export var S_IRWXU: number; + export var S_IRUSR: number; + export var S_IWUSR: number; + export var S_IXUSR: number; + export var S_IRWXG: number; + export var S_IRGRP: number; + export var S_IWGRP: number; + export var S_IXGRP: number; + export var S_IRWXO: number; + export var S_IROTH: number; + export var S_IWOTH: number; + export var S_IXOTH: number; + export var S_IFLNK: number; + export var O_CREAT: number; + export var O_EXCL: number; + export var O_NOCTTY: number; + export var O_DIRECTORY: number; + export var O_NOATIME: number; + export var O_NOFOLLOW: number; + export var O_SYNC: number; + export var O_SYMLINK: number; + export var O_DIRECT: number; + export var O_NONBLOCK: number; + export var O_TRUNC: number; + export var O_APPEND: number; + export var F_OK: number; + export var R_OK: number; + export var W_OK: number; + export var X_OK: number; + export var UV_UDP_REUSEADDR: number; +} + +declare module "module" { + export = NodeModule; } declare module "process" { - export = process; -} - -declare module "v8" { - interface HeapSpaceInfo { - space_name: string; - space_size: number; - space_used_size: number; - space_available_size: number; - physical_space_size: number; - } - - const enum DoesZapCodeSpaceFlag { - Disabled = 0, - Enabled = 1 - } - - interface HeapInfo { - total_heap_size: number; - total_heap_size_executable: number; - total_physical_size: number; - total_available_size: number; - used_heap_size: number; - heap_size_limit: number; - malloced_memory: number; - peak_malloced_memory: number; - does_zap_garbage: DoesZapCodeSpaceFlag; - } - - export function getHeapStatistics(): HeapInfo; - export function getHeapSpaceStatistics(): HeapSpaceInfo[]; - export function setFlagsFromString(flags: string): void; + export = process; } declare module "timers" { - export function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; - export function clearTimeout(timeoutId: NodeJS.Timer): void; - export function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; - export function clearInterval(intervalId: NodeJS.Timer): void; - export function setImmediate(callback: (...args: any[]) => void, ...args: any[]): any; - export function clearImmediate(immediateId: any): void; -} - -declare module "console" { - export = console; -} - -/** - * _debugger module is not documented. - * Source code is at https://github.com/nodejs/node/blob/master/lib/_debugger.js - */ -declare module "_debugger" { - export interface Packet { - raw: string; - headers: string[]; - body: Message; - } - - export interface Message { - seq: number; - type: string; - } - - export interface RequestInfo { - command: string; - arguments: any; - } - - export interface Request extends Message, RequestInfo { - } - - export interface Event extends Message { - event: string; - body?: any; - } - - export interface Response extends Message { - request_seq: number; - success: boolean; - /** Contains error message if success === false. */ - message?: string; - /** Contains message body if success === true. */ - body?: any; - } - - export interface BreakpointMessageBody { - type: string; - target: number; - line: number; - } - - export class Protocol { - res: Packet; - state: string; - execute(data: string): void; - serialize(rq: Request): string; - onResponse: (pkt: Packet) => void; - } - - export var NO_FRAME: number; - export var port: number; - - export interface ScriptDesc { - name: string; - id: number; - isNative?: boolean; - handle?: number; - type: string; - lineOffset?: number; - columnOffset?: number; - lineCount?: number; - } - - export interface Breakpoint { - id: number; - scriptId: number; - script: ScriptDesc; - line: number; - condition?: string; - scriptReq?: string; - } - - export interface RequestHandler { - (err: boolean, body: Message, res: Packet): void; - request_seq?: number; - } - - export interface ResponseBodyHandler { - (err: boolean, body?: any): void; - request_seq?: number; - } - - export interface ExceptionInfo { - text: string; - } - - export interface BreakResponse { - script?: ScriptDesc; - exception?: ExceptionInfo; - sourceLine: number; - sourceLineText: string; - sourceColumn: number; - } - - export function SourceInfo(body: BreakResponse): string; - - export interface ClientInstance extends NodeJS.EventEmitter { - protocol: Protocol; - scripts: ScriptDesc[]; - handles: ScriptDesc[]; - breakpoints: Breakpoint[]; - currentSourceLine: number; - currentSourceColumn: number; - currentSourceLineText: string; - currentFrame: number; - currentScript: string; - - connect(port: number, host: string): void; - req(req: any, cb: RequestHandler): void; - reqFrameEval(code: string, frame: number, cb: RequestHandler): void; - mirrorObject(obj: any, depth: number, cb: ResponseBodyHandler): void; - setBreakpoint(rq: BreakpointMessageBody, cb: RequestHandler): void; - clearBreakpoint(rq: Request, cb: RequestHandler): void; - listbreakpoints(cb: RequestHandler): void; - reqSource(from: number, to: number, cb: RequestHandler): void; - reqScripts(cb: any): void; - reqContinue(cb: RequestHandler): void; - } - - export var Client : { - new (): ClientInstance - } + export function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; + export function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; + export function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; + export function clearTimeout(timeoutId: NodeJS.Timer): void; + export function clearInterval(intervalId: NodeJS.Timer): void; + export function clearImmediate(immediateId: NodeJS.Immediate): void; } From 41da5eb070a6578eb8cbef441d8bc474908d91e7 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sun, 8 Jan 2017 01:30:51 +0300 Subject: [PATCH 012/613] Fixed @node/node interface according to official API. Resolving #13782 Changed api: stream.Readable, Renamed: NodeJS.Console to NodeJS.ConsoleConstructor Reconciled all consequent interfaces, like writeStream etc. --- node/index.d.ts | 7241 +++++++++++++++++++++++++---------------------- 1 file changed, 3797 insertions(+), 3444 deletions(-) diff --git a/node/index.d.ts b/node/index.d.ts index e6333dd7d1..0620b9df9a 100644 --- a/node/index.d.ts +++ b/node/index.d.ts @@ -8,162 +8,37 @@ * Node.js v6.x API * * * ************************************************/ -interface NodeError { - /** - * Returns a string describing the point in the code at which the Error was instantiated. - * - * For example: - * - * ``` - * Error: Things keep happening! - * at /home/gbusey/file.js:525:2 - * at Frobnicator.refrobulate (/home/gbusey/business-logic.js:424:21) - * at Actor. (/home/gbusey/actors.js:400:8) - * at increaseSynergy (/home/gbusey/actors.js:701:6) - * ``` - * - * The first line is formatted as : , and is followed by a series of stack frames (each line beginning with "at "). Each frame describes a call site within the code that lead to the error being generated. V8 attempts to display a name for each function (by variable name, function name, or object method name), but occasionally it will not be able to find a suitable name. If V8 cannot determine a name for the function, only location information will be displayed for that frame. Otherwise, the determined function name will be displayed with location information appended in parentheses. - */ - stack?: string; - /** - * Returns the string description of error as set by calling new Error(message). The message passed to the constructor will also appear in the first line of the stack trace of the Error, however changing this property after the Error object is created may not change the first line of the stack trace. - * - * ``` - * const err = new Error('The message'); - * console.log(err.message); - * // Prints: The message - * ``` - */ - message: string; +// This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build +interface Console { + Console: NodeJS.ConsoleConstructor; + assert(value: any, message?: string, ...optionalParams: any[]): void; + dir(obj: any, options?: {showHidden?: boolean, depth?: number, colors?: boolean}): void; + error(message?: any, ...optionalParams: any[]): void; + info(message?: any, ...optionalParams: any[]): void; + log(message?: any, ...optionalParams: any[]): void; + time(label: string): void; + timeEnd(label: string): void; + trace(message?: any, ...optionalParams: any[]): void; + warn(message?: any, ...optionalParams: any[]): void; } -interface Error extends NodeError { } +interface Error { + stack?: string; +} interface ErrorConstructor { - /** - * Creates a `.stack` property on `targetObject`, which when accessed returns a string representing the location in the code at which `Error.captureStackTrace()`` was called. - * - * ```js - * const myObject = {}; - * Error.captureStackTrace(myObject); - * myObject.stack // similar to `new Error().stack` - * ``` - * - * The first line of the trace, instead of being prefixed with `ErrorType : message`, will be the result of calling `targetObject.toString()``. - * - * The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace. - * - * The constructorOpt argument is useful for hiding implementation details of error generation from an end user. For instance: - * - * ```js - * function MyError() { - * Error.captureStackTrace(this, MyError); - * } - * - * // Without passing MyError to captureStackTrace, the MyError - * // frame would should up in the .stack property. by passing - * // the constructor, we omit that frame and all frames above it. - * new MyError().stack - * ``` - */ - captureStackTrace(targetObject: T, constructorOpt?: new () => T): void; - - /** - * The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or `Error.captureStackTrace(obj))``. - * - * The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed. - * - * If set to a non-number value, or set to a negative number, stack traces will not capture any frames. - */ - stackTraceLimit: number; + captureStackTrace(targetObject: Object, constructorOpt?: Function): void; + stackTraceLimit: number; } -// ES2015 collection types -interface NodeCollection { - size: number; -} - -interface NodeWeakCollection {} - -interface IterableIterator {} - -interface NodeCollectionConstructor { - prototype: T; -} - -interface Map extends NodeCollection { - clear(): void; - delete(key: K): boolean; - entries(): Array<[K, V]>; - forEach(callbackfn: (value: V, index: K, map: Map) => void, thisArg?: any): void; - get(key: K): V; - has(key: K): boolean; - keys(): Array; - set(key: K, value?: V): Map; - values(): Array; - // [Symbol.iterator]():Array<[K,V]>; - // [Symbol.toStringTag]: "Map"; -} - -interface MapConstructor extends NodeCollectionConstructor> { - new (): Map; - new (): Map; -} - -declare var Map: MapConstructor; - -interface WeakMap extends NodeWeakCollection { - clear(): void; - delete(key: K): boolean; - get(key: K): V | void; - has(key: K): boolean; - set(key: K, value?: V): WeakMap; -} - -interface WeakMapConstructor extends NodeCollectionConstructor> { - new (): WeakMap; - new (): WeakMap; -} - -declare var WeakMap: WeakMapConstructor; - -interface Set extends NodeCollection { - add(value: T): Set; - clear(): void; - delete(value: T): boolean; - entries(): Array<[T, T]>; - forEach(callbackfn: (value: T, index: T, set: Set) => void, thisArg?: any): void; - has(value: T): boolean; - keys(): Array; - values(): Array; - // [Symbol.iterator]():Array; - // [Symbol.toStringTag]: "Set"; -} - -interface SetConstructor extends NodeCollectionConstructor> { - new (): Set; - new (): Set; - new (iterable: Array): Set; -} - -declare var Set: SetConstructor; - -interface WeakSet extends NodeWeakCollection { - add(value: T): WeakSet; - clear(): void; - delete(value: T): boolean; - has(value: T): boolean; - // [Symbol.toStringTag]: "WeakSet"; -} - -interface WeakSetConstructor extends NodeCollectionConstructor> { - new (): WeakSet; - new (): WeakSet; - new (iterable: Array): WeakSet; -} - -declare var WeakSet: WeakSetConstructor; +// compat for TypeScript 1.8 +// if you use with --target es3 or --target es5 and use below definitions, +// use the lib.es6.d.ts that is bundled with TypeScript 1.8. +interface MapConstructor { } +interface WeakMapConstructor { } +interface SetConstructor { } +interface WeakSetConstructor { } /************************************************ * * @@ -172,6 +47,7 @@ declare var WeakSet: WeakSetConstructor; ************************************************/ declare var process: NodeJS.Process; declare var global: NodeJS.Global; +declare var console: Console; declare var __filename: string; declare var __dirname: string; @@ -184,44 +60,26 @@ declare function setImmediate(callback: (...args: any[]) => void, ...args: any[] declare function clearImmediate(immediateId: any): void; interface NodeRequireFunction { - (id: string): any; + (id: string): any; } interface NodeRequire extends NodeRequireFunction { - resolve(id: string): string; - cache: { [filename: string]: NodeModule }; - extensions: NodeExtensions; - main: any; -} - -interface NodeExtensions { - '.js': (m: NodeModule, filename: string) => any; - '.json': (m: NodeModule, filename: string) => any; - '.node': (m: NodeModule, filename: string) => any; - [ext: string]: (m: NodeModule, filename: string) => any; + resolve(id: string): string; + cache: any; + extensions: any; + main: NodeModule | undefined; } declare var require: NodeRequire; -declare class NodeModule { - static runMain(): void; - static wrap(code: string): string; - static _nodeModulePaths(path: string): string[]; - static _load(request: string, parent?: NodeModule, isMain?: boolean): any; - static _resolveFilename(request: string, parent?: NodeModule, isMain?: boolean): string; - static _extensions: NodeExtensions; - - constructor(filename: string); - _compile(code: string, filename: string): string; - - id: string; - parent: NodeModule; - filename: string; - paths: string[]; - children: NodeModule[]; - exports: any; - loaded: boolean; - require: NodeRequireFunction; +interface NodeModule { + exports: any; + require: NodeRequireFunction; + id: string; + filename: string; + loaded: boolean; + parent: NodeModule | null; + children: NodeModule[]; } declare var module: NodeModule; @@ -229,209 +87,159 @@ declare var module: NodeModule; // Same as module.exports declare var exports: any; declare var SlowBuffer: { - new (str: string, encoding?: string): Buffer; - new (size: number): Buffer; - new (size: Uint8Array): Buffer; - new (array: any[]): Buffer; - prototype: Buffer; - isBuffer(obj: any): boolean; - byteLength(string: string, encoding?: string): number; - concat(list: Buffer[], totalLength?: number): Buffer; + new (str: string, encoding?: string): Buffer; + new (size: number): Buffer; + new (size: Uint8Array): Buffer; + new (array: any[]): Buffer; + prototype: Buffer; + isBuffer(obj: any): boolean; + byteLength(string: string, encoding?: string): number; + concat(list: Buffer[], totalLength?: number): Buffer; }; -// Console class (compatible with TypeScript `lib.d.ts`). -declare interface Console { - log(msg: any, ...params: any[]): void; - info(msg: any, ...params: any[]): void; - warn(msg: any, ...params: any[]): void; - error(msg: any, ...params: any[]): void; - dir(value: any, ...params: any[]): void; - time(timerName?: string): void; - timeEnd(timerName?: string): void; - trace(msg: any, ...params: any[]): void; - assert(test?: boolean, msg?: string, ...params: any[]): void; - Console: new (stdout: NodeJS.WritableStream) => Console; -} +// Buffer class +type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "binary" | "hex"; +interface Buffer extends NodeBuffer { } -declare var console: Console; - -declare class Buffer extends Uint8Array { - [index: number]: number; - /** - * Allocates a new buffer containing the given {str}. - * - * @param str String to store in buffer. - * @param encoding encoding to use, optional. Default is 'utf8' - */ - constructor(str: string, encoding?: string); - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - */ - constructor(size: number); - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - */ - constructor(array: Uint8Array); - /** - * Produces a Buffer backed by the same allocated memory as - * the given {ArrayBuffer}. - * - * - * @param arrayBuffer The ArrayBuffer with which to share memory. - */ - constructor(arrayBuffer: ArrayBuffer); - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - */ - constructor(array: any[]); - /** - * Copies the passed {buffer} data onto a new {Buffer} instance. - * - * @param buffer The buffer to copy. - */ - constructor(buffer: Buffer); - /** - * Allocates a new Buffer using an {array} of octets. - * - * @param array - */ - static from(array: any[]): Buffer; - /** - * When passed a reference to the .buffer property of a TypedArray instance, - * the newly created Buffer will share the same allocated memory as the TypedArray. - * The optional {byteOffset} and {length} arguments specify a memory range - * within the {arrayBuffer} that will be shared by the Buffer. - * - * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer() - * @param byteOffset - * @param length - */ - static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer; - /** - * Copies the passed {buffer} data onto a new Buffer instance. - * - * @param buffer - */ - static from(buffer: Buffer): Buffer; - /** - * Creates a new Buffer containing the given JavaScript string {str}. - * If provided, the {encoding} parameter identifies the character encoding. - * If not provided, {encoding} defaults to 'utf8'. - * - * @param str - */ - static from(str: string, encoding?: string): Buffer; - /** - * Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the `Buffer` will be _zero-filled_. - * - * @param size The desired length of the new `Buffer` - * @param fill A value to pre-fill the new `Buffer` with. Default: `0` - * @param encoding If `fill` is a string, this is its encoding. Default: `'utf8'` - */ - static alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer; - /** - * Allocates a new _non-zero-filled_ `Buffer` of `size` bytes. The `size` must be less than or equal to the value of `buffer.kMaxLength`. Otherwise, a `RangeError` is thrown. A zero-length `Buffer` will be created if `size <= 0`. - * - * The underlying memory for `Buffer` instances created in this way is not initialized. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `buf.fill(0)` to initialize such `Buffer` instances to zeroes. - * - * @param size The desired length of the new `Buffer` - */ - static allocUnsafe(size: number): Buffer; - /** - * Returns `true` if `obj` is a Buffer, `false` otherwise. - */ - static isBuffer(obj: any): obj is Buffer; - /** - * Returns `true` if `encoding` contains a supported character encoding, or `false` otherwise. - * - * @param encoding A character encoding name to check. - */ - static isEncoding(encoding: string): boolean; - /** - * Gives the actual byte length of a string. encoding defaults to 'utf8'. - * This is not the same as String.prototype.length since that returns the number of characters in a string. - * - * @param string string to test. - * @param encoding encoding used to evaluate (defaults to 'utf8') - */ - static byteLength(string: string, encoding?: string): number; - /** - * Returns a buffer which is the result of concatenating all the buffers in the list together. - * - * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. - * If the list has exactly one item, then the first item of the list is returned. - * If the list has more than one item, then a new Buffer is created. - * - * @param list An array of Buffer objects to concatenate - * @param totalLength Total length of the buffers when concatenated. - * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. - */ - static concat(list: Buffer[], totalLength?: number): Buffer; - /** - * The same as buf1.compare(buf2). - */ - compare(buf1: Buffer, buf2: Buffer): number; - write(string: string, offset?: number, length?: number, encoding?: string): number; - toString(encoding?: string, start?: number, end?: number): string; - toJSON(): any; - equals(otherBuffer: Buffer): boolean; - compare(otherBuffer: Buffer): number; - copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; - slice(start?: number, end?: number): Buffer; - writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number; - readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number; - readIntLE(offset: number, byteLength: number, noAssert?: boolean): number; - readIntBE(offset: number, byteLength: number, noAssert?: boolean): number; - readUInt8(offset: number, noAssert?: boolean): number; - readUInt16LE(offset: number, noAssert?: boolean): number; - readUInt16BE(offset: number, noAssert?: boolean): number; - readUInt32LE(offset: number, noAssert?: boolean): number; - readUInt32BE(offset: number, noAssert?: boolean): number; - readInt8(offset: number, noAssert?: boolean): number; - readInt16LE(offset: number, noAssert?: boolean): number; - readInt16BE(offset: number, noAssert?: boolean): number; - readInt32LE(offset: number, noAssert?: boolean): number; - readInt32BE(offset: number, noAssert?: boolean): number; - readFloatLE(offset: number, noAssert?: boolean): number; - readFloatBE(offset: number, noAssert?: boolean): number; - readDoubleLE(offset: number, noAssert?: boolean): number; - readDoubleBE(offset: number, noAssert?: boolean): number; - writeUInt8(value: number, offset: number, noAssert?: boolean): number; - writeUInt16LE(value: number, offset: number, noAssert?: boolean): number; - writeUInt16BE(value: number, offset: number, noAssert?: boolean): number; - writeUInt32LE(value: number, offset: number, noAssert?: boolean): number; - writeUInt32BE(value: number, offset: number, noAssert?: boolean): number; - writeInt8(value: number, offset: number, noAssert?: boolean): number; - writeInt16LE(value: number, offset: number, noAssert?: boolean): number; - writeInt16BE(value: number, offset: number, noAssert?: boolean): number; - writeInt32LE(value: number, offset: number, noAssert?: boolean): number; - writeInt32BE(value: number, offset: number, noAssert?: boolean): number; - writeFloatLE(value: number, offset: number, noAssert?: boolean): number; - writeFloatBE(value: number, offset: number, noAssert?: boolean): number; - writeDoubleLE(value: number, offset: number, noAssert?: boolean): number; - writeDoubleBE(value: number, offset: number, noAssert?: boolean): number; - fill(value: any, offset?: number, end?: number): this; - indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; - lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; - swap16(): this; - swap32(): this; - swap64(): this; - includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean; - entries(): IterableIterator<[number, number]>; - keys(): IterableIterator; - values(): IterableIterator; -} +/** + * Raw data is stored in instances of the Buffer class. + * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. + * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' + */ +declare var Buffer: { + /** + * Allocates a new buffer containing the given {str}. + * + * @param str String to store in buffer. + * @param encoding encoding to use, optional. Default is 'utf8' + */ + new (str: string, encoding?: string): Buffer; + /** + * Allocates a new buffer of {size} octets. + * + * @param size count of octets to allocate. + */ + new (size: number): Buffer; + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + */ + new (array: Uint8Array): Buffer; + /** + * Produces a Buffer backed by the same allocated memory as + * the given {ArrayBuffer}. + * + * + * @param arrayBuffer The ArrayBuffer with which to share memory. + */ + new (arrayBuffer: ArrayBuffer): Buffer; + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + */ + new (array: any[]): Buffer; + /** + * Copies the passed {buffer} data onto a new {Buffer} instance. + * + * @param buffer The buffer to copy. + */ + new (buffer: Buffer): Buffer; + prototype: Buffer; + /** + * Allocates a new Buffer using an {array} of octets. + * + * @param array + */ + from(array: any[]): Buffer; + /** + * When passed a reference to the .buffer property of a TypedArray instance, + * the newly created Buffer will share the same allocated memory as the TypedArray. + * The optional {byteOffset} and {length} arguments specify a memory range + * within the {arrayBuffer} that will be shared by the Buffer. + * + * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer() + * @param byteOffset + * @param length + */ + from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer; + /** + * Copies the passed {buffer} data onto a new Buffer instance. + * + * @param buffer + */ + from(buffer: Buffer): Buffer; + /** + * Creates a new Buffer containing the given JavaScript string {str}. + * If provided, the {encoding} parameter identifies the character encoding. + * If not provided, {encoding} defaults to 'utf8'. + * + * @param str + */ + from(str: string, encoding?: string): Buffer; + /** + * Returns true if {obj} is a Buffer + * + * @param obj object to test. + */ + isBuffer(obj: any): obj is Buffer; + /** + * Returns true if {encoding} is a valid encoding argument. + * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' + * + * @param encoding string to test. + */ + isEncoding(encoding: string): boolean; + /** + * Gives the actual byte length of a string. encoding defaults to 'utf8'. + * This is not the same as String.prototype.length since that returns the number of characters in a string. + * + * @param string string to test. + * @param encoding encoding used to evaluate (defaults to 'utf8') + */ + byteLength(string: string, encoding?: string): number; + /** + * Returns a buffer which is the result of concatenating all the buffers in the list together. + * + * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. + * If the list has exactly one item, then the first item of the list is returned. + * If the list has more than one item, then a new Buffer is created. + * + * @param list An array of Buffer objects to concatenate + * @param totalLength Total length of the buffers when concatenated. + * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. + */ + concat(list: Buffer[], totalLength?: number): Buffer; + /** + * The same as buf1.compare(buf2). + */ + compare(buf1: Buffer, buf2: Buffer): number; + /** + * Allocates a new buffer of {size} octets. + * + * @param size count of octets to allocate. + * @param fill if specified, buffer will be initialized by calling buf.fill(fill). + * If parameter is omitted, buffer will be filled with zeros. + * @param encoding encoding used for call to buf.fill while initalizing + */ + alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer; + /** + * Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents + * of the newly created Buffer are unknown and may contain sensitive data. + * + * @param size count of octets to allocate + */ + allocUnsafe(size: number): Buffer; + /** + * Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents + * of the newly created Buffer are unknown and may contain sensitive data. + * + * @param size count of octets to allocate + */ + allocUnsafeSlow(size: number): Buffer; +}; /************************************************ * * @@ -439,244 +247,301 @@ declare class Buffer extends Uint8Array { * * ************************************************/ declare namespace NodeJS { - export interface ErrnoException extends Error { - errno?: number; - code?: string; - path?: string; - syscall?: string; - stack?: string; - } + export interface ConsoleConstructor { + prototype: Console; + new(stdout: WritableStream, stderr?: WritableStream): Console; + } - export interface EventEmitter { - addListener(event: string, listener: Function): this; - on(event: string, listener: Function): this; - once(event: string, listener: Function): this; - prependListener(event: string, listener: Function): this; - prependOnceListener(event: string, listener: Function): this; - removeListener(event: string, listener: Function): this; - removeAllListeners(event?: string): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string): Function[]; - emit(event: string, ...args: any[]): boolean; - eventNames(): string[]; - listenerCount(type: string): number; - } + export interface ErrnoException extends Error { + errno?: number; + code?: string; + path?: string; + syscall?: string; + stack?: string; + } - export interface ReadableStream extends EventEmitter { - readable: boolean; - read(size?: number): string | Buffer; - setEncoding(encoding: string): this; - isPaused(): boolean; - pause(): this; - resume(): this; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: string): void; - unshift(chunk: Buffer): void; - wrap(oldStream: ReadableStream): ReadableStream; - } + export class EventEmitter { + addListener(event: string | symbol, listener: Function): this; + on(event: string | symbol, listener: Function): this; + once(event: string | symbol, listener: Function): this; + removeListener(event: string | symbol, listener: Function): this; + removeAllListeners(event?: string | symbol): this; + setMaxListeners(n: number): this; + getMaxListeners(): number; + listeners(event: string | symbol): Function[]; + emit(event: string | symbol, ...args: any[]): boolean; + listenerCount(type: string | symbol): number; + // Added in Node 6... + prependListener(event: string | symbol, listener: Function): this; + prependOnceListener(event: string | symbol, listener: Function): this; + eventNames(): (string | symbol)[]; + } - export interface WritableStream extends EventEmitter { - writable: boolean; - setDefaultEncoding(encoding: string): this; - write(buffer: Buffer | string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - } + export interface ReadableStream extends EventEmitter { + readable: boolean; + isTTY?: boolean; + read(size?: number): string | Buffer; + setEncoding(encoding: string | null): this; + pause(): this; + resume(): this; + pipe(destination: T, options?: { end?: boolean; }): this; + unpipe(destination?: T): this; + unshift(chunk: string): void; + unshift(chunk: Buffer): void; + wrap(oldStream: ReadableStream): ReadableStream; + } - export interface ReadWriteStream extends ReadableStream, WritableStream { } + export interface WritableStream extends EventEmitter { + writable: boolean; + isTTY?: boolean; + write(buffer: Buffer | string, cb?: Function): boolean; + write(str: string, encoding?: string, cb?: Function): boolean; + end(): void; + end(buffer: Buffer, cb?: Function): void; + end(str: string, cb?: Function): void; + end(str: string, encoding?: string, cb?: Function): void; + } - export interface Events extends EventEmitter { } + export interface ReadWriteStream extends ReadableStream, WritableStream { } - export interface Domain extends Events { - run(fn: Function): void; - add(emitter: Events): void; - remove(emitter: Events): void; - bind(cb: (err: Error, data: any) => any): any; - intercept(cb: (data: any) => any): any; - dispose(): void; + export interface Events extends EventEmitter { } - addListener(event: string, listener: Function): this; - on(event: string, listener: Function): this; - once(event: string, listener: Function): this; - removeListener(event: string, listener: Function): this; - removeAllListeners(event?: string): this; - } + export interface Domain extends Events { + run(fn: Function): void; + add(emitter: Events): void; + remove(emitter: Events): void; + bind(cb: (err: Error, data: any) => any): any; + intercept(cb: (data: any) => any): any; + dispose(): void; - export interface MemoryUsage { - rss: number; - heapTotal: number; - heapUsed: number; - } + addListener(event: string, listener: Function): this; + on(event: string, listener: Function): this; + once(event: string, listener: Function): this; + removeListener(event: string, listener: Function): this; + removeAllListeners(event?: string): this; + } - export interface Env { - PATH: string; - [key: string]: string; - } + export interface MemoryUsage { + rss: number; + heapTotal: number; + heapUsed: number; + } - export interface Versions { - http_parser: string; - node: string; - v8: string; - ares: string; - uv: string; - zlib: string; - modules: string; - openssl: string; - } + export interface CpuUsage { + user: number; + system: number; + } - export interface Process extends EventEmitter { - stdout: WritableStream; - stderr: WritableStream; - stdin: ReadableStream; - argv: string[]; - argv0: string; - /** - * The process.execArgv property returns the set of Node.js-specific command-line options passed when the Node.js process was launched. These options do not appear in the array returned by the process.argv property, and do not include the Node.js executable, the name of the script, or any options following the script name. These options are useful in order to spawn child processes with the same execution environment as the parent. - */ - execArgv: string[]; - execPath: string; - abort(): void; - chdir(directory: string): void; - cwd(): string; - env: Env; - exit(code?: number): void; - exitCode?: number; - getgid(): number; - setgid(id: number): void; - setgid(id: string): void; - getuid(): number; - setuid(id: number): void; - setuid(id: string): void; - version: string; - versions: Versions; - config: { - target_defaults: { - cflags: any[]; - default_configuration: string; - defines: string[]; - include_dirs: string[]; - libraries: string[]; - }; - variables: { - clang: number; - host_arch: string; - node_install_npm: boolean; - node_install_waf: boolean; - node_prefix: string; - node_shared_openssl: boolean; - node_shared_v8: boolean; - node_shared_zlib: boolean; - node_use_dtrace: boolean; - node_use_etw: boolean; - node_use_openssl: boolean; - target_arch: string; - v8_no_strict_aliasing: number; - v8_use_snapshot: boolean; - visibility: string; - }; - }; - kill(pid: number, signal?: string | number): void; - pid: number; - title: string; - arch: string; - platform: string; - memoryUsage(): MemoryUsage; - nextTick(callback: Function): void; - umask(mask?: number): number; - uptime(): number; - hrtime(time?: [number, number]): [number, number]; - domain: Domain; + export interface ProcessVersions { + http_parser: string; + node: string; + v8: string; + ares: string; + uv: string; + zlib: string; + modules: string; + openssl: string; + } - // Worker - send?(message: any, sendHandle?: any): void; - disconnect(): void; - connected: boolean; - } + export interface Process extends EventEmitter { + stdout: WritableStream; + stderr: WritableStream; + stdin: ReadableStream; + argv: string[]; + argv0: string; + execArgv: string[]; + execPath: string; + abort(): void; + chdir(directory: string): void; + cwd(): string; + env: any; + exit(code?: number): void; + exitCode: number; + getgid(): number; + setgid(id: number): void; + setgid(id: string): void; + getuid(): number; + setuid(id: number): void; + setuid(id: string): void; + version: string; + versions: ProcessVersions; + config: { + target_defaults: { + cflags: any[]; + default_configuration: string; + defines: string[]; + include_dirs: string[]; + libraries: string[]; + }; + variables: { + clang: number; + host_arch: string; + node_install_npm: boolean; + node_install_waf: boolean; + node_prefix: string; + node_shared_openssl: boolean; + node_shared_v8: boolean; + node_shared_zlib: boolean; + node_use_dtrace: boolean; + node_use_etw: boolean; + node_use_openssl: boolean; + target_arch: string; + v8_no_strict_aliasing: number; + v8_use_snapshot: boolean; + visibility: string; + }; + }; + kill(pid: number, signal?: string | number): void; + pid: number; + title: string; + arch: string; + platform: string; + mainModule?: NodeModule; + memoryUsage(): MemoryUsage; + cpuUsage(previousValue?: CpuUsage): CpuUsage; + nextTick(callback: Function, ...args: any[]): void; + umask(mask?: number): number; + uptime(): number; + hrtime(time?: [number, number]): [number, number]; + domain: Domain; - export interface Global { - Array: typeof Array; - ArrayBuffer: typeof ArrayBuffer; - Boolean: typeof Boolean; - Buffer: typeof Buffer; - DataView: typeof DataView; - Date: typeof Date; - Error: typeof Error; - EvalError: typeof EvalError; - Float32Array: typeof Float32Array; - Float64Array: typeof Float64Array; - Function: typeof Function; - GLOBAL: Global; - Infinity: typeof Infinity; - Int16Array: typeof Int16Array; - Int32Array: typeof Int32Array; - Int8Array: typeof Int8Array; - Intl: typeof Intl; - JSON: typeof JSON; - Map: MapConstructor; - Math: typeof Math; - NaN: typeof NaN; - Number: typeof Number; - Object: typeof Object; - Promise: Function; - RangeError: typeof RangeError; - ReferenceError: typeof ReferenceError; - RegExp: typeof RegExp; - Set: SetConstructor; - String: typeof String; - Symbol: Function; - SyntaxError: typeof SyntaxError; - TypeError: typeof TypeError; - URIError: typeof URIError; - Uint16Array: typeof Uint16Array; - Uint32Array: typeof Uint32Array; - Uint8Array: typeof Uint8Array; - Uint8ClampedArray: Function; - WeakMap: WeakMapConstructor; - WeakSet: WeakSetConstructor; - clearImmediate: (immediateId: any) => void; - clearInterval: (intervalId: NodeJS.Timer) => void; - clearTimeout: (timeoutId: NodeJS.Timer) => void; - console: typeof console; - decodeURI: typeof decodeURI; - decodeURIComponent: typeof decodeURIComponent; - encodeURI: typeof encodeURI; - encodeURIComponent: typeof encodeURIComponent; - escape: (str: string) => string; - eval: typeof eval; - global: Global; - isFinite: typeof isFinite; - isNaN: typeof isNaN; - parseFloat: typeof parseFloat; - parseInt: typeof parseInt; - process: Process; - root: Global; - setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => any; - setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; - setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; - undefined: typeof undefined; - unescape: (str: string) => string; - gc: () => void; - v8debug?: any; - } + // Worker + send?(message: any, sendHandle?: any): void; + disconnect(): void; + connected: boolean; + } - export interface Timer { - ref(): void; - unref(): void; - _called: boolean; - _onTimeout: Function; - _timerArgs?: any[]; - } + export interface Global { + Array: typeof Array; + ArrayBuffer: typeof ArrayBuffer; + Boolean: typeof Boolean; + Buffer: typeof Buffer; + DataView: typeof DataView; + Date: typeof Date; + Error: typeof Error; + EvalError: typeof EvalError; + Float32Array: typeof Float32Array; + Float64Array: typeof Float64Array; + Function: typeof Function; + GLOBAL: Global; + Infinity: typeof Infinity; + Int16Array: typeof Int16Array; + Int32Array: typeof Int32Array; + Int8Array: typeof Int8Array; + Intl: typeof Intl; + JSON: typeof JSON; + Map: MapConstructor; + Math: typeof Math; + NaN: typeof NaN; + Number: typeof Number; + Object: typeof Object; + Promise: Function; + RangeError: typeof RangeError; + ReferenceError: typeof ReferenceError; + RegExp: typeof RegExp; + Set: SetConstructor; + String: typeof String; + Symbol: Function; + SyntaxError: typeof SyntaxError; + TypeError: typeof TypeError; + URIError: typeof URIError; + Uint16Array: typeof Uint16Array; + Uint32Array: typeof Uint32Array; + Uint8Array: typeof Uint8Array; + Uint8ClampedArray: Function; + WeakMap: WeakMapConstructor; + WeakSet: WeakSetConstructor; + clearImmediate: (immediateId: any) => void; + clearInterval: (intervalId: NodeJS.Timer) => void; + clearTimeout: (timeoutId: NodeJS.Timer) => void; + console: typeof console; + decodeURI: typeof decodeURI; + decodeURIComponent: typeof decodeURIComponent; + encodeURI: typeof encodeURI; + encodeURIComponent: typeof encodeURIComponent; + escape: (str: string) => string; + eval: typeof eval; + global: Global; + isFinite: typeof isFinite; + isNaN: typeof isNaN; + parseFloat: typeof parseFloat; + parseInt: typeof parseInt; + process: Process; + root: Global; + setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => any; + setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; + setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; + undefined: typeof undefined; + unescape: (str: string) => string; + gc: () => void; + v8debug?: any; + } - export interface Immediate { - _argv?: any[]; - _callback: Function; - _onImmediate: Function; - } + export interface Timer { + ref(): void; + unref(): void; + } +} + +interface IterableIterator { } + +/** + * @deprecated + */ +interface NodeBuffer extends Uint8Array { + write(string: string, offset?: number, length?: number, encoding?: string): number; + toString(encoding?: string, start?: number, end?: number): string; + toJSON(): { type: 'Buffer', data: any[] }; + equals(otherBuffer: Buffer): boolean; + compare(otherBuffer: Buffer, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number; + copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; + slice(start?: number, end?: number): Buffer; + writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number; + readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number; + readIntLE(offset: number, byteLength: number, noAssert?: boolean): number; + readIntBE(offset: number, byteLength: number, noAssert?: boolean): number; + readUInt8(offset: number, noAssert?: boolean): number; + readUInt16LE(offset: number, noAssert?: boolean): number; + readUInt16BE(offset: number, noAssert?: boolean): number; + readUInt32LE(offset: number, noAssert?: boolean): number; + readUInt32BE(offset: number, noAssert?: boolean): number; + readInt8(offset: number, noAssert?: boolean): number; + readInt16LE(offset: number, noAssert?: boolean): number; + readInt16BE(offset: number, noAssert?: boolean): number; + readInt32LE(offset: number, noAssert?: boolean): number; + readInt32BE(offset: number, noAssert?: boolean): number; + readFloatLE(offset: number, noAssert?: boolean): number; + readFloatBE(offset: number, noAssert?: boolean): number; + readDoubleLE(offset: number, noAssert?: boolean): number; + readDoubleBE(offset: number, noAssert?: boolean): number; + swap16(): Buffer; + swap32(): Buffer; + swap64(): Buffer; + writeUInt8(value: number, offset: number, noAssert?: boolean): number; + writeUInt16LE(value: number, offset: number, noAssert?: boolean): number; + writeUInt16BE(value: number, offset: number, noAssert?: boolean): number; + writeUInt32LE(value: number, offset: number, noAssert?: boolean): number; + writeUInt32BE(value: number, offset: number, noAssert?: boolean): number; + writeInt8(value: number, offset: number, noAssert?: boolean): number; + writeInt16LE(value: number, offset: number, noAssert?: boolean): number; + writeInt16BE(value: number, offset: number, noAssert?: boolean): number; + writeInt32LE(value: number, offset: number, noAssert?: boolean): number; + writeInt32BE(value: number, offset: number, noAssert?: boolean): number; + writeFloatLE(value: number, offset: number, noAssert?: boolean): number; + writeFloatBE(value: number, offset: number, noAssert?: boolean): number; + writeDoubleLE(value: number, offset: number, noAssert?: boolean): number; + writeDoubleBE(value: number, offset: number, noAssert?: boolean): number; + fill(value: any, offset?: number, end?: number): this; + indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; + lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; + entries(): IterableIterator<[number, number]>; + includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean; + keys(): IterableIterator; + values(): IterableIterator; } /************************************************ @@ -685,3078 +550,3566 @@ declare namespace NodeJS { * * ************************************************/ declare module "buffer" { - export var INSPECT_MAX_BYTES: number; - export var kMaxLength: number; - - export type Encoding = "ascii" | "latin1" | "binary" | "utf8" | "utf-8" | "ucs2" | "ucs-2" | "utf16le" | "utf-16le" | "hex" | "base64"; - - var BuffType: typeof Buffer; - var SlowBuffType: typeof SlowBuffer; - - export { BuffType as Buffer, SlowBuffType as SlowBuffer }; + export var INSPECT_MAX_BYTES: number; + var BuffType: typeof Buffer; + var SlowBuffType: typeof SlowBuffer; + export { BuffType as Buffer, SlowBuffType as SlowBuffer }; } declare module "querystring" { - export interface StringifyOptions { - encodeURIComponent?: Function; - } + export interface StringifyOptions { + encodeURIComponent?: Function; + } - export interface ParseOptions { - maxKeys?: number; - decodeURIComponent?: Function; - } + export interface ParseOptions { + maxKeys?: number; + decodeURIComponent?: Function; + } - export function stringify(obj: T, sep?: string, eq?: string, options?: StringifyOptions): string; - export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): any; - export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): T; - export function escape(str: string): string; - export function unescape(str: string): string; + export function stringify(obj: T, sep?: string, eq?: string, options?: StringifyOptions): string; + export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): any; + export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): T; + export function escape(str: string): string; + export function unescape(str: string): string; } declare module "events" { - export class EventEmitter implements NodeJS.EventEmitter { - static EventEmitter: EventEmitter; - static listenerCount(emitter: EventEmitter, event: string): number; // deprecated - static defaultMaxListeners: number; + class internal extends NodeJS.EventEmitter { } - addListener(event: string, listener: (...args: any[]) => void): this; - on(event: string, listener: (...args: any[]) => void): this; - once(event: string, listener: (...args: any[]) => void): this; - prependListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - removeListener(event: string, listener: (...args: any[]) => void): this; - removeAllListeners(event?: string): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string): Array<(...args: any[]) => void>; - listenerCount(event: string): number; - emit(event: string, ...args: any[]): boolean; - eventNames(): string[]; - } + namespace internal { + export class EventEmitter extends internal { + static listenerCount(emitter: EventEmitter, event: string | symbol): number; // deprecated + static defaultMaxListeners: number; - export interface Listener { - on(event: E, listener: L): this; - once(event: E, listener: L): this; - addListener(event: E, listener: L): this; - removeListener(event: E, listener: L): this; - listeners(event: E): L[]; - } + addListener(event: string | symbol, listener: Function): this; + on(event: string | symbol, listener: Function): this; + once(event: string | symbol, listener: Function): this; + prependListener(event: string | symbol, listener: Function): this; + prependOnceListener(event: string | symbol, listener: Function): this; + removeListener(event: string | symbol, listener: Function): this; + removeAllListeners(event?: string | symbol): this; + setMaxListeners(n: number): this; + getMaxListeners(): number; + listeners(event: string | symbol): Function[]; + emit(event: string | symbol, ...args: any[]): boolean; + eventNames(): (string | symbol)[]; + listenerCount(type: string | symbol): number; + } + } + + export = internal; } declare module "http" { - import * as events from "events"; - import * as net from "net"; - import * as stream from "stream"; + import * as events from "events"; + import * as net from "net"; + import * as stream from "stream"; - export interface OutgoingHeaders { - [header: string]: number | string | string[]; - } + export interface RequestOptions { + protocol?: string; + host?: string; + hostname?: string; + family?: number; + port?: number; + localAddress?: string; + socketPath?: string; + method?: string; + path?: string; + headers?: { [key: string]: any }; + auth?: string; + agent?: Agent | boolean; + } - export interface IncomingHeaders { - [header: string]: string | string[]; - } - - export interface RequestOptions { - protocol?: string; - host?: string; - hostname?: string; - family?: number; - port?: number | string; - localAddress?: string; - socketPath?: string; - method?: string; - path?: string; - headers?: OutgoingHeaders; - auth?: string; - agent?: Agent | boolean; - } - - export class Server extends net.Server { - setTimeout(msecs: number, callback: Function): void; - maxHeadersCount: number; - timeout: number; - listening: boolean; - } - - export class ServerResponse extends stream.Writable { - finished: boolean; - headersSent: boolean; - statusCode: number; - statusMessage: string; - sendDate: boolean; - - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; - - writeContinue(): void; - writeHead(statusCode: number, statusText?: string, headers?: OutgoingHeaders): void; - writeHead(statusCode: number, headers?: OutgoingHeaders): void; - setHeader(name: string, value: string | string[]): void; - setTimeout(msecs: number, callback: () => void): this; - getHeader(name: string): string; - removeHeader(name: string): void; - write(chunk: any, encoding?: string): any; - addTrailers(headers: OutgoingHeaders): void; - - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - } - - export class ClientRequest extends stream.Writable { - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; - - write(chunk: any, encoding?: string): void; - abort(): void; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; - - setHeader(name: string, value: string | string[]): void; - getHeader(name: string): string; - removeHeader(name: string): void; - addTrailers(headers: any): void; - - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; - } - - export class IncomingMessage extends stream.Readable { - httpVersion: string; - headers: IncomingHeaders; - rawHeaders: string[]; - trailers: IncomingHeaders; - rawTrailers: string[]; - setTimeout(msecs: number, callback: Function): NodeJS.Timer; - destroy(error?: Error): void; + export interface Server extends net.Server { + setTimeout(msecs: number, callback: Function): void; + maxHeadersCount: number; + timeout: number; + listening: boolean; + } /** - * Only valid for request obtained from http.Server. + * @deprecated Use IncomingMessage */ - method?: string; - /** - * Only valid for request obtained from http.Server. - */ - url?: string; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusCode?: number; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusMessage?: string; - socket: net.Socket; - } + export interface ServerRequest extends IncomingMessage { + connection: net.Socket; + } + export interface ServerResponse extends stream.Writable { + // Extended base methods + write(buffer: Buffer): boolean; + write(buffer: Buffer, cb?: Function): boolean; + write(str: string, cb?: Function): boolean; + write(str: string, encoding?: string, cb?: Function): boolean; + write(str: string, encoding?: string, fd?: string): boolean; - export interface AgentOptions { + writeContinue(): void; + writeHead(statusCode: number, reasonPhrase?: string, headers?: any): void; + writeHead(statusCode: number, headers?: any): void; + statusCode: number; + statusMessage: string; + headersSent: boolean; + setHeader(name: string, value: string | string[]): void; + setTimeout(msecs: number, callback: Function): ServerResponse; + sendDate: boolean; + getHeader(name: string): string; + removeHeader(name: string): void; + write(chunk: any, encoding?: string): any; + addTrailers(headers: any): void; + finished: boolean; + + // Extended base methods + end(): void; + end(buffer: Buffer, cb?: Function): void; + end(str: string, cb?: Function): void; + end(str: string, encoding?: string, cb?: Function): void; + end(data?: any, encoding?: string): void; + } + export interface ClientRequest extends stream.Writable { + // Extended base methods + write(buffer: Buffer): boolean; + write(buffer: Buffer, cb?: Function): boolean; + write(str: string, cb?: Function): boolean; + write(str: string, encoding?: string, cb?: Function): boolean; + write(str: string, encoding?: string, fd?: string): boolean; + + write(chunk: any, encoding?: string): void; + abort(): void; + setTimeout(timeout: number, callback?: Function): void; + setNoDelay(noDelay?: boolean): void; + setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; + + setHeader(name: string, value: string | string[]): void; + getHeader(name: string): string; + removeHeader(name: string): void; + addTrailers(headers: any): void; + + // Extended base methods + end(): void; + end(buffer: Buffer, cb?: Function): void; + end(str: string, cb?: Function): void; + end(str: string, encoding?: string, cb?: Function): void; + end(data?: any, encoding?: string): void; + } + export interface IncomingMessage extends stream.Readable { + httpVersion: string; + httpVersionMajor: number; + httpVersionMinor: number; + connection: net.Socket; + headers: any; + rawHeaders: string[]; + trailers: any; + rawTrailers: any; + setTimeout(msecs: number, callback: Function): NodeJS.Timer; + /** + * Only valid for request obtained from http.Server. + */ + method?: string; + /** + * Only valid for request obtained from http.Server. + */ + url?: string; + /** + * Only valid for response obtained from http.ClientRequest. + */ + statusCode?: number; + /** + * Only valid for response obtained from http.ClientRequest. + */ + statusMessage?: string; + socket: net.Socket; + destroy(error?: Error): void; + } /** - * Keep sockets around in a pool to be used by other requests in the future. Default = false + * @deprecated Use IncomingMessage */ - keepAlive?: boolean; - /** - * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. - * Only relevant if keepAlive is set to true. - */ - keepAliveMsecs?: number; - /** - * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity - */ - maxSockets?: number; - /** - * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. - */ - maxFreeSockets?: number; - } + export interface ClientResponse extends IncomingMessage { } - export class Agent { - maxSockets: number; - sockets: any; - requests: any; + export interface AgentOptions { + /** + * Keep sockets around in a pool to be used by other requests in the future. Default = false + */ + keepAlive?: boolean; + /** + * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. + * Only relevant if keepAlive is set to true. + */ + keepAliveMsecs?: number; + /** + * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity + */ + maxSockets?: number; + /** + * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. + */ + maxFreeSockets?: number; + } - constructor(opts?: AgentOptions); + export class Agent { + maxSockets: number; + sockets: any; + requests: any; - /** - * Destroy any sockets that are currently in use by the agent. - * It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled, - * then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise, - * sockets may hang open for quite a long time before the server terminates them. - */ - destroy(): void; - } + constructor(opts?: AgentOptions); - export var METHODS: string[]; + /** + * Destroy any sockets that are currently in use by the agent. + * It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled, + * then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise, + * sockets may hang open for quite a long time before the server terminates them. + */ + destroy(): void; + } - export var STATUS_CODES: { - [errorCode: number]: string; - [errorCode: string]: string; - }; + export var METHODS: string[]; - export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) => void): Server; - export function createClient(port?: number, host?: string): any; - export function request(options: string | RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - export function get(options: string | RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - export var globalAgent: Agent; + export var STATUS_CODES: { + [errorCode: number]: string; + [errorCode: string]: string; + }; + export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) => void): Server; + export function createClient(port?: number, host?: string): any; + export function request(options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; + export function get(options: any, callback?: (res: IncomingMessage) => void): ClientRequest; + export var globalAgent: Agent; } declare module "cluster" { - import * as child from "child_process"; - import * as events from "events"; + import * as child from "child_process"; + import * as events from "events"; + import * as net from "net"; - export interface ClusterSettings { - exec?: string; - args?: string[]; - silent?: boolean; - } + // interfaces + export interface ClusterSettings { + execArgv?: string[]; // default: process.execArgv + exec?: string; + args?: string[]; + silent?: boolean; + stdio?: any[]; + uid?: number; + gid?: number; + } - export interface Address { - address: string; - port: number; - addressType: string; - } + export interface ClusterSetupMasterSettings { + exec?: string; // default: process.argv[1] + args?: string[]; // default: process.argv.slice(2) + silent?: boolean; // default: false + stdio?: any[]; + } - export class Worker extends events.EventEmitter { - id: string; - process: child.ChildProcess; - suicide: boolean; - send(message: any, sendHandle?: any): boolean; - kill(signal?: string): void; - destroy(signal?: string): void; - disconnect(): void; - isConnected(): boolean; - isDead(): boolean; - } + export interface Address { + address: string; + port: number; + addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6" + } - export var settings: ClusterSettings; - export var isMaster: boolean; - export var isWorker: boolean; - export function setupMaster(settings?: ClusterSettings): void; - export function fork(env?: any): Worker; - export function disconnect(callback?: Function): void; - export var worker: Worker; - export var workers: { - [index: string]: Worker - }; + export class Worker extends events.EventEmitter { + id: string; + process: child.ChildProcess; + suicide: boolean; + send(message: any, sendHandle?: any): boolean; + kill(signal?: string): void; + destroy(signal?: string): void; + disconnect(): void; + isConnected(): boolean; + isDead(): boolean; + exitedAfterDisconnect: boolean; - // Event emitter - export function addListener(event: string, listener: Function): void; - export function on(event: "disconnect", listener: (worker: Worker) => void): void; - export function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): void; - export function on(event: "fork", listener: (worker: Worker) => void): void; - export function on(event: "listening", listener: (worker: Worker, address: any) => void): void; - export function on(event: "message", listener: (worker: Worker, message: any) => void): void; - export function on(event: "online", listener: (worker: Worker) => void): void; - export function on(event: "setup", listener: (settings: any) => void): void; - export function on(event: string, listener: Function): any; - export function once(event: string, listener: Function): void; - export function removeListener(event: string, listener: Function): void; - export function removeAllListeners(event?: string): void; - export function setMaxListeners(n: number): void; - export function listeners(event: string): Function[]; - export function emit(event: string, ...args: any[]): boolean; + /** + * events.EventEmitter + * 1. disconnect + * 2. error + * 3. exit + * 4. listening + * 5. message + * 6. online + */ + addListener(event: string, listener: Function): this; + addListener(event: "disconnect", listener: () => void): this; + addListener(event: "error", listener: (code: number, signal: string) => void): this; + addListener(event: "exit", listener: (code: number, signal: string) => void): this; + addListener(event: "listening", listener: (address: Address) => void): this; + addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + addListener(event: "online", listener: () => void): this; + + emit(event: string, listener: Function): boolean + emit(event: "disconnect", listener: () => void): boolean + emit(event: "error", listener: (code: number, signal: string) => void): boolean + emit(event: "exit", listener: (code: number, signal: string) => void): boolean + emit(event: "listening", listener: (address: Address) => void): boolean + emit(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): boolean + emit(event: "online", listener: () => void): boolean + + on(event: string, listener: Function): this; + on(event: "disconnect", listener: () => void): this; + on(event: "error", listener: (code: number, signal: string) => void): this; + on(event: "exit", listener: (code: number, signal: string) => void): this; + on(event: "listening", listener: (address: Address) => void): this; + on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + on(event: "online", listener: () => void): this; + + once(event: string, listener: Function): this; + once(event: "disconnect", listener: () => void): this; + once(event: "error", listener: (code: number, signal: string) => void): this; + once(event: "exit", listener: (code: number, signal: string) => void): this; + once(event: "listening", listener: (address: Address) => void): this; + once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + once(event: "online", listener: () => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "disconnect", listener: () => void): this; + prependListener(event: "error", listener: (code: number, signal: string) => void): this; + prependListener(event: "exit", listener: (code: number, signal: string) => void): this; + prependListener(event: "listening", listener: (address: Address) => void): this; + prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + prependListener(event: "online", listener: () => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "disconnect", listener: () => void): this; + prependOnceListener(event: "error", listener: (code: number, signal: string) => void): this; + prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this; + prependOnceListener(event: "listening", listener: (address: Address) => void): this; + prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + prependOnceListener(event: "online", listener: () => void): this; + } + + export interface Cluster extends events.EventEmitter { + Worker: Worker; + disconnect(callback?: Function): void; + fork(env?: any): Worker; + isMaster: boolean; + isWorker: boolean; + // TODO: cluster.schedulingPolicy + settings: ClusterSettings; + setupMaster(settings?: ClusterSetupMasterSettings): void; + worker: Worker; + workers: { + [index: string]: Worker + }; + + /** + * events.EventEmitter + * 1. disconnect + * 2. exit + * 3. fork + * 4. listening + * 5. message + * 6. online + * 7. setup + */ + addListener(event: string, listener: Function): this; + addListener(event: "disconnect", listener: (worker: Worker) => void): this; + addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + addListener(event: "fork", listener: (worker: Worker) => void): this; + addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; + addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + addListener(event: "online", listener: (worker: Worker) => void): this; + addListener(event: "setup", listener: (settings: any) => void): this; + + emit(event: string, listener: Function): boolean; + emit(event: "disconnect", listener: (worker: Worker) => void): boolean; + emit(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): boolean; + emit(event: "fork", listener: (worker: Worker) => void): boolean; + emit(event: "listening", listener: (worker: Worker, address: Address) => void): boolean; + emit(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): boolean; + emit(event: "online", listener: (worker: Worker) => void): boolean; + emit(event: "setup", listener: (settings: any) => void): boolean; + + on(event: string, listener: Function): this; + on(event: "disconnect", listener: (worker: Worker) => void): this; + on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + on(event: "fork", listener: (worker: Worker) => void): this; + on(event: "listening", listener: (worker: Worker, address: Address) => void): this; + on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + on(event: "online", listener: (worker: Worker) => void): this; + on(event: "setup", listener: (settings: any) => void): this; + + once(event: string, listener: Function): this; + once(event: "disconnect", listener: (worker: Worker) => void): this; + once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + once(event: "fork", listener: (worker: Worker) => void): this; + once(event: "listening", listener: (worker: Worker, address: Address) => void): this; + once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + once(event: "online", listener: (worker: Worker) => void): this; + once(event: "setup", listener: (settings: any) => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "disconnect", listener: (worker: Worker) => void): this; + prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + prependListener(event: "fork", listener: (worker: Worker) => void): this; + prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; + prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + prependListener(event: "online", listener: (worker: Worker) => void): this; + prependListener(event: "setup", listener: (settings: any) => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this; + prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; + prependOnceListener(event: "fork", listener: (worker: Worker) => void): this; + prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; + prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. + prependOnceListener(event: "online", listener: (worker: Worker) => void): this; + prependOnceListener(event: "setup", listener: (settings: any) => void): this; + + } + + export function disconnect(callback?: Function): void; + export function fork(env?: any): Worker; + export var isMaster: boolean; + export var isWorker: boolean; + // TODO: cluster.schedulingPolicy + export var settings: ClusterSettings; + export function setupMaster(settings?: ClusterSetupMasterSettings): void; + export var worker: Worker; + export var workers: { + [index: string]: Worker + }; + + /** + * events.EventEmitter + * 1. disconnect + * 2. exit + * 3. fork + * 4. listening + * 5. message + * 6. online + * 7. setup + */ + export function addListener(event: string, listener: Function): Cluster; + export function addListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; + export function addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; + export function addListener(event: "fork", listener: (worker: Worker) => void): Cluster; + export function addListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; + export function addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. + export function addListener(event: "online", listener: (worker: Worker) => void): Cluster; + export function addListener(event: "setup", listener: (settings: any) => void): Cluster; + + export function emit(event: string, listener: Function): boolean; + export function emit(event: "disconnect", listener: (worker: Worker) => void): boolean; + export function emit(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): boolean; + export function emit(event: "fork", listener: (worker: Worker) => void): boolean; + export function emit(event: "listening", listener: (worker: Worker, address: Address) => void): boolean; + export function emit(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): boolean; + export function emit(event: "online", listener: (worker: Worker) => void): boolean; + export function emit(event: "setup", listener: (settings: any) => void): boolean; + + export function on(event: string, listener: Function): Cluster; + export function on(event: "disconnect", listener: (worker: Worker) => void): Cluster; + export function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; + export function on(event: "fork", listener: (worker: Worker) => void): Cluster; + export function on(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; + export function on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. + export function on(event: "online", listener: (worker: Worker) => void): Cluster; + export function on(event: "setup", listener: (settings: any) => void): Cluster; + + export function once(event: string, listener: Function): Cluster; + export function once(event: "disconnect", listener: (worker: Worker) => void): Cluster; + export function once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; + export function once(event: "fork", listener: (worker: Worker) => void): Cluster; + export function once(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; + export function once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. + export function once(event: "online", listener: (worker: Worker) => void): Cluster; + export function once(event: "setup", listener: (settings: any) => void): Cluster; + + export function removeListener(event: string, listener: Function): Cluster; + export function removeAllListeners(event?: string): Cluster; + export function setMaxListeners(n: number): Cluster; + export function getMaxListeners(): number; + export function listeners(event: string): Function[]; + export function listenerCount(type: string): number; + + export function prependListener(event: string, listener: Function): Cluster; + export function prependListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; + export function prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; + export function prependListener(event: "fork", listener: (worker: Worker) => void): Cluster; + export function prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; + export function prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. + export function prependListener(event: "online", listener: (worker: Worker) => void): Cluster; + export function prependListener(event: "setup", listener: (settings: any) => void): Cluster; + + export function prependOnceListener(event: string, listener: Function): Cluster; + export function prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; + export function prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; + export function prependOnceListener(event: "fork", listener: (worker: Worker) => void): Cluster; + export function prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; + export function prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. + export function prependOnceListener(event: "online", listener: (worker: Worker) => void): Cluster; + export function prependOnceListener(event: "setup", listener: (settings: any) => void): Cluster; + + export function eventNames(): string[]; } declare module "zlib" { - import * as stream from "stream"; + import * as stream from "stream"; + export interface ZlibOptions { chunkSize?: number; windowBits?: number; level?: number; memLevel?: number; strategy?: number; dictionary?: any; finishFlush?: number } - export interface ZlibOptions { chunkSize?: number; windowBits?: number; level?: number; memLevel?: number; strategy?: number; dictionary?: any; } - export interface ZlibCallback { (error: Error, result: any): void } + export interface Gzip extends stream.Transform { } + export interface Gunzip extends stream.Transform { } + export interface Deflate extends stream.Transform { } + export interface Inflate extends stream.Transform { } + export interface DeflateRaw extends stream.Transform { } + export interface InflateRaw extends stream.Transform { } + export interface Unzip extends stream.Transform { } - export interface Gzip extends stream.Transform { } - export interface Gunzip extends stream.Transform { } - export interface Deflate extends stream.Transform { } - export interface Inflate extends stream.Transform { } - export interface DeflateRaw extends stream.Transform { } - export interface InflateRaw extends stream.Transform { } - export interface Unzip extends stream.Transform { } + export function createGzip(options?: ZlibOptions): Gzip; + export function createGunzip(options?: ZlibOptions): Gunzip; + export function createDeflate(options?: ZlibOptions): Deflate; + export function createInflate(options?: ZlibOptions): Inflate; + export function createDeflateRaw(options?: ZlibOptions): DeflateRaw; + export function createInflateRaw(options?: ZlibOptions): InflateRaw; + export function createUnzip(options?: ZlibOptions): Unzip; - export function createGzip(options?: ZlibOptions): Gzip; - export function createGunzip(options?: ZlibOptions): Gunzip; - export function createDeflate(options?: ZlibOptions): Deflate; - export function createInflate(options?: ZlibOptions): Inflate; - export function createDeflateRaw(options?: ZlibOptions): DeflateRaw; - export function createInflateRaw(options?: ZlibOptions): InflateRaw; - export function createUnzip(options?: ZlibOptions): Unzip; + export function deflate(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void; + export function deflateSync(buf: Buffer | string, options?: ZlibOptions): Buffer; + export function deflateRaw(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void; + export function deflateRawSync(buf: Buffer | string, options?: ZlibOptions): Buffer; + export function gzip(buf: Buffer, callback: (error: Error, result: Buffer) => void): void; + export function gzipSync(buf: Buffer, options?: ZlibOptions): Buffer; + export function gunzip(buf: Buffer, callback: (error: Error, result: Buffer) => void): void; + export function gunzipSync(buf: Buffer, options?: ZlibOptions): Buffer; + export function inflate(buf: Buffer, callback: (error: Error, result: Buffer) => void): void; + export function inflateSync(buf: Buffer, options?: ZlibOptions): Buffer; + export function inflateRaw(buf: Buffer, callback: (error: Error, result: Buffer) => void): void; + export function inflateRawSync(buf: Buffer, options?: ZlibOptions): Buffer; + export function unzip(buf: Buffer, callback: (error: Error, result: Buffer) => void): void; + export function unzipSync(buf: Buffer, options?: ZlibOptions): Buffer; - export function deflate(buf: Buffer | string, callback?: ZlibCallback): void; - export function deflate(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; - export function deflateSync(buf: Buffer | string, options?: ZlibOptions): any; - export function deflateRaw(buf: Buffer | string, callback?: ZlibCallback): void; - export function deflateRaw(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; - export function deflateRawSync(buf: Buffer | string, options?: ZlibOptions): any; - export function gzip(buf: Buffer | string, callback?: ZlibCallback): void; - export function gzip(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; - export function gzipSync(buf: Buffer | string, options?: ZlibOptions): any; - export function gunzip(buf: Buffer | string, callback?: ZlibCallback): void; - export function gunzip(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; - export function gunzipSync(buf: Buffer | string, options?: ZlibOptions): any; - export function inflate(buf: Buffer | string, callback?: ZlibCallback): void; - export function inflate(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; - export function inflateSync(buf: Buffer | string, options?: ZlibOptions): any; - export function inflateRaw(buf: Buffer | string, callback?: ZlibCallback): void; - export function inflateRaw(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; - export function inflateRawSync(buf: Buffer | string, options?: ZlibOptions): any; - export function unzip(buf: Buffer | string, callback?: ZlibCallback): void; - export function unzip(buf: Buffer | string, options: ZlibOptions, callback?: ZlibCallback): void; - export function unzipSync(buf: Buffer | string, options?: ZlibOptions): any; - - // Constants - export var Z_NO_FLUSH: number; - export var Z_PARTIAL_FLUSH: number; - export var Z_SYNC_FLUSH: number; - export var Z_FULL_FLUSH: number; - export var Z_FINISH: number; - export var Z_BLOCK: number; - export var Z_TREES: number; - export var Z_OK: number; - export var Z_STREAM_END: number; - export var Z_NEED_DICT: number; - export var Z_ERRNO: number; - export var Z_STREAM_ERROR: number; - export var Z_DATA_ERROR: number; - export var Z_MEM_ERROR: number; - export var Z_BUF_ERROR: number; - export var Z_VERSION_ERROR: number; - export var Z_NO_COMPRESSION: number; - export var Z_BEST_SPEED: number; - export var Z_BEST_COMPRESSION: number; - export var Z_DEFAULT_COMPRESSION: number; - export var Z_FILTERED: number; - export var Z_HUFFMAN_ONLY: number; - export var Z_RLE: number; - export var Z_FIXED: number; - export var Z_DEFAULT_STRATEGY: number; - export var Z_BINARY: number; - export var Z_TEXT: number; - export var Z_ASCII: number; - export var Z_UNKNOWN: number; - export var Z_DEFLATED: number; - export var Z_NULL: number; + // Constants + export var Z_NO_FLUSH: number; + export var Z_PARTIAL_FLUSH: number; + export var Z_SYNC_FLUSH: number; + export var Z_FULL_FLUSH: number; + export var Z_FINISH: number; + export var Z_BLOCK: number; + export var Z_TREES: number; + export var Z_OK: number; + export var Z_STREAM_END: number; + export var Z_NEED_DICT: number; + export var Z_ERRNO: number; + export var Z_STREAM_ERROR: number; + export var Z_DATA_ERROR: number; + export var Z_MEM_ERROR: number; + export var Z_BUF_ERROR: number; + export var Z_VERSION_ERROR: number; + export var Z_NO_COMPRESSION: number; + export var Z_BEST_SPEED: number; + export var Z_BEST_COMPRESSION: number; + export var Z_DEFAULT_COMPRESSION: number; + export var Z_FILTERED: number; + export var Z_HUFFMAN_ONLY: number; + export var Z_RLE: number; + export var Z_FIXED: number; + export var Z_DEFAULT_STRATEGY: number; + export var Z_BINARY: number; + export var Z_TEXT: number; + export var Z_ASCII: number; + export var Z_UNKNOWN: number; + export var Z_DEFLATED: number; + export var Z_NULL: number; } declare module "os" { - export interface CpuInfo { - model: string; - speed: number; - times: { - user: number; - nice: number; - sys: number; - idle: number; - irq: number; + export interface CpuInfo { + model: string; + speed: number; + times: { + user: number; + nice: number; + sys: number; + idle: number; + irq: number; + }; + } + + export interface NetworkInterfaceInfo { + address: string; + netmask: string; + family: string; + mac: string; + internal: boolean; + } + + export function hostname(): string; + export function loadavg(): number[]; + export function uptime(): number; + export function freemem(): number; + export function totalmem(): number; + export function cpus(): CpuInfo[]; + export function type(): string; + export function release(): string; + export function networkInterfaces(): { [index: string]: NetworkInterfaceInfo[] }; + export function homedir(): string; + export function userInfo(options?: { encoding: string }): { username: string, uid: number, gid: number, shell: any, homedir: string } + export var constants: { + UV_UDP_REUSEADDR: number, + errno: { + SIGHUP: number; + SIGINT: number; + SIGQUIT: number; + SIGILL: number; + SIGTRAP: number; + SIGABRT: number; + SIGIOT: number; + SIGBUS: number; + SIGFPE: number; + SIGKILL: number; + SIGUSR1: number; + SIGSEGV: number; + SIGUSR2: number; + SIGPIPE: number; + SIGALRM: number; + SIGTERM: number; + SIGCHLD: number; + SIGSTKFLT: number; + SIGCONT: number; + SIGSTOP: number; + SIGTSTP: number; + SIGTTIN: number; + SIGTTOU: number; + SIGURG: number; + SIGXCPU: number; + SIGXFSZ: number; + SIGVTALRM: number; + SIGPROF: number; + SIGWINCH: number; + SIGIO: number; + SIGPOLL: number; + SIGPWR: number; + SIGSYS: number; + SIGUNUSED: number; + }, + signals: { + E2BIG: number; + EACCES: number; + EADDRINUSE: number; + EADDRNOTAVAIL: number; + EAFNOSUPPORT: number; + EAGAIN: number; + EALREADY: number; + EBADF: number; + EBADMSG: number; + EBUSY: number; + ECANCELED: number; + ECHILD: number; + ECONNABORTED: number; + ECONNREFUSED: number; + ECONNRESET: number; + EDEADLK: number; + EDESTADDRREQ: number; + EDOM: number; + EDQUOT: number; + EEXIST: number; + EFAULT: number; + EFBIG: number; + EHOSTUNREACH: number; + EIDRM: number; + EILSEQ: number; + EINPROGRESS: number; + EINTR: number; + EINVAL: number; + EIO: number; + EISCONN: number; + EISDIR: number; + ELOOP: number; + EMFILE: number; + EMLINK: number; + EMSGSIZE: number; + EMULTIHOP: number; + ENAMETOOLONG: number; + ENETDOWN: number; + ENETRESET: number; + ENETUNREACH: number; + ENFILE: number; + ENOBUFS: number; + ENODATA: number; + ENODEV: number; + ENOENT: number; + ENOEXEC: number; + ENOLCK: number; + ENOLINK: number; + ENOMEM: number; + ENOMSG: number; + ENOPROTOOPT: number; + ENOSPC: number; + ENOSR: number; + ENOSTR: number; + ENOSYS: number; + ENOTCONN: number; + ENOTDIR: number; + ENOTEMPTY: number; + ENOTSOCK: number; + ENOTSUP: number; + ENOTTY: number; + ENXIO: number; + EOPNOTSUPP: number; + EOVERFLOW: number; + EPERM: number; + EPIPE: number; + EPROTO: number; + EPROTONOSUPPORT: number; + EPROTOTYPE: number; + ERANGE: number; + EROFS: number; + ESPIPE: number; + ESRCH: number; + ESTALE: number; + ETIME: number; + ETIMEDOUT: number; + ETXTBSY: number; + EWOULDBLOCK: number; + EXDEV: number; + }, }; - } - - export interface NetworkInterfaceInfo { - address: string; - netmask: string; - family: string; - mac: string; - internal: boolean; - } - - export function tmpdir(): string; - export function homedir(): string; - export function endianness(): "BE" | "LE"; - export function hostname(): string; - export function type(): string; - export function platform(): string; - export function arch(): string; - export function release(): string; - export function uptime(): number; - export function loadavg(): number[]; - export function totalmem(): number; - export function freemem(): number; - export function cpus(): CpuInfo[]; - export function networkInterfaces(): { [index: string]: NetworkInterfaceInfo[] }; - export function userInfo(options?: { encoding: 'buffer' }): { username: Buffer, uid: number, gid: number, shell: Buffer | null, homedir: Buffer } - export function userInfo(options?: { encoding: string }): { username: string, uid: number, gid: number, shell: string | null, homedir: string } - export var EOL: string; + export function arch(): string; + export function platform(): string; + export function tmpdir(): string; + export var EOL: string; + export function endianness(): "BE" | "LE"; } declare module "https" { - import * as tls from "tls"; - import * as events from "events"; - import * as http from "http"; + import * as tls from "tls"; + import * as events from "events"; + import * as http from "http"; - export interface ServerOptions { - pfx?: any; - key?: any; - passphrase?: string; - cert?: any; - ca?: any; - crl?: any; - ciphers?: string; - honorCipherOrder?: boolean; - requestCert?: boolean; - rejectUnauthorized?: boolean; - NPNProtocols?: any; - SNICallback?: (servername: string) => any; - } + export interface ServerOptions { + pfx?: any; + key?: any; + passphrase?: string; + cert?: any; + ca?: any; + crl?: any; + ciphers?: string; + honorCipherOrder?: boolean; + requestCert?: boolean; + rejectUnauthorized?: boolean; + NPNProtocols?: any; + SNICallback?: (servername: string, cb: (err: Error, ctx: tls.SecureContext) => any) => any; + } - export interface RequestOptions extends http.RequestOptions { - pfx?: string | Buffer; - key?: string | Buffer; - passphrase?: string; - cert?: string | Buffer; - ca?: string | Buffer | string[] | Buffer[]; - ciphers?: string; - rejectUnauthorized?: boolean; - secureProtocol?: string; - } + export interface RequestOptions extends http.RequestOptions { + pfx?: any; + key?: any; + passphrase?: string; + cert?: any; + ca?: any; + ciphers?: string; + rejectUnauthorized?: boolean; + secureProtocol?: string; + } - export interface AgentOptions extends http.AgentOptions { - /** - * Certificate, Private key and CA certificates to use for SSL. Default `null`. - */ - pfx?: string | Buffer; - /** - * Private key to use for SSL. Default `null`. - */ - key?: string | Buffer | string[] | Buffer[]; - /** - * A string of passphrase for the private key or pfx. Default `null`. - */ - passphrase?: string; - /** - * Public x509 certificate to use. Default `null`. - */ - cert?: string | Buffer | string[] | Buffer[]; - /** - * A string, `Buffer`, array of strings, or array of `Buffer`s of trusted certificates in PEM format. If this is omitted several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections. - */ - ca?: string | Buffer | string[] | Buffer[]; - /** - * A string describing the ciphers to use or exclude. Consult https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT for details on the format. - */ - ciphers?: string; - /** - * If `true`, the server certificate is verified against the list of supplied CAs. An `'error'` event is emitted if verification fails. Verification happens at the connection level, before the HTTP request is sent. Default `true`. - */ - rejectUnauthorized?: boolean; - /** - * Servername for SNI (Server Name Indication) TLS extension. - */ - servername?: string; - /** - * The SSL method to use, e.g. `SSLv3_method` to force SSL version 3. The possible values depend on your installation of OpenSSL and are defined in the constant SSL_METHODS. - */ - secureProtocol?: string; - maxCachedSessions?: number; - } + export interface Agent extends http.Agent { } - export class Agent extends http.Agent { - constructor(options?: AgentOptions); - } + export interface AgentOptions extends http.AgentOptions { + pfx?: any; + key?: any; + passphrase?: string; + cert?: any; + ca?: any; + ciphers?: string; + rejectUnauthorized?: boolean; + secureProtocol?: string; + maxCachedSessions?: number; + } - export class Server extends tls.Server { } - - export function createServer(options: ServerOptions, requestListener?: Function): Server; - export function request(options: string | RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - export function get(options: string | RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - export var globalAgent: Agent; + export var Agent: { + new (options?: AgentOptions): Agent; + }; + export interface Server extends tls.Server { } + export function createServer(options: ServerOptions, requestListener?: Function): Server; + export function request(options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; + export function get(options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; + export var globalAgent: Agent; } declare module "punycode" { - export function decode(string: string): string; - export function encode(string: string): string; - export function toUnicode(domain: string): string; - export function toASCII(domain: string): string; - export var ucs2: ucs2; - interface ucs2 { - decode(string: string): number[]; - encode(codePoints: number[]): string; - } - export var version: any; + export function decode(string: string): string; + export function encode(string: string): string; + export function toUnicode(domain: string): string; + export function toASCII(domain: string): string; + export var ucs2: ucs2; + interface ucs2 { + decode(string: string): number[]; + encode(codePoints: number[]): string; + } + export var version: any; } declare module "repl" { - import { EventEmitter } from "events"; - import { Interface } from "readline"; + import * as stream from "stream"; + import * as readline from "readline"; - export interface ReplOptions { - prompt?: string; - input?: NodeJS.ReadableStream; - output?: NodeJS.WritableStream; - terminal?: boolean; - eval?: Function; - useColors?: boolean; - useGlobal?: boolean; - ignoreUndefined?: boolean; - writer?: Function; - completer?: Function; - replMode?: symbol; - breakEvalOnSigint?: boolean; - } + export interface ReplOptions { + prompt?: string; + input?: NodeJS.ReadableStream; + output?: NodeJS.WritableStream; + terminal?: boolean; + eval?: Function; + useColors?: boolean; + useGlobal?: boolean; + ignoreUndefined?: boolean; + writer?: Function; + completer?: Function; + replMode?: any; + breakEvalOnSigint?: any; + } - export function start(options: ReplOptions): REPLServer; + export interface REPLServer extends readline.ReadLine { + defineCommand(keyword: string, cmd: Function | { help: string, action: Function }): void; + displayPrompt(preserveCursor?: boolean): void; - export type REPLCommand = (this: REPLServer, rest: string) => void; + /** + * events.EventEmitter + * 1. exit + * 2. reset + **/ - export class REPLServer extends Interface { - inputStream: NodeJS.ReadableStream; - outputStream: NodeJS.WritableStream; - useColors: boolean; - commands: { - [command: string]: REPLCommand; - }; - defineCommand(keyword: string, cmd: REPLCommand | { help: string, action: REPLCommand }): void; - displayPrompt(preserveCursor?: boolean): void; - setPrompt(prompt: string): void; - turnOffEditorMode(): void; - } + addListener(event: string, listener: Function): this; + addListener(event: "exit", listener: () => void): this; + addListener(event: "reset", listener: Function): this; - export class Recoverable extends SyntaxError { - err: Error; - constructor(err: Error); - } + emit(event: string, ...args: any[]): boolean; + emit(event: "exit"): boolean; + emit(event: "reset", context: any): boolean; + + on(event: string, listener: Function): this; + on(event: "exit", listener: () => void): this; + on(event: "reset", listener: Function): this; + + once(event: string, listener: Function): this; + once(event: "exit", listener: () => void): this; + once(event: "reset", listener: Function): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "exit", listener: () => void): this; + prependListener(event: "reset", listener: Function): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "exit", listener: () => void): this; + prependOnceListener(event: "reset", listener: Function): this; + } + + export function start(options: ReplOptions): REPLServer; } declare module "readline" { - import * as events from "events"; - import * as stream from "stream"; + import * as events from "events"; + import * as stream from "stream"; - export interface Key { - sequence?: string; - name?: string; - ctrl?: boolean; - meta?: boolean; - shift?: boolean; - } + export interface Key { + sequence?: string; + name?: string; + ctrl?: boolean; + meta?: boolean; + shift?: boolean; + } - export class Interface extends events.EventEmitter { - setPrompt(prompt: string): void; - prompt(preserveCursor?: boolean): void; - question(query: string, callback: (answer: string) => void): void; - pause(): this; - resume(): this; - close(): void; - write(data: string | Buffer, key?: Key): void; - } + export interface ReadLine extends events.EventEmitter { + setPrompt(prompt: string): void; + prompt(preserveCursor?: boolean): void; + question(query: string, callback: (answer: string) => void): void; + pause(): ReadLine; + resume(): ReadLine; + close(): void; + write(data: string | Buffer, key?: Key): void; - export interface Completer { - (line: string): CompleterResult; - (line: string, callback: (err: any, result: CompleterResult) => void): any; - } + /** + * events.EventEmitter + * 1. close + * 2. line + * 3. pause + * 4. resume + * 5. SIGCONT + * 6. SIGINT + * 7. SIGTSTP + **/ - export interface CompleterResult { - completions: string[]; - line: string; - } + addListener(event: string, listener: Function): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "line", listener: (input: any) => void): this; + addListener(event: "pause", listener: () => void): this; + addListener(event: "resume", listener: () => void): this; + addListener(event: "SIGCONT", listener: () => void): this; + addListener(event: "SIGINT", listener: () => void): this; + addListener(event: "SIGTSTP", listener: () => void): this; - export interface InterfaceOptions { - input: NodeJS.ReadableStream; - output?: NodeJS.WritableStream; - completer?: Completer; - terminal?: boolean; - historySize?: number; - } + emit(event: string, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "line", input: any): boolean; + emit(event: "pause"): boolean; + emit(event: "resume"): boolean; + emit(event: "SIGCONT"): boolean; + emit(event: "SIGINT"): boolean; + emit(event: "SIGTSTP"): boolean; - export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer, terminal?: boolean): Interface; - export function createInterface(options: InterfaceOptions): Interface; + on(event: string, listener: Function): this; + on(event: "close", listener: () => void): this; + on(event: "line", listener: (input: any) => void): this; + on(event: "pause", listener: () => void): this; + on(event: "resume", listener: () => void): this; + on(event: "SIGCONT", listener: () => void): this; + on(event: "SIGINT", listener: () => void): this; + on(event: "SIGTSTP", listener: () => void): this; - export function cursorTo(stream: NodeJS.WritableStream, x: number, y: number): void; - export function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void; - export function clearLine(stream: NodeJS.WritableStream, dir: number): void; - export function clearScreenDown(stream: NodeJS.WritableStream): void; + once(event: string, listener: Function): this; + once(event: "close", listener: () => void): this; + once(event: "line", listener: (input: any) => void): this; + once(event: "pause", listener: () => void): this; + once(event: "resume", listener: () => void): this; + once(event: "SIGCONT", listener: () => void): this; + once(event: "SIGINT", listener: () => void): this; + once(event: "SIGTSTP", listener: () => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "line", listener: (input: any) => void): this; + prependListener(event: "pause", listener: () => void): this; + prependListener(event: "resume", listener: () => void): this; + prependListener(event: "SIGCONT", listener: () => void): this; + prependListener(event: "SIGINT", listener: () => void): this; + prependListener(event: "SIGTSTP", listener: () => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "line", listener: (input: any) => void): this; + prependOnceListener(event: "pause", listener: () => void): this; + prependOnceListener(event: "resume", listener: () => void): this; + prependOnceListener(event: "SIGCONT", listener: () => void): this; + prependOnceListener(event: "SIGINT", listener: () => void): this; + prependOnceListener(event: "SIGTSTP", listener: () => void): this; + } + + export interface Completer { + (line: string): CompleterResult; + (line: string, callback: (err: any, result: CompleterResult) => void): any; + } + + export type CompleterResult = [string[], string]; + + export interface ReadLineOptions { + input: NodeJS.ReadableStream; + output?: NodeJS.WritableStream; + completer?: Completer; + terminal?: boolean; + historySize?: number; + } + + export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer, terminal?: boolean): ReadLine; + export function createInterface(options: ReadLineOptions): ReadLine; + + export function cursorTo(stream: NodeJS.WritableStream, x: number, y: number): void; + export function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void; + export function clearLine(stream: NodeJS.WritableStream, dir: number): void; + export function clearScreenDown(stream: NodeJS.WritableStream): void; } declare module "vm" { - export interface Context { } - - export interface ScriptOptions { - filename?: string; - lineOffset?: number; - columnOffset?: number; - displayErrors?: boolean; - timeout?: number; - cachedData?: Buffer; - produceCachedData?: boolean; - } - - export interface RunInNewContextOptions { - filename?: string; - lineOffset?: number; - columnOffset?: number; - displayErrors?: boolean; - timeout?: number; - } - - export interface RunInContextOptions extends RunInNewContextOptions { - breakOnSigint?: boolean; - } - - export class Script { - constructor(code: string, options?: string | ScriptOptions); - runInContext(contextifiedSandbox: Context, options?: RunInContextOptions): any; - runInNewContext(sandbox?: Context, options?: RunInNewContextOptions): any; - runInThisContext(options?: RunInNewContextOptions): any; - } - - export function createContext(sandbox?: Context): Context; - export function isContext(sandbox: Context): boolean; - export function runInContext(code: string, contextifiedSandbox: Context, options?: string | RunInNewContextOptions): any; - export function runInDebugContext(code: string): any; - export function runInNewContext(code: string, sandbox?: Context, options?: string | RunInNewContextOptions): any; - export function runInThisContext(code: string, options?: string | RunInNewContextOptions): any; - /** - * @deprecated - */ - export function createScript(code: string, options?: string | ScriptOptions): Script; + export interface Context { } + export interface ScriptOptions { + filename?: string; + lineOffset?: number; + columnOffset?: number; + displayErrors?: boolean; + timeout?: number; + cachedData?: Buffer; + produceCachedData?: boolean; + } + export interface RunningScriptOptions { + filename?: string; + lineOffset?: number; + columnOffset?: number; + displayErrors?: boolean; + timeout?: number; + } + export class Script { + constructor(code: string, options?: ScriptOptions); + runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any; + runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any; + runInThisContext(options?: RunningScriptOptions): any; + } + export function createContext(sandbox?: Context): Context; + export function isContext(sandbox: Context): boolean; + export function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions): any; + export function runInDebugContext(code: string): any; + export function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions): any; + export function runInThisContext(code: string, options?: RunningScriptOptions): any; } declare module "child_process" { - import * as events from "events"; - import * as stream from "stream"; - import * as buffer from "buffer"; - import * as net from "net"; + import * as events from "events"; + import * as stream from "stream"; + import * as net from "net"; - export class ChildProcess extends events.EventEmitter implements - events.Listener<'close', (code: number, signal: string) => void>, - events.Listener<'error', (error: Error) => void>, - events.Listener<'exit', ((code: number, signal: string | null) => void) | ((code: number | null, signal: string) => void)>, - events.Listener<'message', (message: any, sendHandle?: net.Socket | net.Server) => void>, - events.Listener<'disconnect', () => void> { - stdin: stream.Writable; - stdout: stream.Readable; - stderr: stream.Readable; - stdio: [stream.Writable, stream.Readable, stream.Readable]; - pid: number; - kill(signal?: string): void; - send(message: any, sendHandle?: any): boolean; - connected: boolean; - disconnect(): void; - unref(): void; - } + export interface ChildProcess extends events.EventEmitter { + stdin: stream.Writable; + stdout: stream.Readable; + stderr: stream.Readable; + stdio: [stream.Writable, stream.Readable, stream.Readable]; + pid: number; + kill(signal?: string): void; + send(message: any, sendHandle?: any): boolean; + connected: boolean; + disconnect(): void; + unref(): void; + ref(): void; - export interface SpawnOptions { - cwd?: string; - env?: any; - stdio?: any; - detached?: boolean; - uid?: number; - gid?: number; - shell?: boolean | string; - } + /** + * events.EventEmitter + * 1. close + * 2. disconnet + * 3. error + * 4. exit + * 5. message + **/ - export function spawn(command: string, args?: string[], options?: SpawnOptions): ChildProcess; + addListener(event: string, listener: Function): this; + addListener(event: "close", listener: (code: number, signal: string) => void): this; + addListener(event: "disconnet", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "exit", listener: (code: number, signal: string) => void): this; + addListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this; - export interface ExecOptions { - cwd?: string; - env?: any; - shell?: string; - timeout?: number; - maxBuffer?: number; - killSignal?: string; - uid?: number; - gid?: number; - encoding?: buffer.Encoding | 'buffer'; - } + emit(event: string, ...args: any[]): boolean; + emit(event: "close", code: number, signal: string): boolean; + emit(event: "disconnet"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "exit", code: number, signal: string): boolean; + emit(event: "message", message: any, sendHandle: net.Socket | net.Server): boolean; - export function exec(command: string, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - export function exec(command: string, options: ExecOptions & { encoding: 'buffer' }, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; - export function exec(command: string, options: ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + on(event: string, listener: Function): this; + on(event: "close", listener: (code: number, signal: string) => void): this; + on(event: "disconnet", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "exit", listener: (code: number, signal: string) => void): this; + on(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this; - export interface ExecFileOptions { - cwd?: string; - env?: any; - timeout?: number; - maxBuffer?: number; - killSignal?: string; - uid?: number; - gid?: number; - encoding?: buffer.Encoding | 'buffer'; - } + once(event: string, listener: Function): this; + once(event: "close", listener: (code: number, signal: string) => void): this; + once(event: "disconnet", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "exit", listener: (code: number, signal: string) => void): this; + once(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this; - export function execFile(file: string, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - export function execFile(file: string, options?: ExecFileOptions & { encoding: 'buffer' }, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; - export function execFile(file: string, options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - export function execFile(file: string, args?: string[], callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - export function execFile(file: string, args?: string[], options?: ExecFileOptions & { encoding: 'buffer' }, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; - export function execFile(file: string, args?: string[], options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + prependListener(event: string, listener: Function): this; + prependListener(event: "close", listener: (code: number, signal: string) => void): this; + prependListener(event: "disconnet", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "exit", listener: (code: number, signal: string) => void): this; + prependListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this; - export interface ForkOptions { - cwd?: string; - env?: any; - execPath?: string; - execArgv?: string[]; - silent?: boolean; - uid?: number; - gid?: number; - } + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "close", listener: (code: number, signal: string) => void): this; + prependOnceListener(event: "disconnet", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this; + prependOnceListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this; + } - export function fork(modulePath: string, args?: string[], options?: ForkOptions): ChildProcess; + export interface SpawnOptions { + cwd?: string; + env?: any; + stdio?: any; + detached?: boolean; + uid?: number; + gid?: number; + shell?: boolean | string; + } + export function spawn(command: string, args?: string[], options?: SpawnOptions): ChildProcess; - export interface SpawnSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - shell?: boolean | string; - encoding?: buffer.Encoding | 'buffer'; - } + export interface ExecOptions { + cwd?: string; + env?: any; + shell?: string; + timeout?: number; + maxBuffer?: number; + killSignal?: string; + uid?: number; + gid?: number; + } + export interface ExecOptionsWithStringEncoding extends ExecOptions { + encoding: BufferEncoding; + } + export interface ExecOptionsWithBufferEncoding extends ExecOptions { + encoding: string; // specify `null`. + } + export function exec(command: string, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + export function exec(command: string, options: ExecOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + // usage. child_process.exec("tsc", {encoding: null as string}, (err, stdout, stderr) => {}); + export function exec(command: string, options: ExecOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; + export function exec(command: string, options: ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - export interface SpawnSyncReturns { - pid: number; - output: string[]; - stdout: T; - stderr: T; - status: number; - signal: string; - error: Error; - } - export function spawnSync(command: string): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptions & { encoding: 'buffer' }): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptions & { encoding: 'buffer' }): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptions): SpawnSyncReturns; + export interface ExecFileOptions { + cwd?: string; + env?: any; + timeout?: number; + maxBuffer?: number; + killSignal?: string; + uid?: number; + gid?: number; + } + export interface ExecFileOptionsWithStringEncoding extends ExecFileOptions { + encoding: BufferEncoding; + } + export interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions { + encoding: string; // specify `null`. + } + export function execFile(file: string, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + export function execFile(file: string, options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + // usage. child_process.execFile("file.sh", {encoding: null as string}, (err, stdout, stderr) => {}); + export function execFile(file: string, options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; + export function execFile(file: string, options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + export function execFile(file: string, args?: string[], callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + export function execFile(file: string, args?: string[], options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; + // usage. child_process.execFile("file.sh", ["foo"], {encoding: null as string}, (err, stdout, stderr) => {}); + export function execFile(file: string, args?: string[], options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) => void): ChildProcess; + export function execFile(file: string, args?: string[], options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) => void): ChildProcess; - export interface ExecSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - shell?: string; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: buffer.Encoding | 'buffer'; - } + export interface ForkOptions { + cwd?: string; + env?: any; + execPath?: string; + execArgv?: string[]; + silent?: boolean; + uid?: number; + gid?: number; + } + export function fork(modulePath: string, args?: string[], options?: ForkOptions): ChildProcess; - export function execSync(command: string): Buffer; - export function execSync(command: string, options?: ExecSyncOptions & { encoding: 'buffer' }): Buffer; - export function execSync(command: string, options?: ExecSyncOptions): Buffer; + export interface SpawnSyncOptions { + cwd?: string; + input?: string | Buffer; + stdio?: any; + env?: any; + uid?: number; + gid?: number; + timeout?: number; + killSignal?: string; + maxBuffer?: number; + encoding?: string; + shell?: boolean | string; + } + export interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions { + encoding: BufferEncoding; + } + export interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions { + encoding: string; // specify `null`. + } + export interface SpawnSyncReturns { + pid: number; + output: string[]; + stdout: T; + stderr: T; + status: number; + signal: string; + error: Error; + } + export function spawnSync(command: string): SpawnSyncReturns; + export function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; + export function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; + export function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; + export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; + export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; + export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptions): SpawnSyncReturns; - export interface ExecFileSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: buffer.Encoding | 'buffer'; - } + export interface ExecSyncOptions { + cwd?: string; + input?: string | Buffer; + stdio?: any; + env?: any; + shell?: string; + uid?: number; + gid?: number; + timeout?: number; + killSignal?: string; + maxBuffer?: number; + encoding?: string; + } + export interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions { + encoding: BufferEncoding; + } + export interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions { + encoding: string; // specify `null`. + } + export function execSync(command: string): Buffer; + export function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string; + export function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer; + export function execSync(command: string, options?: ExecSyncOptions): Buffer; - export function execFileSync(command: string): Buffer; - export function execFileSync(command: string, options?: ExecFileSyncOptions & { encoding: 'buffer' }): Buffer; - export function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions & { encoding: 'buffer' }): Buffer; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions): Buffer; + export interface ExecFileSyncOptions { + cwd?: string; + input?: string | Buffer; + stdio?: any; + env?: any; + uid?: number; + gid?: number; + timeout?: number; + killSignal?: string; + maxBuffer?: number; + encoding?: string; + } + export interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions { + encoding: BufferEncoding; + } + export interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions { + encoding: string; // specify `null`. + } + export function execFileSync(command: string): Buffer; + export function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string; + export function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; + export function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer; + export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptionsWithStringEncoding): string; + export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; + export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions): Buffer; } declare module "url" { - export interface Url { - href?: string; - protocol?: string; - auth?: string; - hostname?: string; - port?: string; - host?: string; - pathname?: string; - search?: string; - query?: string | any; - slashes?: boolean; - hash?: string; - path?: string; - } + export interface Url { + href?: string; + protocol?: string; + auth?: string; + hostname?: string; + port?: string; + host?: string; + pathname?: string; + search?: string; + query?: string | any; + slashes?: boolean; + hash?: string; + path?: string; + } - export function parse(urlStr: string, parseQueryString?: boolean, slashesDenoteHost?: boolean): Url; - export function format(url: Url | string): string; - export function resolve(from: string, to: string): string; + export function parse(urlStr: string, parseQueryString?: boolean, slashesDenoteHost?: boolean): Url; + export function format(url: Url): string; + export function resolve(from: string, to: string): string; } declare module "dns" { - export function lookup(domain: string, family: number, callback: (err: Error, address: string, family: number) => void): string; - export function lookup(domain: string, callback: (err: Error, address: string, family: number) => void): string; - export function resolve(domain: string, rrtype: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolve(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolve4(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolve6(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolveMx(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolveTxt(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolveSrv(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolveNs(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function resolveCname(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; - export function reverse(ip: string, callback: (err: Error, domains: string[]) => void): string[]; + export interface MxRecord { + exchange: string, + priority: number + } - export const NODATA: 'ENODATA'; - export const FORMERR: 'EFORMERR'; - export const SERVFAIL: 'ESERVFAIL'; - export const NOTFOUND: 'ENOTFOUND'; - export const NOTIMP: 'ENOTIMP'; - export const REFUSED: 'EREFUSED'; - export const BADQUERY: 'EBADQUERY'; - export const BADNAME: 'EBADNAME'; - export const BADFAMILY: 'EBADFAMILY'; - export const BADRESP: 'EBADRESP'; - export const CONNREFUSED: 'ECONNREFUSED'; - export const TIMEOUT: 'ETIMEOUT'; - export const EOF: 'EOF'; - export const FILE: 'EFILE'; - export const NOMEM: 'ENOMEM'; - export const DESTRUCTION: 'EDESTRUCTION'; - export const BADSTR: 'EBADSTR'; - export const BADFLAGS: 'EBADFLAGS'; - export const NONAME: 'ENONAME'; - export const BADHINTS: 'EBADHINTS'; - export const NOTINITIALIZED: 'ENOTINITIALIZED'; - export const LOADIPHLPAPI: 'ELOADIPHLPAPI'; - export const ADDRGETNETWORKPARAMS: 'EADDRGETNETWORKPARAMS'; - export const CANCELLED: 'ECANCELLED'; + export function lookup(domain: string, family: number, callback: (err: Error, address: string, family: number) => void): string; + export function lookup(domain: string, callback: (err: Error, address: string, family: number) => void): string; + export function resolve(domain: string, rrtype: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolve(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolve4(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolve6(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolveMx(domain: string, callback: (err: Error, addresses: MxRecord[]) => void): string[]; + export function resolveTxt(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolveSrv(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolveNs(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function resolveCname(domain: string, callback: (err: Error, addresses: string[]) => void): string[]; + export function reverse(ip: string, callback: (err: Error, domains: string[]) => void): string[]; + export function setServers(servers: string[]): void; + + //Error codes + export var NODATA: string; + export var FORMERR: string; + export var SERVFAIL: string; + export var NOTFOUND: string; + export var NOTIMP: string; + export var REFUSED: string; + export var BADQUERY: string; + export var BADNAME: string; + export var BADFAMILY: string; + export var BADRESP: string; + export var CONNREFUSED: string; + export var TIMEOUT: string; + export var EOF: string; + export var FILE: string; + export var NOMEM: string; + export var DESTRUCTION: string; + export var BADSTR: string; + export var BADFLAGS: string; + export var NONAME: string; + export var BADHINTS: string; + export var NOTINITIALIZED: string; + export var LOADIPHLPAPI: string; + export var ADDRGETNETWORKPARAMS: string; + export var CANCELLED: string; } declare module "net" { - import * as stream from "stream"; + import * as stream from "stream"; + import * as events from "events"; - export class Socket extends stream.Duplex { - constructor(options?: { fd?: string; type?: string; allowHalfOpen?: boolean; }); + export interface Socket extends stream.Duplex { + // Extended base methods + write(buffer: Buffer): boolean; + write(buffer: Buffer, cb?: Function): boolean; + write(str: string, cb?: Function): boolean; + write(str: string, encoding?: string, cb?: Function): boolean; + write(str: string, encoding?: string, fd?: string): boolean; - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; + connect(port: number, host?: string, connectionListener?: Function): void; + connect(path: string, connectionListener?: Function): void; + bufferSize: number; + setEncoding(encoding?: string): this; + write(data: any, encoding?: string, callback?: Function): void; + destroy(): void; + pause(): this; + resume(): this; + setTimeout(timeout: number, callback?: Function): void; + setNoDelay(noDelay?: boolean): void; + setKeepAlive(enable?: boolean, initialDelay?: number): void; + address(): { port: number; family: string; address: string; }; + unref(): void; + ref(): void; - connect(port: number, host?: string, connectionListener?: Function): void; - connect(path: string, connectionListener?: Function): void; - bufferSize: number; - write(data: any, encoding?: string, callback?: Function): void; - destroy(): void; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setKeepAlive(enable?: boolean, initialDelay?: number): void; - address(): { port: number; family: string; address: string; }; - unref(): void; - ref(): void; + remoteAddress: string; + remoteFamily: string; + remotePort: number; + localAddress: string; + localPort: number; + bytesRead: number; + bytesWritten: number; + destroyed: boolean; - remoteAddress: string; - remoteFamily: string; - remotePort: number; - localAddress: string; - localPort: number; - bytesRead: number; - bytesWritten: number; + // Extended base methods + end(): void; + end(buffer: Buffer, cb?: Function): void; + end(str: string, cb?: Function): void; + end(str: string, encoding?: string, cb?: Function): void; + end(data?: any, encoding?: string): void; - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; - } + /** + * events.EventEmitter + * 1. close + * 2. connect + * 3. data + * 4. drain + * 5. end + * 6. error + * 7. lookup + * 8. timeout + */ + addListener(event: string, listener: Function): this; + addListener(event: "close", listener: (had_error: boolean) => void): this; + addListener(event: "connect", listener: () => void): this; + addListener(event: "data", listener: (data: Buffer) => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; + addListener(event: "timeout", listener: () => void): this; - export interface ListenOptions { - port?: number; - host?: string; - backlog?: number; - path?: string; - exclusive?: boolean; - } + emit(event: string, ...args: any[]): boolean; + emit(event: "close", had_error: boolean): boolean; + emit(event: "connect"): boolean; + emit(event: "data", data: Buffer): boolean; + emit(event: "drain"): boolean; + emit(event: "end"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean; + emit(event: "timeout"): boolean; - export class Server extends Socket { - listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function): this; - listen(port: number, hostname?: string, listeningListener?: Function): this; - listen(port: number, backlog?: number, listeningListener?: Function): this; - listen(port: number, listeningListener?: Function): this; - listen(path: string, backlog?: number, listeningListener?: Function): this; - listen(path: string, listeningListener?: Function): this; - listen(handle: any, backlog?: number, listeningListener?: Function): this; - listen(handle: any, listeningListener?: Function): this; - listen(options: ListenOptions, listeningListener?: Function): this; - close(callback?: () => void): this; - address(): { port: number; family: string; address: string; }; - getConnections(cb: (error: Error, count: number) => void): void; - ref(): this; - unref(): this; - maxConnections: number; - connections: number; - } + on(event: string, listener: Function): this; + on(event: "close", listener: (had_error: boolean) => void): this; + on(event: "connect", listener: () => void): this; + on(event: "data", listener: (data: Buffer) => void): this; + on(event: "drain", listener: () => void): this; + on(event: "end", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; + on(event: "timeout", listener: () => void): this; - export function createServer(connectionListener?: (socket: Socket) => void): Server; - export function createServer(options?: { allowHalfOpen?: boolean; }, connectionListener?: (socket: Socket) => void): Server; - export function connect(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; - export function connect(port: number, host?: string, connectionListener?: Function): Socket; - export function connect(path: string, connectionListener?: Function): Socket; - export function createConnection(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; - export function createConnection(port: number, host?: string, connectionListener?: Function): Socket; - export function createConnection(path: string, connectionListener?: Function): Socket; - export function isIP(input: string): number; - export function isIPv4(input: string): boolean; - export function isIPv6(input: string): boolean; + once(event: string, listener: Function): this; + once(event: "close", listener: (had_error: boolean) => void): this; + once(event: "connect", listener: () => void): this; + once(event: "data", listener: (data: Buffer) => void): this; + once(event: "drain", listener: () => void): this; + once(event: "end", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; + once(event: "timeout", listener: () => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "close", listener: (had_error: boolean) => void): this; + prependListener(event: "connect", listener: () => void): this; + prependListener(event: "data", listener: (data: Buffer) => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; + prependListener(event: "timeout", listener: () => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "close", listener: (had_error: boolean) => void): this; + prependOnceListener(event: "connect", listener: () => void): this; + prependOnceListener(event: "data", listener: (data: Buffer) => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; + prependOnceListener(event: "timeout", listener: () => void): this; + } + + export var Socket: { + new (options?: { fd?: string; type?: string; allowHalfOpen?: boolean; }): Socket; + }; + + export interface ListenOptions { + port?: number; + host?: string; + backlog?: number; + path?: string; + exclusive?: boolean; + } + + export interface Server extends events.EventEmitter { + listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function): Server; + listen(port: number, hostname?: string, listeningListener?: Function): Server; + listen(port: number, backlog?: number, listeningListener?: Function): Server; + listen(port: number, listeningListener?: Function): Server; + listen(path: string, backlog?: number, listeningListener?: Function): Server; + listen(path: string, listeningListener?: Function): Server; + listen(options: ListenOptions, listeningListener?: Function): Server; + listen(handle: any, backlog?: number, listeningListener?: Function): Server; + listen(handle: any, listeningListener?: Function): Server; + close(callback?: Function): Server; + address(): { port: number; family: string; address: string; }; + getConnections(cb: (error: Error, count: number) => void): void; + ref(): Server; + unref(): Server; + maxConnections: number; + connections: number; + + /** + * events.EventEmitter + * 1. close + * 2. connection + * 3. error + * 4. listening + */ + addListener(event: string, listener: Function): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "connection", listener: (socket: Socket) => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "listening", listener: () => void): this; + + emit(event: string, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "connection", socket: Socket): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "listening"): boolean; + + on(event: string, listener: Function): this; + on(event: "close", listener: () => void): this; + on(event: "connection", listener: (socket: Socket) => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "listening", listener: () => void): this; + + once(event: string, listener: Function): this; + once(event: "close", listener: () => void): this; + once(event: "connection", listener: (socket: Socket) => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "listening", listener: () => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "connection", listener: (socket: Socket) => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "listening", listener: () => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "listening", listener: () => void): this; + } + export function createServer(connectionListener?: (socket: Socket) => void): Server; + export function createServer(options?: { allowHalfOpen?: boolean; }, connectionListener?: (socket: Socket) => void): Server; + export function connect(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; + export function connect(port: number, host?: string, connectionListener?: Function): Socket; + export function connect(path: string, connectionListener?: Function): Socket; + export function createConnection(options: { port: number, host?: string, localAddress?: string, localPort?: string, family?: number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; + export function createConnection(port: number, host?: string, connectionListener?: Function): Socket; + export function createConnection(path: string, connectionListener?: Function): Socket; + export function isIP(input: string): number; + export function isIPv4(input: string): boolean; + export function isIPv6(input: string): boolean; } declare module "dgram" { - import * as events from "events"; + import * as events from "events"; - export interface RemoteInfo { - address: string; - port: number; - size: number; - } + interface RemoteInfo { + address: string; + family: string; + port: number; + } - export interface AddressInfo { - address: string; - family: string; - port: number; - } + interface AddressInfo { + address: string; + family: string; + port: number; + } - export interface BindOptions { - port: number; - address?: string; - exclusive?: boolean; - } + interface BindOptions { + port: number; + address?: string; + exclusive?: boolean; + } - export interface SocketOptions { - type: string; - reuseAddr?: boolean; - } + interface SocketOptions { + type: "udp4" | "udp6"; + reuseAddr?: boolean; + } - export function createSocket(type: string | SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; + export function createSocket(type: string, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; + export function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - export class Socket extends events.EventEmitter { - send(msg: Buffer | string | Array, offset: number, length: number, port: number, address: string, callback?: (error: Error, bytes: number) => void): void; - send(msg: Buffer | string | Array, port: number, address: string, callback?: (error: Error, bytes: number) => void): void; - bind(port: number, address?: string, callback?: () => void): void; - bind(options: BindOptions, callback?: () => void): void; - close(callback?: () => void): void; - setTTL(ttl: number): void; - address(): AddressInfo; - setBroadcast(flag: boolean): void; - setMulticastTTL(ttl: number): void; - setMulticastLoopback(flag: boolean): void; - addMembership(multicastAddress: string, multicastInterface?: string): void; - dropMembership(multicastAddress: string, multicastInterface?: string): void; - ref(): void; - unref(): void; - } + export interface Socket extends events.EventEmitter { + send(msg: Buffer | String | any[], port: number, address: string, callback?: (error: Error, bytes: number) => void): void; + send(msg: Buffer | String | any[], offset: number, length: number, port: number, address: string, callback?: (error: Error, bytes: number) => void): void; + bind(port?: number, address?: string, callback?: () => void): void; + bind(options: BindOptions, callback?: Function): void; + close(callback?: any): void; + address(): AddressInfo; + setBroadcast(flag: boolean): void; + setTTL(ttl: number): void; + setMulticastTTL(ttl: number): void; + setMulticastLoopback(flag: boolean): void; + addMembership(multicastAddress: string, multicastInterface?: string): void; + dropMembership(multicastAddress: string, multicastInterface?: string): void; + ref(): this; + unref(): this; + + /** + * events.EventEmitter + * 1. close + * 2. error + * 3. listening + * 4. message + **/ + addListener(event: string, listener: Function): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "listening", listener: () => void): this; + addListener(event: "message", listener: (msg: Buffer, rinfo: AddressInfo) => void): this; + + emit(event: string, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "listening"): boolean; + emit(event: "message", msg: Buffer, rinfo: AddressInfo): boolean; + + on(event: string, listener: Function): this; + on(event: "close", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "listening", listener: () => void): this; + on(event: "message", listener: (msg: Buffer, rinfo: AddressInfo) => void): this; + + once(event: string, listener: Function): this; + once(event: "close", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "listening", listener: () => void): this; + once(event: "message", listener: (msg: Buffer, rinfo: AddressInfo) => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "listening", listener: () => void): this; + prependListener(event: "message", listener: (msg: Buffer, rinfo: AddressInfo) => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "listening", listener: () => void): this; + prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: AddressInfo) => void): this; + } } declare module "fs" { - import * as stream from "stream"; - import * as events from "events"; - import * as buffer from "buffer"; + import * as stream from "stream"; + import * as events from "events"; + + interface Stats { + isFile(): boolean; + isDirectory(): boolean; + isBlockDevice(): boolean; + isCharacterDevice(): boolean; + isSymbolicLink(): boolean; + isFIFO(): boolean; + isSocket(): boolean; + dev: number; + ino: number; + mode: number; + nlink: number; + uid: number; + gid: number; + rdev: number; + size: number; + blksize: number; + blocks: number; + atime: Date; + mtime: Date; + ctime: Date; + birthtime: Date; + } + + interface FSWatcher extends events.EventEmitter { + close(): void; + + /** + * events.EventEmitter + * 1. change + * 2. error + */ + addListener(event: string, listener: Function): this; + addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + addListener(event: "error", listener: (code: number, signal: string) => void): this; + + on(event: string, listener: Function): this; + on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + on(event: "error", listener: (code: number, signal: string) => void): this; + + once(event: string, listener: Function): this; + once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + once(event: "error", listener: (code: number, signal: string) => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + prependListener(event: "error", listener: (code: number, signal: string) => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; + prependOnceListener(event: "error", listener: (code: number, signal: string) => void): this; + } + + export interface ReadStream extends stream.Readable { + close(): void; + destroy(): void; + bytesRead: number; + path: string | Buffer; + + /** + * events.EventEmitter + * 1. open + * 2. close + */ + addListener(event: string, listener: Function): this; + addListener(event: "open", listener: (fd: number) => void): this; + addListener(event: "close", listener: () => void): this; + + on(event: string, listener: Function): this; + on(event: "open", listener: (fd: number) => void): this; + on(event: "close", listener: () => void): this; + + once(event: string, listener: Function): this; + once(event: "open", listener: (fd: number) => void): this; + once(event: "close", listener: () => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "open", listener: (fd: number) => void): this; + prependListener(event: "close", listener: () => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "open", listener: (fd: number) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + } + + export interface WriteStream extends stream.Writable { + close(): void; + bytesWritten: number; + path: string | Buffer; + + /** + * events.EventEmitter + * 1. open + * 2. close + */ + addListener(event: string, listener: Function): this; + addListener(event: "open", listener: (fd: number) => void): this; + addListener(event: "close", listener: () => void): this; + + on(event: string, listener: Function): this; + on(event: "open", listener: (fd: number) => void): this; + on(event: "close", listener: () => void): this; + + once(event: string, listener: Function): this; + once(event: "open", listener: (fd: number) => void): this; + once(event: "close", listener: () => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "open", listener: (fd: number) => void): this; + prependListener(event: "close", listener: () => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "open", listener: (fd: number) => void): this; + prependOnceListener(event: "close", listener: () => void): this; + } - /** - * Objects returned from `fs.stat()`, `fs.lstat()` and `fs.fstat()` and their synchronous counterparts are of this type. - */ - export class Stats { - isFile(): boolean; - isDirectory(): boolean; - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isSymbolicLink(): boolean; - isFIFO(): boolean; - isSocket(): boolean; - dev: number; - ino: number; - mode: number; - nlink: number; - uid: number; - gid: number; - rdev: number; - size: number; - blksize: number; - blocks: number; /** - * "Access Time" - Time when file data last accessed. Changed by the `mknod(2)`, `utimes(2)`, and `read(2)` system calls. + * Asynchronous rename. + * @param oldPath + * @param newPath + * @param callback No arguments other than a possible exception are given to the completion callback. */ - atime: Date; + export function rename(oldPath: string, newPath: string, callback?: (err?: NodeJS.ErrnoException) => void): void; /** - * "Modified Time" - Time when file data last modified. Changed by the `mknod(2)`, `utimes(2)`, and `write(2)` system calls. + * Synchronous rename + * @param oldPath + * @param newPath */ - mtime: Date; - /** - * "Change Time" - Time when file status was last changed (inode data modification). Changed by the `chmod(2)`, `chown(2)`, `link(2)`, `mknod(2)`, `rename(2)`, `unlink(2)`,` utimes(2)`, `read(2)`, and `write(2)` system calls. + export function renameSync(oldPath: string, newPath: string): void; + export function truncate(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function truncate(path: string | Buffer, len: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function truncateSync(path: string | Buffer, len?: number): void; + export function ftruncate(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function ftruncate(fd: number, len: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function ftruncateSync(fd: number, len?: number): void; + export function chown(path: string | Buffer, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function chownSync(path: string | Buffer, uid: number, gid: number): void; + export function fchown(fd: number, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function fchownSync(fd: number, uid: number, gid: number): void; + export function lchown(path: string | Buffer, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function lchownSync(path: string | Buffer, uid: number, gid: number): void; + export function chmod(path: string | Buffer, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function chmod(path: string | Buffer, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function chmodSync(path: string | Buffer, mode: number): void; + export function chmodSync(path: string | Buffer, mode: string): void; + export function fchmod(fd: number, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function fchmod(fd: number, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function fchmodSync(fd: number, mode: number): void; + export function fchmodSync(fd: number, mode: string): void; + export function lchmod(path: string | Buffer, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function lchmod(path: string | Buffer, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function lchmodSync(path: string | Buffer, mode: number): void; + export function lchmodSync(path: string | Buffer, mode: string): void; + export function stat(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; + export function lstat(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; + export function fstat(fd: number, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; + export function statSync(path: string | Buffer): Stats; + export function lstatSync(path: string | Buffer): Stats; + export function fstatSync(fd: number): Stats; + export function link(srcpath: string | Buffer, dstpath: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function linkSync(srcpath: string | Buffer, dstpath: string | Buffer): void; + export function symlink(srcpath: string | Buffer, dstpath: string | Buffer, type?: string, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function symlinkSync(srcpath: string | Buffer, dstpath: string | Buffer, type?: string): void; + export function readlink(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, linkString: string) => any): void; + export function readlinkSync(path: string | Buffer): string; + export function realpath(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void; + export function realpath(path: string | Buffer, cache: { [path: string]: string }, callback: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void; + export function realpathSync(path: string | Buffer, cache?: { [path: string]: string }): string; + /* + * Asynchronous unlink - deletes the file specified in {path} + * + * @param path + * @param callback No arguments other than a possible exception are given to the completion callback. */ - ctime: Date; - /** - * "Birth Time" - Time of file creation. Set once when the file is created. On filesystems where birthtime is not available, this field may instead hold either the `ctime` or `1970-01-01T00:00Z` (ie, unix epoch timestamp `0`). Note that this value may be greater than `atime` or `mtime` in this case. On Darwin and other FreeBSD variants, also set if the `atime` is explicitly set to an earlier value than the current `birthtime` using the `utimes(2)` system call. + export function unlink(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; + /* + * Synchronous unlink - deletes the file specified in {path} + * + * @param path */ - birthtime: Date; - } - - export type WatchListener = (eventType: string, filename?: string | Buffer) => void; - - /** - * Objects returned from fs.watch() are of this type. - */ - export class FSWatcher extends events.EventEmitter implements - events.Listener<'change', WatchListener> { - close(): void; - } - - export class ReadStream extends stream.Readable implements - events.Listener<'open', (fd: number) => void>, - events.Listener<'close', () => void> { - bytesRead: number; - path: string | Buffer; - close(): void; - destroy(): void; - } - - export class WriteStream extends stream.Writable implements - events.Listener<'open', (fd: number) => void>, - events.Listener<'close', () => void> { - close(): void; - bytesWritten: number; - path: string | Buffer; - } - - export const F_OK: number; - export const R_OK: number; - export const W_OK: number; - export const X_OK: number; - - export const constants: { - O_RDONLY: number; - O_WRONLY: number; - O_RDWR: number; - S_IFMT: number; - S_IFREG: number; - S_IFDIR: number; - S_IFCHR: number; - S_IFBLK: number; - S_IFIFO: number; - S_IFLNK: number; - S_IFSOCK: number; - O_CREAT: number; - O_EXCL: number; - O_NOCTTY: number; - O_TRUNC: number; - O_APPEND: number; - O_DIRECTORY: number; - O_NOFOLLOW: number; - O_SYNC: number; - O_SYMLINK: number; - O_NONBLOCK: number; - S_IRWXU: number; - S_IRUSR: number; - S_IWUSR: number; - S_IXUSR: number; - S_IRWXG: number; - S_IRGRP: number; - S_IWGRP: number; - S_IXGRP: number; - S_IRWXO: number; - S_IROTH: number; - S_IWOTH: number; - S_IXOTH: number; - F_OK: number; - R_OK: number; - W_OK: number; - X_OK: number; - [key: string]: number; - } - - /** - * Tests a user's permissions for the file or directory specified by `path`. The `mode` argument is an optional integer that specifies the accessibility checks to be performed. The following constants define the possible values of `mode`. It is possible to create a mask consisting of the bitwise OR of two or more values. - */ - export function access(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; - export function access(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous version of `fs.access()`. This throws if any accessibility checks fail, and does nothing otherwise. - */ - export function accessSync(path: string | Buffer, mode?: number): void; - - export interface AppendFileOptions { - encoding?: buffer.Encoding; - mode?: number; - flag?: string; - } - - /** - * Asynchronously append data to a file, creating the file if it does not yet exist. `data` can be a string or a buffer. - */ - export function appendFile(file: string | Buffer | number, data: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; - export function appendFile(file: string | Buffer | number, data: string | Buffer, options: buffer.Encoding | AppendFileOptions | null, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * The synchronous version of `fs.appendFile()`. - */ - export function appendFileSync(file: string | Buffer | number, data: string | Buffer, options?: AppendFileOptions | null): void; - - /** - * Asynchronous chmod(2). - */ - export function chmod(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous chmod(2). - */ - export function chmodSync(path: string | Buffer, mode: number): void; - - /** - * Asynchronous chown(2). - */ - export function chown(path: string | Buffer, uid: number, gid: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous chown(2). - */ - export function chownSync(path: string | Buffer, uid: number, gid: number): void; - - /** - * Asynchronous close(2). - */ - export function close(fd: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous close(2). - */ - export function closeSync(fd: number): void; - - export interface ReadStreamOptions { - flags?: string; - encoding?: buffer.Encoding; - fd?: number; - mode?: number; - autoClose?: boolean; - start?: number; - end?: number; - } - - /** - * Returns a new ReadStream object. - * - * Be aware that, unlike the default value set for `highWaterMark` on a readable stream (16 kb), the stream returned by this method has a default value of 64 kb for the same parameter. - */ - export function createReadStream(path: string | Buffer, options?: ReadStreamOptions | null): ReadStream; - - export interface WriteStreamOptions { - flags?: string; - defaultEncoding?: buffer.Encoding; - fd?: number; - mode?: number; - autoClose?: boolean; - start: number; - end: number; - } - - /** - * Returns a new WriteStream object. - */ - export function createWriteStream(path: string | Buffer, options?: WriteStreamOptions | null): WriteStream; - - /** - * Test whether or not the given path exists by checking with the file system. Then call the `callback` argument with either true or false. - * - * @deprecated - */ - export function exists(path: string | Buffer, callback: (exists: boolean) => void): void; - - /** - * Synchronous version of `fs.exists()`. Returns true if the file exists, false otherwise. - */ - export function existsSync(path: string | Buffer): boolean; - - /** - * Asynchronous fchmod(2). - */ - export function fchmod(fd: number, mode: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous fchmod(2). - */ - export function fchmodSync(fd: number, mode: number): void; - - /** - * Asynchronous fchown(2). - */ - export function fchown(fd: number, uid: number, gid: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous fchown(2). - */ - export function fchownSync(fd: number, uid: number, gid: number): void; - - /** - * Asynchronous fdatasync(2). - */ - export function fdatasync(fd: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous fdatasync(2). - */ - export function fdatasyncSync(fd: number): void; - - /** - * Asynchronous fstat(2). - */ - export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - - /** - * Synchronous fstat(2). - */ - export function fstatSync(fd: number): Stats; - - /** - * Asynchronous fsync(2). - */ - export function fsync(fd: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous fsync(2). - */ - export function fsyncSync(fd: number): void; - - /** - * Asynchronous ftruncate(2). - * - * If the file referred to by the file descriptor was larger than `len` bytes, only the first `len` bytes will be retained in the file. - * - * If the file previously was shorter than `len` bytes, it is extended, and the extended part is filled with null bytes ('\0'). - */ - export function ftruncate(fd: number, len: number | null | undefined, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous ftruncate(2). - */ - export function ftruncateSync(fd: number, len?: number | null): void; - - /** - * Change the file timestamps of a file referenced by the supplied file descriptor. - */ - export function futimes(fd: number, atime: number, mtime: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous version of `fs.futimes()`. - */ - export function futimesSync(fd: number, atime: number, mtime: number): void; - - /** - * Asynchronous lchmod(2). - * - * Only available on Mac OS X. - * - * @deprecated - */ - export function lchmod(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous lchmod(2). - * - * @deprecated - */ - export function lchmodSync(path: string | Buffer, mode: number): void; - - /** - * Asynchronous lchown(2). - * - * @deprecated - */ - export function lchown(path: string | Buffer, uid: number, gid: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous lchown(2). - * - * @deprecated - */ - export function lchownSync(path: string | Buffer, uid: number, gid: number): void; - - /** - * Asynchronous link(2). - */ - export function link(existingPath: string | Buffer, newPath: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous link(2). - */ - export function linkSync(existingPath: string | Buffer, newPath: string | Buffer): void; - - /** - * Asynchronous lstat(2). `lstat()` is identical to `stat()`, except that if `path` is a symbolic link, then the link itself is stat-ed, not the file that it refers to. - */ - export function lstat(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - - /** - * Synchronous lstat(2). - */ - export function lstatSync(path: string | Buffer): Stats; - - /** - * Asynchronous mkdir(2). `mode` defaults to `0o777`. - */ - export function mkdir(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; - export function mkdir(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous mkdir(2). - */ - export function mkdirSync(path: string | Buffer, mode?: number): void; - - export interface MkdtempOptions { - encoding: buffer.Encoding; - } - - /** - * Creates a unique temporary directory. - * - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * - * The created folder path is passed as a string to the callback's second parameter. - */ - export function mkdtemp(prefix: string, callback: (err: NodeJS.ErrnoException | null, dir: string) => void): void; - export function mkdtemp(prefix: string, options: buffer.Encoding | MkdtempOptions | null, callback: (err: NodeJS.ErrnoException | null, dir: string) => void): void; - - /** - * The synchronous version of fs.mkdtemp(). Returns the created folder path. - */ - export function mkdtempSync(prefix: string, options?: buffer.Encoding | MkdtempOptions | null): string; - - /** - * Asynchronous file open. See open(2). `flags` can be: - * - * 'r' - Open file for reading. An exception occurs if the file does not exist. - * - * 'r+' - Open file for reading and writing. An exception occurs if the file does not exist. - * - * 'rs+' - Open file for reading and writing in synchronous mode. Instructs the operating system to bypass the local file system cache. - * - * This is primarily useful for opening files on NFS mounts as it allows you to skip the potentially stale local cache. It has a very real impact on I/O performance so don't use this flag unless you need it. - * - * Note that this doesn't turn `fs.open()` into a synchronous blocking call. If that's what you want then you should be using `fs.openSync()` - * - * 'w' - Open file for writing. The file is created (if it does not exist) or truncated (if it exists). - * - * 'wx' - Like `'w'` but fails if `path` exists. - * - * 'w+' - Open file for reading and writing. The file is created (if it does not exist) or truncated (if it exists). - * - * 'wx+' - Like `'w+'` but fails if `path` exists. - * - * 'a' - Open file for appending. The file is created if it does not exist. - * - * 'ax' - Like 'a' but fails if `path` exists. - * - * 'a+' - Open file for reading and appending. The file is created if it does not exist. - * - * 'ax+' - Like 'a+' but fails if `path` exists. - * - * `mode` sets the file mode (permission and sticky bits), but only if the file was created. It defaults to `0666`, readable and writable. - */ - export function open(path: string | Buffer, flags: string | number, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; - export function open(path: string | Buffer, flags: string | number, mode: number, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; - - /** - * Synchronous version of `fs.open()`. - */ - export function openSync(path: string | Buffer, flags: string | number, mode?: number): number; - - /** - * Read data from the file specified by fd. - * - * @param buffer is the buffer that the data will be written to. - * @param offset is the offset in the buffer to start writing at. - * @param length is an integer specifying the number of bytes to read. - * @param position is an integer specifying where to begin reading from in the file. If position is null, data will be read from the current file position. - */ - export function read(fd: number, buffer: string | Buffer, offset: number, length: number, position: number, callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: Buffer) => void): void; - - export interface ReaddirOptions { - encoding?: buffer.Encoding | 'buffer'; - } - - /** - * Asynchronous readdir(3). Reads the contents of a directory. - * - * @param files is an array of the names of the files in the directory excluding '.' and '..'. - */ - export function readdir(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null, files: string[]) => void): void; - export function readdir(path: string | Buffer, options: 'buffer' | (ReadFileOptions & { encoding: 'buffer' }), callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void): void; - export function readdir(path: string | Buffer, options: buffer.Encoding | ReaddirOptions | null, callback: (err: NodeJS.ErrnoException | null, files: string[]) => void): void; - - /** - * Synchronous readdir(3). Returns an array of filenames excluding '.' and '..'. - */ - export function readdirSync(path: string | Buffer): string[]; - export function readdirSync(path: string | Buffer, options: 'buffer' | (ReaddirOptions & { encoding: 'buffer' })): Buffer[]; - export function readdirSync(path: string | Buffer, options: buffer.Encoding | ReaddirOptions | null): string[]; - - export interface ReadFileOptions { - encoding?: buffer.Encoding | 'buffer'; - flag?: string; - } - - /** - * Asynchronously reads the entire contents of a file. - */ - export function readFile(file: string | Buffer | number, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void; - export function readFile(file: string | Buffer | number, options: buffer.Encoding | (ReadFileOptions & { encoding: buffer.Encoding }), callback: (err: NodeJS.ErrnoException | null, data: string) => void): void; - export function readFile(file: string | Buffer | number, options: 'buffer' | ReadFileOptions | null, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void; - - /** - * Synchronous version of `fs.readFile`. - */ - export function readFileSync(file: string | Buffer | number): Buffer; - export function readFileSync(file: string | Buffer | number, options: buffer.Encoding | (ReadFileOptions & { encoding: buffer.Encoding })): string; - export function readFileSync(file: string | Buffer | number, options: 'buffer' | ReadFileOptions | null): Buffer; - - export interface ReadlinkOptions { - encoding?: buffer.Encoding | 'buffer'; - } - - /** - * Asynchronous readlink(2). - */ - export function readlink(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null, linkString: string) => void): void; - export function readlink(path: string | Buffer, options: 'buffer' | (ReadlinkOptions & { encoding: 'buffer' }), callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void): void; - export function readlink(path: string | Buffer, options: buffer.Encoding | ReadlinkOptions | null, callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void): void; - - /** - * Synchronous readlink(2). - */ - export function readlinkSync(path: string | Buffer): string; - export function readlinkSync(path: string | Buffer, options: 'buffer' | (ReadlinkOptions & { encoding: 'buffer' })): Buffer; - export function readlinkSync(path: string | Buffer, options: buffer.Encoding | ReadlinkOptions | null): string; - - /** - * Synchronous version of `fs.read()`. - */ - export function readSync(fd: number, buffer: string | Buffer, offset: number, length: number, position: number): number; - - export interface RealpathOptions { - encoding?: buffer.Encoding | 'buffer'; - } - - /** - * Asynchronous realpath(3). May use `process.cwd` to resolve relative paths. - * - * Only paths that can be converted to UTF8 strings are supported. - */ - export function realpath(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void; - export function realpath(path: string | Buffer, options: 'buffer' | (RealpathOptions & { encoding: 'buffer' }), callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void; - export function realpath(path: string | Buffer, options: buffer.Encoding | RealpathOptions | null, callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void; - - /** - * Synchronous realpath(3). Returns the resolved path. - * - * Only paths that can be converted to UTF8 strings are supported. - */ - export function realpathSync(path: string | Buffer): string; - export function realpathSync(path: string | Buffer, options: 'buffer' | (RealpathOptions & { encoding: 'buffer' })): Buffer; - export function realpathSync(path: string | Buffer, options: buffer.Encoding | RealpathOptions | null): string; - - /** - * Asynchronous rename(2). - */ - export function rename(oldPath: string | Buffer, newPath: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous rename(2). - */ - export function renameSync(oldPath: string | Buffer, newPath: string | Buffer): void; - - /** - * Asynchronous rmdir(2). - */ - export function rmdir(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous rmdir(2). - */ - export function rmdirSync(path: string | Buffer): void; - - /** - * Asynchronous stat(2). - * - * In case of an error, the `err.code` will be one of Common System Errors. - * - * Using `fs.stat()` to check for the existence of a file before calling `fs.open()`, `fs.readFile()` or `fs.writeFile()` is not recommended. Instead, user code should open/read/write the file directly and handle the error raised if the file is not available. - * - * To check if a file exists without manipulating it afterwards, `fs.access()` is recommended. - */ - export function stat(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - - /** - * Synchronous stat(2). - */ - export function statSync(path: string | Buffer): Stats; - - /** - * Asynchronous symlink(2). The type argument is only available on Windows (ignored on other platforms). Note that Windows junction points require the destination path to be absolute. When using `'junction'`, the target argument will automatically be normalized to absolute path. - */ - export function symlink(target: string | Buffer, path: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; - export function symlink(target: string | Buffer, path: string | Buffer, type: 'dir' | 'file' | 'junction', callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous symlink(2). - */ - export function symlinkSync(target: string | Buffer, path: string | Buffer, type?: 'dir' | 'file' | 'junction'): void; - - /** - * Asynchronous truncate(2). - */ - export function truncate(path: string | Buffer, len: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous truncate(2). - */ - export function truncateSync(path: string | Buffer, len?: number): void; - - /** - * Asynchronous unlink(2). - */ - export function unlink(path: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous unlink(2). - */ - export function unlinkSync(path: string | Buffer): void; - - /** - * Stop watching for changes on `filename`. If `listener` is specified, only that particular listener is removed. Otherwise, _all_ listeners are removed and you have effectively stopped watching `filename`. - * - * Calling `fs.unwatchFile()` with a filename that is not being watched is a no-op, not an error. - * - * Note: `fs.watch()` is more efficient than `fs.watchFile()` and `fs.unwatchFile()`. `fs.watch()` should be used instead of `fs.watchFile()` and `fs.unwatchFile()` when possible. - */ - export function unwatchFile(filename: string | Buffer, listener?: WatchListener): void; - - /** - * Change file timestamps of the file referenced by the supplied path. - * - * Note: the arguments `atime` and `mtime` of the following related functions follow these rules: - * - * - The value should be a Unix timestamp in seconds. For example, `Date.now()` returns milliseconds, so it should be divided by 1000 before passing it in. - * If the value is a numeric string like `'123456789'`, the value will get converted to the corresponding number. - * If the value is `NaN` or `Infinity`, the value will get converted to `Date.now() / 1000`. - */ - export function utimes(path: string | Buffer, atime: number, mtime: number, callback: (err: NodeJS.ErrnoException | null) => void): void; - - /** - * Synchronous version of `fs.utimes()`. - */ - export function utimesSync(path: string | Buffer, atime: number, mtime: number): void; - - export interface WatchOptions { - /** - * Indicates whether the process should continue to run as long as files are being watched. default = `true`. + export function unlinkSync(path: string | Buffer): void; + /* + * Asynchronous rmdir - removes the directory specified in {path} + * + * @param path + * @param callback No arguments other than a possible exception are given to the completion callback. */ - persistent?: boolean; - /** - * Indicates whether all subdirectories should be watched, or only the current directory. The applies when a directory is specified, and only on supported platforms (See Caveats). default = `false`. + export function rmdir(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; + /* + * Synchronous rmdir - removes the directory specified in {path} + * + * @param path */ - recursive?: boolean; - /** - * Specifies the character encoding to be used for the filename passed to the listener. default = `'utf8'`. + export function rmdirSync(path: string | Buffer): void; + /* + * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. + * + * @param path + * @param callback No arguments other than a possible exception are given to the completion callback. */ - encoding?: buffer.Encoding; - } - - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory. The returned object is a `fs.FSWatcher`. - * - * Please note the listener callback is attached to the `'change'` event fired by `fs.FSWatcher`, but they are not the same thing. - */ - export function watch(filename: string | Buffer): FSWatcher; - export function watch(filename: string | Buffer, options: buffer.Encoding | WatchOptions | null): FSWatcher; - export function watch(filename: string | Buffer, listener: WatchListener): FSWatcher; - export function watch(filename: string | Buffer, options: buffer.Encoding | WatchOptions | null, listener: WatchListener): FSWatcher; - - export interface WatchFileOptions { - /** - * Indicates whether the process should continue to run as long as files are being watched + export function mkdir(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; + /* + * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. + * + * @param path + * @param mode + * @param callback No arguments other than a possible exception are given to the completion callback. */ - persistent: boolean; - /** - * Indicates how often the target should be polled in milliseconds. The default is `5007`. + export function mkdir(path: string | Buffer, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + /* + * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. + * + * @param path + * @param mode + * @param callback No arguments other than a possible exception are given to the completion callback. */ - interval: number; - } + export function mkdir(path: string | Buffer, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; + /* + * Synchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. + * + * @param path + * @param mode + * @param callback No arguments other than a possible exception are given to the completion callback. + */ + export function mkdirSync(path: string | Buffer, mode?: number): void; + /* + * Synchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. + * + * @param path + * @param mode + * @param callback No arguments other than a possible exception are given to the completion callback. + */ + export function mkdirSync(path: string | Buffer, mode?: string): void; + /* + * Asynchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * + * @param prefix + * @param callback The created folder path is passed as a string to the callback's second parameter. + */ + export function mkdtemp(prefix: string, callback?: (err: NodeJS.ErrnoException, folder: string) => void): void; + /* + * Synchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory. + * + * @param prefix + * @returns Returns the created folder path. + */ + export function mkdtempSync(prefix: string): string; + export function readdir(path: string | Buffer, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void; + export function readdirSync(path: string | Buffer): string[]; + export function close(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function closeSync(fd: number): void; + export function open(path: string | Buffer, flags: string | number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void; + export function open(path: string | Buffer, flags: string | number, mode: number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void; + export function openSync(path: string | Buffer, flags: string | number, mode?: number): number; + export function utimes(path: string | Buffer, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function utimes(path: string | Buffer, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function utimesSync(path: string | Buffer, atime: number, mtime: number): void; + export function utimesSync(path: string | Buffer, atime: Date, mtime: Date): void; + export function futimes(fd: number, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function futimes(fd: number, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function futimesSync(fd: number, atime: number, mtime: number): void; + export function futimesSync(fd: number, atime: Date, mtime: Date): void; + export function fsync(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; + export function fsyncSync(fd: number): void; + export function write(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void; + export function write(fd: number, buffer: Buffer, offset: number, length: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void; + export function write(fd: number, data: any, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; + export function write(fd: number, data: any, offset: number, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; + export function write(fd: number, data: any, offset: number, encoding: string, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; + export function writeSync(fd: number, buffer: Buffer, offset: number, length: number, position?: number): number; + export function writeSync(fd: number, data: any, position?: number, enconding?: string): number; + export function read(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, bytesRead: number, buffer: Buffer) => void): void; + export function readSync(fd: number, buffer: Buffer, offset: number, length: number, position: number): number; + /* + * Asynchronous readFile - Asynchronously reads the entire contents of a file. + * + * @param fileName + * @param encoding + * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. + */ + export function readFile(filename: string, encoding: string, callback: (err: NodeJS.ErrnoException, data: string) => void): void; + /* + * Asynchronous readFile - Asynchronously reads the entire contents of a file. + * + * @param fileName + * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer. + * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. + */ + export function readFile(filename: string, options: { encoding: string; flag?: string; }, callback: (err: NodeJS.ErrnoException, data: string) => void): void; + /* + * Asynchronous readFile - Asynchronously reads the entire contents of a file. + * + * @param fileName + * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer. + * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. + */ + export function readFile(filename: string, options: { flag?: string; }, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; + /* + * Asynchronous readFile - Asynchronously reads the entire contents of a file. + * + * @param fileName + * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. + */ + export function readFile(filename: string, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; + /* + * Synchronous readFile - Synchronously reads the entire contents of a file. + * + * @param fileName + * @param encoding + */ + export function readFileSync(filename: string, encoding: string): string; + /* + * Synchronous readFile - Synchronously reads the entire contents of a file. + * + * @param fileName + * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer. + */ + export function readFileSync(filename: string, options: { encoding: string; flag?: string; }): string; + /* + * Synchronous readFile - Synchronously reads the entire contents of a file. + * + * @param fileName + * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer. + */ + export function readFileSync(filename: string, options?: { flag?: string; }): Buffer; + export function writeFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void; + export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; + export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; + export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void; + export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void; + export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; + export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; + export function appendFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void; + export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void; + export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void; + export function watchFile(filename: string, listener: (curr: Stats, prev: Stats) => void): void; + export function watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr: Stats, prev: Stats) => void): void; + export function unwatchFile(filename: string, listener?: (curr: Stats, prev: Stats) => void): void; + export function watch(filename: string, listener?: (event: string, filename: string) => any): FSWatcher; + export function watch(filename: string, encoding: string, listener?: (event: string, filename: string | Buffer) => any): FSWatcher; + export function watch(filename: string, options: { persistent?: boolean; recursive?: boolean; encoding?: string }, listener?: (event: string, filename: string | Buffer) => any): FSWatcher; + export function exists(path: string | Buffer, callback?: (exists: boolean) => void): void; + export function existsSync(path: string | Buffer): boolean; - /** - * Watch for changes on filename. The callback listener will be called each time the file is accessed. - * - * Note: when an `fs.watchFile` operation results in an `ENOENT` error, it will invoke the listener once, with all the fields zeroed (or, for dates, the Unix Epoch). In Windows, `blksize` and `blocks` fields will be `undefined`, instead of zero. If the file is created later on, the listener will be called again, with the latest stat objects. - * - * Note: `fs.watch()` is more efficient than `fs.watchFile` and `fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and `fs.unwatchFile` when possible. - */ - export function watchFile(filename: string | Buffer, listener: (curr: Stats, prev: Stats) => void): void; - export function watchFile(filename: string | Buffer, options: WatchFileOptions | null, listener: (curr: Stats, prev: Stats) => void): void; + export namespace constants { + // File Access Constants - /** - * Write `buffer` to the file specified by `fd`. - * - * `offset` and `length` determine the part of the buffer to be written. - * - * `position` refers to the offset from the beginning of the file where this data should be written. If `typeof position !== 'number'`, the data will be written at the current position. See pwrite(2). - * - * Note that it is unsafe to use `fs.write` multiple times on the same file without waiting for the callback. For this scenario, `fs.createWriteStream` is strongly recommended. - * - * On Linux, positional writes don't work when the file is opened in append mode. The kernel ignores the position argument and always appends the data to the end of the file. - */ - export function write(fd: number, buffer: string | Buffer, offset: number, length: number, callback: (err: NodeJS.ErrnoException | null, written: number, buffer: Buffer) => void): void; - export function write(fd: number, buffer: string | Buffer, offset: number, length: number, position: number, callback: (err: NodeJS.ErrnoException | null, written: number, buffer: Buffer) => void): void; - export function write(fd: number, data: string | Buffer, callback: (err: NodeJS.ErrnoException | null, written: number, string: string) => void): void; - export function write(fd: number, data: string | Buffer, position: number, callback: (err: NodeJS.ErrnoException | null, written: number, string: string) => void): void; - export function write(fd: number, data: string | Buffer, position: number, encoding: buffer.Encoding, callback: (err: NodeJS.ErrnoException | null, written: number, string: string) => void): void; + /** Constant for fs.access(). File is visible to the calling process. */ + export const F_OK: number; - export interface WriteFileOptions { - encoding?: buffer.Encoding; - mode?: number; - flag?: string; - } + /** Constant for fs.access(). File can be read by the calling process. */ + export const R_OK: number; - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * - * Note that it is unsafe to use `fs.writeFile` multiple times on the same file without waiting for the callback. For this scenario, `fs.createWriteStream` is strongly recommended. - * - * Note: If a file descriptor is specified as the `file`, it will not be closed automatically. - */ - export function writeFile(file: string | Buffer | number, data: string | Buffer, callback: (err: NodeJS.ErrnoException | null) => void): void; - export function writeFile(file: string | Buffer | number, data: string | Buffer, options: buffer.Encoding | WriteFileOptions | null, callback: (err: NodeJS.ErrnoException | null) => void): void; + /** Constant for fs.access(). File can be written by the calling process. */ + export const W_OK: number; - /** - * The synchronous version of `fs.writeFile()`. - */ - export function writeFileSync(file: string | Buffer | number, data: string | Buffer, options?: buffer.Encoding | WriteFileOptions | null): void; + /** Constant for fs.access(). File can be executed by the calling process. */ + export const X_OK: number; - /** - * Synchronous `fs.write`. - */ - export function writeSync(fd: number, buffer: string | Buffer, offset: number, length: number, position?: number): void; - export function writeSync(fd: number, data: string | Buffer, position?: number, encoding?: buffer.Encoding): void; + // File Open Constants + + /** Constant for fs.open(). Flag indicating to open a file for read-only access. */ + export const O_RDONLY: number; + + /** Constant for fs.open(). Flag indicating to open a file for write-only access. */ + export const O_WRONLY: number; + + /** Constant for fs.open(). Flag indicating to open a file for read-write access. */ + export const O_RDWR: number; + + /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */ + export const O_CREAT: number; + + /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */ + export const O_EXCL: number; + + /** Constant for fs.open(). Flag indicating that if path identifies a terminal device, opening the path shall not cause that terminal to become the controlling terminal for the process (if the process does not already have one). */ + export const O_NOCTTY: number; + + /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */ + export const O_TRUNC: number; + + /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */ + export const O_APPEND: number; + + /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */ + export const O_DIRECTORY: number; + + /** Constant for fs.open(). Flag indicating reading accesses to the file system will no longer result in an update to the atime information associated with the file. This flag is available on Linux operating systems only. */ + export const O_NOATIME: number; + + /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */ + export const O_NOFOLLOW: number; + + /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */ + export const O_SYNC: number; + + /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */ + export const O_SYMLINK: number; + + /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */ + export const O_DIRECT: number; + + /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */ + export const O_NONBLOCK: number; + + // File Type Constants + + /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */ + export const S_IFMT: number; + + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */ + export const S_IFREG: number; + + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */ + export const S_IFDIR: number; + + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */ + export const S_IFCHR: number; + + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */ + export const S_IFBLK: number; + + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */ + export const S_IFIFO: number; + + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */ + export const S_IFLNK: number; + + /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */ + export const S_IFSOCK: number; + + // File Mode Constants + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */ + export const S_IRWXU: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */ + export const S_IRUSR: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */ + export const S_IWUSR: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */ + export const S_IXUSR: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */ + export const S_IRWXG: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */ + export const S_IRGRP: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */ + export const S_IWGRP: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */ + export const S_IXGRP: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */ + export const S_IRWXO: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */ + export const S_IROTH: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */ + export const S_IWOTH: number; + + /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */ + export const S_IXOTH: number; + } + + /** Tests a user's permissions for the file specified by path. */ + export function access(path: string | Buffer, callback: (err: NodeJS.ErrnoException) => void): void; + export function access(path: string | Buffer, mode: number, callback: (err: NodeJS.ErrnoException) => void): void; + /** Synchronous version of fs.access. This throws if any accessibility checks fail, and does nothing otherwise. */ + export function accessSync(path: string | Buffer, mode?: number): void; + export function createReadStream(path: string | Buffer, options?: { + flags?: string; + encoding?: string; + fd?: number; + mode?: number; + autoClose?: boolean; + start?: number; + end?: number; + }): ReadStream; + export function createWriteStream(path: string | Buffer, options?: { + flags?: string; + encoding?: string; + fd?: number; + mode?: number; + autoClose?: boolean; + start?: number; + }): WriteStream; + export function fdatasync(fd: number, callback: Function): void; + export function fdatasyncSync(fd: number): void; } declare module "path" { - /** - * A parsed path object generated by path.parse() or consumed by path.format(). - */ - export interface ParsedPath { /** - * The root of the path such as '/' or 'c:\' + * A parsed path object generated by path.parse() or consumed by path.format(). */ - root: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base: string; - /** - * The file extension (if any) such as '.html' - */ - ext: string; - /** - * The file name without extension (if any) such as 'index' - */ - name: string; - } + export interface ParsedPath { + /** + * The root of the path such as '/' or 'c:\' + */ + root: string; + /** + * The full directory path such as '/home/user/dir' or 'c:\path\dir' + */ + dir: string; + /** + * The file name including extension (if any) such as 'index.html' + */ + base: string; + /** + * The file extension (if any) such as '.html' + */ + ext: string; + /** + * The file name without extension (if any) such as 'index' + */ + name: string; + } - /** - * Normalize a string path, reducing '..' and '.' parts. - * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. - * - * @param p string path to normalize. - */ - export function normalize(p: string): string; - /** - * Join all arguments together and normalize the resulting path. - * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. - * - * @param paths string paths to join. - */ - export function join(...paths: string[]): string; - /** - * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. - * - * Starting from leftmost {from} paramter, resolves {to} to an absolute path. - * - * If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory. - * - * @param pathSegments string paths to join. Non-string arguments are ignored. - */ - export function resolve(...pathSegments: string[]): string; - /** - * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. - * - * @param path path to test. - */ - export function isAbsolute(path: string): boolean; - /** - * Solve the relative path from {from} to {to}. - * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. - * - * @param from - * @param to - */ - export function relative(from: string, to: string): string; - /** - * Return the directory name of a path. Similar to the Unix dirname command. - * - * @param p the path to evaluate. - */ - export function dirname(p: string): string; - /** - * Return the last portion of a path. Similar to the Unix basename command. - * Often used to extract the file name from a fully qualified path. - * - * @param p the path to evaluate. - * @param ext optionally, an extension to remove from the result. - */ - export function basename(p: string, ext?: string): string; - /** - * Return the extension of the path, from the last '.' to end of string in the last portion of the path. - * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string - * - * @param p the path to evaluate. - */ - export function extname(p: string): string; - /** - * The platform-specific file separator. '\\' or '/'. - */ - export var sep: string; - /** - * The platform-specific file delimiter. ';' or ':'. - */ - export var delimiter: string; - /** - * Returns an object from a path string - the opposite of format(). - * - * @param pathString path to evaluate. - */ - export function parse(pathString: string): ParsedPath; - /** - * Returns a path string from an object - the opposite of parse(). - * - * @param pathString path to evaluate. - */ - export function format(pathObject: ParsedPath): string; - - export module posix { + /** + * Normalize a string path, reducing '..' and '.' parts. + * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. + * + * @param p string path to normalize. + */ export function normalize(p: string): string; + /** + * Join all arguments together and normalize the resulting path. + * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. + * + * @param paths paths to join. + */ export function join(...paths: string[]): string; - export function resolve(...pathSegments: string[]): string; - export function isAbsolute(p: string): boolean; + /** + * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. + * + * Starting from leftmost {from} paramter, resolves {to} to an absolute path. + * + * If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory. + * + * @param pathSegments string paths to join. Non-string arguments are ignored. + */ + export function resolve(...pathSegments: any[]): string; + /** + * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. + * + * @param path path to test. + */ + export function isAbsolute(path: string): boolean; + /** + * Solve the relative path from {from} to {to}. + * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. + * + * @param from + * @param to + */ export function relative(from: string, to: string): string; + /** + * Return the directory name of a path. Similar to the Unix dirname command. + * + * @param p the path to evaluate. + */ export function dirname(p: string): string; + /** + * Return the last portion of a path. Similar to the Unix basename command. + * Often used to extract the file name from a fully qualified path. + * + * @param p the path to evaluate. + * @param ext optionally, an extension to remove from the result. + */ export function basename(p: string, ext?: string): string; + /** + * Return the extension of the path, from the last '.' to end of string in the last portion of the path. + * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string + * + * @param p the path to evaluate. + */ export function extname(p: string): string; + /** + * The platform-specific file separator. '\\' or '/'. + */ export var sep: string; + /** + * The platform-specific file delimiter. ';' or ':'. + */ export var delimiter: string; - export function parse(p: string): ParsedPath; - export function format(pP: ParsedPath): string; - } + /** + * Returns an object from a path string - the opposite of format(). + * + * @param pathString path to evaluate. + */ + export function parse(pathString: string): ParsedPath; + /** + * Returns a path string from an object - the opposite of parse(). + * + * @param pathString path to evaluate. + */ + export function format(pathObject: ParsedPath): string; - export module win32 { - export function normalize(p: string): string; - export function join(...paths: string[]): string; - export function resolve(...pathSegments: string[]): string; - export function isAbsolute(p: string): boolean; - export function relative(from: string, to: string): string; - export function dirname(p: string): string; - export function basename(p: string, ext?: string): string; - export function extname(p: string): string; - export var sep: string; - export var delimiter: string; - export function parse(p: string): ParsedPath; - export function format(pP: ParsedPath): string; - } + export module posix { + export function normalize(p: string): string; + export function join(...paths: any[]): string; + export function resolve(...pathSegments: any[]): string; + export function isAbsolute(p: string): boolean; + export function relative(from: string, to: string): string; + export function dirname(p: string): string; + export function basename(p: string, ext?: string): string; + export function extname(p: string): string; + export var sep: string; + export var delimiter: string; + export function parse(p: string): ParsedPath; + export function format(pP: ParsedPath): string; + } + + export module win32 { + export function normalize(p: string): string; + export function join(...paths: any[]): string; + export function resolve(...pathSegments: any[]): string; + export function isAbsolute(p: string): boolean; + export function relative(from: string, to: string): string; + export function dirname(p: string): string; + export function basename(p: string, ext?: string): string; + export function extname(p: string): string; + export var sep: string; + export var delimiter: string; + export function parse(p: string): ParsedPath; + export function format(pP: ParsedPath): string; + } } declare module "string_decoder" { - import * as buffer from "buffer"; - - export class StringDecoder { - /** - * @param encoding The character encoding the `StringDecoder` will use. Defaults to `'utf8'`. - */ - constructor(encoding?: buffer.Encoding); - /** - * Returns a decoded string, ensuring that any incomplete multibyte characters at the end of the `Buffer` are omitted from the returned string and stored in an internal buffer for the next call to `stringDecoder.write()` or `stringDecoder.end()`. - * - * @param buffer A `Buffer` containing the bytes to decode. - */ - write(buffer: Buffer): string; - /** - * Returns any remaining input stored in the internal buffer as a string. Bytes representing incomplete UTF-8 and UTF-16 characters will be replaced with substitution characters appropriate for the character encoding. - * - * If the `buffer` argument is provided, one final call to `stringDecoder.write()` is performed before returning the remaining input. - * - * @param buffer A `Buffer` containing the bytes to decode. - */ - end(buffer?: Buffer): string; - } + export interface NodeStringDecoder { + write(buffer: Buffer): string; + end(buffer?: Buffer): string; + } + export var StringDecoder: { + new (encoding?: string): NodeStringDecoder; + }; } declare module "tls" { - import * as crypto from "crypto"; - import * as net from "net"; - import * as stream from "stream"; + import * as crypto from "crypto"; + import * as net from "net"; + import * as stream from "stream"; - export var CLIENT_RENEG_LIMIT: number; - export var CLIENT_RENEG_WINDOW: number; - export var SLAB_BUFFER_SIZE: number; - export var DEFAULT_CIPHERS: string; - export var DEFAULT_ECDH_CURVE: string; + var CLIENT_RENEG_LIMIT: number; + var CLIENT_RENEG_WINDOW: number; - export class Server extends net.Server { - /** - * The `server.addContext()` method adds a secure context that will be used if the client request's SNS hostname matches the supplied `hostname` (or wildcard). - * - * @param hostname A SNI hostname or wildcard (e.g. `'*'`) - * @param options An object containing any of the possible properties from the `tls.createSecureContext()` options arguments - */ - addContext(hostName: string, options: SecureContextOptions): void; - /** - * Returns a `Buffer` instance holding the keys currently used for encryption/decryption of the TLS Session Tickets. - */ - getTicketKeys(): Buffer; - /** - * Updates the keys for encryption/decryption of the TLS Session Tickets. - * - * Note: The key's Buffer should be 48 bytes long. See ticketKeys option in tls.createServer for more information on how it is used. - * - * Note: Changes to the ticket keys are effective only for future server connections. Existing or currently pending server connections will use the previous keys. - */ - setTicketKeys(keys: Buffer): void; - /** - * Returns the current number of concurrent connections on the server. - */ - connections: number; - } + export interface Certificate { + /** + * Country code. + */ + C: string; + /** + * Street. + */ + ST: string; + /** + * Locality. + */ + L: string; + /** + * Organization. + */ + O: string; + /** + * Organizational unit. + */ + OU: string; + /** + * Common name. + */ + CN: string; + } - export interface Certificate { - /** - * Country code. - */ - C: string; - /** - * Street. - */ - ST: string; - /** - * Locality. - */ - L: string; - /** - * Organization. - */ - O: string; - /** - * Organizational unit. - */ - OU: string; - /** - * Common name. - */ - CN: string; - } + export interface CipherNameAndProtocol { + /** + * The cipher name. + */ + name: string; + /** + * SSL/TLS protocol version. + */ + version: string; + } - export interface Cipher { - /** - * The cipher name. - */ - name: string; - /** - * SSL/TLS protocol version. - */ - version: string; - } + export class TLSSocket extends stream.Duplex { + /** + * Construct a new tls.TLSSocket object from an existing TCP socket. + */ + constructor(socket:net.Socket, options?: { + /** + * An optional TLS context object from tls.createSecureContext() + */ + secureContext?: SecureContext, + /** + * If true the TLS socket will be instantiated in server-mode. + * Defaults to false. + */ + isServer?: boolean, + /** + * An optional net.Server instance. + */ + server?: net.Server, + /** + * If true the server will request a certificate from clients that + * connect and attempt to verify that certificate. Defaults to + * false. + */ + requestCert?: boolean, + /** + * If true the server will reject any connection which is not + * authorized with the list of supplied CAs. This option only has an + * effect if requestCert is true. Defaults to false. + */ + rejectUnauthorized?: boolean, + /** + * An array of strings or a Buffer naming possible NPN protocols. + * (Protocols should be ordered by their priority.) + */ + NPNProtocols?: string[] | Buffer, + /** + * An array of strings or a Buffer naming possible ALPN protocols. + * (Protocols should be ordered by their priority.) When the server + * receives both NPN and ALPN extensions from the client, ALPN takes + * precedence over NPN and the server does not send an NPN extension + * to the client. + */ + ALPNProtocols?: string[] | Buffer, + /** + * SNICallback(servername, cb) A function that will be + * called if the client supports SNI TLS extension. Two arguments + * will be passed when called: servername and cb. SNICallback should + * invoke cb(null, ctx), where ctx is a SecureContext instance. + * (tls.createSecureContext(...) can be used to get a proper + * SecureContext.) If SNICallback wasn't provided the default callback + * with high-level API will be used (see below). + */ + SNICallback?: Function, + /** + * An optional Buffer instance containing a TLS session. + */ + session?: Buffer, + /** + * If true, specifies that the OCSP status request extension will be + * added to the client hello and an 'OCSPResponse' event will be + * emitted on the socket before establishing a secure communication + */ + requestOCSP?: boolean + }); + /** + * Returns the bound address, the address family name and port of the underlying socket as reported by + * the operating system. + * @returns {any} - An object with three properties, e.g. { port: 12346, family: 'IPv4', address: '127.0.0.1' }. + */ + address(): { port: number; family: string; address: string }; + /** + * A boolean that is true if the peer certificate was signed by one of the specified CAs, otherwise false. + */ + authorized: boolean; + /** + * The reason why the peer's certificate has not been verified. + * This property becomes available only when tlsSocket.authorized === false. + */ + authorizationError: Error; + /** + * Static boolean value, always true. + * May be used to distinguish TLS sockets from regular ones. + */ + encrypted: boolean; + /** + * Returns an object representing the cipher name and the SSL/TLS protocol version of the current connection. + * @returns {CipherNameAndProtocol} - Returns an object representing the cipher name + * and the SSL/TLS protocol version of the current connection. + */ + getCipher(): CipherNameAndProtocol; + /** + * Returns an object representing the peer's certificate. + * The returned object has some properties corresponding to the field of the certificate. + * If detailed argument is true the full chain with issuer property will be returned, + * if false only the top certificate without issuer property. + * If the peer does not provide a certificate, it returns null or an empty object. + * @param {boolean} detailed - If true; the full chain with issuer property will be returned. + * @returns {any} - An object representing the peer's certificate. + */ + getPeerCertificate(detailed?: boolean): { + subject: Certificate; + issuerInfo: Certificate; + issuer: Certificate; + raw: any; + valid_from: string; + valid_to: string; + fingerprint: string; + serialNumber: string; + }; + /** + * Could be used to speed up handshake establishment when reconnecting to the server. + * @returns {any} - ASN.1 encoded TLS session or undefined if none was negotiated. + */ + getSession(): any; + /** + * NOTE: Works only with client TLS sockets. + * Useful only for debugging, for session reuse provide session option to tls.connect(). + * @returns {any} - TLS session ticket or undefined if none was negotiated. + */ + getTLSTicket(): any; + /** + * The string representation of the local IP address. + */ + localAddress: string; + /** + * The numeric representation of the local port. + */ + localPort: string; + /** + * The string representation of the remote IP address. + * For example, '74.125.127.100' or '2001:4860:a005::68'. + */ + remoteAddress: string; + /** + * The string representation of the remote IP family. 'IPv4' or 'IPv6'. + */ + remoteFamily: string; + /** + * The numeric representation of the remote port. For example, 443. + */ + remotePort: number; + /** + * Initiate TLS renegotiation process. + * + * NOTE: Can be used to request peer's certificate after the secure connection has been established. + * ANOTHER NOTE: When running as the server, socket will be destroyed with an error after handshakeTimeout timeout. + * @param {TlsOptions} options - The options may contain the following fields: rejectUnauthorized, + * requestCert (See tls.createServer() for details). + * @param {Function} callback - callback(err) will be executed with null as err, once the renegotiation + * is successfully completed. + */ + renegotiate(options: TlsOptions, callback: (err: Error) => any): any; + /** + * Set maximum TLS fragment size (default and maximum value is: 16384, minimum is: 512). + * Smaller fragment size decreases buffering latency on the client: large fragments are buffered by + * the TLS layer until the entire fragment is received and its integrity is verified; + * large fragments can span multiple roundtrips, and their processing can be delayed due to packet + * loss or reordering. However, smaller fragments add extra TLS framing bytes and CPU overhead, + * which may decrease overall server throughput. + * @param {number} size - TLS fragment size (default and maximum value is: 16384, minimum is: 512). + * @returns {boolean} - Returns true on success, false otherwise. + */ + setMaxSendFragment(size: number): boolean; - export interface EphemeralKeyInfo { - type: 'DH' | 'ECDH'; - name?: string; - size: number; - } + /** + * events.EventEmitter + * 1. OCSPResponse + * 2. secureConnect + **/ + addListener(event: string, listener: Function): this; + addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; + addListener(event: "secureConnect", listener: () => void): this; - export interface PeerCertificate { - subject: Certificate; - issuerInfo: Certificate; - issuer: Certificate; - raw: Buffer; - valid_from: string; - valid_to: string; - fingerprint: string; - serialNumber: string; - } + emit(event: string, ...args: any[]): boolean; + emit(event: "OCSPResponse", response: Buffer): boolean; + emit(event: "secureConnect"): boolean; - export interface TLSSocketOptions { - /** - * An optional TLS context object from `tls.createSecureContext()`. - */ - secureContext?: SecureContext; - /** - * If true the TLS socket will be instantiated in server-mode. Defaults to `false`. - */ - isServer?: boolean; - /** - * An optional net.Server instance. - */ - server?: net.Server; - /** - * Optional, see `tls.createServer()`. - */ - requestCert?: boolean; - /** - * Optional, see `tls.createServer()`. - */ - rejectUnauthorized?: boolean; - /** - * Optional, see `tls.createServer()`. - */ - NPNProtocols?: string[] | Buffer; - /** - * Optional, see `tls.createServer()`. - */ - ALPNProtocols?: string[] | Buffer; - /** - * Optional, see `tls.createServer()`. - */ - SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void; - /** - * An optional Buffer instance containing a TLS session. - */ - session?: Buffer; - /** - * If `true`, specifies that the OCSP status request extension will be added to the client hello and an 'OCSPResponse' event will be emitted on the socket before establishing a secure communication - */ - requestOCSP?: boolean; - } + on(event: string, listener: Function): this; + on(event: "OCSPResponse", listener: (response: Buffer) => void): this; + on(event: "secureConnect", listener: () => void): this; - export interface RenegotiateOptions { - rejectUnauthorized?: boolean; - requestCert?: boolean; - } + once(event: string, listener: Function): this; + once(event: "OCSPResponse", listener: (response: Buffer) => void): this; + once(event: "secureConnect", listener: () => void): this; - export class TLSSocket extends net.Socket { - /** - * Construct a new `tls.TLSSocket` object from an existing TCP socket. - */ - constructor(socket: net.Socket, options?: TLSSocketOptions); - /** - * Returns `true` if the peer certificate was signed by one of the CAs specified when creating the `tls.TLSSocket` instance, otherwise `false`. - */ - authorized: boolean; - /** - * Returns the reason why the peer's certificate was not been verified. This property is set only when `tlsSocket.authorized === false`. - */ - authorizationError?: Error; - /** - * Always returns `true`. This may be used to distinguish TLS sockets from regular `net.Socket` instances. - */ - encrypted: true; - /** - * Returns an object representing the cipher name and the SSL/TLS protocol version that first defined the cipher. - */ - getCipher(): Cipher; - /** - * Returns an object representing the type, name, and size of parameter of an ephemeral key exchange in Perfect Forward Secrecy on a client connection. It returns an empty object when the key exchange is not ephemeral. As this is only supported on a client socket; `null` is returned if called on a server socket. The supported types are `'DH'` and `'ECDH'`. The `name` property is available only when type is `'ECDH'`. - */ - getEphemeralKeyInfo(): EphemeralKeyInfo; - /** - * Returns an object representing the peer's certificate. The returned object has some properties corresponding to the fields of the certificate. - * - * @param detailed Specify `true` to request that the full certificate chain with the `issuer` property be returned; false to return only the top certificate without the `issuer` property. - */ - getPeerCertificate(detailed?: boolean): PeerCertificate; - /** - * Returns a string containing the negotiated SSL/TLS protocol version of the current connection. The value `'unknown'` will be returned for connected sockets that have not completed the handshaking process. The value `null` will be returned for server sockets or disconnected client sockets. - */ - getProtocol(): string | null; - /** - * Returns the ASN.1 encoded TLS session or `undefined` if no session was negotiated. Can be used to speed up handshake establishment when reconnecting to the server. - */ - getSession(): Buffer | undefined; - /** - * Returns the TLS session ticket or `undefined` if no session was negotiated. - * - * Note: This only works with client TLS sockets. Useful only for debugging, for session reuse `provide` session option to `tls.connect()`. - */ - getTLSTicket(): Buffer | undefined; - /** - * Returns the string representation of the local IP address. - */ - localAddress: string; - /** - * Returns the numeric representation of the local port. - */ - localPort: number; - /** - * Returns the string representation of the remote IP address. For example, `'74.125.127.100'` or `'2001:4860:a005::68'`. - */ - remoteAddress: string; - /** - * Returns the string representation of the remote IP family. `'IPv4'` or `'IPv6'`. - */ - remoteFamily: string; - /** - * The numeric representation of the remote port. For example, 443. - */ - remotePort: number; - /** - * The `tlsSocket.renegotiate()` method initiates a TLS renegotiation process. - * - * Note: This method can be used to request a peer's certificate after the secure connection has been established. - * - * Note: When running as the server, the socket will be destroyed with an error after `handshakeTimeout` timeout. - */ - renegotiate(options: RenegotiateOptions, callback: (err: Error | null) => any): any; - /** - * The `tlsSocket.setMaxSendFragment()` method sets the maximum TLS fragment size. Returns `true` if setting the limit succeeded; false otherwise. - * - * Smaller fragment sizes decrease the buffering latency on the client: larger fragments are buffered by the TLS layer until the entire fragment is received and its integrity is verified; large fragments can span multiple roundtrips and their processing can be delayed due to packet loss or reordering. However, smaller fragments add extra TLS framing bytes and CPU overhead, which may decrease overall server throughput. - * - * @param size The maximum TLS fragment size. Defaults to `16384`. The maximum value is `16384`. - */ - setMaxSendFragment(size: number): boolean; - } + prependListener(event: string, listener: Function): this; + prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; + prependListener(event: "secureConnect", listener: () => void): this; - export interface ConnectOptions { - /** - * Host the client should connect to. - */ - host?: string; - /** - * Port the client should connect to. - */ - port?: number | string; - /** - * Establish secure connection on a given socket rather than creating a new socket. If this option is specified, `host` and `port` are ignored. - */ - socket?: net.Socket; - /** - * Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored. - */ - path?: string; - /** - * A `string` or `Buffer` containing the private key, certificate, and CA certs of the client in PFX or PKCS12 format. - */ - pfx?: string | Buffer; - /** - * A string, `Buffer`, array of strings, or array of `Buffer`s containing the private key of the client in PEM format. - */ - key?: string | Buffer | string[] | Buffer[]; - /** - * A string containing the passphrase for the private key or pfx. - */ - passphrase?: string; - /** - * A string, `Buffer`, array of strings, or array of `Buffer`s containing the certificate key of the client in PEM format. - */ - cert?: string | Buffer | string[] | Buffer[]; - /** - * A string, `Buffer`, array of strings, or array of `Buffer`s of trusted certificates in PEM format. If this is omitted several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections. - */ - ca?: string | Buffer | string[] | Buffer[]; - /** - * A string describing the ciphers to use or exclude, separated by `:`. Uses the same default cipher suite as `tls.createServer()`. - */ - ciphers?: string; - /** - * If true, the server certificate is verified against the list of supplied CAs. An `'error'` event is emitted if verification fails; `err.code` contains the OpenSSL error code. Defaults to `true`. - */ - rejectUnauthorized?: boolean; - /** - * An array of strings or `Buffer`s containing supported NPN protocols. `Buffer`s should have the format `[len][name][len][name]...` e.g. `0x05hello0x05world`, where the first byte is the length of the next protocol name. Passing an array is usually much simpler, e.g. `['hello', 'world']`. - */ - NPNProtocols?: string[] | Buffer[]; - /** - * An array of strings or `Buffer`s containing the supported ALPN protocols. `Buffer`s should have the format `[len][name][len][name]...` e.g. `0x05hello0x05world`, where the first byte is the length of the next protocol name. Passing an array is usually much simpler: `['hello', 'world']`.) - */ - ALPNProtocols?: string[] | Buffer[]; - /** - * Server name for the SNI (Server Name Indication) TLS extension. - */ - servername?: string; - /** - * A callback function to be used when checking the server's hostname against the certificate. This should throw an error if verification fails. The method should return `undefined` if the `servername` and `cert` are verified. - */ - checkServerIdentity?: (servername: string, cert: Buffer) => void; - /** - * The SSL method to use, e.g., `SSLv3_method` to force SSL version 3. The possible values depend on the version of OpenSSL installed in the environment and are defined in the constant SSL_METHODS. - */ - secureProtocol?: string; - /** - * An optional TLS context object as returned by from `tls.createSecureContext( ... )`. It can be used for caching client certificates, keys, and CA certificates. - */ - secureContext?: SecureContext; - /** - * A `Buffer` instance, containing TLS session. - */ - session?: Buffer; - /** - * Minimum size of the DH parameter in bits to accept a TLS connection. When a server offers a DH parameter with a size less than `minDHSize`, the TLS connection is destroyed and an error is thrown. Defaults to `1024`. - */ - minDHSize?: number; - } + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; + prependOnceListener(event: "secureConnect", listener: () => void): this; + } - export interface SecureContextOptions { - /** - * A string or `Buffer` holding the PFX or PKCS12 encoded private key, certificate, and CA certificates. - */ - pfx?: string | Buffer; - /** - * The private key of the server in PEM format. To support multiple keys using different algorithms, an array can be provided either as an array of key strings or as an array of objects in the format `{pem: key, passphrase: passphrase}`. This option is required for ciphers that make use of private keys. - */ - key?: string | string[] | Buffer | Array<{ pem: string | string[] | Buffer, passphrase: string }>; - /** - * A string containing the passphrase for the private key or pfx. - */ - passphrase?: string; - /** - * A string containing the PEM encoded certificate. - */ - cert?: string | Buffer | string[] | Buffer[]; - /** - * A string, `Buffer`, array of strings, or array of `Buffer`s of trusted certificates in PEM format. If omitted, several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections. - */ - ca?: string | Buffer | string[] | Buffer[]; - /** - * Either a string or array of strings of PEM encoded CRLs (Certificate Revocation List). - */ - crl?: string | string[]; - /** - * A string describing the ciphers to use or exclude. Consult https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT for details on the format. - */ - ciphers?: string; - /** - * If `true`, when a cipher is being selected, the server's preferences will be used instead of the client preferences. - */ - honorCipherOrder?: boolean; - } + export interface TlsOptions { + host?: string; + port?: number; + pfx?: string | Buffer[]; + key?: string | string[] | Buffer | any[]; + passphrase?: string; + cert?: string | string[] | Buffer | Buffer[]; + ca?: string | string[] | Buffer | Buffer[]; + crl?: string | string[]; + ciphers?: string; + honorCipherOrder?: boolean; + requestCert?: boolean; + rejectUnauthorized?: boolean; + NPNProtocols?: string[] | Buffer; + SNICallback?: (servername: string, cb: (err: Error, ctx: SecureContext) => any) => any; + ecdhCurve?: string; + dhparam?: string | Buffer; + handshakeTimeout?: number; + ALPNProtocols?: string[] | Buffer; + sessionTimeout?: number; + ticketKeys?: any; + sessionIdContext?: string; + secureProtocol?: string; + } - export interface CreateServerOptions { - /** - * A `string` or `Buffer` containing the private key, certificate and CA certs of the server in PFX or PKCS12 format. (Mutually exclusive with the `key`, `cert`, and `ca` options.) - */ - pfx?: string | Buffer; - /** - * The private key of the server in PEM format. To support multiple keys using different algorithms an array can be provided either as a plain array of key strings or an array of objects in the format `{pem: key, passphrase: passphrase}`. This option is required for ciphers that make use of private keys. - */ - key?: string | string[] | Buffer | Array<{ pem: string | string[] | Buffer, passphrase: string }>; - /** - * A string containing the passphrase for the private key or pfx. - */ - passphrase?: string; - /** - * A string containing the PEM encoded certificate. - */ - cert?: string | Buffer | string[] | Buffer[]; - /** - * A string, `Buffer`, array of strings, or array of `Buffer`s of trusted certificates in PEM format. If omitted, several well known "root" CAs (like VeriSign) will be used. These are used to authorize connections. - */ - ca?: string | Buffer | string[] | Buffer[]; - /** - * Either a string or array of strings of PEM encoded CRLs (Certificate Revocation List). - */ - crl?: string | string[]; - /** - * A string describing the ciphers to use or exclude, separated by `:`. - */ - ciphers?: string; - /** - * A string describing a named curve to use for ECDH key agreement or false to disable ECDH. Defaults to `prime256v1` (NIST P-256). Use crypto.getCurves() to obtain a list of available curve names. On recent releases, `openssl ecparam -list_curves` will also display the name and description of each available elliptic curve. - */ - ecdhCurve?: string; - /** - * A string or `Buffer` containing Diffie Hellman parameters, required for Perfect Forward Secrecy. Use `openssl dhparam` to create the parameters. The key length must be greater than or equal to 1024 bits, otherwise an error will be thrown. It is strongly recommended to use 2048 bits or larger for stronger security. If omitted or invalid, the parameters are silently discarded and DHE ciphers will not be available. - */ - dhparam?: string | Buffer; - /** - * Abort the connection if the SSL/TLS handshake does not finish in the specified number of milliseconds. Defaults to `120` seconds. A `'clientError'` is emitted on the `tls.Server` object whenever a handshake times out. - */ - handshakeTimeout?: number; - /** - * When choosing a cipher, use the server's preferences instead of the client preferences. Defaults to `true`. - */ - honorCipherOrder?: boolean; - /** - * If `true` the server will request a certificate from clients that connect and attempt to verify that certificate. Defaults to `false`. - */ - requestCert?: boolean; - /** - * If `true` the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if `requestCert` is `true`. Defaults to `false`. - */ - rejectUnauthorized?: boolean; - /** - * An array of strings or a `Buffer` naming possible NPN protocols. (Protocols should be ordered by their priority.) - */ - NPNProtocols?: string[] | Buffer; - /** - * An array of strings or a `Buffer` naming possible ALPN protocols. (Protocols should be ordered by their priority.) When the server receives both NPN and ALPN extensions from the client, ALPN takes precedence over NPN and the server does not send an NPN extension to the client. - */ - ALPNProtocols?: string[] | Buffer; - /** - * A function that will be called if the client supports SNI TLS extension. Two arguments will be passed when called: `servername` and `cb`. `SNICallback` should invoke `cb(null, ctx)`, where `ctx` is a SecureContext instance. (`tls.createSecureContext(...)` can be used to get a proper SecureContext.) If `SNICallback` wasn't provided the default callback with high-level API will be used (see below). - */ - SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void; - /** - * An integer specifying the number of seconds after which the TLS session identifiers and TLS session tickets created by the server will time out. See SSL_CTX_set_timeout for more details. - */ - sessionTimeout?: number; - /** - * A 48-byte `Buffer` instance consisting of a 16-byte prefix, a 16-byte HMAC key, and a 16-byte AES key. This can be used to accept TLS session tickets on multiple instances of the TLS server. Note that this is automatically shared between `cluster` module workers. - */ - ticketKeys?: Buffer; - /** - * A string containing an opaque identifier for session resumption. If `requestCert` is true, the default is a 128 bit truncated SHA1 hash value generated from the command-line. Otherwise, a default is not provided. - */ - sessionIdContext?: string; - /** - * The SSL method to use, e.g., `SSLv3_method` to force SSL version 3. The possible values depend on the version of OpenSSL installed in the environment and are defined in the constant SSL_METHODS. - */ - secureProtocol?: string; - } + export interface ConnectionOptions { + host?: string; + port?: number; + socket?: net.Socket; + pfx?: string | Buffer + key?: string | string[] | Buffer | Buffer[]; + passphrase?: string; + cert?: string | string[] | Buffer | Buffer[]; + ca?: string | Buffer | (string | Buffer)[]; + rejectUnauthorized?: boolean; + NPNProtocols?: (string | Buffer)[]; + servername?: string; + path?: string; + ALPNProtocols?: (string | Buffer)[]; + checkServerIdentity?: (servername: string, cert: string | Buffer | (string | Buffer)[]) => any; + secureProtocol?: string; + secureContext?: Object; + session?: Buffer; + minDHSize?: number; + } - export interface SecureContext { - context: any; - } + export interface Server extends net.Server { + close(callback?: Function): Server; + address(): { port: number; family: string; address: string; }; + addContext(hostName: string, credentials: { + key: string; + cert: string; + ca: string; + }): void; + maxConnections: number; + connections: number; - /** - * Creates a new tls.Server. The secureConnectionListener, if provided, is automatically set as a listener for the `'secureConnection'` event. - */ - export function createServer(options: CreateServerOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; + /** + * events.EventEmitter + * 1. tlsClientError + * 2. newSession + * 3. OCSPRequest + * 4. resumeSession + * 5. secureConnection + **/ + addListener(event: string, listener: Function): this; + addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + addListener(event: "newSession", listener: (sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void) => void): this; + addListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: Function) => void): this; + addListener(event: "resumeSession", listener: (sessionId: any, callback: (err: Error, sessionData: any) => void) => void): this; + addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - /** - * Creates a new client connection to the given `port` and `host` or `options.port` and `options.host`. (If `host` is omitted, it defaults to `localhost`.) - */ - export function connect(options: ConnectOptions, callback?: () => void): TLSSocket; - export function connect(port: number, options?: ConnectOptions, callback?: () => void): TLSSocket; - export function connect(port: number, host?: string, options?: ConnectOptions, callback?: () => void): TLSSocket; + emit(event: string, ...args: any[]): boolean; + emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean; + emit(event: "newSession", sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void): boolean; + emit(event: "OCSPRequest", certificate: Buffer, issuer: Buffer, callback: Function): boolean; + emit(event: "resumeSession", sessionId: any, callback: (err: Error, sessionData: any) => void): boolean; + emit(event: "secureConnection", tlsSocket: TLSSocket): boolean; - /** - * The `tls.createSecureContext()` method creates a credentials object. - * - * If the `'ca'` option is not given, then Node.js will use the default publicly trusted list of CAs as given in http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt. - */ - export function createSecureContext(options: SecureContextOptions): SecureContext; + on(event: string, listener: Function): this; + on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + on(event: "newSession", listener: (sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void) => void): this; + on(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: Function) => void): this; + on(event: "resumeSession", listener: (sessionId: any, callback: (err: Error, sessionData: any) => void) => void): this; + on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - /** - * Returns an array with the names of the supported SSL ciphers. - */ - export function getCiphers(): string[]; + once(event: string, listener: Function): this; + once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + once(event: "newSession", listener: (sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void) => void): this; + once(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: Function) => void): this; + once(event: "resumeSession", listener: (sessionId: any, callback: (err: Error, sessionData: any) => void) => void): this; + once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + prependListener(event: "newSession", listener: (sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void) => void): this; + prependListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: Function) => void): this; + prependListener(event: "resumeSession", listener: (sessionId: any, callback: (err: Error, sessionData: any) => void) => void): this; + prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; + prependOnceListener(event: "newSession", listener: (sessionId: any, sessionData: any, callback: (err: Error, resp: Buffer) => void) => void): this; + prependOnceListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: Function) => void): this; + prependOnceListener(event: "resumeSession", listener: (sessionId: any, callback: (err: Error, sessionData: any) => void) => void): this; + prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; + } + + export interface ClearTextStream extends stream.Duplex { + authorized: boolean; + authorizationError: Error; + getPeerCertificate(): any; + getCipher: { + name: string; + version: string; + }; + address: { + port: number; + family: string; + address: string; + }; + remoteAddress: string; + remotePort: number; + } + + export interface SecurePair { + encrypted: any; + cleartext: any; + } + + export interface SecureContextOptions { + pfx?: string | Buffer; + key?: string | Buffer; + passphrase?: string; + cert?: string | Buffer; + ca?: string | Buffer; + crl?: string | string[] + ciphers?: string; + honorCipherOrder?: boolean; + } + + export interface SecureContext { + context: any; + } + + export function createServer(options: TlsOptions, secureConnectionListener?: (cleartextStream: ClearTextStream) => void): Server; + export function connect(options: ConnectionOptions, secureConnectionListener?: () => void): ClearTextStream; + export function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): ClearTextStream; + export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): ClearTextStream; + export function createSecurePair(credentials?: crypto.Credentials, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair; + export function createSecureContext(details: SecureContextOptions): SecureContext; } declare module "crypto" { - import * as stream from "stream"; + export interface Certificate { + exportChallenge(spkac: string | Buffer): Buffer; + exportPublicKey(spkac: string | Buffer): Buffer; + verifySpkac(spkac: Buffer): boolean; + } + export var Certificate: { + new (): Certificate; + (): Certificate; + } - export var constants: { - defaultCipherList: string; - defaultCoreCipherList: string; - [key: string]: string | number; - } + export var fips: boolean; - export function getCiphers(): string[]; - export function getCurves(): string[]; - export function getHashes(): string[]; + export interface CredentialDetails { + pfx: string; + key: string; + passphrase: string; + cert: string; + ca: string | string[]; + crl: string | string[]; + ciphers: string; + } + export interface Credentials { context?: any; } + export function createCredentials(details: CredentialDetails): Credentials; + export function createHash(algorithm: string): Hash; + export function createHmac(algorithm: string, key: string | Buffer): Hmac; - export class Certificate { - constructor(); - exportChallenge(spkac: string | Buffer, encoding?: string): string; - exportPublicKey(spkac: string | Buffer, encoding?: string): Buffer; - verifySpkac(spkac: Buffer): boolean; - } + type Utf8AsciiLatin1Encoding = "utf8" | "ascii" | "latin1"; + type HexBase64Latin1Encoding = "latin1" | "hex" | "base64"; + type Utf8AsciiBinaryEncoding = "utf8" | "ascii" | "binary"; + type HexBase64BinaryEncoding = "binary" | "base64" | "hex"; + type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid"; - export function createHash(algorithm: string): Hash; - - export class Hash extends stream.Transform { - update(data: string | Buffer, input_encoding?: string): Hash; - digest(encoding: 'buffer'): Buffer; - digest(encoding: string): string; - digest(): Buffer; - } - - export function createHmac(algorithm: string, key: string | Buffer): Hmac; - - export class Hmac extends stream.Transform { - update(data: string | Buffer, input_encoding?: string): Hmac; - digest(encoding: 'buffer'): Buffer; - digest(encoding: string): string; - digest(): Buffer; - } - - export function createCipher(algorithm: string, password: string | Buffer): Cipher; - export function createCipheriv(algorithm: string, key: string | Buffer, iv: string | Buffer): Cipher; - - export class Cipher extends stream.Transform { - update(data: Buffer): Buffer; - update(data: string, input_encoding: "utf8" | "ascii" | "binary" | "latin1"): Buffer; - update(data: Buffer, input_encoding: any, output_encoding: "binary" | "latin1" | "base64" | "hex"): string; - update(data: string, input_encoding: "utf8" | "ascii" | "binary" | "latin1", output_encoding: "binary" | "latin1" | "base64" | "hex"): string; - final(): Buffer; - final(output_encoding: string): string; - setAAD(buffer: Buffer): void; - setAutoPadding(auto_padding: boolean): void; - getAuthTag(): Buffer; - } - - export function createDecipher(algorithm: string, password: string | Buffer): Decipher; - export function createDecipheriv(algorithm: string, key: string | Buffer, iv: string | Buffer): Decipher; - - export class Decipher extends stream.Transform { - update(data: Buffer): Buffer; - update(data: string, input_encoding: "binary" | "latin1" | "base64" | "hex"): Buffer; - update(data: Buffer, input_encoding: any, output_encoding: "utf8" | "ascii" | "binary" | "latin1"): string; - update(data: string, input_encoding: "binary" | "latin1" | "base64" | "hex", output_encoding: "utf8" | "ascii" | "binary" | "latin1"): string; - final(): Buffer; - final(output_encoding: string): string; - setAAD(buffer: Buffer): void; - setAutoPadding(auto_padding: boolean): void; - setAuthTag(tag: Buffer): void; - } - - export function createSign(algorithm: string): Signer; - - export class Signer extends stream.Writable { - update(data: string | Buffer): void; - sign(private_key: string): Buffer; - sign(private_key: string, output_format: string): string; - } - - export function createVerify(algorith: string): Verify; - - export class Verify extends stream.Writable { - update(data: string | Buffer): void; - verify(object: string, signature: string, signature_format?: string): boolean; - } - - export function createDiffieHellman(prime: number, prime_encoding?: string, generator?: number | string | Buffer, generator_encoding?: string): DiffieHellman; - export function createDiffieHellman(prime_length: number, generator?: number | string | Buffer): DiffieHellman; - export function getDiffieHellman(group_name: string): DiffieHellman; - - export class DiffieHellman { - verifyError: number; - computeSecret(other_public_key: string, input_encoding?: string, output_encoding?: string): string; - generateKeys(encoding?: string): string; - getPrime(encoding?: string): string; - getGenerator(encoding?: string): string; - getPublicKey(encoding?: string): string; - getPrivateKey(encoding?: string): string; - setPublicKey(public_key: string, encoding?: string): void; - setPrivateKey(public_key: string, encoding?: string): void; - } - - export function createECDH(curve_name: string): ECDH; - - export class ECDH { - computeSecret(other_public_key: string, input_encoding?: string, output_encoding?: string): string; - generateKeys(encoding?: string, format?: string): string; - getPrivateKey(encoding?: string): string; - getPublicKey(encoding?: string, format?: string): string; - setPrivateKey(private_key: string, encoding?: string): void; - } - - export function pbkdf2(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, callback: (err: Error, derivedKey: Buffer) => void): void; - export function pbkdf2(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string, callback: (err: Error, derivedKey: Buffer) => void): void; - - export function pbkdf2Sync(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number): Buffer; - export function pbkdf2Sync(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string): Buffer; - - export function randomBytes(size: number): Buffer; - export function randomBytes(size: number, callback: (err: Error, buf: Buffer) => void): void; - - export function pseudoRandomBytes(size: number): Buffer; - export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) => void): void; - - export interface RsaKey { - key: string; - passphrase?: string, - padding?: number; - } - - export function timingSafeEqual(a: Buffer, b: Buffer): boolean; - export function publicEncrypt(public_key: string | RsaKey, buffer: Buffer): Buffer; - export function privateEncrypt(private_key: string | RsaKey, buffer: Buffer): Buffer; - export function publicDecrypt(public_key: string | RsaKey, buffer: Buffer): Buffer; - export function privateDecrypt(private_key: string | RsaKey, buffer: Buffer): Buffer; - - export function setEngine(engine: string, flags?: number): void; + export interface Hash extends NodeJS.ReadWriteStream { + update(data: string | Buffer): Hash; + update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Hash; + digest(): Buffer; + digest(encoding: HexBase64Latin1Encoding): string; + } + export interface Hmac extends NodeJS.ReadWriteStream { + update(data: string | Buffer): Hmac; + update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Hmac; + digest(): Buffer; + digest(encoding: HexBase64Latin1Encoding): string; + } + export function createCipher(algorithm: string, password: any): Cipher; + export function createCipheriv(algorithm: string, key: any, iv: any): Cipher; + export interface Cipher extends NodeJS.ReadWriteStream { + update(data: Buffer): Buffer; + update(data: string, input_encoding: Utf8AsciiBinaryEncoding): Buffer; + update(data: Buffer, input_encoding: any, output_encoding: HexBase64BinaryEncoding): string; + update(data: string, input_encoding: Utf8AsciiBinaryEncoding, output_encoding: HexBase64BinaryEncoding): string; + final(): Buffer; + final(output_encoding: string): string; + setAutoPadding(auto_padding?: boolean): void; + getAuthTag(): Buffer; + setAAD(buffer: Buffer): void; + } + export function createDecipher(algorithm: string, password: any): Decipher; + export function createDecipheriv(algorithm: string, key: any, iv: any): Decipher; + export interface Decipher extends NodeJS.ReadWriteStream { + update(data: Buffer): Buffer; + update(data: string, input_encoding: HexBase64BinaryEncoding): Buffer; + update(data: Buffer, input_encoding: any, output_encoding: Utf8AsciiBinaryEncoding): string; + update(data: string, input_encoding: HexBase64BinaryEncoding, output_encoding: Utf8AsciiBinaryEncoding): string; + final(): Buffer; + final(output_encoding: string): string; + setAutoPadding(auto_padding?: boolean): void; + setAuthTag(tag: Buffer): void; + setAAD(buffer: Buffer): void; + } + export function createSign(algorithm: string): Signer; + export interface Signer extends NodeJS.WritableStream { + update(data: string | Buffer): Signer; + update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Signer; + sign(private_key: string | { key: string; passphrase: string }): Buffer; + sign(private_key: string | { key: string; passphrase: string }, output_format: HexBase64Latin1Encoding): string; + } + export function createVerify(algorith: string): Verify; + export interface Verify extends NodeJS.WritableStream { + update(data: string | Buffer): Verify; + update(data: string | Buffer, input_encoding: Utf8AsciiLatin1Encoding): Verify; + verify(object: string, signature: Buffer): boolean; + verify(object: string, signature: string, signature_format: HexBase64Latin1Encoding): boolean; + } + export function createDiffieHellman(prime_length: number, generator?: number): DiffieHellman; + export function createDiffieHellman(prime: Buffer): DiffieHellman; + export function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding): DiffieHellman; + export function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: number | Buffer): DiffieHellman; + export function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: string, generator_encoding: HexBase64Latin1Encoding): DiffieHellman; + export interface DiffieHellman { + generateKeys(): Buffer; + generateKeys(encoding: HexBase64Latin1Encoding): string; + computeSecret(other_public_key: Buffer): Buffer; + computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer; + computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string; + getPrime(): Buffer; + getPrime(encoding: HexBase64Latin1Encoding): string; + getGenerator(): Buffer; + getGenerator(encoding: HexBase64Latin1Encoding): string; + getPublicKey(): Buffer; + getPublicKey(encoding: HexBase64Latin1Encoding): string; + getPrivateKey(): Buffer; + getPrivateKey(encoding: HexBase64Latin1Encoding): string; + setPublicKey(public_key: Buffer): void; + setPublicKey(public_key: string, encoding: string): void; + setPrivateKey(private_key: Buffer): void; + setPrivateKey(private_key: string, encoding: string): void; + verifyError: number; + } + export function getDiffieHellman(group_name: string): DiffieHellman; + export function pbkdf2(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string, callback: (err: Error, derivedKey: Buffer) => any): void; + export function pbkdf2Sync(password: string | Buffer, salt: string | Buffer, iterations: number, keylen: number, digest: string): Buffer; + export function randomBytes(size: number): Buffer; + export function randomBytes(size: number, callback: (err: Error, buf: Buffer) => void): void; + export function pseudoRandomBytes(size: number): Buffer; + export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) => void): void; + export interface RsaPublicKey { + key: string; + padding?: number; + } + export interface RsaPrivateKey { + key: string; + passphrase?: string, + padding?: number; + } + export function publicEncrypt(public_key: string | RsaPublicKey, buffer: Buffer): Buffer + export function privateDecrypt(private_key: string | RsaPrivateKey, buffer: Buffer): Buffer + export function privateEncrypt(private_key: string | RsaPrivateKey, buffer: Buffer): Buffer + export function publicDecrypt(public_key: string | RsaPublicKey, buffer: Buffer): Buffer + export function getCiphers(): string[]; + export function getCurves(): string[]; + export function getHashes(): string[]; + export interface ECDH { + generateKeys(): Buffer; + generateKeys(encoding: HexBase64Latin1Encoding): string; + generateKeys(encoding: HexBase64Latin1Encoding, format: ECDHKeyFormat): string; + computeSecret(other_public_key: Buffer): Buffer; + computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer; + computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string; + getPrivateKey(): Buffer; + getPrivateKey(encoding: HexBase64Latin1Encoding): string; + getPublicKey(): Buffer; + getPublicKey(encoding: HexBase64Latin1Encoding): string; + getPublicKey(encoding: HexBase64Latin1Encoding, format: ECDHKeyFormat): string; + setPrivateKey(private_key: Buffer): void; + setPrivateKey(private_key: string, encoding: HexBase64Latin1Encoding): void; + } + export function createECDH(curve_name: string): ECDH; + export function timingSafeEqual(a: Buffer, b: Buffer): boolean; + export var DEFAULT_ENCODING: string; } declare module "stream" { - import * as events from "events"; + import * as events from "events"; - export class Stream extends events.EventEmitter { - pipe(destination: T, options?: { end?: boolean; }): T; - } + class internal extends events.EventEmitter { + pipe(destination: T, options?: { end?: boolean; }): T; + } + namespace internal { - export interface ReadableOptions { - highWaterMark?: number; - encoding?: string; - objectMode?: boolean; - read?: (this: Readable, size?: number) => any; - } + export class Stream extends internal { } - export class Readable extends events.EventEmitter implements NodeJS.ReadableStream { - readable: boolean; - constructor(opts?: ReadableOptions); - _read(size: number): void; - read(size?: number): any; - isPaused(): boolean; - setEncoding(encoding: string): this; - pause(): this; - resume(): this; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: any): void; - wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; - push(chunk: any, encoding?: string): boolean; - } + export interface ReadableOptions { + highWaterMark?: number; + encoding?: string; + objectMode?: boolean; + read?: (size?: number) => any; + } - export interface WritableOptions { - highWaterMark?: number; - decodeStrings?: boolean; - objectMode?: boolean; - write?: (chunk: string | Buffer, encoding: string, callback: Function) => any; - writev?: (chunks: { chunk: string | Buffer, encoding: string }[], callback: Function) => any; - } + export class Readable extends events.EventEmitter implements NodeJS.ReadableStream { + readable: boolean; + constructor(opts?: ReadableOptions); + protected _read(size: number): void; + read(size?: number): any; + setEncoding(encoding: string): this; + pause(): this; + resume(): this; + pipe(destination: T, options?: { end?: boolean; }): this; + unpipe(destination?: T): this; + unshift(chunk: any): void; + wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; + push(chunk: any, encoding?: string): boolean; - export class Writable extends events.EventEmitter implements NodeJS.WritableStream { - writable: boolean; - constructor(opts?: WritableOptions); - setDefaultEncoding(encoding: string): this; - _write(chunk: any, encoding: string, callback: Function): void; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - } + /** + * Event emitter + * The defined events on documents including: + * 1. close + * 2. data + * 3. end + * 4. readable + * 5. error + **/ + addListener(event: string, listener: Function): this; + addListener(event: string, listener: Function): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "data", listener: (chunk: Buffer | string) => void): this; + addListener(event: "end", listener: () => void): this; + addListener(event: "readable", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; - export interface DuplexOptions extends ReadableOptions, WritableOptions { - allowHalfOpen?: boolean; - readableObjectMode?: boolean; - writableObjectMode?: boolean; - } + emit(event: string, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "data", chunk: Buffer | string): boolean; + emit(event: "end"): boolean; + emit(event: "readable"): boolean; + emit(event: "error", err: Error): boolean; - // Note: Duplex extends both Readable and Writable. - export class Duplex extends Readable implements Writable { - writable: boolean; - constructor(opts?: DuplexOptions); - setDefaultEncoding(encoding: string): this; - _write(chunk: any, encoding: string, callback: Function): void; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - } + on(event: string, listener: Function): this; + on(event: "close", listener: () => void): this; + on(event: "data", listener: (chunk: Buffer | string) => void): this; + on(event: "end", listener: () => void): this; + on(event: "readable", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; - export interface TransformOptions extends ReadableOptions, WritableOptions { - write?: (chunk: string | Buffer, encoding: string, callback: Function) => any; - writev?: (chunks: { chunk: string | Buffer, encoding: string }[], callback: Function) => any; - } + once(event: string, listener: Function): this; + once(event: "close", listener: () => void): this; + once(event: "data", listener: (chunk: Buffer | string) => void): this; + once(event: "end", listener: () => void): this; + once(event: "readable", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; - export class Transform extends Duplex { - constructor(opts?: TransformOptions); - _transform(chunk: any, encoding: string, callback: Function): void; - } + prependListener(event: string, listener: Function): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependListener(event: "end", listener: () => void): this; + prependListener(event: "readable", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; - export class PassThrough extends Transform { } + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; + prependOnceListener(event: "end", listener: () => void): this; + prependOnceListener(event: "readable", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + + removeListener(event: string, listener: Function): this; + removeListener(event: "close", listener: () => void): this; + removeListener(event: "data", listener: (chunk: Buffer | string) => void): this; + removeListener(event: "end", listener: () => void): this; + removeListener(event: "readable", listener: () => void): this; + removeListener(event: "error", listener: (err: Error) => void): this; + } + + export interface WritableOptions { + highWaterMark?: number; + decodeStrings?: boolean; + objectMode?: boolean; + write?: (chunk: string | Buffer, encoding: string, callback: Function) => any; + writev?: (chunks: { chunk: string | Buffer, encoding: string }[], callback: Function) => any; + } + + export class Writable extends events.EventEmitter implements NodeJS.WritableStream { + writable: boolean; + constructor(opts?: WritableOptions); + protected _write(chunk: any, encoding: string, callback: Function): void; + write(chunk: any, cb?: Function): boolean; + write(chunk: any, encoding?: string, cb?: Function): boolean; + end(): void; + end(chunk: any, cb?: Function): void; + end(chunk: any, encoding?: string, cb?: Function): void; + + /** + * Event emitter + * The defined events on documents including: + * 1. close + * 2. drain + * 3. error + * 4. finish + * 5. pipe + * 6. unpipe + **/ + addListener(event: string, listener: Function): this; + addListener(event: "close", listener: () => void): this; + addListener(event: "drain", listener: () => void): this; + addListener(event: "error", listener: (err: Error) => void): this; + addListener(event: "finish", listener: () => void): this; + addListener(event: "pipe", listener: (src: Readable) => void): this; + addListener(event: "unpipe", listener: (src: Readable) => void): this; + + emit(event: string, ...args: any[]): boolean; + emit(event: "close"): boolean; + emit(event: "drain", chunk: Buffer | string): boolean; + emit(event: "error", err: Error): boolean; + emit(event: "finish"): boolean; + emit(event: "pipe", src: Readable): boolean; + emit(event: "unpipe", src: Readable): boolean; + + on(event: string, listener: Function): this; + on(event: "close", listener: () => void): this; + on(event: "drain", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "finish", listener: () => void): this; + on(event: "pipe", listener: (src: Readable) => void): this; + on(event: "unpipe", listener: (src: Readable) => void): this; + + once(event: string, listener: Function): this; + once(event: "close", listener: () => void): this; + once(event: "drain", listener: () => void): this; + once(event: "error", listener: (err: Error) => void): this; + once(event: "finish", listener: () => void): this; + once(event: "pipe", listener: (src: Readable) => void): this; + once(event: "unpipe", listener: (src: Readable) => void): this; + + prependListener(event: string, listener: Function): this; + prependListener(event: "close", listener: () => void): this; + prependListener(event: "drain", listener: () => void): this; + prependListener(event: "error", listener: (err: Error) => void): this; + prependListener(event: "finish", listener: () => void): this; + prependListener(event: "pipe", listener: (src: Readable) => void): this; + prependListener(event: "unpipe", listener: (src: Readable) => void): this; + + prependOnceListener(event: string, listener: Function): this; + prependOnceListener(event: "close", listener: () => void): this; + prependOnceListener(event: "drain", listener: () => void): this; + prependOnceListener(event: "error", listener: (err: Error) => void): this; + prependOnceListener(event: "finish", listener: () => void): this; + prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; + prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; + + removeListener(event: string, listener: Function): this; + removeListener(event: "close", listener: () => void): this; + removeListener(event: "drain", listener: () => void): this; + removeListener(event: "error", listener: (err: Error) => void): this; + removeListener(event: "finish", listener: () => void): this; + removeListener(event: "pipe", listener: (src: Readable) => void): this; + removeListener(event: "unpipe", listener: (src: Readable) => void): this; + } + + export interface DuplexOptions extends ReadableOptions, WritableOptions { + allowHalfOpen?: boolean; + readableObjectMode?: boolean; + writableObjectMode?: boolean; + } + + // Note: Duplex extends both Readable and Writable. + export class Duplex extends Readable implements NodeJS.ReadWriteStream { + // Readable + pause(): this; + resume(): this; + // Writeable + writable: boolean; + constructor(opts?: DuplexOptions); + protected _write(chunk: any, encoding: string, callback: Function): void; + write(chunk: any, cb?: Function): boolean; + write(chunk: any, encoding?: string, cb?: Function): boolean; + end(): void; + end(chunk: any, cb?: Function): void; + end(chunk: any, encoding?: string, cb?: Function): void; + } + + export interface TransformOptions extends DuplexOptions { + transform?: (chunk: string | Buffer, encoding: string, callback: Function) => any; + flush?: (callback: Function) => any; + } + + // Note: Transform lacks the _read and _write methods of Readable/Writable. + export class Transform extends events.EventEmitter implements NodeJS.ReadWriteStream { + readable: boolean; + writable: boolean; + constructor(opts?: TransformOptions); + protected _transform(chunk: any, encoding: string, callback: Function): void; + protected _flush(callback: Function): void; + read(size?: number): any; + setEncoding(encoding: string): this; + pause(): this; + resume(): this; + pipe(destination: T, options?: { end?: boolean; }): this; + unpipe(destination?: T): this; + unshift(chunk: any): void; + wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; + push(chunk: any, encoding?: string): boolean; + write(chunk: any, cb?: Function): boolean; + write(chunk: any, encoding?: string, cb?: Function): boolean; + end(): void; + end(chunk: any, cb?: Function): void; + end(chunk: any, encoding?: string, cb?: Function): void; + } + + export class PassThrough extends Transform { } + } + + export = internal; } declare module "util" { - /** - * The `util.debuglog()` method is used to create a function that conditionally writes debug messages to `stderr` based on the existence of the `NODE_DEBUG` environment variable. If the `section` name appears within the value of that environment variable, then the returned function operates similar to console.error(). If not, then the returned function is a no-op. - */ - export function debuglog(section: string): (msg: any, ...args: any[]) => void; - - export interface InspectOptions { - /** - * If `true`, the `object`'s non-enumerable symbols and properties will be included in the formatted result. Defaults to `false`. - */ - showHidden?: boolean; - /** - * Specifies the number of times to recurse while formatting the `object`. This is useful for inspecting large complicated objects. Defaults to `2`. To make it recurse indefinitely pass `null`. - */ - depth?: number | null; - /** - * If `true`, the output will be styled with ANSI color codes. Defaults to `false`. Colors are customizable, see "Customizing util.inspect colors". - */ - colors?: boolean; - /** - * If `false`, then custom `inspect(depth, opts)` functions exported on the object being inspected will not be called. Defaults to `true`. - */ - customInspect?: boolean; - /** - * If `true`, then objects and functions that are `Proxy` objects will be introspected to show their `target` and `handler` objects. Defaults to `false`. - */ - showProxy?: boolean; - /** - * Specifies the maximum number of array and `TypedArray` elements to include when formatting. Defaults to `100`. Set to `null` to show all array elements. Set to `0` or negative to show no array elements. - */ - maxArrayLength?: number | null; - /** - * The length at which an object's keys are split across multiple lines. Set to `Infinity` to format an object as a single line. Defaults to `60` for legacy compatibility. - */ - breakLength?: number; - } - - /** - * The `util.inspect()` method returns a string representation of object that is primarily useful for debugging. - */ - export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string; - export function inspect(object: any, options: InspectOptions): string; - - export namespace inspect { - export var colors: { - bold: [number, number]; - italic: [number, number]; - underline: [number, number]; - inverse: [number, number]; - white: [number, number]; - grey: [number, number]; - black: [number, number]; - blue: [number, number]; - cyan: [number, number]; - green: [number, number]; - magenta: [number, number]; - red: [number, number]; - yellow: [number, number]; + export interface InspectOptions { + showHidden?: boolean; + depth?: number; + colors?: boolean; + customInspect?: boolean; } - export var styles: { - special: string; - number: string; - boolean: string; - undefined: string; - null: string; - string: string; - symbol: string; - date: string; - regexp: string; - }; - - export var custom: symbol; - } - - /** - * The `util.deprecate()` method wraps the given function or class in such a way that it is marked as deprecated. - */ - export function deprecate(fn: T, string: string): T; - - /** - * The `util.format()` method returns a formatted string using the first argument as a printf-like format. - */ - export function format(format: any, ...param: any[]): string; - - /** - * Inherit the prototype methods from one constructor into another. The prototype of constructor will be set to a new object created from superConstructor. - */ - export function inherits(constructor: any, superConstructor: any): void; - - /** - * Deprecated predecessor of `console.error`. - * - * @deprecated - */ - export function debug(string: string): void; - - /** - * Deprecated predecessor of `console.error`. - * - * @deprecated - */ - export function error(...strings: string[]): void; - - /** - * Internal alias for `Array.isArray`. - * - * @deprecated - */ - export function isArray(object: any): object is any[]; - - /** - * Returns `true` if the given `object` is a `Boolean`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isBoolean(object: any): object is boolean; - - /** - * Returns `true` if the given `object` is a `Buffer`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isBuffer(object: any): object is Buffer; - - /** - * Returns `true` if the given `object` is a `Date`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isDate(object: any): object is Date; - - /** - * Returns `true` if the given `object` is an `Error`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isError(object: any): object is Error; - - /** - * Returns `true` if the given `object` is a `Function`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isFunction(object: any): object is Function; - - /** - * Returns `true` if the given `object` is strictly `null`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isNull(object: any): object is null; - - /** - * Returns `true` if the given `object` is `null` or `undefined`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isNullOrUndefined(object: any): object is null | undefined; - - /** - * Returns `true` if the given `object` is a `Number`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isNumber(object: any): object is number; - - /** - * Returns true if the given `object` is strictly an `Object` and not a `Function`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isObject(object: any): object is Object; - - /** - * Returns true if the given `object` is a primitive type. Otherwise, returns `false`. - * - * @deprecated - */ - export function isPrimitive(object: any): object is string | number | boolean | null | undefined; - - /** - * Returns true if the given `object` is a `RegExp`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isRegExp(object: any): object is RegExp; - - /** - * Returns true if the given `object` is a `String`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isString(object: any): object is string; - - /** - * Returns true if the given `object` is a `Symbol`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isSymbol(object: any): object is symbol; - - /** - * Returns true if the given `object` is `undefined`. Otherwise, returns `false`. - * - * @deprecated - */ - export function isUndefined(object: any): object is symbol; - - /** - * The `util.log()` method prints the given `string` to `stdout` with an included timestamp. - * - * @deprecated - */ - export function log(string: string): void; - - /** - * Deprecated predecessor of `console.log`. - * - * @deprecated - */ - export function print(strings: string[]): void; - - /** - * Deprecated predecessor of `console.log`. - * - * @deprecated - */ - export function puts(strings: string[]): void; - - /** - * The `util._extend()` method was never intended to be used outside of internal Node.js modules. The community found and used it anyway. - * - * It is deprecated and should not be used in new code. JavaScript comes with very similar built-in functionality through `Object.assign()`. - * - * @deprecated - */ - export function _extend(target: T, source: U): T & U; + export function format(format: any, ...param: any[]): string; + export function debug(string: string): void; + export function error(...param: any[]): void; + export function puts(...param: any[]): void; + export function print(...param: any[]): void; + export function log(string: string): void; + export function inspect(object: any, showHidden?: boolean, depth?: number, color?: boolean): string; + export function inspect(object: any, options: InspectOptions): string; + export function isArray(object: any): boolean; + export function isRegExp(object: any): boolean; + export function isDate(object: any): boolean; + export function isError(object: any): boolean; + export function inherits(constructor: any, superConstructor: any): void; + export function debuglog(key: string): (msg: string, ...param: any[]) => void; + export function isBoolean(object: any): boolean; + export function isBuffer(object: any): boolean; + export function isFunction(object: any): boolean; + export function isNull(object: any): boolean; + export function isNullOrUndefined(object: any): boolean; + export function isNumber(object: any): boolean; + export function isObject(object: any): boolean; + export function isPrimitive(object: any): boolean; + export function isString(object: any): boolean; + export function isSymbol(object: any): boolean; + export function isUndefined(object: any): boolean; + export function deprecate(fn: Function, message: string): Function; } declare module "assert" { - function internal(value: any, message?: string): void; - namespace internal { - export class AssertionError implements Error { - name: string; - message: string; - actual: any; - expected: any; - operator: string; - generatedMessage: boolean; + function internal(value: any, message?: string): void; + namespace internal { + export class AssertionError implements Error { + name: string; + message: string; + actual: any; + expected: any; + operator: string; + generatedMessage: boolean; - constructor(options?: { - message?: string; actual?: any; expected?: any; - operator?: string; stackStartFunction?: Function - }); + constructor(options?: { + message?: string; actual?: any; expected?: any; + operator?: string; stackStartFunction?: Function + }); + } + + export function fail(actual: any, expected: any, message: string, operator: string): void; + export function ok(value: any, message?: string): void; + export function equal(actual: any, expected: any, message?: string): void; + export function notEqual(actual: any, expected: any, message?: string): void; + export function deepEqual(actual: any, expected: any, message?: string): void; + export function notDeepEqual(acutal: any, expected: any, message?: string): void; + export function strictEqual(actual: any, expected: any, message?: string): void; + export function notStrictEqual(actual: any, expected: any, message?: string): void; + export function deepStrictEqual(actual: any, expected: any, message?: string): void; + export function notDeepStrictEqual(actual: any, expected: any, message?: string): void; + export var throws: { + (block: Function, message?: string): void; + (block: Function, error: Function, message?: string): void; + (block: Function, error: RegExp, message?: string): void; + (block: Function, error: (err: any) => boolean, message?: string): void; + }; + + export var doesNotThrow: { + (block: Function, message?: string): void; + (block: Function, error: Function, message?: string): void; + (block: Function, error: RegExp, message?: string): void; + (block: Function, error: (err: any) => boolean, message?: string): void; + }; + + export function ifError(value: any): void; } - export function fail(actual?: any, expected?: any, message?: string, operator?: string): void; - export function ok(value: any, message?: string): void; - export function equal(actual: any, expected: any, message?: string): void; - export function notEqual(actual: any, expected: any, message?: string): void; - export function deepEqual(actual: any, expected: any, message?: string): void; - export function notDeepEqual(acutal: any, expected: any, message?: string): void; - export function strictEqual(actual: any, expected: any, message?: string): void; - export function notStrictEqual(actual: any, expected: any, message?: string): void; - export function deepStrictEqual(actual: any, expected: any, message?: string): void; - export function notDeepStrictEqual(actual: any, expected: any, message?: string): void; - export var throws: { - (block: Function, message?: string): void; - (block: Function, error: Function, message?: string): void; - (block: Function, error: RegExp, message?: string): void; - (block: Function, error: (err: any) => boolean, message?: string): void; - }; - - export var doesNotThrow: { - (block: Function, message?: string): void; - (block: Function, error: Function, message?: string): void; - (block: Function, error: RegExp, message?: string): void; - (block: Function, error: (err: any) => boolean, message?: string): void; - }; - - export function ifError(value: any): void; - } - - export = internal; + export = internal; } declare module "tty" { - import * as net from "net"; + import * as net from "net"; - export function isatty(fd: number): boolean; - export interface ReadStream extends net.Socket { - isRaw: boolean; - setRawMode(mode: boolean): void; - isTTY: boolean; - } - export interface WriteStream extends net.Socket { - columns: number; - rows: number; - isTTY: boolean; - } + export function isatty(fd: number): boolean; + export interface ReadStream extends net.Socket { + isRaw: boolean; + setRawMode(mode: boolean): void; + isTTY: boolean; + } + export interface WriteStream extends net.Socket { + columns: number; + rows: number; + isTTY: boolean; + } } declare module "domain" { - import * as events from "events"; + import * as events from "events"; - export class Domain extends events.EventEmitter implements NodeJS.Domain { - run(fn: Function): void; - add(emitter: events.EventEmitter): void; - remove(emitter: events.EventEmitter): void; - bind(cb: (err: Error, data: any) => any): any; - intercept(cb: (data: any) => any): any; - dispose(): void; - members: any[]; - enter(): void; - exit(): void; - } + export class Domain extends events.EventEmitter implements NodeJS.Domain { + run(fn: Function): void; + add(emitter: events.EventEmitter): void; + remove(emitter: events.EventEmitter): void; + bind(cb: (err: Error, data: any) => any): any; + intercept(cb: (data: any) => any): any; + dispose(): void; + members: any[]; + enter(): void; + exit(): void; + } - export function create(): Domain; + export function create(): Domain; } declare module "constants" { - export var E2BIG: number; - export var EACCES: number; - export var EADDRINUSE: number; - export var EADDRNOTAVAIL: number; - export var EAFNOSUPPORT: number; - export var EAGAIN: number; - export var EALREADY: number; - export var EBADF: number; - export var EBADMSG: number; - export var EBUSY: number; - export var ECANCELED: number; - export var ECHILD: number; - export var ECONNABORTED: number; - export var ECONNREFUSED: number; - export var ECONNRESET: number; - export var EDEADLK: number; - export var EDESTADDRREQ: number; - export var EDOM: number; - export var EEXIST: number; - export var EFAULT: number; - export var EFBIG: number; - export var EHOSTUNREACH: number; - export var EIDRM: number; - export var EILSEQ: number; - export var EINPROGRESS: number; - export var EINTR: number; - export var EINVAL: number; - export var EIO: number; - export var EISCONN: number; - export var EISDIR: number; - export var ELOOP: number; - export var EMFILE: number; - export var EMLINK: number; - export var EMSGSIZE: number; - export var ENAMETOOLONG: number; - export var ENETDOWN: number; - export var ENETRESET: number; - export var ENETUNREACH: number; - export var ENFILE: number; - export var ENOBUFS: number; - export var ENODATA: number; - export var ENODEV: number; - export var ENOENT: number; - export var ENOEXEC: number; - export var ENOLCK: number; - export var ENOLINK: number; - export var ENOMEM: number; - export var ENOMSG: number; - export var ENOPROTOOPT: number; - export var ENOSPC: number; - export var ENOSR: number; - export var ENOSTR: number; - export var ENOSYS: number; - export var ENOTCONN: number; - export var ENOTDIR: number; - export var ENOTEMPTY: number; - export var ENOTSOCK: number; - export var ENOTSUP: number; - export var ENOTTY: number; - export var ENXIO: number; - export var EOPNOTSUPP: number; - export var EOVERFLOW: number; - export var EPERM: number; - export var EPIPE: number; - export var EPROTO: number; - export var EPROTONOSUPPORT: number; - export var EPROTOTYPE: number; - export var ERANGE: number; - export var EROFS: number; - export var ESPIPE: number; - export var ESRCH: number; - export var ETIME: number; - export var ETIMEDOUT: number; - export var ETXTBSY: number; - export var EWOULDBLOCK: number; - export var EXDEV: number; - export var WSAEINTR: number; - export var WSAEBADF: number; - export var WSAEACCES: number; - export var WSAEFAULT: number; - export var WSAEINVAL: number; - export var WSAEMFILE: number; - export var WSAEWOULDBLOCK: number; - export var WSAEINPROGRESS: number; - export var WSAEALREADY: number; - export var WSAENOTSOCK: number; - export var WSAEDESTADDRREQ: number; - export var WSAEMSGSIZE: number; - export var WSAEPROTOTYPE: number; - export var WSAENOPROTOOPT: number; - export var WSAEPROTONOSUPPORT: number; - export var WSAESOCKTNOSUPPORT: number; - export var WSAEOPNOTSUPP: number; - export var WSAEPFNOSUPPORT: number; - export var WSAEAFNOSUPPORT: number; - export var WSAEADDRINUSE: number; - export var WSAEADDRNOTAVAIL: number; - export var WSAENETDOWN: number; - export var WSAENETUNREACH: number; - export var WSAENETRESET: number; - export var WSAECONNABORTED: number; - export var WSAECONNRESET: number; - export var WSAENOBUFS: number; - export var WSAEISCONN: number; - export var WSAENOTCONN: number; - export var WSAESHUTDOWN: number; - export var WSAETOOMANYREFS: number; - export var WSAETIMEDOUT: number; - export var WSAECONNREFUSED: number; - export var WSAELOOP: number; - export var WSAENAMETOOLONG: number; - export var WSAEHOSTDOWN: number; - export var WSAEHOSTUNREACH: number; - export var WSAENOTEMPTY: number; - export var WSAEPROCLIM: number; - export var WSAEUSERS: number; - export var WSAEDQUOT: number; - export var WSAESTALE: number; - export var WSAEREMOTE: number; - export var WSASYSNOTREADY: number; - export var WSAVERNOTSUPPORTED: number; - export var WSANOTINITIALISED: number; - export var WSAEDISCON: number; - export var WSAENOMORE: number; - export var WSAECANCELLED: number; - export var WSAEINVALIDPROCTABLE: number; - export var WSAEINVALIDPROVIDER: number; - export var WSAEPROVIDERFAILEDINIT: number; - export var WSASYSCALLFAILURE: number; - export var WSASERVICE_NOT_FOUND: number; - export var WSATYPE_NOT_FOUND: number; - export var WSA_E_NO_MORE: number; - export var WSA_E_CANCELLED: number; - export var WSAEREFUSED: number; - export var SIGHUP: number; - export var SIGINT: number; - export var SIGILL: number; - export var SIGABRT: number; - export var SIGFPE: number; - export var SIGKILL: number; - export var SIGSEGV: number; - export var SIGTERM: number; - export var SIGBREAK: number; - export var SIGWINCH: number; - export var SSL_OP_ALL: number; - export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; - export var SSL_OP_CIPHER_SERVER_PREFERENCE: number; - export var SSL_OP_CISCO_ANYCONNECT: number; - export var SSL_OP_COOKIE_EXCHANGE: number; - export var SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; - export var SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; - export var SSL_OP_EPHEMERAL_RSA: number; - export var SSL_OP_LEGACY_SERVER_CONNECT: number; - export var SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number; - export var SSL_OP_MICROSOFT_SESS_ID_BUG: number; - export var SSL_OP_MSIE_SSLV2_RSA_PADDING: number; - export var SSL_OP_NETSCAPE_CA_DN_BUG: number; - export var SSL_OP_NETSCAPE_CHALLENGE_BUG: number; - export var SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number; - export var SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number; - export var SSL_OP_NO_COMPRESSION: number; - export var SSL_OP_NO_QUERY_MTU: number; - export var SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; - export var SSL_OP_NO_SSLv2: number; - export var SSL_OP_NO_SSLv3: number; - export var SSL_OP_NO_TICKET: number; - export var SSL_OP_NO_TLSv1: number; - export var SSL_OP_NO_TLSv1_1: number; - export var SSL_OP_NO_TLSv1_2: number; - export var SSL_OP_PKCS1_CHECK_1: number; - export var SSL_OP_PKCS1_CHECK_2: number; - export var SSL_OP_SINGLE_DH_USE: number; - export var SSL_OP_SINGLE_ECDH_USE: number; - export var SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number; - export var SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number; - export var SSL_OP_TLS_BLOCK_PADDING_BUG: number; - export var SSL_OP_TLS_D5_BUG: number; - export var SSL_OP_TLS_ROLLBACK_BUG: number; - export var ENGINE_METHOD_DSA: number; - export var ENGINE_METHOD_DH: number; - export var ENGINE_METHOD_RAND: number; - export var ENGINE_METHOD_ECDH: number; - export var ENGINE_METHOD_ECDSA: number; - export var ENGINE_METHOD_CIPHERS: number; - export var ENGINE_METHOD_DIGESTS: number; - export var ENGINE_METHOD_STORE: number; - export var ENGINE_METHOD_PKEY_METHS: number; - export var ENGINE_METHOD_PKEY_ASN1_METHS: number; - export var ENGINE_METHOD_ALL: number; - export var ENGINE_METHOD_NONE: number; - export var DH_CHECK_P_NOT_SAFE_PRIME: number; - export var DH_CHECK_P_NOT_PRIME: number; - export var DH_UNABLE_TO_CHECK_GENERATOR: number; - export var DH_NOT_SUITABLE_GENERATOR: number; - export var NPN_ENABLED: number; - export var RSA_PKCS1_PADDING: number; - export var RSA_SSLV23_PADDING: number; - export var RSA_NO_PADDING: number; - export var RSA_PKCS1_OAEP_PADDING: number; - export var RSA_X931_PADDING: number; - export var RSA_PKCS1_PSS_PADDING: number; - export var POINT_CONVERSION_COMPRESSED: number; - export var POINT_CONVERSION_UNCOMPRESSED: number; - export var POINT_CONVERSION_HYBRID: number; - export var O_RDONLY: number; - export var O_WRONLY: number; - export var O_RDWR: number; - export var S_IFMT: number; - export var S_IFREG: number; - export var S_IFDIR: number; - export var S_IFCHR: number; - export var S_IFBLK: number; - export var S_IFIFO: number; - export var S_IFSOCK: number; - export var S_IRWXU: number; - export var S_IRUSR: number; - export var S_IWUSR: number; - export var S_IXUSR: number; - export var S_IRWXG: number; - export var S_IRGRP: number; - export var S_IWGRP: number; - export var S_IXGRP: number; - export var S_IRWXO: number; - export var S_IROTH: number; - export var S_IWOTH: number; - export var S_IXOTH: number; - export var S_IFLNK: number; - export var O_CREAT: number; - export var O_EXCL: number; - export var O_NOCTTY: number; - export var O_DIRECTORY: number; - export var O_NOATIME: number; - export var O_NOFOLLOW: number; - export var O_SYNC: number; - export var O_SYMLINK: number; - export var O_DIRECT: number; - export var O_NONBLOCK: number; - export var O_TRUNC: number; - export var O_APPEND: number; - export var F_OK: number; - export var R_OK: number; - export var W_OK: number; - export var X_OK: number; - export var UV_UDP_REUSEADDR: number; -} - -declare module "module" { - export = NodeModule; + export var E2BIG: number; + export var EACCES: number; + export var EADDRINUSE: number; + export var EADDRNOTAVAIL: number; + export var EAFNOSUPPORT: number; + export var EAGAIN: number; + export var EALREADY: number; + export var EBADF: number; + export var EBADMSG: number; + export var EBUSY: number; + export var ECANCELED: number; + export var ECHILD: number; + export var ECONNABORTED: number; + export var ECONNREFUSED: number; + export var ECONNRESET: number; + export var EDEADLK: number; + export var EDESTADDRREQ: number; + export var EDOM: number; + export var EEXIST: number; + export var EFAULT: number; + export var EFBIG: number; + export var EHOSTUNREACH: number; + export var EIDRM: number; + export var EILSEQ: number; + export var EINPROGRESS: number; + export var EINTR: number; + export var EINVAL: number; + export var EIO: number; + export var EISCONN: number; + export var EISDIR: number; + export var ELOOP: number; + export var EMFILE: number; + export var EMLINK: number; + export var EMSGSIZE: number; + export var ENAMETOOLONG: number; + export var ENETDOWN: number; + export var ENETRESET: number; + export var ENETUNREACH: number; + export var ENFILE: number; + export var ENOBUFS: number; + export var ENODATA: number; + export var ENODEV: number; + export var ENOENT: number; + export var ENOEXEC: number; + export var ENOLCK: number; + export var ENOLINK: number; + export var ENOMEM: number; + export var ENOMSG: number; + export var ENOPROTOOPT: number; + export var ENOSPC: number; + export var ENOSR: number; + export var ENOSTR: number; + export var ENOSYS: number; + export var ENOTCONN: number; + export var ENOTDIR: number; + export var ENOTEMPTY: number; + export var ENOTSOCK: number; + export var ENOTSUP: number; + export var ENOTTY: number; + export var ENXIO: number; + export var EOPNOTSUPP: number; + export var EOVERFLOW: number; + export var EPERM: number; + export var EPIPE: number; + export var EPROTO: number; + export var EPROTONOSUPPORT: number; + export var EPROTOTYPE: number; + export var ERANGE: number; + export var EROFS: number; + export var ESPIPE: number; + export var ESRCH: number; + export var ETIME: number; + export var ETIMEDOUT: number; + export var ETXTBSY: number; + export var EWOULDBLOCK: number; + export var EXDEV: number; + export var WSAEINTR: number; + export var WSAEBADF: number; + export var WSAEACCES: number; + export var WSAEFAULT: number; + export var WSAEINVAL: number; + export var WSAEMFILE: number; + export var WSAEWOULDBLOCK: number; + export var WSAEINPROGRESS: number; + export var WSAEALREADY: number; + export var WSAENOTSOCK: number; + export var WSAEDESTADDRREQ: number; + export var WSAEMSGSIZE: number; + export var WSAEPROTOTYPE: number; + export var WSAENOPROTOOPT: number; + export var WSAEPROTONOSUPPORT: number; + export var WSAESOCKTNOSUPPORT: number; + export var WSAEOPNOTSUPP: number; + export var WSAEPFNOSUPPORT: number; + export var WSAEAFNOSUPPORT: number; + export var WSAEADDRINUSE: number; + export var WSAEADDRNOTAVAIL: number; + export var WSAENETDOWN: number; + export var WSAENETUNREACH: number; + export var WSAENETRESET: number; + export var WSAECONNABORTED: number; + export var WSAECONNRESET: number; + export var WSAENOBUFS: number; + export var WSAEISCONN: number; + export var WSAENOTCONN: number; + export var WSAESHUTDOWN: number; + export var WSAETOOMANYREFS: number; + export var WSAETIMEDOUT: number; + export var WSAECONNREFUSED: number; + export var WSAELOOP: number; + export var WSAENAMETOOLONG: number; + export var WSAEHOSTDOWN: number; + export var WSAEHOSTUNREACH: number; + export var WSAENOTEMPTY: number; + export var WSAEPROCLIM: number; + export var WSAEUSERS: number; + export var WSAEDQUOT: number; + export var WSAESTALE: number; + export var WSAEREMOTE: number; + export var WSASYSNOTREADY: number; + export var WSAVERNOTSUPPORTED: number; + export var WSANOTINITIALISED: number; + export var WSAEDISCON: number; + export var WSAENOMORE: number; + export var WSAECANCELLED: number; + export var WSAEINVALIDPROCTABLE: number; + export var WSAEINVALIDPROVIDER: number; + export var WSAEPROVIDERFAILEDINIT: number; + export var WSASYSCALLFAILURE: number; + export var WSASERVICE_NOT_FOUND: number; + export var WSATYPE_NOT_FOUND: number; + export var WSA_E_NO_MORE: number; + export var WSA_E_CANCELLED: number; + export var WSAEREFUSED: number; + export var SIGHUP: number; + export var SIGINT: number; + export var SIGILL: number; + export var SIGABRT: number; + export var SIGFPE: number; + export var SIGKILL: number; + export var SIGSEGV: number; + export var SIGTERM: number; + export var SIGBREAK: number; + export var SIGWINCH: number; + export var SSL_OP_ALL: number; + export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; + export var SSL_OP_CIPHER_SERVER_PREFERENCE: number; + export var SSL_OP_CISCO_ANYCONNECT: number; + export var SSL_OP_COOKIE_EXCHANGE: number; + export var SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; + export var SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; + export var SSL_OP_EPHEMERAL_RSA: number; + export var SSL_OP_LEGACY_SERVER_CONNECT: number; + export var SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number; + export var SSL_OP_MICROSOFT_SESS_ID_BUG: number; + export var SSL_OP_MSIE_SSLV2_RSA_PADDING: number; + export var SSL_OP_NETSCAPE_CA_DN_BUG: number; + export var SSL_OP_NETSCAPE_CHALLENGE_BUG: number; + export var SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number; + export var SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number; + export var SSL_OP_NO_COMPRESSION: number; + export var SSL_OP_NO_QUERY_MTU: number; + export var SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; + export var SSL_OP_NO_SSLv2: number; + export var SSL_OP_NO_SSLv3: number; + export var SSL_OP_NO_TICKET: number; + export var SSL_OP_NO_TLSv1: number; + export var SSL_OP_NO_TLSv1_1: number; + export var SSL_OP_NO_TLSv1_2: number; + export var SSL_OP_PKCS1_CHECK_1: number; + export var SSL_OP_PKCS1_CHECK_2: number; + export var SSL_OP_SINGLE_DH_USE: number; + export var SSL_OP_SINGLE_ECDH_USE: number; + export var SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number; + export var SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number; + export var SSL_OP_TLS_BLOCK_PADDING_BUG: number; + export var SSL_OP_TLS_D5_BUG: number; + export var SSL_OP_TLS_ROLLBACK_BUG: number; + export var ENGINE_METHOD_DSA: number; + export var ENGINE_METHOD_DH: number; + export var ENGINE_METHOD_RAND: number; + export var ENGINE_METHOD_ECDH: number; + export var ENGINE_METHOD_ECDSA: number; + export var ENGINE_METHOD_CIPHERS: number; + export var ENGINE_METHOD_DIGESTS: number; + export var ENGINE_METHOD_STORE: number; + export var ENGINE_METHOD_PKEY_METHS: number; + export var ENGINE_METHOD_PKEY_ASN1_METHS: number; + export var ENGINE_METHOD_ALL: number; + export var ENGINE_METHOD_NONE: number; + export var DH_CHECK_P_NOT_SAFE_PRIME: number; + export var DH_CHECK_P_NOT_PRIME: number; + export var DH_UNABLE_TO_CHECK_GENERATOR: number; + export var DH_NOT_SUITABLE_GENERATOR: number; + export var NPN_ENABLED: number; + export var RSA_PKCS1_PADDING: number; + export var RSA_SSLV23_PADDING: number; + export var RSA_NO_PADDING: number; + export var RSA_PKCS1_OAEP_PADDING: number; + export var RSA_X931_PADDING: number; + export var RSA_PKCS1_PSS_PADDING: number; + export var POINT_CONVERSION_COMPRESSED: number; + export var POINT_CONVERSION_UNCOMPRESSED: number; + export var POINT_CONVERSION_HYBRID: number; + export var O_RDONLY: number; + export var O_WRONLY: number; + export var O_RDWR: number; + export var S_IFMT: number; + export var S_IFREG: number; + export var S_IFDIR: number; + export var S_IFCHR: number; + export var S_IFBLK: number; + export var S_IFIFO: number; + export var S_IFSOCK: number; + export var S_IRWXU: number; + export var S_IRUSR: number; + export var S_IWUSR: number; + export var S_IXUSR: number; + export var S_IRWXG: number; + export var S_IRGRP: number; + export var S_IWGRP: number; + export var S_IXGRP: number; + export var S_IRWXO: number; + export var S_IROTH: number; + export var S_IWOTH: number; + export var S_IXOTH: number; + export var S_IFLNK: number; + export var O_CREAT: number; + export var O_EXCL: number; + export var O_NOCTTY: number; + export var O_DIRECTORY: number; + export var O_NOATIME: number; + export var O_NOFOLLOW: number; + export var O_SYNC: number; + export var O_SYMLINK: number; + export var O_DIRECT: number; + export var O_NONBLOCK: number; + export var O_TRUNC: number; + export var O_APPEND: number; + export var F_OK: number; + export var R_OK: number; + export var W_OK: number; + export var X_OK: number; + export var UV_UDP_REUSEADDR: number; + export var SIGQUIT: number; + export var SIGTRAP: number; + export var SIGIOT: number; + export var SIGBUS: number; + export var SIGUSR1: number; + export var SIGUSR2: number; + export var SIGPIPE: number; + export var SIGALRM: number; + export var SIGCHLD: number; + export var SIGSTKFLT: number; + export var SIGCONT: number; + export var SIGSTOP: number; + export var SIGTSTP: number; + export var SIGTTIN: number; + export var SIGTTOU: number; + export var SIGURG: number; + export var SIGXCPU: number; + export var SIGXFSZ: number; + export var SIGVTALRM: number; + export var SIGPROF: number; + export var SIGIO: number; + export var SIGPOLL: number; + export var SIGPWR: number; + export var SIGSYS: number; + export var SIGUNUSED: number; + export var defaultCoreCipherList: string; + export var defaultCipherList: string; + export var ENGINE_METHOD_RSA: number; + export var ALPN_ENABLED: number; } declare module "process" { - export = process; + export = process; +} + +declare module "v8" { + interface HeapSpaceInfo { + space_name: string; + space_size: number; + space_used_size: number; + space_available_size: number; + physical_space_size: number; + } + + const enum DoesZapCodeSpaceFlag { + Disabled = 0, + Enabled = 1 + } + + interface HeapInfo { + total_heap_size: number; + total_heap_size_executable: number; + total_physical_size: number; + total_available_size: number; + used_heap_size: number; + heap_size_limit: number; + malloced_memory: number; + peak_malloced_memory: number; + does_zap_garbage: DoesZapCodeSpaceFlag; + } + + export function getHeapStatistics(): HeapInfo; + export function getHeapSpaceStatistics(): HeapSpaceInfo[]; + export function setFlagsFromString(flags: string): void; } declare module "timers" { - export function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; - export function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; - export function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; - export function clearTimeout(timeoutId: NodeJS.Timer): void; - export function clearInterval(intervalId: NodeJS.Timer): void; - export function clearImmediate(immediateId: NodeJS.Immediate): void; + export function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; + export function clearTimeout(timeoutId: NodeJS.Timer): void; + export function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; + export function clearInterval(intervalId: NodeJS.Timer): void; + export function setImmediate(callback: (...args: any[]) => void, ...args: any[]): any; + export function clearImmediate(immediateId: any): void; +} + +declare module "console" { + export = console; +} + +/** + * _debugger module is not documented. + * Source code is at https://github.com/nodejs/node/blob/master/lib/_debugger.js + */ +declare module "_debugger" { + export interface Packet { + raw: string; + headers: string[]; + body: Message; + } + + export interface Message { + seq: number; + type: string; + } + + export interface RequestInfo { + command: string; + arguments: any; + } + + export interface Request extends Message, RequestInfo { + } + + export interface Event extends Message { + event: string; + body?: any; + } + + export interface Response extends Message { + request_seq: number; + success: boolean; + /** Contains error message if success === false. */ + message?: string; + /** Contains message body if success === true. */ + body?: any; + } + + export interface BreakpointMessageBody { + type: string; + target: number; + line: number; + } + + export class Protocol { + res: Packet; + state: string; + execute(data: string): void; + serialize(rq: Request): string; + onResponse: (pkt: Packet) => void; + } + + export var NO_FRAME: number; + export var port: number; + + export interface ScriptDesc { + name: string; + id: number; + isNative?: boolean; + handle?: number; + type: string; + lineOffset?: number; + columnOffset?: number; + lineCount?: number; + } + + export interface Breakpoint { + id: number; + scriptId: number; + script: ScriptDesc; + line: number; + condition?: string; + scriptReq?: string; + } + + export interface RequestHandler { + (err: boolean, body: Message, res: Packet): void; + request_seq?: number; + } + + export interface ResponseBodyHandler { + (err: boolean, body?: any): void; + request_seq?: number; + } + + export interface ExceptionInfo { + text: string; + } + + export interface BreakResponse { + script?: ScriptDesc; + exception?: ExceptionInfo; + sourceLine: number; + sourceLineText: string; + sourceColumn: number; + } + + export function SourceInfo(body: BreakResponse): string; + + export interface ClientInstance extends NodeJS.EventEmitter { + protocol: Protocol; + scripts: ScriptDesc[]; + handles: ScriptDesc[]; + breakpoints: Breakpoint[]; + currentSourceLine: number; + currentSourceColumn: number; + currentSourceLineText: string; + currentFrame: number; + currentScript: string; + + connect(port: number, host: string): void; + req(req: any, cb: RequestHandler): void; + reqFrameEval(code: string, frame: number, cb: RequestHandler): void; + mirrorObject(obj: any, depth: number, cb: ResponseBodyHandler): void; + setBreakpoint(rq: BreakpointMessageBody, cb: RequestHandler): void; + clearBreakpoint(rq: Request, cb: RequestHandler): void; + listbreakpoints(cb: RequestHandler): void; + reqSource(from: number, to: number, cb: RequestHandler): void; + reqScripts(cb: any): void; + reqContinue(cb: RequestHandler): void; + } + + export var Client : { + new (): ClientInstance + } } From 03e2e599c5c0781b383744d9b954f4a6b226ec35 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sun, 8 Jan 2017 02:00:20 +0300 Subject: [PATCH 013/613] node/node-test.ts Console testing update, mongodb reconciliation with node api --- mongodb/index.d.ts | 12 ++++++------ node/node-tests.ts | 5 +++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index 26d1656baf..f96c699a6f 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -1173,7 +1173,7 @@ export interface Cursor extends Readable { next(): Promise; next(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#pipe - pipe(destination: Writable, options?: Object): void; + pipe(destination: Writable, options?: Object): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#project project(value: Object): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#read @@ -1202,7 +1202,7 @@ export interface Cursor extends Readable { toArray(): Promise; toArray(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#unpipe - unpipe(destination?: Writable): void; + unpipe(destination?: Writable): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#unshift unshift(stream: Buffer | string): void; } @@ -1261,7 +1261,7 @@ export interface AggregationCursor extends Readable { // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#out out(destination: string): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#pipe - pipe(destination: Writable, options?: Object): void; + pipe(destination: Writable, options?: Object): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#project project(document: Object): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#read @@ -1280,7 +1280,7 @@ export interface AggregationCursor extends Readable { toArray(): Promise; toArray(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unpipe - unpipe(destination?: Writable): void; + unpipe(destination?: Writable): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unshift unshift(stream: Buffer | string): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unwind @@ -1306,7 +1306,7 @@ export interface CommandCursor extends Readable { next(): Promise; next(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#pipe - pipe(destination: Writable, options?: Object): void; + pipe(destination: Writable, options?: Object): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#read read(size: number): string | Buffer | void; //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#rewind @@ -1319,7 +1319,7 @@ export interface CommandCursor extends Readable { toArray(): Promise; toArray(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#unpipe - unpipe(destination?: Writable): void; + unpipe(destination?: Writable): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#unshift unshift(stream: Buffer | string): void; } diff --git a/node/node-tests.ts b/node/node-tests.ts index 706e8b37f6..e34a67a41e 100644 --- a/node/node-tests.ts +++ b/node/node-tests.ts @@ -1630,6 +1630,11 @@ namespace console_tests { var _c: Console = console; _c = c; } + { + var writeStream = fs.createWriteStream('./index.d.ts'); + var consoleInstance = new console.Console(writeStream) + + } } /////////////////////////////////////////////////// From 1e18f44d5c2f6d46c8ae5b9b6461d49fbdb254e9 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sun, 8 Jan 2017 03:09:50 +0300 Subject: [PATCH 014/613] mongodb/ methods duplication removal --- mongodb/index.d.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index f96c699a6f..58b3d7aa0c 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -1172,8 +1172,6 @@ export interface Cursor extends Readable { // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#next next(): Promise; next(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#pipe - pipe(destination: Writable, options?: Object): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#project project(value: Object): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#read @@ -1184,8 +1182,6 @@ export interface Cursor extends Readable { rewind(): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setCursorOption setCursorOption(field: string, value: Object): Cursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setEncoding - setEncoding(encoding: string): this; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setReadPreference setReadPreference(readPreference: string | ReadPreference): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#showRecordId @@ -1201,8 +1197,6 @@ export interface Cursor extends Readable { // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#toArray toArray(): Promise; toArray(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#unpipe - unpipe(destination?: Writable): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#unshift unshift(stream: Buffer | string): void; } @@ -1260,8 +1254,6 @@ export interface AggregationCursor extends Readable { next(callback: MongoCallback): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#out out(destination: string): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#pipe - pipe(destination: Writable, options?: Object): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#project project(document: Object): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#read @@ -1271,16 +1263,12 @@ export interface AggregationCursor extends Readable { //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#rewind rewind(): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#setEncoding - setEncoding(encoding: string): this; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#skip skip(value: number): AggregationCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#sort sort(document: Object): AggregationCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#toArray toArray(): Promise; toArray(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unpipe - unpipe(destination?: Writable): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unshift unshift(stream: Buffer | string): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unwind @@ -1305,21 +1293,15 @@ export interface CommandCursor extends Readable { // http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#next next(): Promise; next(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#pipe - pipe(destination: Writable, options?: Object): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#read read(size: number): string | Buffer | void; //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#rewind rewind(): CommandCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#setEncoding - setEncoding(encoding: string): this; // http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#setReadPreference setReadPreference(readPreference: string | ReadPreference): CommandCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#toArray toArray(): Promise; toArray(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#unpipe - unpipe(destination?: Writable): this; //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html#unshift unshift(stream: Buffer | string): void; } From b4fc6f27dc2bcf91c31d536539fe4f48becd18d1 Mon Sep 17 00:00:00 2001 From: Alexey Svetliakov Date: Mon, 9 Jan 2017 05:24:31 +0100 Subject: [PATCH 015/613] Jest update --- jest/index.d.ts | 68 +++++++++++++++++++++++++++++++++++---- jest/jest-tests.ts | 79 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 140 insertions(+), 7 deletions(-) diff --git a/jest/index.d.ts b/jest/index.d.ts index fda6c66404..6e3d5381a8 100644 --- a/jest/index.d.ts +++ b/jest/index.d.ts @@ -1,7 +1,8 @@ -// Type definitions for Jest 16.0.0 +// Type definitions for Jest 18.0.0 // Project: http://facebook.github.io/jest/ -// Definitions by: Asana , Ivo Stratev , jwbay +// Definitions by: Asana , Ivo Stratev , jwbay , Alexey Svetliakov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 declare var beforeAll: jest.Lifecycle; declare var beforeEach: jest.Lifecycle; @@ -16,7 +17,7 @@ declare var xit: jest.It; declare var test: jest.It; declare var xtest: jest.It; -declare function expect(actual: any): jest.Matchers; +declare const expect: jest.Expect; interface NodeRequire { /** Returns the actual module instead of a mock, bypassing all checks on whether the module should receive a mock implementation or not. */ @@ -31,8 +32,10 @@ declare namespace jest { function autoMockOff(): typeof jest; /** Enables automatic mocking in the module loader. */ function autoMockOn(): typeof jest; - /** Clears the mock.calls and mock.instances properties of all mocks. Equivalent to calling .mockClear() on every mocked function. */ + /** @deprecated */ function clearAllMocks(): typeof jest; + /** Clears the mock.calls and mock.instances properties of all mocks. Equivalent to calling .mockClear() on every mocked function. */ + function resetAllMocks(): typeof jest; /** Removes any pending timers from the timer system. If any timers have been scheduled, they will be cleared and will never have the opportunity to execute in the future. */ function clearAllTimers(): typeof jest; /** Indicates that the module system should never return a mocked version of the specified module, including all of the specificied module's dependencies. */ @@ -111,6 +114,41 @@ declare namespace jest { skip: Describe; } + interface MatcherUtils { + readonly isNot: boolean; + utils: { + readonly EXPECTED_COLOR: string; + readonly RECEIVED_COLOR: string; + ensureActualIsNumber(actual: any, matcherName?: string): void; + ensureExpectedIsNumber(actual: any, matcherName?: string): void; + ensureNoExpected(actual: any, matcherName?: string): void; + ensureNumbers(actual: any, expected: any, matcherName?: string): void; + /** get the type of a value with handling the edge cases like `typeof []` and `typeof null` */ + getType(value: any): string; + matcherHint(matcherName: string, received?: string, expected?: string, options?: { secondArgument?: string, isDirectExpectCall?: boolean }): string; + pluralize(word: string, count: number): string; + printExpected(value: any): string; + printReceived(value: any): string; + printWithType(name: string, received: any, print: (value: any) => string): string; + stringify(object: {}, maxDepth?: number): string; + } + } + + interface ExpectExtendMap { + [key: string]: (this: MatcherUtils, received: any, actual: any) => { message: () => string, pass: boolean }; + } + + interface Expect { + (actual: any): Matchers; + anything(): void; + any(cs: any): void; + arrayContaining(arr: any[]): void; + assertions(num: number): void; + extend(obj: ExpectExtendMap): void; + objectContaining(obj: {}): void; + stringMatching(str: string | RegExp): void; + } + interface Matchers { not: Matchers; lastCalledWith(...args: any[]): void; @@ -135,9 +173,11 @@ declare namespace jest { toHaveBeenCalledTimes(expected: number): boolean; toHaveBeenCalledWith(...params: any[]): boolean; toHaveBeenLastCalledWith(...params: any[]): boolean; + toHaveLength(expected: number): void; + toHaveProperty(propertyPath: string, value?: any): void; toMatch(expected: string | RegExp): void; toMatchObject(expected: {}): void; - toMatchSnapshot(): void; + toMatchSnapshot(snapshotName?: string): void; toThrow(): void; toThrowError(error?: string | Constructable | RegExp): void; toThrowErrorMatchingSnapshot(): void; @@ -147,9 +187,25 @@ declare namespace jest { new (...args: any[]): any } - interface Mock extends Function { + interface Mock extends Function, MockInstance { new (): T; (...args: any[]): any; + } + + /** + * Wrap module with mock definitions + * @example + * jest.mock("../api"); + * import { Api } from "../api"; + * + * const myApi: jest.Mocked = new Api() as any; + * myApi.myApiMethod.mockImplementation(() => "test"); + */ + type Mocked = T & { + [P in keyof T]: T[P] & MockInstance; + } & MockInstance; + + interface MockInstance { mock: MockContext; mockClear(): void; mockImplementation(fn: Function): Mock; diff --git a/jest/jest-tests.ts b/jest/jest-tests.ts index 913a671fa1..e1f8fb120f 100644 --- a/jest/jest-tests.ts +++ b/jest/jest-tests.ts @@ -171,6 +171,60 @@ describe('toThrow API', function () { }); }); +describe('Assymetric matchers', function () { + it('works', function () { + expect({ + timestamp: 1480807810388, + text: 'Some text content, but we care only about *this part*' + }).toEqual({ + timestamp: expect.any(Number), + text: expect.stringMatching('*this part*') + }); + + const callback = jest.fn(); + expect(callback).toEqual(expect.any(Function)); + callback(5, "test"); + expect(callback).toBeCalledWith(expect.any(Number), expect.any(String)) + const obj = { + items: [1] + }; + expect(obj).toEqual(expect.objectContaining({ + items: expect.arrayContaining([ + expect.any(Number) + ]) + })); + + expect.assertions(4); + }); +}); + +describe('Extending extend', function () { + it('works', function () { + expect.extend({ + toBeNumber(received: any, actual: any) { + const pass = received === actual; + const message = + () => `expected ${received} ${pass ? 'not ' : ''} to be ${actual}`; + return { message, pass }; + }, + toBeTest(received: any, actual: any) { + this.utils.ensureNoExpected(received); + this.utils.ensureActualIsNumber(received); + this.utils.ensureExpectedIsNumber(actual); + this.utils.ensureNumbers(received, actual); + + return { + message: () => ` + ${this.utils.getType(received).toLowerCase()} \n\n + ${this.utils.matcherHint(".not.toBe")} ${this.utils.printExpected(actual)} ${this.utils.printReceived(received)}\n\n + `, + pass: true + }; + } + }); + }); +}); + describe('missing tests', function () { it('creates closures', function () { class Closure { @@ -208,7 +262,7 @@ describe('missing tests', function () { expect(getFruits()).toContain('Orange'); mock.mockReturnValueOnce(['Apple', 'Plum']); expect(mock()).not.toContain('Orange'); - const myBeverage: any = {delicious: true, sour: false}; + const myBeverage: any = {delicious: true, sour: false}; expect(myBeverage).toContainEqual({delicious: true, sour: false}); mock.mockReturnValue([]); //Deprecated: Use jest.fn(() => value) instead. mock.mockClear(); @@ -248,6 +302,10 @@ describe('toMatchSnapshot', function () { it('compares snapshots', function () { expect({ type: 'a', props: { href: 'https://www.facebook.com/' }, children: [ 'Facebook' ] }).toMatchSnapshot(); }); + + it('can give name to snapshot', function () { + expect({ type: 'a', props: { href: 'https://www.facebook.com/' }, children: [ 'Facebook' ] }).toMatchSnapshot('given name'); + }); }); describe('toThrowErrorMatchingSnapshot', function () { @@ -367,3 +425,22 @@ describe('strictNullChecks', function () { done(); }) }); + +interface TestApi { + testProp: boolean; + testMethod(a: number): void; +} + +describe("Mocked type", function () { + it("Works", function () { + const mock: jest.Mocked = jest.fn(() => ({ + testProp: true, + testMethod1: jest.fn(), + testMethod2: jest.fn() + })) as any; + mock.testProp; + mock.testMethod.mockImplementation(() => "test"); + mock.testMethod(5); + mock.mockClear(); + }); +}); From f2581e2b98d07073207ab3e5685dc44c5435ca32 Mon Sep 17 00:00:00 2001 From: Alexey Svetliakov Date: Mon, 9 Jan 2017 06:59:08 +0100 Subject: [PATCH 016/613] Added one more example for jest.Mocked --- jest/index.d.ts | 5 +++++ jest/jest-tests.ts | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/jest/index.d.ts b/jest/index.d.ts index 6e3d5381a8..2f246f2bfe 100644 --- a/jest/index.d.ts +++ b/jest/index.d.ts @@ -200,6 +200,11 @@ declare namespace jest { * * const myApi: jest.Mocked = new Api() as any; * myApi.myApiMethod.mockImplementation(() => "test"); + * + * jest.mock("./func"); + * const myFuncMock: jest.Mocked = require("./func"); + * myFuncMock.mockImplementation(() => 5); + * myFuncMock(); */ type Mocked = T & { [P in keyof T]: T[P] & MockInstance; diff --git a/jest/jest-tests.ts b/jest/jest-tests.ts index e1f8fb120f..f2866d1689 100644 --- a/jest/jest-tests.ts +++ b/jest/jest-tests.ts @@ -431,6 +431,8 @@ interface TestApi { testMethod(a: number): void; } +declare function mockedFunc(a: number): string; + describe("Mocked type", function () { it("Works", function () { const mock: jest.Mocked = jest.fn(() => ({ @@ -442,5 +444,9 @@ describe("Mocked type", function () { mock.testMethod.mockImplementation(() => "test"); mock.testMethod(5); mock.mockClear(); + + const funcMock: jest.Mocked = require("./mockedFunc"); + funcMock.mockImplementation(() => "test"); + funcMock(5).toUpperCase(); }); }); From a0a9fe2efe4aa8a9c6ad765d6ccc471341964332 Mon Sep 17 00:00:00 2001 From: Rafael Salguero Iturrios Date: Sun, 8 Jan 2017 23:08:31 -0700 Subject: [PATCH 017/613] Update index.d.ts --- rx-lite/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rx-lite/index.d.ts b/rx-lite/index.d.ts index fb5056c478..7e085031aa 100644 --- a/rx-lite/index.d.ts +++ b/rx-lite/index.d.ts @@ -232,7 +232,7 @@ declare namespace Rx { withLatestFrom(souces: (Observable | IPromise)[], resultSelector: (firstValue: T, ...otherValues: TOther[]) => TResult): Observable; concat(...sources: (Observable | IPromise)[]): Observable; concat(sources: (Observable | IPromise)[]): Observable; - concatAll(): Observable; + concatAll(): T; concatObservable(): Observable; // alias for concatAll concatMap(selector: (value: T, index: number) => Observable, resultSelector: (value1: T, value2: T2, index: number) => R): Observable; // alias for selectConcat concatMap(selector: (value: T, index: number) => IPromise, resultSelector: (value1: T, value2: T2, index: number) => R): Observable; // alias for selectConcat From 3e757ce66287de54c45ecb30945c869ce7ad9809 Mon Sep 17 00:00:00 2001 From: Alexey Svetliakov Date: Mon, 9 Jan 2017 20:26:28 +0100 Subject: [PATCH 018/613] Infer type for jest.fn() for subtypes of object --- jest/index.d.ts | 1 + jest/jest-tests.ts | 43 ++++++++++++++++++++++++++++++++++++++----- 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/jest/index.d.ts b/jest/index.d.ts index 2f246f2bfe..e81a08c1ca 100644 --- a/jest/index.d.ts +++ b/jest/index.d.ts @@ -49,6 +49,7 @@ declare namespace jest { /** Enables automatic mocking in the module loader. */ function enableAutomock(): typeof jest; /** Creates a mock function. Optionally takes a mock implementation. */ + function fn(implementation: (...args: any[]) => T): Mock; function fn(implementation?: Function): Mock; /** Use the automatic mocking system to generate a mocked version of the given module. */ function genMockFromModule(moduleName: string): T; diff --git a/jest/jest-tests.ts b/jest/jest-tests.ts index f2866d1689..c42df8fef4 100644 --- a/jest/jest-tests.ts +++ b/jest/jest-tests.ts @@ -433,20 +433,53 @@ interface TestApi { declare function mockedFunc(a: number): string; -describe("Mocked type", function () { - it("Works", function () { +describe('Mocked type', function () { + it('Works', function () { const mock: jest.Mocked = jest.fn(() => ({ testProp: true, testMethod1: jest.fn(), testMethod2: jest.fn() })) as any; mock.testProp; - mock.testMethod.mockImplementation(() => "test"); + mock.testMethod.mockImplementation(() => 'test'); mock.testMethod(5); mock.mockClear(); - const funcMock: jest.Mocked = require("./mockedFunc"); - funcMock.mockImplementation(() => "test"); + const funcMock: jest.Mocked = require('./mockedFunc'); + funcMock.mockImplementation(() => 'test'); funcMock(5).toUpperCase(); }); }); + +describe('Mocks', function () { + it('jest.fn() without args is a function type', function () { + const test = jest.fn(); + test(); + new test(); + test.mock.instances[0]; + test.mockImplementation(() => { }); + }); + + it('jest.fn() with returned object infers type', function () { + const testMock = jest.fn(() => ({ a: 5, test: jest.fn() })); + + testMock(5, 5, 'a'); + testMock.mockImplementation(() => { }); + testMock.caller; + + const ins = new testMock(); + ins.a; + ins.test(); + ins.test.mockImplementation(() => 5); + ins.test.mock.calls; + + const anotherMock = jest.fn(() => { + const api: Partial = { + testMethod: jest.fn() + }; + return api; + }); + const anotherIns: jest.Mocked = new anotherMock() as any; + anotherIns.testMethod.mockImplementation(() => 1); + }); +}); From 654c2b4e117145df33183ebb67a9f9938e2937e6 Mon Sep 17 00:00:00 2001 From: Alexey Svetliakov Date: Wed, 11 Jan 2017 06:36:08 +0100 Subject: [PATCH 019/613] Fix Mocked type --- jest/index.d.ts | 7 +------ jest/jest-tests.ts | 18 +++++------------- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/jest/index.d.ts b/jest/index.d.ts index e81a08c1ca..020376004b 100644 --- a/jest/index.d.ts +++ b/jest/index.d.ts @@ -201,15 +201,10 @@ declare namespace jest { * * const myApi: jest.Mocked = new Api() as any; * myApi.myApiMethod.mockImplementation(() => "test"); - * - * jest.mock("./func"); - * const myFuncMock: jest.Mocked = require("./func"); - * myFuncMock.mockImplementation(() => 5); - * myFuncMock(); */ type Mocked = T & { [P in keyof T]: T[P] & MockInstance; - } & MockInstance; + }; interface MockInstance { mock: MockContext; diff --git a/jest/jest-tests.ts b/jest/jest-tests.ts index c42df8fef4..d2fcd6d007 100644 --- a/jest/jest-tests.ts +++ b/jest/jest-tests.ts @@ -426,28 +426,20 @@ describe('strictNullChecks', function () { }) }); -interface TestApi { +class TestApi { + constructor() { }; testProp: boolean; - testMethod(a: number): void; + testMethod(a: number): string { return ""; } } declare function mockedFunc(a: number): string; describe('Mocked type', function () { it('Works', function () { - const mock: jest.Mocked = jest.fn(() => ({ - testProp: true, - testMethod1: jest.fn(), - testMethod2: jest.fn() - })) as any; + const mock: jest.Mocked = new TestApi() as any; mock.testProp; mock.testMethod.mockImplementation(() => 'test'); - mock.testMethod(5); - mock.mockClear(); - - const funcMock: jest.Mocked = require('./mockedFunc'); - funcMock.mockImplementation(() => 'test'); - funcMock(5).toUpperCase(); + mock.testMethod(5).toUpperCase(); }); }); From 1c1fc8eea20aafce4605999732c282380d8cc1d9 Mon Sep 17 00:00:00 2001 From: Hinell Date: Thu, 12 Jan 2017 02:00:56 +0300 Subject: [PATCH 020/613] [Archiver] reconciliation with [node] --- archiver/index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/archiver/index.d.ts b/archiver/index.d.ts index ea117239ac..665624143e 100644 --- a/archiver/index.d.ts +++ b/archiver/index.d.ts @@ -31,7 +31,6 @@ declare namespace archiver { } export interface Archiver extends STREAM.Transform { - pipe(writeStream: FS.WriteStream): void; append(source: STREAM.Readable | Buffer | string, name: nameInterface): void; directory(dirpath: string, destpath: nameInterface | string): void; From b29bba797511449ee8f6bbd8fac2cdda56d0caef Mon Sep 17 00:00:00 2001 From: Hinell Date: Thu, 12 Jan 2017 02:44:29 +0300 Subject: [PATCH 021/613] [node] Rolled back node stream.readable.pipe() method according to official API Read here: https://github.com/nodejs/node/blob/master/lib/_stream_readable.js#L612 --- node/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/index.d.ts b/node/index.d.ts index ea1c42aad9..606276e9a6 100644 --- a/node/index.d.ts +++ b/node/index.d.ts @@ -285,7 +285,7 @@ declare namespace NodeJS { pause(): this; resume(): this; isPaused(): boolean; - pipe(destination: T, options?: { end?: boolean; }): this; + pipe(destination: T, options?: { end?: boolean; }): T; unpipe(destination?: T): this; unshift(chunk: string): void; unshift(chunk: Buffer): void; @@ -3341,7 +3341,7 @@ declare module "stream" { pause(): this; resume(): this; isPaused(): boolean; - pipe(destination: T, options?: { end?: boolean; }): this; + pipe(destination: T, options?: { end?: boolean; }): T; unpipe(destination?: T): this; unshift(chunk: any): void; wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; @@ -3531,7 +3531,7 @@ declare module "stream" { pause(): this; resume(): this; isPaused(): boolean; - pipe(destination: T, options?: { end?: boolean; }): this; + pipe(destination: T, options?: { end?: boolean; }): T; unpipe(destination?: T): this; unshift(chunk: any): void; wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; From 99a7b5915bc1dad725ef9759a68ba05b7633e798 Mon Sep 17 00:00:00 2001 From: Hinell Date: Thu, 12 Jan 2017 02:55:06 +0300 Subject: [PATCH 022/613] [bufferstream] reconciliation with [node] --- bufferstream/index.d.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bufferstream/index.d.ts b/bufferstream/index.d.ts index 69a16d98e0..9b2b15d525 100644 --- a/bufferstream/index.d.ts +++ b/bufferstream/index.d.ts @@ -109,10 +109,6 @@ declare module 'bufferstream/postbuffer' { set a callback to get all post data from a http server request */ onEnd(callback: (data: any) => void): void; - /* - pumps data into another stream to allow incoming streams given options will be passed to Stream.pipe - */ - pipe(stream: NodeJS.WritableStream, options?: BufferStream.Opts): NodeJS.ReadableStream; } export = PostBuffer; From 6de3e0630cd2bf63fd4b01b4d5d97931c3715ebf Mon Sep 17 00:00:00 2001 From: Luca Vazzano Date: Fri, 13 Jan 2017 00:23:25 +0100 Subject: [PATCH 023/613] updated Definitions for Raven-JS --- raven-js/index.d.ts | 393 +++++++++++++++++++++++++++++--------------- 1 file changed, 256 insertions(+), 137 deletions(-) diff --git a/raven-js/index.d.ts b/raven-js/index.d.ts index 6ecb6a0cdd..fda465c30d 100644 --- a/raven-js/index.d.ts +++ b/raven-js/index.d.ts @@ -1,209 +1,302 @@ // Type definitions for Raven.js // Project: https://github.com/getsentry/raven-js -// Definitions by: Santi Albo , Benjamin Pannell , Gary Blackwood , Rich Rout -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// Original Definitions by: Santi Albo , Benjamin Pannell +// ; DefinitelyTyped +// Updated by: Ben Vinegar , Ilya Pirogov +// , Eli White , David Cramer +// , Connor Peet , comaz +// , Luca Vazzano + declare var Raven: RavenStatic; - -declare module 'raven-js' { - export default Raven; -} - -interface RavenOptions { - /** The name of the logger used by Sentry. Default: javascript */ - logger?: string; - - /** The release version of the application you are monitoring with Sentry */ - release?: string; - - /** The environment in which the application is running. */ - environment?: string; - - /** The name of the server or device that the client is running on */ - serverName?: string; - - /** List of messages to be fitlered out before being sent to Sentry. */ - ignoreErrors?: string[]; - - /** Similar to ignoreErrors, but will ignore errors from whole urls patching a regex pattern. */ - ignoreUrls?: RegExp[]; - - /** The inverse of ignoreUrls. Only report errors from whole urls matching a regex pattern. */ - whitelistUrls?: RegExp[]; - - /** An array of regex patterns to indicate which urls are a part of your app. */ - includePaths?: RegExp[]; - - /** Additional data to be tagged onto the error. */ - tags?: { - [id: string]: string; - }; - - /** A function which allows mutation of the data payload right before being sent to Sentry */ - dataCallback?: (data: any) => any; - - /** A callback function that allows you to apply your own filters to determine if the message should be sent to Sentry. */ - shouldSendCallback?: (data: any) => boolean; - - /** By default, Raven does not truncate messages. If you need to truncate characters for whatever reason, you may set this to limit the length. */ - maxMessageLength?: number; - - /** Enables/disables automatic collection of breadcrumbs. Default: true. */ - autoBreadcrumbs?: any; - - /** The max number of breadcrumb captures. Default: 100. */ - maxBreadcrumbs?: number; - - /** Override the default HTTP data transport handler. */ - transport?: (options: RavenTransportOptions) => void; - - /** Allow the use of a Sentry DSN with a private key. Default: false. */ - allowSecretKey?: boolean; -} - -interface RavenAdditionalData { - /** The name of the logger used by Sentry. Default: javascript */ - logger?: string; - - /** The log level associated with this event. Default: error */ - level?: string; - - /** Additional data to be tagged onto the error. */ - tags?: { - [id: string]: string; - }; - - extra?: any; -} +export = Raven; interface RavenStatic { - /** Raven.js version. */ VERSION: string; + /** A list of currently active plugins. */ Plugins: { [id: string]: RavenPlugin }; - /* - * Allow Raven to be configured as soon as it is loaded + /** + * Allow Raven to be configured as soon as it is loaded. * It uses a global RavenConfig = {dsn: '...', config: {}} - * - * @return undefined */ afterLoad(): void; - /* + /** * Allow multiple versions of Raven to be installed. * Strip Raven from the global context and returns the instance. - * - * @return {Raven} */ noConflict(): RavenStatic; - /* + /** * Configure Raven with a DSN and extra options * - * @param {string} dsn The public Sentry DSN - * @param {object} options Optional set of of global options [optional] - * @return {Raven} + * @param dsn The public Sentry DSN + * @param options Optional set of of global options */ - config(dsn: string, options?: RavenOptions): RavenStatic; + config(dsn: string, options?: RavenGlobalOptions): RavenStatic; - /* - * Installs a global window.onerror error handler - * to capture and report uncaught exceptions. - * At this point, install() is required to be called due - * to the way TraceKit is set up. + /** + * Set the DSN (can be called multiple times, unlike config) * - * @return {Raven} + * @param dsn The public Sentry DSN + */ + setDSN(dsn: string); + + /** + * Installs a global window.onerror error handler to capture and report uncaught exceptions. + * At this point, install() is required to be called due to the way TraceKit is set up. */ install(): RavenStatic; - /* + /** * Adds a plugin to Raven - * - * @return {Raven} */ addPlugin(plugin: RavenPlugin, ...pluginArgs: any[]): RavenStatic; - /* - * Wrap code within a context so Raven can capture errors - * reliably across domains that is executed immediately. + /** + * Wrap code within a context so Raven can capture errors reliably across domains that is + * executed immediately. * - * @param {object} options A specific set of options for this context [optional] - * @param {function} func The callback to be immediately executed within the context - * @param {array} args An array of arguments to be called with the callback [optional] + * @param options A specific set of options for this context + * @param func The callback to be immediately executed within the context + * @param args An array of arguments to be called with the callback */ context(func: Function, ...args: any[]): void; - context(options: RavenAdditionalData, func: Function, ...args: any[]): void; + context(options: RavenWrapOptions, func: Function, ...args: any[]): void; - /* + /** * Wrap code within a context and returns back a new function to be executed * - * @param {object} options A specific set of options for this context [optional] - * @param {function} func The function to be wrapped in a new context - * @return {function} The newly wrapped functions with a context + * @param options A specific set of options for this context + * @param func The function to be wrapped in a new context + * @return The newly wrapped functions with a context */ wrap(func: Function): Function; - wrap(options: RavenAdditionalData, func: Function): Function; + wrap(options: RavenWrapOptions, func: Function): Function; wrap(func: T): T; - wrap(options: RavenAdditionalData, func: T): T; + wrap(options: RavenWrapOptions, func: T): T; - /* + /** * Uninstalls the global error handler. - * - * @return {Raven} */ uninstall(): RavenStatic; - /* + /** * Manually capture an exception and send it over to Sentry * - * @param {error} ex An exception to be logged - * @param {object} options A specific set of options for this error [optional] - * @return {Raven} + * @param ex An exception to be logged + * @param options A specific set of options for this error */ - captureException(ex: Error, options?: RavenAdditionalData): RavenStatic; + captureException(ex: Error, options?: RavenOptions): RavenStatic; /* * Manually send a message to Sentry * - * @param {string} msg A plain message to be captured in Sentry - * @param {object} options A specific set of options for this message [optional] - * @return {Raven} + * @param msg A plain message to be captured in Sentry + * @param options A specific set of options for this message */ - captureMessage(msg: string, options?: RavenAdditionalData): RavenStatic; + captureMessage(msg: string, options?: RavenOptions): RavenStatic; + + /** + * Add a breadcrumb + * @param crumb The trail which should be added to the trail + */ + captureBreadcrumb(crumb: RavenBreadcrumb): RavenStatic; + + /** + * Set a user to be sent along with payloads. + * + * @param user The definition of the currently active user's unique identity + */ + setUserContext(user: RavenUserContext): RavenStatic; /** * Clear the user context, removing the user data that would be sent to Sentry. */ setUserContext(): RavenStatic; - /* - * Set a user to be sent along with the payload. - * - * @param {object} user An object representing user data [optional] - * @return {Raven} + /** + * Add arbitrary data to be sent along with the payload. + * @param extra data of an arbitrary, nested type which will be added */ - setUserContext(user: { - id?: string; - username?: string; - email?: string; - }): RavenStatic; + setExtraContext(extra: { [prop: string]: any }): RavenStatic; - /** Override the default HTTP data transport handler. */ - setTransport(transportFunction: (options: RavenTransportOptions) => void): RavenStatic; + /** + * Add additional tags to be sent along with payloads. + * @param tags A key/value-pair which will be added + */ + setTagsContext(tags: { [id: string]: string }): RavenStatic; - /** An event id is a globally unique id for the event that was just sent. This event id can be used to find the exact event from within Sentry. */ + /** + * Clear the whole currently set context. + */ + clearContext(): RavenStatic; + + /** + * Get a copy of the current context. + */ + getContext(): Object; + + /** + * Set environment of application + * @param environment Typically something like 'production' + */ + setEnvironment(environment: string): RavenStatic; + + /** + * Set release version of application + * @param release Typically something like a git SHA to identify the current version + */ + setRelease(release: string): RavenStatic; + + /** + * Specify a function that can mutate the payload right before it is being sent to Sentry. + * @param callback The function which can mutate the data + */ + setDataCallback(callback: (data: any, orig?: string) => any): RavenStatic; + + /** + * Specify a callback function that can mutate or filter breadcrumbs when they are captured. + * @param callback The function which applies the filter + */ + setBreadcrumbCallback(callback :(data: any, orig?: string) => any): RavenStatic; + + /** + * Specify a callback function that determines if the given message should be sent to Sentry. + * @param callback The function which determines if the given blob should be sent + */ + setShouldSendCallback(callback: (data: any, orig?: string) => boolean): RavenStatic; + + /** + * Override the default HTTP data transport handler. + * @param transport The function which will be invoked to handle the data transmission + */ + setTransport(transport: (options: RavenTransportOptions) => void): RavenStatic; + + /** + * Get the latest raw exception that was captured by Raven. + */ + lastException(): Error; + + /** + * Get the ID of the last Event captured by Raven. + */ lastEventId(): string; - /** If you need to conditionally check if raven needs to be initialized or not, you can use the isSetup function. It will return true if Raven is already initialized. */ + /** + * Determine if Raven is setup and ready to go. + */ isSetup(): boolean; - showReportDialog(options: RavenOptions): void; + /** + * Show the User Feedback Dialog of Sentry + * @param RavenReportDialogOptions Optional Options to set for the User Feedback + */ + showReportDialog(options?: RavenReportDialogOptions): void; +} - setTagsContext(tags: { [id: string]: string; }): void; - setExtraContext(context: any): void; +// --- Helper Interfaces for Options -------------- +interface RavenBreadcrumOptions { + /** Whether to collect XHR calls, defaults to true */ + xhr?: boolean; + + /** Whether to collect console logs, defaults to true */ + console?: boolean; + + /** Whether to collect dom events, defaults to true */ + dom?: boolean; + + /** Whether to record window location and navigation, defaults to true */ + location?: boolean; +} + +interface CommonRavenOptions { + /** The environment of the application you are monitoring with Sentry */ + environment?: string; + + /** The release version of the application you are monitoring with Sentry */ + release?: string; + + /** Additional key/value-data to be tagged onto the error. */ + tags?: { [id: string]: string }; + + /** Additional, arbitrary metadata to collect */ + extra?: { [prop: string]: any }; + + /** The name of the logger used by Sentry. Default: javascript */ + logger?: string; + + /** set to true to get the strack trace of your message */ + stacktrace?: boolean; +} + +interface RavenOptions extends CommonRavenOptions { + /** The name of the server or device that the client is running on */ + server_name?: string; + + /** The log level associated with this event. Default: error */ + level?: string; + + /** In some cases you may see issues where Sentry groups multiple events together when they + * should be separate entities. In other cases, Sentry simply doesn’t group events together + * because they’re so sporadic that they never look the same. */ + fingerprint?: string[]; + + /** Number of frames to trim off the stacktrace. Default: 1 */ + trimHeadFrames?: number; + + /** The name of the device platform. Default: "javascript" */ + platform?: string; +} + +interface RavenGlobalOptions extends CommonRavenOptions { + /** The name of the server or device that the client is running on */ + serverName?: string; + + /** Configures which breadcrumbs are collected automatically */ + autoBreadcrumbs?: boolean | RavenBreadcrumOptions; + + /** Whether to collect errors on the window via TraceKit.collectWindowErrors. Default: true. */ + collectWindowErrors?: boolean; + + /** Max number of breadcrumbs to collect. Default: 100 */ + maxBreadcrumbs?: number; + + /** Exclude messages which match one of the given RegEx-Patterns from being sent to Sentry. */ + ignoreErrors?: (RegExp | string)[]; + + /** Exclude messages which come from whole urls matching one of the given RegEx patterns. */ + ignoreUrls?: (RegExp | string)[]; + + /** Only report messages which come from whole urls matching one of the given RegEx patterns. */ + whitelistUrls?: (RegExp | string)[]; + + /** An array of RegEx patterns to indicate which urls are a part of your app. */ + includePaths?: (RegExp | string)[]; + + /** Maximum amount of stack frames to collect. Default: Infinity */ + stackTraceLimit?: number; + + /** Override the default HTTP data transport handler. */ + transport?: (options: RavenTransportOptions) => void; + + /** Limit the maxium length of a message to this number of characters. Default: Infinity */ + maxMessageLength?: number; + + /** Allows you to apply your own filters to determine if the message should be sent to Sentry. */ + shouldSendCallback?: (data: any) => boolean; + + /** A function which allows mutation of the data payload right before being sent to Sentry */ + dataCallback?: (data: any) => any; +} + +interface RavenWrapOptions extends RavenOptions { + /** Whether to run the wrap recursively. Default: false. */ + deep?: boolean; } interface RavenTransportOptions { @@ -218,6 +311,32 @@ interface RavenTransportOptions { onFailure: () => void; } +interface RavenReportDialogOptions { + eventId?: number, + dsn?: string, + user?: { + name?: string, + email?: string + } +} + + +// --- Helper Interfaces for complex Data Structures -------------- interface RavenPlugin { (raven: RavenStatic, ...args: any[]): RavenStatic; } + +interface RavenUserContext { + id?: string; + username?: string; + email?: string; + ip_address?: string; + extra?: { [prop: string]: any }; +} + +interface RavenBreadcrumb { + message: string; + data: { [id: string]: string }; + category: string; + level: string; +} From 861c2abc61efdc93cebc5387233e226dead003e3 Mon Sep 17 00:00:00 2001 From: Luca Vazzano Date: Fri, 13 Jan 2017 00:46:01 +0100 Subject: [PATCH 024/613] fixed tests --- raven-js/index.d.ts | 28 ++++++++-------- raven-js/raven-js-tests.ts | 67 +++++++++++++++++++++----------------- 2 files changed, 51 insertions(+), 44 deletions(-) diff --git a/raven-js/index.d.ts b/raven-js/index.d.ts index fda465c30d..ddb5e8503d 100644 --- a/raven-js/index.d.ts +++ b/raven-js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Raven.js +// Type definitions for Raven.js // Project: https://github.com/getsentry/raven-js // Original Definitions by: Santi Albo , Benjamin Pannell // ; DefinitelyTyped @@ -8,8 +8,8 @@ // , Luca Vazzano -declare var Raven: RavenStatic; -export = Raven; +declare let Raven: RavenStatic; +export default Raven; interface RavenStatic { /** Raven.js version. */ @@ -43,7 +43,7 @@ interface RavenStatic { * * @param dsn The public Sentry DSN */ - setDSN(dsn: string); + setDSN(dsn: string): RavenStatic; /** * Installs a global window.onerror error handler to capture and report uncaught exceptions. @@ -200,7 +200,7 @@ interface RavenStatic { // --- Helper Interfaces for Options -------------- -interface RavenBreadcrumOptions { +export interface RavenBreadcrumOptions { /** Whether to collect XHR calls, defaults to true */ xhr?: boolean; @@ -214,7 +214,7 @@ interface RavenBreadcrumOptions { location?: boolean; } -interface CommonRavenOptions { +export interface CommonRavenOptions { /** The environment of the application you are monitoring with Sentry */ environment?: string; @@ -234,7 +234,7 @@ interface CommonRavenOptions { stacktrace?: boolean; } -interface RavenOptions extends CommonRavenOptions { +export interface RavenOptions extends CommonRavenOptions { /** The name of the server or device that the client is running on */ server_name?: string; @@ -253,7 +253,7 @@ interface RavenOptions extends CommonRavenOptions { platform?: string; } -interface RavenGlobalOptions extends CommonRavenOptions { +export interface RavenGlobalOptions extends CommonRavenOptions { /** The name of the server or device that the client is running on */ serverName?: string; @@ -294,12 +294,12 @@ interface RavenGlobalOptions extends CommonRavenOptions { dataCallback?: (data: any) => any; } -interface RavenWrapOptions extends RavenOptions { +export interface RavenWrapOptions extends RavenOptions { /** Whether to run the wrap recursively. Default: false. */ deep?: boolean; } -interface RavenTransportOptions { +export interface RavenTransportOptions { url: string; data: any; auth: { @@ -311,7 +311,7 @@ interface RavenTransportOptions { onFailure: () => void; } -interface RavenReportDialogOptions { +export interface RavenReportDialogOptions { eventId?: number, dsn?: string, user?: { @@ -322,11 +322,11 @@ interface RavenReportDialogOptions { // --- Helper Interfaces for complex Data Structures -------------- -interface RavenPlugin { +export interface RavenPlugin { (raven: RavenStatic, ...args: any[]): RavenStatic; } -interface RavenUserContext { +export interface RavenUserContext { id?: string; username?: string; email?: string; @@ -334,7 +334,7 @@ interface RavenUserContext { extra?: { [prop: string]: any }; } -interface RavenBreadcrumb { +export interface RavenBreadcrumb { message: string; data: { [id: string]: string }; category: string; diff --git a/raven-js/raven-js-tests.ts b/raven-js/raven-js-tests.ts index 9608e41322..bbd3285e1e 100644 --- a/raven-js/raven-js-tests.ts +++ b/raven-js/raven-js-tests.ts @@ -1,24 +1,24 @@ - - import RavenJS from 'raven-js'; RavenJS.config('https://public@getsentry.com/1').install(); -var options: RavenOptions = { - logger: 'my-logger', - ignoreUrls: [ - /graph\.facebook\.com/i - ], - ignoreErrors: [ - 'fb_xd_fragment' - ], - includePaths: [ - /https?:\/\/(www\.)?getsentry\.com/, - /https?:\/\/d3nslu0hdya83q\.cloudfront\.net/ - ] -}; -Raven.config('https://public@getsentry.com/1', options).install(); +RavenJS.config( + 'https://public@getsentry.com/1', + { + logger: 'my-logger', + ignoreUrls: [ + /graph\.facebook\.com/i + ], + ignoreErrors: [ + 'fb_xd_fragment' + ], + includePaths: [ + /https?:\/\/(www\.)?getsentry\.com/, + /https?:\/\/d3nslu0hdya83q\.cloudfront\.net/ + ] + } +).install(); var throwsError = () => { throw new Error('broken'); @@ -27,28 +27,35 @@ var throwsError = () => { try { throwsError(); } catch(e) { - Raven.captureException(e); - Raven.captureException(e, {tags: { key: "value" }}); + RavenJS.captureException(e); + RavenJS.captureException(e, {tags: { key: "value" }}); } -Raven.context(throwsError); -Raven.context({tags: { key: "value" }}, throwsError); -Raven.context({extra: {planet: {name: 'Earth'}}}, throwsError); +RavenJS.context(throwsError); +RavenJS.context({tags: { key: "value" }}, throwsError); +RavenJS.context({extra: {planet: {name: 'Earth'}}}, throwsError); -setTimeout(Raven.wrap(throwsError), 1000); -Raven.wrap({logger: "my.module"}, throwsError)(); -Raven.wrap({tags: {git_commit: 'c0deb10c4'}}, throwsError)(); +setTimeout(RavenJS.wrap(throwsError), 1000); +RavenJS.wrap({logger: "my.module"}, throwsError)(); +RavenJS.wrap({tags: {git_commit: 'c0deb10c4'}}, throwsError)(); -Raven.setUserContext({ +RavenJS.setUserContext({ email: 'matt@example.com', id: '123' }); -Raven.captureMessage('Broken!'); -Raven.captureMessage('Broken!', {tags: { key: "value" }}); +RavenJS.captureMessage('Broken!'); +RavenJS.captureMessage('Broken!', {tags: { key: "value" }}); -Raven.showReportDialog(options); +RavenJS.showReportDialog({ + eventId: 0815, + dsn:'1337asdf', + user: { + name: 'DefenitelyTyped', + email: 'df@ts.ms' + } +}); -Raven.setTagsContext({ key: "value" }); +RavenJS.setTagsContext({ key: "value" }); -Raven.setExtraContext({ foo: "bar" }); +RavenJS.setExtraContext({ foo: "bar" }); From 9ef1ed01256fc403e35fb4cb756310d3df2e658c Mon Sep 17 00:00:00 2001 From: Luca Vazzano Date: Fri, 13 Jan 2017 00:54:16 +0100 Subject: [PATCH 025/613] fixed BOM --- raven-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raven-js/index.d.ts b/raven-js/index.d.ts index ddb5e8503d..b264b9d786 100644 --- a/raven-js/index.d.ts +++ b/raven-js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Raven.js +// Type definitions for Raven.js // Project: https://github.com/getsentry/raven-js // Original Definitions by: Santi Albo , Benjamin Pannell // ; DefinitelyTyped From e1bd300cd1d205dbcf4709c0f3d25d2413123cd6 Mon Sep 17 00:00:00 2001 From: Luca Vazzano Date: Fri, 13 Jan 2017 01:20:04 +0100 Subject: [PATCH 026/613] fixed 'Definitions:'/'Definitions by:' comment at the top of raven-js/index.d.ts --- raven-js/index.d.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/raven-js/index.d.ts b/raven-js/index.d.ts index b264b9d786..7b54ec7372 100644 --- a/raven-js/index.d.ts +++ b/raven-js/index.d.ts @@ -1,11 +1,7 @@ // Type definitions for Raven.js // Project: https://github.com/getsentry/raven-js -// Original Definitions by: Santi Albo , Benjamin Pannell -// ; DefinitelyTyped -// Updated by: Ben Vinegar , Ilya Pirogov -// , Eli White , David Cramer -// , Connor Peet , comaz -// , Luca Vazzano +// Definitions by: Santi Albo , Benjamin Pannell , Gary Blackwood , Rich Rout , Ben Vinegar , Ilya Pirogov , Eli White , David Cramer , Connor Peet , comaz , Luca Vazzano +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare let Raven: RavenStatic; From 004db1e2c6dd5795264b2e98e67f0a579f44d42d Mon Sep 17 00:00:00 2001 From: Alexey Svetliakov Date: Fri, 13 Jan 2017 05:09:16 +0100 Subject: [PATCH 027/613] Added mockReset() --- jest/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/jest/index.d.ts b/jest/index.d.ts index 020376004b..acfe70a0f6 100644 --- a/jest/index.d.ts +++ b/jest/index.d.ts @@ -209,6 +209,7 @@ declare namespace jest { interface MockInstance { mock: MockContext; mockClear(): void; + mockReset(): void; mockImplementation(fn: Function): Mock; mockImplementationOnce(fn: Function): Mock; mockReturnThis(): Mock; From 6751a3d2591ade7eea6494c5ff8ee75ce1f0a099 Mon Sep 17 00:00:00 2001 From: Hinell Date: Fri, 13 Jan 2017 23:58:36 +0300 Subject: [PATCH 028/613] [mongodb] Cursor generic type --- mongodb/index.d.ts | 61 +++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index bdf89c32f6..e22b837d79 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -692,9 +692,9 @@ export interface Collection { options(): Promise; options(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#parallelCollectionScan - parallelCollectionScan(callback: MongoCallback): void; - parallelCollectionScan(options?: ParallelCollectionScanOptions): Promise; - parallelCollectionScan(options: ParallelCollectionScanOptions, callback: MongoCallback): void; + parallelCollectionScan(callback: MongoCallback[]>): void; + parallelCollectionScan(options?: ParallelCollectionScanOptions): Promise[]>; + parallelCollectionScan(options: ParallelCollectionScanOptions, callback: MongoCallback[]>): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#reIndex reIndex(): Promise; reIndex(callback: MongoCallback): void; @@ -1119,24 +1119,25 @@ export interface WriteOpResult { export type CursorResult = any | void | boolean; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html -export interface Cursor extends Readable { +export interface Cursor extends Readable { sortValue: string; timeout: boolean; readPreference: ReadPreference; - //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html - addCursorFlag(flag: string, value: boolean): Cursor; + //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#addCursorFlag + addCursorFlag(flag: string, value: boolean): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#addQueryModifier - addQueryModifier(name: string, value: boolean): Cursor; + addQueryModifier(name: string, value: boolean): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#batchSize - batchSize(value: number): Cursor; + batchSize(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#clone - clone(): Cursor; + // https://github.com/christkv/mongodb-core/blob/2.0/lib/cursor.js#L333 + clone(): Cursor; // still returns the same type // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#close close(): Promise; close(callback: MongoCallback): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#comment - comment(value: string): Cursor; + comment(value: string): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#count count(applySkipLimit: boolean, callback: MongoCallback): void; count(applySkipLimit: boolean, options?: CursorCommentOptions): Promise; @@ -1145,59 +1146,59 @@ export interface Cursor extends Readable { explain(): Promise; explain(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#filter - filter(filter: Object): Cursor; + filter(filter: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#forEach forEach(iterator: IteratorCallback, callback: EndCallback): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#hasNext hasNext(): Promise; hasNext(callback: MongoCallback): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#hint - hint(hint: Object): Cursor; + hint(hint: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#isClosed isClosed(): boolean; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#limit - limit(value: number): Cursor; + limit(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#map - map(transform: Function): Cursor; + map(transform: Function): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#max - max(max: number): Cursor; + max(max: number): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#maxAwaitTimeMS - maxAwaitTimeMS(value: number): Cursor; + maxAwaitTimeMS(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#maxScan - maxScan(maxScan: Object): Cursor; + maxScan(maxScan: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#maxTimeMS - maxTimeMS(value: number): Cursor; + maxTimeMS(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#min - min(min: number): Cursor; + min(min: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#next next(): Promise; next(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#pipe pipe(destination: Writable, options?: Object): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#project - project(value: Object): Cursor; + project(value: Object): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#read read(size: number): string | Buffer | void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#next - returnKey(returnKey: Object): Cursor; + returnKey(returnKey: Object): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#rewind rewind(): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setCursorOption - setCursorOption(field: string, value: Object): Cursor; + setCursorOption(field: string, value: Object): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setEncoding setEncoding(encoding: string): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setReadPreference - setReadPreference(readPreference: string | ReadPreference): Cursor; + setReadPreference(readPreference: string | ReadPreference): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#showRecordId - showRecordId(showRecordId: Object): Cursor; + showRecordId(showRecordId: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#skip - skip(value: number): Cursor; + skip(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#snapshot - snapshot(snapshot: Object): Cursor; + snapshot(snapshot: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#sort - sort(keyOrList: string | Object[] | Object | Object, direction?: number): Cursor; + sort(keyOrList: string | Object[] | Object, direction?: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#stream - stream(options?: { transform?: Function }): Cursor; + stream(options?: { transform?: Function }): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#toArray toArray(): Promise; toArray(callback: MongoCallback): void; @@ -1228,7 +1229,7 @@ export interface EndCallback { //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#~resultCallback export type AggregationCursorResult = any | void; - +// TODO: change to generic version //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html export interface AggregationCursor extends Readable { // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#batchSize @@ -1332,7 +1333,7 @@ export class GridFSBucket { // http://mongodb.github.io/node-mongodb-native/2.1/api/GridFSBucket.html#drop drop(callback?: GridFSBucketErrorCallback): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/GridFSBucket.html#find - find(filter?: Object, options?: GridFSBucketFindOptions): Cursor; + find(filter?: Object, options?: GridFSBucketFindOptions): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/GridFSBucket.html#openDownloadStream openDownloadStream(id: ObjectID, options?: { start: number, end: number }): GridFSBucketReadStream; // http://mongodb.github.io/node-mongodb-native/2.1/api/GridFSBucket.html#openDownloadStreamByName From e671c82e069a1911127a391a9987ed99dcf73282 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 14 Jan 2017 00:45:53 +0300 Subject: [PATCH 029/613] [mongodb] Collection.find() generic type --- mongodb/index.d.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index e22b837d79..6233145741 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -616,9 +616,10 @@ export interface Collection { dropIndexes(): Promise; dropIndexes(callback?: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#find - find(query?: Object): Cursor; + find(query?: Object): Cursor; + find(query?: Object): Cursor; /** @deprecated */ - find(query: Object, fields?: Object, skip?: number, limit?: number, timeout?: number): Cursor; + find(query: Object, fields?: Object, skip?: number, limit?: number, timeout?: number): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#findOne /** @deprecated use find().limit(1).next(function(err, doc){}) */ findOne(filter: Object, callback: MongoCallback): void; @@ -1200,7 +1201,7 @@ export interface Cursor extends Readable { // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#stream stream(options?: { transform?: Function }): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#toArray - toArray(): Promise; + toArray(): Promise; toArray(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#unpipe unpipe(destination?: Writable): void; From f0a7695c9afe3f3aabe2af23aab430d635316777 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 14 Jan 2017 01:27:27 +0300 Subject: [PATCH 030/613] [mongodb] Collection.aggregate() generic type --- mongodb/index.d.ts | 90 +++++++++++++++++++++++----------------------- 1 file changed, 46 insertions(+), 44 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index 6233145741..5b5c8de876 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -576,8 +576,10 @@ export interface Collection { // Get current index hint for collection. hint: any; //http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#aggregate - aggregate(pipeline: Object[], callback: MongoCallback): AggregationCursor; - aggregate(pipeline: Object[], options?: CollectionAggregationOptions, callback?: MongoCallback): AggregationCursor; + aggregate(pipeline: Object[], callback: MongoCallback): AggregationCursor; + aggregate(pipeline: Object[], options?: CollectionAggregationOptions, callback?: MongoCallback): AggregationCursor; + aggregate(pipeline: Object[], callback: MongoCallback): AggregationCursor; + aggregate(pipeline: Object[], options?: CollectionAggregationOptions, callback?: MongoCallback): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#bulkWrite bulkWrite(operations: Object[], callback: MongoCallback): void; bulkWrite(operations: Object[], options?: CollectionBluckWriteOptions): Promise; @@ -1232,61 +1234,61 @@ export interface EndCallback { export type AggregationCursorResult = any | void; // TODO: change to generic version //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html -export interface AggregationCursor extends Readable { - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#batchSize - batchSize(value: number): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#clone - clone(): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#close +export interface AggregationCursor extends Readable { + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#batchSize + batchSize(value: number): AggregationCursor; + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#clone + clone(): AggregationCursor; + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#close close(): Promise; close(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#each + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#each each(callback: MongoCallback): void; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#explain + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#explain explain(): Promise; explain(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#geoNear - geoNear(document: Object): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#group - group(document: Object): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#isClosed + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#geoNear + geoNear(document: Object): AggregationCursor; + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#group + group(document: Object): AggregationCursor; + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#isClosed isClosed(): boolean; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#limit - limit(value: number): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#match - match(document: Object): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#maxTimeMS - maxTimeMS(value: number): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#next + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#limit + limit(value: number): AggregationCursor; + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#match + match(document: Object): AggregationCursor; + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#maxTimeMS + maxTimeMS(value: number): AggregationCursor; + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#next next(): Promise; next(callback: MongoCallback): void; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#out - out(destination: string): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#pipe + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#out + out(destination: string): AggregationCursor; + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#pipe pipe(destination: Writable, options?: Object): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#project - project(document: Object): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#read + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#project + project(document: Object): AggregationCursor; + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#read read(size: number): string | Buffer | void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#redact - redact(document: Object): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#rewind - rewind(): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#setEncoding + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#redact + redact(document: Object): AggregationCursor; + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#rewind + rewind(): AggregationCursor; + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#setEncoding setEncoding(encoding: string): void; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#skip - skip(value: number): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#sort - sort(document: Object): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#toArray - toArray(): Promise; - toArray(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unpipe + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#skip + skip(value: number): AggregationCursor; + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#sort + sort(document: Object): AggregationCursor; + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#toArray + toArray(): Promise; + toArray(callback: MongoCallback): void; + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unpipe unpipe(destination?: Writable): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unshift + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unshift unshift(stream: Buffer | string): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unwind - unwind(field: string): AggregationCursor; + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unwind + unwind(field: string): AggregationCursor; } //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html From 22faaeb4bf4492987e64d5e835900546ddc5b75a Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 14 Jan 2017 01:39:14 +0300 Subject: [PATCH 031/613] [mongodb] Generics test, Cursor.methods() test --- mongodb/mongodb-tests.ts | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/mongodb/mongodb-tests.ts b/mongodb/mongodb-tests.ts index cea5175e69..8236ea6f4e 100644 --- a/mongodb/mongodb-tests.ts +++ b/mongodb/mongodb-tests.ts @@ -25,4 +25,44 @@ MongoClient.connect('mongodb://127.0.0.1:27017/test', function(err: mongodb.Mong console.log(stats.count + " documents"); }); }); + + { + let cursor: mongodb.Cursor; + cursor = collection.find(); + cursor = cursor.addCursorFlag('',true); + cursor = cursor.addQueryModifier('',true); + cursor = cursor.batchSize(1); + cursor = cursor.comment(''); + cursor = cursor.filter(1); + cursor = cursor.hint({}); + cursor = cursor.limit(1); + cursor = cursor.map(function (result) {}); + cursor = cursor.max(1); + cursor = cursor.min(1); + cursor = cursor.maxAwaitTimeMS(1); + cursor = cursor.maxScan({}); + cursor = cursor.maxTimeMS(1); + cursor = cursor.project({}); + cursor = cursor.returnKey({}); + cursor = cursor.setCursorOption('',{}); + cursor = cursor.setReadPreference(''); + cursor = cursor.showRecordId({}); + cursor = cursor.skip(1); + cursor = cursor.snapshot({}); + cursor = cursor.sort({}); + cursor = cursor.stream(); + } + + // Collection .findM() & .agggregate() generic tests + { + let bag : {cost: number, color: string}; + type bag = typeof bag; + let cursor: mongodb.Cursor = collection.find({color: 'black'}) + cursor.toArray(function (err,r) { bag = r[0]}); + } + { + let payment: {total: number}; + type payment = typeof payment; + let cursor: mongodb.AggregationCursor = collection.aggregate([{}]) + } }) From a411c9ee5d4569e8d0dbb30c99f8b3f802224ef0 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 14 Jan 2017 01:51:34 +0300 Subject: [PATCH 032/613] [mongodb] Cursor.forEach generic type --- mongodb/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index 5b5c8de876..d97c65b342 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -1151,7 +1151,7 @@ export interface Cursor extends Readable { //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#filter filter(filter: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#forEach - forEach(iterator: IteratorCallback, callback: EndCallback): void; + forEach(iterator: IteratorCallback, callback: EndCallback): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#hasNext hasNext(): Promise; hasNext(callback: MongoCallback): void; @@ -1221,8 +1221,8 @@ export interface CursorCommentOptions { } //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#~iteratorCallback -export interface IteratorCallback { - (doc: any): void; +export interface IteratorCallback { + (doc: T): void; } //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#~endCallback From 1f65c0665d871735fd87dc4fe4ade0b93a613059 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 14 Jan 2017 02:13:58 +0300 Subject: [PATCH 033/613] [mongodb] Cusros.toArray() generic override --- mongodb/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index d97c65b342..10c84b210c 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -1204,7 +1204,7 @@ export interface Cursor extends Readable { stream(options?: { transform?: Function }): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#toArray toArray(): Promise; - toArray(callback: MongoCallback): void; + toArray(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#unpipe unpipe(destination?: Writable): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#unshift From 39f79329e572da014e455c99aef26071a369b532 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 14 Jan 2017 02:27:49 +0300 Subject: [PATCH 034/613] [mongodb] Doc listing fix --- mongodb/index.d.ts | 50 +++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index 10c84b210c..42380c39c2 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -1235,59 +1235,59 @@ export type AggregationCursorResult = any | void; // TODO: change to generic version //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html export interface AggregationCursor extends Readable { - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#batchSize + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#batchSize batchSize(value: number): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#clone + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#clone clone(): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#close + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#close close(): Promise; close(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#each + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#each each(callback: MongoCallback): void; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#explain + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#explain explain(): Promise; explain(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#geoNear + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#geoNear geoNear(document: Object): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#group + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#group group(document: Object): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#isClosed + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#isClosed isClosed(): boolean; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#limit + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#limit limit(value: number): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#match + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#match match(document: Object): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#maxTimeMS + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#maxTimeMS maxTimeMS(value: number): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#next + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#next next(): Promise; next(callback: MongoCallback): void; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#out + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#out out(destination: string): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#pipe + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#pipe pipe(destination: Writable, options?: Object): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#project + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#project project(document: Object): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#read + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#read read(size: number): string | Buffer | void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#redact + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#redact redact(document: Object): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#rewind + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#rewind rewind(): AggregationCursor; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#setEncoding + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#setEncoding setEncoding(encoding: string): void; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#skip + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#skip skip(value: number): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#sort + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#sort sort(document: Object): AggregationCursor; - // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#toArray + // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#toArray toArray(): Promise; toArray(callback: MongoCallback): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unpipe + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unpipe unpipe(destination?: Writable): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unshift + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unshift unshift(stream: Buffer | string): void; - //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unwind + //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unwind unwind(field: string): AggregationCursor; } From 771ef63514fb41176875407fb93a540c162e9e33 Mon Sep 17 00:00:00 2001 From: scippio Date: Sat, 14 Jan 2017 00:31:01 +0100 Subject: [PATCH 035/613] added new option parameter added new option parameter for new package version compatibility --- cron/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cron/index.d.ts b/cron/index.d.ts index e962a9eb27..79a5b96a01 100644 --- a/cron/index.d.ts +++ b/cron/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for cron 1.0.9 +// Type definitions for cron 1.2.1 // Project: https://www.npmjs.com/package/cron // Definitions by: Hiroki Horiuchi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -6,9 +6,9 @@ interface CronJobStatic { - new (cronTime: string | Date, onTick: () => void, onComplete?: () => void, start?: boolean, timeZone?: string, context?: any): CronJob; + new (cronTime: string | Date, onTick: () => void, onComplete?: () => void, start?: boolean, timeZone?: string, context?: any, runOnInit?: boolean): CronJob; new (options: { - cronTime: string | Date; onTick: () => void; onComplete?: () => void; start?: boolean; timeZone?: string; context?: any + cronTime: string | Date; onTick: () => void; onComplete?: () => void; start?: boolean; timeZone?: string; context?: any; runOnInit?: boolean }): CronJob; } interface CronJob { From ee373b10745c1324ebc30d6c302ccc10cc6d6786 Mon Sep 17 00:00:00 2001 From: Cyril Schumacher Date: Sat, 14 Jan 2017 21:13:18 +0100 Subject: [PATCH 036/613] Add definitions for shipit, shipit-utils and express-rate-limit. --- .../express-rate-limit-tests.ts | 25 ++++++++ express-rate-limit/index.d.ts | 37 +++++++++++ express-rate-limit/tsconfig.json | 20 ++++++ shipit-utils/index.d.ts | 22 +++++++ shipit-utils/shipit-utils-tests.ts | 11 ++++ shipit-utils/tsconfig.json | 20 ++++++ shipit/index.d.ts | 61 +++++++++++++++++++ shipit/shipit-cli-tests.ts | 50 +++++++++++++++ shipit/tsconfig.json | 20 ++++++ 9 files changed, 266 insertions(+) create mode 100644 express-rate-limit/express-rate-limit-tests.ts create mode 100644 express-rate-limit/index.d.ts create mode 100644 express-rate-limit/tsconfig.json create mode 100644 shipit-utils/index.d.ts create mode 100644 shipit-utils/shipit-utils-tests.ts create mode 100644 shipit-utils/tsconfig.json create mode 100644 shipit/index.d.ts create mode 100644 shipit/shipit-cli-tests.ts create mode 100644 shipit/tsconfig.json diff --git a/express-rate-limit/express-rate-limit-tests.ts b/express-rate-limit/express-rate-limit-tests.ts new file mode 100644 index 0000000000..761a6d23f8 --- /dev/null +++ b/express-rate-limit/express-rate-limit-tests.ts @@ -0,0 +1,25 @@ +import RateLimit = require("express-rate-limit"); + +var apiLimiter = new RateLimit({ + windowMs: 15 * 60 * 1000, // 15 minutes + max: 100, + delayMs: 0 // disabled +}); + +var createAccountLimiter = new RateLimit({ + windowMs: 60 * 60 * 1000, // 1 hour window + delayAfter: 1, // begin slowing down responses after the first request + delayMs: 3 * 1000, // slow down subsequent responses by 3 seconds per request + max: 5, // start blocking after 5 requests + message: "Too many accounts created from this IP, please try again after an hour" +}); + +class SomeStore implements RateLimit.Store { + incr(key: string, cb: RateLimit.StoreIncrementCallback) { } + resetAll() { } + resetKey(key: string) { }; +}; + +var limiterWithStore = new RateLimit({ + store: new SomeStore() +}); diff --git a/express-rate-limit/index.d.ts b/express-rate-limit/index.d.ts new file mode 100644 index 0000000000..57eb003694 --- /dev/null +++ b/express-rate-limit/index.d.ts @@ -0,0 +1,37 @@ +// Type definitions for express-rate-limit 2.6.0 +// Project: https://github.com/nfriedly/express-rate-limit +// Definitions by: Cyril Schumacher +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +import express = require("express"); + +declare namespace RateLimit { + type StoreIncrementCallback = (err?: {}, hits?: number) => void; + + export interface Store { + incr: (key: string, cb: StoreIncrementCallback) => void; + resetAll: () => void; + resetKey: (key: string) => void; + } + + export interface Options { + delayAfter?: number; + delayMs?: number; + headers?: boolean; + keyGenerator?: Function; + max?: number; + message?: string; + statusCode?: number; + store?: Store; + windowMs?: number; + } +} + +interface RateLimitStatic { + new(options: RateLimit.Options): express.RequestHandler; +} + +declare var RateLimit: RateLimitStatic; +export = RateLimit; diff --git a/express-rate-limit/tsconfig.json b/express-rate-limit/tsconfig.json new file mode 100644 index 0000000000..560edfef9d --- /dev/null +++ b/express-rate-limit/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "express-rate-limit-tests.ts" + ] +} diff --git a/shipit-utils/index.d.ts b/shipit-utils/index.d.ts new file mode 100644 index 0000000000..a66b681c37 --- /dev/null +++ b/shipit-utils/index.d.ts @@ -0,0 +1,22 @@ +// Type definitions for shipit-utils 1.4.0 +// Project: https://github.com/shipitjs/shipit-utils +// Definitions by: Cyril Schumacher +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +declare module "shipit-utils" { + import shipit = require("shipit-cli"); + + type GruntOrShipit = typeof shipit | {}; + + export function equalValues(value: any[]): void; + + export function getShipit(gruntOrShipit: GruntOrShipit): typeof shipit; + export function getShipit(gruntOrShipit: GruntOrShipit): typeof shipit; + + export function registerTask(gruntOrShipit: GruntOrShipit, name: string, task: Function): typeof shipit; + export function registerTask(gruntOrShipit: GruntOrShipit, name: string, dependencies: string[]): typeof shipit; + + export function runTask(gruntOrShipit: {}): void; +} diff --git a/shipit-utils/shipit-utils-tests.ts b/shipit-utils/shipit-utils-tests.ts new file mode 100644 index 0000000000..15f0d5547b --- /dev/null +++ b/shipit-utils/shipit-utils-tests.ts @@ -0,0 +1,11 @@ +import shipit = require("shipit-cli"); +import utils = require("shipit-utils"); + +var originalShipit = utils.getShipit(shipit); + +var task = () => { + return shipit.local("sleep 10s"); +}; + +utils.registerTask(originalShipit, "myTask", task); +utils.registerTask(originalShipit, "myTask", ["some", "other", "tasks"]); diff --git a/shipit-utils/tsconfig.json b/shipit-utils/tsconfig.json new file mode 100644 index 0000000000..fa4b1ce3b6 --- /dev/null +++ b/shipit-utils/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "shipit-utils-tests.ts" + ] +} diff --git a/shipit/index.d.ts b/shipit/index.d.ts new file mode 100644 index 0000000000..e0a528a2f2 --- /dev/null +++ b/shipit/index.d.ts @@ -0,0 +1,61 @@ +// Type definitions for shipit 1.5.1 +// Project: https://github.com/shipitjs/shipit +// Definitions by: Cyril Schumacher +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +declare module "shipit-cli" { + import shipit = require("shipit-cli"); + + import * as fs from "fs"; + import * as child_process from "child_process"; + + type LocalOrRemoteCommand = (command: string, options?: child_process.ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void) => PromiseLike; + type TaskExecution = (name: string, depsOrFn: string[] | Function, fn: Function) => any; + + export interface Options { + environment: string; + stderr: fs.WriteStream; + stdout: fs.WriteStream; + } + + export interface ShipitLocal { + child: child_process.ChildProcess; + stderr: fs.WriteStream; + stdout: fs.WriteStream; + } + + export interface Tasks { + [name: string]: Task; + } + + export interface Task { + blocking: boolean; + dep: string[]; + fn: Function; + name: string; + } + + export function blTask(name: string, depsOrFn: string[] | Function, fn?: Function): any; + export function emit(name: string): any; + export function initConfig(config: {}): typeof shipit; + export function local(command: string, options?: child_process.ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): PromiseLike; + export function log(log: any): void; + export function log(...log: any[]): void; + export function on(name: string, callback: Function): any; + export function remote(command: string, options?: child_process.ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): PromiseLike; + export function remoteCopy(src: string, dest: string, options?: child_process.ExecOptions, callback?: (error: Error, stdout: string, stderr: string) => void): PromiseLike; + export function start(tasks: string): typeof shipit; + export function start(tasks: string[]): typeof shipit; + export function start(...tasks: string[]): typeof shipit; + export function task(name: string, depsOrFn: string[] | Function, fn?: Function): typeof shipit; + + export var config: {}; + export var domain: any; + export var doneCallback: any; + export var environment: string; + export var seq: any[]; + export var tasks: Tasks; + export var isRunning: boolean; +} diff --git a/shipit/shipit-cli-tests.ts b/shipit/shipit-cli-tests.ts new file mode 100644 index 0000000000..50dff54978 --- /dev/null +++ b/shipit/shipit-cli-tests.ts @@ -0,0 +1,50 @@ +import shipit = require("shipit-cli"); + +shipit.initConfig({ + default: { + workspace: "/tmp/github-monitor", + deployTo: "/tmp/deploy_to", + repositoryUrl: "https://github.com/user/repo.git", + ignores: [".git", "node_modules"], + rsync: ["--del"], + keepReleases: 2, + key: "/path/to/key", + shallowClone: true + }, + staging: { + servers: "user@myserver.com" + } +}); + +shipit.task("build", () => { + shipit.emit("built"); +}); + +shipit.on("built", () => { + shipit.start("start-server"); +}); + +shipit.task("pwd", () => { + return shipit.remote("pwd"); +}); + +shipit.blTask("pwd", () => { + return shipit.remote("pwd"); +}); + +shipit.start("task"); +shipit.start("task1", "task2"); +shipit.start(["task1", "task2"]); + +shipit.local("ls -lah", {cwd: "/tmp/deploy/workspace"}).then((res: any) => { + console.log(res.stdout); + console.log(res.stderr); +}); + +shipit.remote("ls -lah").then((res: any) => { + console.log(res[0].stdout); + console.log(res[0].stderr); +}); + +shipit.remoteCopy("/tmp/workspace", "/opt/web/myapp").then(() => {}); +shipit.log("hello %s", "world"); diff --git a/shipit/tsconfig.json b/shipit/tsconfig.json new file mode 100644 index 0000000000..da7bec35d8 --- /dev/null +++ b/shipit/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "shipit-cli-tests.ts" + ] +} From d4044f0ce56b80c6ed0403ff17305678a85423b2 Mon Sep 17 00:00:00 2001 From: Cyril Schumacher Date: Sat, 14 Jan 2017 21:18:20 +0100 Subject: [PATCH 037/613] Fix definition header for shipit-cli. --- shipit/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shipit/index.d.ts b/shipit/index.d.ts index e0a528a2f2..ab44d7abd8 100644 --- a/shipit/index.d.ts +++ b/shipit/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for shipit 1.5.1 +// Type definitions for shipit-cli 1.5.1 // Project: https://github.com/shipitjs/shipit // Definitions by: Cyril Schumacher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 6c7cd1ed7b83005c26891581f6cffb54eafa63d7 Mon Sep 17 00:00:00 2001 From: Cyril Schumacher Date: Sat, 14 Jan 2017 21:19:11 +0100 Subject: [PATCH 038/613] Rename "shipit-cli-tests" to "shipit-tests". --- shipit/{shipit-cli-tests.ts => shipit-tests.ts} | 0 shipit/tsconfig.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename shipit/{shipit-cli-tests.ts => shipit-tests.ts} (100%) diff --git a/shipit/shipit-cli-tests.ts b/shipit/shipit-tests.ts similarity index 100% rename from shipit/shipit-cli-tests.ts rename to shipit/shipit-tests.ts diff --git a/shipit/tsconfig.json b/shipit/tsconfig.json index da7bec35d8..254ac2d9a5 100644 --- a/shipit/tsconfig.json +++ b/shipit/tsconfig.json @@ -15,6 +15,6 @@ }, "files": [ "index.d.ts", - "shipit-cli-tests.ts" + "shipit-tests.ts" ] } From a443b9c286c175f7ea5a9f19f889f11e6a00e3fb Mon Sep 17 00:00:00 2001 From: Hinell Date: Sun, 15 Jan 2017 02:16:43 +0300 Subject: [PATCH 039/613] [mongodb] Tetsts updated --- mongodb/mongodb-tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mongodb/mongodb-tests.ts b/mongodb/mongodb-tests.ts index 8236ea6f4e..cba7f9a212 100644 --- a/mongodb/mongodb-tests.ts +++ b/mongodb/mongodb-tests.ts @@ -52,13 +52,13 @@ MongoClient.connect('mongodb://127.0.0.1:27017/test', function(err: mongodb.Mong cursor = cursor.sort({}); cursor = cursor.stream(); } - // Collection .findM() & .agggregate() generic tests { let bag : {cost: number, color: string}; type bag = typeof bag; let cursor: mongodb.Cursor = collection.find({color: 'black'}) - cursor.toArray(function (err,r) { bag = r[0]}); + cursor.toArray(function (err,r) { r[0].cost} ); + cursor.forEach(function (bag ) { bag.color }, () => {}); } { let payment: {total: number}; From 040c1365bc12314f7ce49799cd2cdcb8e6c295f5 Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Tue, 17 Jan 2017 12:32:34 +0900 Subject: [PATCH 040/613] Update react-router-redux to user history 4.5.x --- react-router-redux/index.d.ts | 111 ++++++++---------- .../react-router-redux-tests.ts | 20 +++- react-router-redux/tsconfig.json | 17 ++- react-router-redux/tslint.json | 1 + 4 files changed, 76 insertions(+), 73 deletions(-) create mode 100644 react-router-redux/tslint.json diff --git a/react-router-redux/index.d.ts b/react-router-redux/index.d.ts index 16438f9452..a6d3bd8c00 100644 --- a/react-router-redux/index.d.ts +++ b/react-router-redux/index.d.ts @@ -1,65 +1,58 @@ -// Type definitions for react-router-redux v4.0.0 +// Type definitions for react-router-redux 4.0 // Project: https://github.com/rackt/react-router-redux -// Definitions by: Isman Usoh , Noah Shipley , Dimitri Rosenberg +// Definitions by: Isman Usoh , Noah Shipley , Dimitri Rosenberg , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// +import { Action, Middleware, Store } from "redux"; +import { History, Location, LocationDescriptor } from "history"; -import * as Redux from "redux"; -import * as History from "history"; +export const CALL_HISTORY_METHOD: string; +export const LOCATION_CHANGE: string; -export = ReactRouterRedux; - -declare namespace ReactRouterRedux { - import R = Redux; - - const CALL_HISTORY_METHOD: string; - const LOCATION_CHANGE: string; - - const push: PushAction; - const replace: ReplaceAction; - const go: GoAction; - const goBack: GoForwardAction; - const goForward: GoBackAction; - const routerActions: RouteActions; - - type LocationDescriptor = History.LocationDescriptor; - type PushAction = (nextLocation: LocationDescriptor) => RouterAction; - type ReplaceAction = (nextLocation: LocationDescriptor) => RouterAction; - type GoAction = (n: number) => RouterAction; - type GoForwardAction = () => RouterAction; - type GoBackAction = () => RouterAction; - - type RouterAction = { - type: string - payload?: LocationDescriptor - } - - interface RouteActions { - push: PushAction; - replace: ReplaceAction; - go: GoAction; - goForward: GoForwardAction; - goBack: GoBackAction; - } - interface ReactRouterReduxHistory extends History.History { - unsubscribe(): void; - } - - interface DefaultSelectLocationState extends Function { - (state: any): any; - } - - interface SyncHistoryWithStoreOptions { - selectLocationState?: DefaultSelectLocationState; - adjustUrlOnReplay?: boolean; - } - - interface RouterState { - locationBeforeTransitions: History.Location - } - - function routerReducer(state?: RouterState, action?: R.Action): RouterState; - function syncHistoryWithStore(history: History.History, store: R.Store, options?: SyncHistoryWithStoreOptions): ReactRouterReduxHistory; - function routerMiddleware(history: History.History): R.Middleware; +export interface LocationActionPayload { + method: string; + args?: any[]; } + +export interface RouterAction extends Action { + payload?: LocationActionPayload; +} + +type LocationAction = (nextLocation: LocationDescriptor) => RouterAction; +type GoAction = (n: number) => RouterAction; +type NavigateAction = () => RouterAction; + +export const push: LocationAction; +export const replace: LocationAction; +export const go: GoAction; +export const goBack: NavigateAction; +export const goForward: NavigateAction; + +interface RouteActions { + push: typeof push; + replace: typeof replace; + go: typeof go; + goForward: typeof goForward; + goBack: typeof goBack; +} + +export const routerActions: RouteActions; + +export interface RouterState { + locationBeforeTransitions: Location +} + +export type DefaultSelectLocationState = (state: any) => RouterState + +export interface SyncHistoryWithStoreOptions { + selectLocationState?: DefaultSelectLocationState; + adjustUrlOnReplay?: boolean; +} + +export interface HistoryUnsubscribe { + unsubscribe(): void; +} + +export function routerReducer(state?: RouterState, action?: Action): RouterState; +export function syncHistoryWithStore(history: History, store: Store, options?: SyncHistoryWithStoreOptions): History & HistoryUnsubscribe; +export function routerMiddleware(history: History): Middleware; diff --git a/react-router-redux/react-router-redux-tests.ts b/react-router-redux/react-router-redux-tests.ts index 1d73706c4e..87b99b2a69 100644 --- a/react-router-redux/react-router-redux-tests.ts +++ b/react-router-redux/react-router-redux-tests.ts @@ -1,9 +1,16 @@ -/// -/// - import { createStore, combineReducers, applyMiddleware } from 'redux'; import { browserHistory } from 'react-router'; -import { syncHistoryWithStore, routerReducer, routerMiddleware, push, replace, go, goForward, goBack } from 'react-router-redux'; +import { + syncHistoryWithStore, + routerReducer, + routerMiddleware, + push, + replace, + go, + goForward, + goBack, + routerActions +} from 'react-router-redux'; const reducer = combineReducers({ routing: routerReducer }); @@ -25,3 +32,8 @@ store.dispatch(replace('/foo')); store.dispatch(go(1)); store.dispatch(goForward()); store.dispatch(goBack()); +store.dispatch(routerActions.push('/foo')); +store.dispatch(routerActions.replace('/foo')); +store.dispatch(routerActions.go(1)); +store.dispatch(routerActions.goForward()); +store.dispatch(routerActions.goBack()); diff --git a/react-router-redux/tsconfig.json b/react-router-redux/tsconfig.json index b2efdcc111..64b2c38849 100644 --- a/react-router-redux/tsconfig.json +++ b/react-router-redux/tsconfig.json @@ -1,23 +1,20 @@ { - "files": [ - "index.d.ts", - "react-router-redux-tests.ts" - ], "compilerOptions": { "module": "commonjs", "target": "es6", "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", - "paths": { - "history": ["history/v2"] - }, "typeRoots": [ - "../" + "../" ], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true - } + }, + "files": [ + "index.d.ts", + "react-router-redux-tests.ts" + ] } diff --git a/react-router-redux/tslint.json b/react-router-redux/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/react-router-redux/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 69a9f6d6718fba210ab007541572ff8459c6d1ce Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Tue, 17 Jan 2017 18:29:47 +0900 Subject: [PATCH 041/613] Update react-router definitions to 3.0.x --- react-router/index.d.ts | 137 +++++------ react-router/lib/IndexLink.d.ts | 16 +- react-router/lib/IndexRedirect.d.ts | 25 +-- react-router/lib/IndexRoute.d.ts | 44 ++-- react-router/lib/Link.d.ts | 22 +- react-router/lib/PatternUtils.d.ts | 4 +- react-router/lib/PropTypes.d.ts | 35 +-- react-router/lib/Redirect.d.ts | 27 +-- react-router/lib/Route.d.ts | 50 +++-- react-router/lib/RouteUtils.d.ts | 9 +- react-router/lib/Router.d.ts | 212 +++++++++--------- react-router/lib/RouterContext.d.ts | 27 +-- react-router/lib/applyRouterMiddleware.d.ts | 12 +- react-router/lib/browserHistory.d.ts | 4 +- react-router/lib/createMemoryHistory.d.ts | 6 +- react-router/lib/hashHistory.d.ts | 4 +- react-router/lib/match.d.ts | 25 +-- react-router/lib/useRouterHistory.d.ts | 8 +- react-router/lib/withRouter.d.ts | 11 +- react-router/react-router-tests.tsx | 33 ++- react-router/tsconfig.json | 3 - react-router/v2/index.d.ts | 91 ++++++++ react-router/v2/lib/IndexLink.d.ts | 5 + react-router/v2/lib/IndexRedirect.d.ts | 17 ++ react-router/v2/lib/IndexRoute.d.ts | 20 ++ react-router/{ => v2}/lib/Lifecycle.d.ts | 0 react-router/v2/lib/Link.d.ts | 19 ++ react-router/v2/lib/PatternUtils.d.ts | 1 + react-router/v2/lib/PropTypes.d.ts | 19 ++ react-router/v2/lib/Redirect.d.ts | 19 ++ react-router/v2/lib/Route.d.ts | 25 +++ react-router/{ => v2}/lib/RouteContext.d.ts | 0 react-router/v2/lib/RouteUtils.d.ts | 8 + react-router/v2/lib/Router.d.ts | 116 ++++++++++ react-router/v2/lib/RouterContext.d.ts | 25 +++ .../v2/lib/applyRouterMiddleware.d.ts | 9 + react-router/v2/lib/browserHistory.d.ts | 3 + react-router/v2/lib/createMemoryHistory.d.ts | 3 + react-router/v2/lib/hashHistory.d.ts | 3 + react-router/v2/lib/match.d.ts | 17 ++ react-router/{ => v2}/lib/routerHistory.d.ts | 0 react-router/v2/lib/useRouterHistory.d.ts | 7 + react-router/{ => v2}/lib/useRoutes.d.ts | 0 react-router/v2/lib/withRouter.d.ts | 4 + 44 files changed, 749 insertions(+), 376 deletions(-) create mode 100644 react-router/v2/index.d.ts create mode 100644 react-router/v2/lib/IndexLink.d.ts create mode 100644 react-router/v2/lib/IndexRedirect.d.ts create mode 100644 react-router/v2/lib/IndexRoute.d.ts rename react-router/{ => v2}/lib/Lifecycle.d.ts (100%) create mode 100644 react-router/v2/lib/Link.d.ts create mode 100644 react-router/v2/lib/PatternUtils.d.ts create mode 100644 react-router/v2/lib/PropTypes.d.ts create mode 100644 react-router/v2/lib/Redirect.d.ts create mode 100644 react-router/v2/lib/Route.d.ts rename react-router/{ => v2}/lib/RouteContext.d.ts (100%) create mode 100644 react-router/v2/lib/RouteUtils.d.ts create mode 100644 react-router/v2/lib/Router.d.ts create mode 100644 react-router/v2/lib/RouterContext.d.ts create mode 100644 react-router/v2/lib/applyRouterMiddleware.d.ts create mode 100644 react-router/v2/lib/browserHistory.d.ts create mode 100644 react-router/v2/lib/createMemoryHistory.d.ts create mode 100644 react-router/v2/lib/hashHistory.d.ts create mode 100644 react-router/v2/lib/match.d.ts rename react-router/{ => v2}/lib/routerHistory.d.ts (100%) create mode 100644 react-router/v2/lib/useRouterHistory.d.ts rename react-router/{ => v2}/lib/useRoutes.d.ts (100%) create mode 100644 react-router/v2/lib/withRouter.d.ts diff --git a/react-router/index.d.ts b/react-router/index.d.ts index 59f33e1960..8398838aef 100644 --- a/react-router/index.d.ts +++ b/react-router/index.d.ts @@ -1,91 +1,56 @@ -// Type definitions for react-router v2.0.0 +// Type definitions for react-router 3.0 // Project: https://github.com/rackt/react-router -// Definitions by: Sergey Buturlakin , Yuichi Murata , Václav Ostrožlík , Nathan Brown , Alex Wendland , Kostya Esmukov +// Definitions by: Sergey Buturlakin , Yuichi Murata , Václav Ostrožlík , Nathan Brown , Alex Wendland , Kostya Esmukov , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// - -export as namespace ReactRouter; - -import * as React from 'react'; - -export const routerShape: React.Requireable - -export const locationShape: React.Requireable - -import Router from "./lib/Router"; -import Link from "./lib/Link"; -import IndexLink from "./lib/IndexLink"; -import IndexRedirect from "./lib/IndexRedirect"; -import IndexRoute from "./lib/IndexRoute"; -import Redirect from "./lib/Redirect"; -import Route from "./lib/Route"; -import * as History from "./lib/routerHistory"; -import Lifecycle from "./lib/Lifecycle"; -import RouteContext from "./lib/RouteContext"; -import browserHistory from "./lib/browserHistory"; -import hashHistory from "./lib/hashHistory"; -import useRoutes from "./lib/useRoutes"; -import { createRoutes } from "./lib/RouteUtils"; -import { formatPattern } from "./lib/PatternUtils"; -import RouterContext from "./lib/RouterContext"; -import PropTypes from "./lib/PropTypes"; -import match from "./lib/match"; -import useRouterHistory from "./lib/useRouterHistory"; -import createMemoryHistory from "./lib/createMemoryHistory"; -import withRouter from "./lib/withRouter"; -import applyRouterMiddleware from "./lib/applyRouterMiddleware"; - -// PlainRoute is defined in the API documented at: -// https://github.com/rackt/react-router/blob/master/docs/API.md -// but not included in any of the .../lib modules above. -export type PlainRoute = Router.PlainRoute; - -// The following definitions are also very useful to export -// because by using these types lots of potential type errors -// can be exposed: -export type EnterHook = Router.EnterHook; -export type LeaveHook = Router.LeaveHook; -export type ParseQueryString = Router.ParseQueryString; -export type LocationDescriptor = Router.LocationDescriptor; -export type RedirectFunction = Router.RedirectFunction; -export type RouteComponent = Router.RouteComponent; -export type RouteComponentProps = Router.RouteComponentProps; -export type RouteConfig = Router.RouteConfig; -export type RouteHook = Router.RouteHook; -export type StringifyQuery = Router.StringifyQuery; -export type RouterListener = Router.RouterListener; -export type RouterState = Router.RouterState; -export type InjectedRouter = Router.InjectedRouter; - -export type HistoryBase = History.HistoryBase; -export type RouterOnContext = Router.RouterOnContext; -export type RouteProps = Route.RouteProps; -export type LinkProps = Link.LinkProps; - export { - Router, - Link, - IndexLink, - IndexRedirect, - IndexRoute, - Redirect, - Route, - History, - browserHistory, - hashHistory, - Lifecycle, - RouteContext, - useRoutes, - createRoutes, - formatPattern, - RouterContext, - PropTypes, - match, - useRouterHistory, - createMemoryHistory, - withRouter, - applyRouterMiddleware -}; + Basename, + ChangeHook, + EnterHook, + InjectedRouter, + LeaveHook, + Location, + LocationDescriptor, + ParseQueryString, + RouteComponent, + RouteComponents, + RouteComponentProps, + RouteConfig, + RoutePattern, + RouterProps, + RouterState, + StringifyQuery, + Query +} from "react-router/lib/Router"; +export { LinkProps } from "react-router/lib/Link"; +export { IndexLinkProps } from "react-router/lib/IndexLink"; +export { RouteProps, PlainRoute } from "react-router/lib/Route"; +export { IndexRouteProps } from "react-router/lib/IndexRoute"; +export { RedirectProps } from "react-router/lib/Redirect"; +export { IndexRedirectProps } from "react-router/lib/IndexRedirect"; -export default Router; +/* components */ +export { default as Router } from "react-router/lib/Router"; +export { default as Link } from "react-router/lib/Link"; +export { default as IndexLink } from "react-router/lib/IndexLink"; +export { default as withRouter } from "react-router/lib/withRouter"; + +/* components (configuration) */ +export { default as IndexRedirect } from "react-router/lib/IndexRedirect"; +export { default as IndexRoute } from "react-router/lib/IndexRoute"; +export { default as Redirect } from "react-router/lib/Redirect"; +export { default as Route } from "react-router/lib/Route"; + +/* utils */ +export { createRoutes } from "react-router/lib/RouteUtils"; +export { default as RouterContext } from "react-router/lib/RouterContext"; +export { routerShape, locationShape } from "react-router/lib/PropTypes"; +export { default as match } from "react-router/lib/match"; +export { default as useRouterHistory } from "react-router/lib/useRouterHistory"; +export { formatPattern } from "react-router/lib/PatternUtils"; +export { default as applyRouterMiddleware } from "react-router/lib/applyRouterMiddleware"; + +/* histories */ +export { default as browserHistory } from "react-router/lib/browserHistory"; +export { default as hashHistory } from "react-router/lib/hashHistory"; +export { default as createMemoryHistory } from "react-router/lib/createMemoryHistory"; diff --git a/react-router/lib/IndexLink.d.ts b/react-router/lib/IndexLink.d.ts index 56ecf82c1d..0c62010262 100644 --- a/react-router/lib/IndexLink.d.ts +++ b/react-router/lib/IndexLink.d.ts @@ -1,5 +1,15 @@ -import Link from './Link'; +import { ComponentClass, CSSProperties, HTMLProps } from "react"; +import { Location, LocationDescriptor } from "react-router/lib/Router"; + +type ToLocationFunction = (location: Location) => LocationDescriptor; + +export interface IndexLinkProps extends HTMLProps { + to: LocationDescriptor | ToLocationFunction; + activeClassName?: string; + activeStyle?: CSSProperties; +} + +type IndexLink = ComponentClass; +declare const IndexLink: IndexLink; -declare const IndexLink: Link; export default IndexLink; - diff --git a/react-router/lib/IndexRedirect.d.ts b/react-router/lib/IndexRedirect.d.ts index 41dab299c8..3b8187d09b 100644 --- a/react-router/lib/IndexRedirect.d.ts +++ b/react-router/lib/IndexRedirect.d.ts @@ -1,17 +1,12 @@ -import Router from './Router'; -import * as React from 'react'; -import * as H from 'history'; +import { ComponentClass, ClassAttributes } from "react"; +import { RoutePattern, Query } from "react-router"; -declare const self: self.IndexRedirect; -type self = self.IndexRedirect; -export default self; - -declare namespace self { - interface IndexRedirectProps extends React.Props { - to: Router.RoutePattern; - query?: H.Query; - state?: H.LocationState; - } - interface IndexRedirectElement extends React.ReactElement { } - interface IndexRedirect extends React.ComponentClass { } +export interface IndexRedirectProps extends ClassAttributes { + to: RoutePattern; + query?: Query; } + +type IndexRedirect = ComponentClass; +declare const IndexRedirect: IndexRedirect; + +export default IndexRedirect; diff --git a/react-router/lib/IndexRoute.d.ts b/react-router/lib/IndexRoute.d.ts index b11b16d0e2..b0574df26a 100644 --- a/react-router/lib/IndexRoute.d.ts +++ b/react-router/lib/IndexRoute.d.ts @@ -1,20 +1,28 @@ -import * as React from 'react'; -import Router from './Router'; -import * as H from 'history'; +import { ComponentClass, ClassAttributes } from "react"; +import { LocationState } from "history"; +import { + EnterHook, + ChangeHook, + LeaveHook, + RouteComponent, + RouteComponents, + RouterState +} from "react-router"; -declare const self: self.IndexRoute; -type self = self.IndexRoute; -export default self; +type ComponentCallback = (err: any, component: RouteComponent) => void; +type ComponentsCallback = (err: any, components: RouteComponents) => void; -declare namespace self { - interface IndexRouteProps extends React.Props { - component?: Router.RouteComponent; - components?: Router.RouteComponents; - getComponent?: (location: H.Location, cb: (error: any, component?: Router.RouteComponent) => void) => void; - getComponents?: (location: H.Location, cb: (error: any, components?: Router.RouteComponents) => void) => void; - onEnter?: Router.EnterHook; - onLeave?: Router.LeaveHook; - } - interface IndexRoute extends React.ComponentClass { } - interface IndexRouteElement extends React.ReactElement { } -} \ No newline at end of file +export interface IndexRouteProps { + component?: RouteComponent; + components?: RouteComponents; + getComponent?(nextState: RouterState, callback: ComponentCallback): void; + getComponents?(nextState: RouterState, callback: ComponentsCallback): void; + onEnter?: EnterHook; + onChange?: ChangeHook; + onLeave?: LeaveHook; +} + +type IndexRoute = ComponentClass; +declare const IndexRoute: IndexRoute; + +export default IndexRoute; diff --git a/react-router/lib/Link.d.ts b/react-router/lib/Link.d.ts index d90578b9f9..eca6e66abd 100644 --- a/react-router/lib/Link.d.ts +++ b/react-router/lib/Link.d.ts @@ -1,19 +1,11 @@ -import * as React from 'react'; -import Router from './Router'; +import { ComponentClass, CSSProperties, HTMLProps } from "react"; +import { IndexLinkProps } from "react-router/lib/IndexLink"; +export interface LinkProps extends IndexLinkProps { + onlyActiveOnIndex?: boolean; +} + +type Link = ComponentClass; declare const Link: Link; -type Link = Link.Link; export default Link; - -declare namespace Link { - interface LinkProps extends React.HTMLAttributes { - activeStyle?: React.CSSProperties; - activeClassName?: string; - onlyActiveOnIndex?: boolean; - to: Router.RoutePattern | Router.LocationDescriptor | ((...args: any[]) => Router.LocationDescriptor); - } - - interface Link extends React.ComponentClass {} - interface LinkElement extends React.ReactElement {} -} diff --git a/react-router/lib/PatternUtils.d.ts b/react-router/lib/PatternUtils.d.ts index 50e90f6e49..2c32b2a286 100644 --- a/react-router/lib/PatternUtils.d.ts +++ b/react-router/lib/PatternUtils.d.ts @@ -1 +1,3 @@ -export function formatPattern(pattern: string, params: {}): string; +import { RoutePattern } from "react-router"; + +export function formatPattern(pattern: RoutePattern, params: any): string; diff --git a/react-router/lib/PropTypes.d.ts b/react-router/lib/PropTypes.d.ts index bbd6431070..c9140777cb 100644 --- a/react-router/lib/PropTypes.d.ts +++ b/react-router/lib/PropTypes.d.ts @@ -1,19 +1,22 @@ -import * as React from 'react'; +import { Requireable, Validator } from "react"; -export function falsy(props: any, propName: string, componentName: string): Error; -export const history: React.Requireable; -export const location: React.Requireable; -export const component: React.Requireable; -export const components: React.Requireable; -export const route: React.Requireable; -export const routes: React.Requireable; +export interface RouterShape extends Validator { + push: Requireable; + replace: Requireable; + go: Requireable; + goBack: Requireable; + goForward: Requireable; + setRouteLeaveHook: Requireable; + isActive: Requireable; +} -export default { - falsy, - history, - location, - component, - components, - route -}; +export interface LocationShape extends Validator { + pathname: Requireable; + search: Requireable; + state: any; + action: Requireable; + key: any; +} +export const routerShape: RouterShape; +export const locationShape: LocationShape; diff --git a/react-router/lib/Redirect.d.ts b/react-router/lib/Redirect.d.ts index e09b576d53..bb8254b4f5 100644 --- a/react-router/lib/Redirect.d.ts +++ b/react-router/lib/Redirect.d.ts @@ -1,19 +1,12 @@ -import * as React from 'react'; -import Router from './Router'; -import * as H from 'history'; +import { ComponentClass, ClassAttributes } from "react"; +import { RoutePattern, Query } from "react-router"; +import { IndexRedirectProps } from "react-router/lib/IndexRedirect"; -declare const self: self.Redirect; -type self = typeof self; -export default self; - -declare namespace self { - interface RedirectProps extends React.Props { - path?: Router.RoutePattern; - from?: Router.RoutePattern; // alias for path - to: Router.RoutePattern; - query?: H.Query; - state?: H.LocationState; - } - interface Redirect extends React.ComponentClass { } - interface RedirectElement extends React.ReactElement { } +export interface RedirectProps extends IndexRedirectProps { + from: RoutePattern; } + +type Redirect = ComponentClass; +declare const Redirect: Redirect; + +export default Redirect; diff --git a/react-router/lib/Route.d.ts b/react-router/lib/Route.d.ts index 2f5425b55a..15aafebc75 100644 --- a/react-router/lib/Route.d.ts +++ b/react-router/lib/Route.d.ts @@ -1,25 +1,31 @@ -import * as React from 'react'; -import Router from './Router'; -import { Location } from 'history'; +import { ComponentClass, ClassAttributes } from "react"; +import { LocationState } from "history"; +import { + EnterHook, + ChangeHook, + LeaveHook, + RouteComponent, + RouteComponents, + RoutePattern, + RouterState +} from "react-router"; +import { IndexRouteProps } from "react-router/lib/IndexRoute"; -declare const self: self.Route; -type self = self.Route; -export default self; +export interface RouteProps extends IndexRouteProps { + path?: RoutePattern; +} -declare namespace self { +type Route = ComponentClass; +declare const Route: Route; - interface RouteProps extends React.Props { - path?: Router.RoutePattern; - component?: Router.RouteComponent; - components?: Router.RouteComponents; - getComponent?: (nextState: Router.RouterState, cb: (error: any, component?: Router.RouteComponent) => void) => void - getComponents?: (nextState: Router.RouterState, cb: (error: any, components?: Router.RouteComponents) => void) => void - onEnter?: Router.EnterHook; - onLeave?: Router.LeaveHook; - onChange?: Router.ChangeHook; - getIndexRoute?: (location: Location, cb: (error: any, indexRoute: Router.RouteConfig) => void) => void; - getChildRoutes?: (location: Location, cb: (error: any, childRoutes: Router.RouteConfig) => void) => void; - } - interface Route extends React.ComponentClass {} - interface RouteElement extends React.ReactElement {} -} \ No newline at end of file +export default Route; + +type RouteCallback = (err: any, route: PlainRoute) => void; +type RoutesCallback = (err: any, routesArray: PlainRoute[]) => void; + +export interface PlainRoute extends RouteProps { + childRoutes?: PlainRoute[]; + getChildRoutes?(partialNextState: LocationState, callback: RoutesCallback): void; + indexRoute?: PlainRoute; + getIndexRoute?(partialNextState: LocationState, callback: RouteCallback): void; +} diff --git a/react-router/lib/RouteUtils.d.ts b/react-router/lib/RouteUtils.d.ts index 7065056ff5..6304f5d7bf 100644 --- a/react-router/lib/RouteUtils.d.ts +++ b/react-router/lib/RouteUtils.d.ts @@ -1,8 +1,3 @@ -import * as React from 'react'; -import Router from './Router'; +import { RouteConfig, PlainRoute } from "react-router"; -type E = React.ReactElement; -export function isReactChildren(object: E | E[]): boolean; -export function createRouteFromReactElement(element: E): Router.PlainRoute; -export function createRoutesFromReactChildren(children: E | E[], parentRoute: Router.PlainRoute): Router.PlainRoute[]; -export function createRoutes(routes: Router.RouteConfig): Router.PlainRoute[]; +export function createRoutes(routes: RouteConfig): PlainRoute[]; diff --git a/react-router/lib/Router.d.ts b/react-router/lib/Router.d.ts index a9c5417f47..160694953f 100644 --- a/react-router/lib/Router.d.ts +++ b/react-router/lib/Router.d.ts @@ -1,116 +1,106 @@ -import * as React from 'react'; -import RouterContext from './RouterContext'; +import { Component, ComponentClass, ClassAttributes, ReactNode, StatelessComponent } from "react"; import { - QueryString, Query, - Location, LocationDescriptor, LocationState as HLocationState, - History, Href, - Pathname, Path } from 'history'; + Hash, + History, + Href, + LocationKey, + LocationState, + Path, + Pathname, + Search +} from "history"; +import { PlainRoute } from "react-router"; +export type Basename = string; +export type Query = any; +export type Action = "PUSH" | "REPLACE" | "POP"; +export interface Params { + [key: string]: string; +} +export type RoutePattern = string; +export type RouteComponent = ComponentClass | StatelessComponent; +export interface RouteComponents { + [name: string]: RouteComponent; +} +export type RouteConfig = ReactNode | PlainRoute | PlainRoute[]; + +export type ParseQueryString = (queryString: Search) => Query; +export type StringifyQuery = (queryObject: Query) => Search; + +type AnyFunction = (...args: any[]) => any; + +export type EnterHook = (nextState: RouterState, replace: RedirectFunction, callback?: AnyFunction) => any; +export type LeaveHook = (prevState: RouterState) => any; +export type ChangeHook = (prevState: RouterState, nextState: RouterState, replace: RedirectFunction, callback?: AnyFunction) => any; +export type RouteHook = (nextLocation?: Location) => any; + +export interface Location { + patname: Pathname; + search: Search; + query: Query; + state: LocationState; + action: Action; + key: LocationKey; +} + +export interface LocationDescriptorObject { + pathname?: Pathname; + query?: Query; + hash?: Hash; + state?: LocationState; +} + +export type LocationDescriptor = Path | LocationDescriptorObject; + +export interface RedirectFunction { + (location: LocationDescriptor): void; + (state: LocationState, pathname: Pathname | Path, query?: Query): void; +} + +export interface RouterState { + location: Location; + routes: PlainRoute[]; + params: Params; + components: RouteComponent[]; +} + +type LocationFunction = (location: LocationDescriptor) => void; +type GoFunction = (n: number) => void; +type NavigateFunction = () => void; +type ActiveFunction = (location: LocationDescriptor, indexOnly?: boolean) => boolean; +type LeaveHookFunction = (route: any, callback: RouteHook) => void; +type CreatePartFunction = (path: Path, query?: any) => Part; + +export interface InjectedRouter { + push: LocationFunction; + replace: LocationFunction; + go: GoFunction; + goBack: NavigateFunction; + goForward: NavigateFunction; + setRouteLeaveHook: LeaveHookFunction; + createPath: CreatePartFunction; + createHref: CreatePartFunction; + isActive: ActiveFunction; +} + +export interface RouteComponentProps { + location?: Location; + params?: P & R; + route?: PlainRoute; + router?: InjectedRouter; + routeParams?: R; +} + +export interface RouterProps extends ClassAttributes { + routes?: RouteConfig; + history?: History; + createElement?(component: RouteComponent, props: any): any; + onError?(error: any): any; + onUpdate?(): any; + render?(props: any): ReactNode; +} + +type Router = ComponentClass; declare const Router: Router; -interface Router extends React.ComponentClass { } export default Router; - -// types based on https://github.com/rackt/react-router/blob/master/docs/Glossary.md - -declare namespace Router { - type RouteConfig = React.ReactNode | PlainRoute | PlainRoute[]; - type RoutePattern = string; - type RouteComponents = { [key: string]: RouteComponent }; - - type ParseQueryString = (queryString: QueryString) => Query; - type StringifyQuery = (queryObject: Query) => QueryString; - - type Component = React.ReactType; - type RouteComponent = Component; - - type EnterHook = (nextState: RouterState, replace: RedirectFunction, callback?: Function) => void; - type LeaveHook = () => void; - type ChangeHook = (prevState: RouterState, nextState: RouterState, replace: RedirectFunction, callback: Function) => void; - type RouteHook = (nextLocation?: Location) => any; - - type Params = { [param: string]: string }; - - type RouterListener = (error: Error, nextState: RouterState) => void; - - type LocationDescriptor = { - pathname?: Pathname - query?: Query - hash?: Href - state?: HLocationState - } - - interface RedirectFunction { - (location: LocationDescriptor): void; - /** - * @deprecated `replaceState(state, pathname, query) is deprecated; Use `replace(location)` with a location descriptor instead. http://tiny.cc/router-isActivedeprecated - */ - (state: HLocationState, pathname: Pathname | Path, query?: Query): void; - } - - interface RouterState { - location: Location; - routes: PlainRoute[]; - params: Params; - components: RouteComponent[]; - } - - interface RouterProps extends React.Props { - history?: History; - routes?: RouteConfig; // alias for children - createElement?: (component: RouteComponent, props: Object) => any; - onError?: (error: any) => any; - onUpdate?: () => any; - parseQueryString?: ParseQueryString; - stringifyQuery?: StringifyQuery; - basename?: string; - render?: (renderProps: React.Props<{}>) => RouterContext; - } - - interface PlainRoute { - path?: RoutePattern; - component?: RouteComponent; - components?: RouteComponents; - getComponent?: (location: Location, cb: (error: any, component?: RouteComponent) => void) => void; - getComponents?: (location: Location, cb: (error: any, components?: RouteComponents) => void) => void; - onEnter?: EnterHook; - onLeave?: LeaveHook; - indexRoute?: PlainRoute; - getIndexRoute?: (location: Location, cb: (error: any, indexRoute: RouteConfig) => void) => void; - childRoutes?: PlainRoute[]; - getChildRoutes?: (location: Location, cb: (error: any, childRoutes: RouteConfig) => void) => void; - } - - interface RouteComponentProps { - history?: History; - location?: Location; - params?: P; - route?: PlainRoute; - routeParams?: R; - routes?: PlainRoute[]; - children?: React.ReactElement; - } - - interface RouterOnContext extends History { - setRouteLeaveHook(route: PlainRoute, hook?: RouteHook): () => void; - isActive(pathOrLoc: Path | LocationDescriptor, indexOnly?: boolean): boolean; - } - - // Wrap a component using withRouter(Component) to provide a router object - // to the Component's props, allowing the Component to programmatically call - // push and other functions. - // - // https://github.com/reactjs/react-router/blob/v2.4.0/upgrade-guides/v2.4.0.md - - interface InjectedRouter { - push: (pathOrLoc: Path | LocationDescriptor) => void - replace: (pathOrLoc: Path | LocationDescriptor) => void - go: (n: number) => void - goBack: () => void - goForward: () => void - setRouteLeaveHook(route: PlainRoute, callback: RouteHook): void - createPath(path: History.Path, query?: History.Query): History.Path - createHref(path: History.Path, query?: History.Query): History.Href - isActive: (pathOrLoc: Path | LocationDescriptor, indexOnly?: boolean) => boolean - } -} diff --git a/react-router/lib/RouterContext.d.ts b/react-router/lib/RouterContext.d.ts index b6eab5831c..b04e6e01ae 100644 --- a/react-router/lib/RouterContext.d.ts +++ b/react-router/lib/RouterContext.d.ts @@ -1,25 +1,6 @@ -import * as React from 'react'; -import * as H from 'history'; -import Router from './Router'; +import { ComponentClass } from "react"; -declare const self: self.RouterContext; -type self = self.RouterContext; -export default self; +type RouterContext = ComponentClass; +declare const RouterContext: RouterContext; -declare namespace self { - interface RouterContextProps extends React.Props { - history?: H.History; - router: Router; - createElement: (component: Router.RouteComponent, props: Object) => any; - location: H.Location; - routes: Router.RouteConfig; - params: Router.Params; - components?: Router.RouteComponent[]; - } - interface RouterContext extends React.ComponentClass {} - interface RouterContextElement extends React.ReactElement { - history?: H.History; - location: H.Location; - router?: Router; - } -} \ No newline at end of file +export default RouterContext; diff --git a/react-router/lib/applyRouterMiddleware.d.ts b/react-router/lib/applyRouterMiddleware.d.ts index ed87d815db..e4d023a792 100644 --- a/react-router/lib/applyRouterMiddleware.d.ts +++ b/react-router/lib/applyRouterMiddleware.d.ts @@ -1,9 +1,9 @@ -import * as React from 'react'; -import Router from './Router'; -import RouterContext from './RouterContext'; +import { RouteComponent } from "react-router"; +import RouterContext from "react-router/lib/RouterContext"; export interface Middleware { - renderRouterContext?: (previous: RouterContext, props: React.Props<{}>) => RouterContext; - renderRouteComponent?: (previous: Router.RouteComponent, props: React.Props<{}>) => Router.RouteComponent; + renderRouterContext?: (previous: RouterContext, props: any) => RouterContext; + renderRouteComponent?: (previous: RouteComponent, props: any) => RouteComponent; } -export default function applyRouterMiddleware(...middlewares: Middleware[]): (renderProps: React.Props<{}>) => RouterContext; + +export default function applyRouterMiddleware(...middlewares: Middleware[]): (renderProps: any) => RouterContext; diff --git a/react-router/lib/browserHistory.d.ts b/react-router/lib/browserHistory.d.ts index aabbdc23f9..8f45db6412 100644 --- a/react-router/lib/browserHistory.d.ts +++ b/react-router/lib/browserHistory.d.ts @@ -1,3 +1,5 @@ -import { History } from './routerHistory'; +import { History } from "history"; + declare const browserHistory: History; + export default browserHistory; diff --git a/react-router/lib/createMemoryHistory.d.ts b/react-router/lib/createMemoryHistory.d.ts index 5df481bfa1..bb2fed561b 100644 --- a/react-router/lib/createMemoryHistory.d.ts +++ b/react-router/lib/createMemoryHistory.d.ts @@ -1,3 +1,5 @@ -import * as H from 'history'; +import { History, CreateHistory } from "history"; -export default function createMemoryHistory(options?: H.HistoryOptions): H.History; \ No newline at end of file +declare const createMemoryHistory: CreateHistory; + +export default createMemoryHistory; diff --git a/react-router/lib/hashHistory.d.ts b/react-router/lib/hashHistory.d.ts index 79f89c2f1a..6a17e65af9 100644 --- a/react-router/lib/hashHistory.d.ts +++ b/react-router/lib/hashHistory.d.ts @@ -1,3 +1,5 @@ -import { History } from './routerHistory'; +import { History } from "history"; + declare const hashHistory: History; + export default hashHistory; diff --git a/react-router/lib/match.d.ts b/react-router/lib/match.d.ts index e311ea69df..bc5af4fda8 100644 --- a/react-router/lib/match.d.ts +++ b/react-router/lib/match.d.ts @@ -1,17 +1,16 @@ -import * as H from 'history'; -import Router from './Router'; +import { History } from "history"; +import { Basename, LocationDescriptor, ParseQueryString, RouteConfig, StringifyQuery } from "react-router"; interface MatchArgs { - routes?: Router.RouteConfig; - history?: H.History; - location?: H.Location | string; - parseQueryString?: Router.ParseQueryString; - stringifyQuery?: Router.StringifyQuery; + routes: RouteConfig; + location: LocationDescriptor; + history?: History; + basename?: Basename; + parseQueryString?: ParseQueryString; + stringifyQuery?: StringifyQuery; } -interface MatchState extends Router.RouterState { - history: H.History; - router: Router; - createElement: (component: Router.RouteComponent, props: Object) => any; -} -export default function match(args: MatchArgs, cb: (error: any, nextLocation: H.Location, nextState: MatchState) => void): void; + +export type MatchCallback = (error: any, redirectLocation: Location, renderProps: any) => void; + +export default function match(args: MatchArgs, cb: MatchCallback): void; diff --git a/react-router/lib/useRouterHistory.d.ts b/react-router/lib/useRouterHistory.d.ts index d3e043b609..1371baa07b 100644 --- a/react-router/lib/useRouterHistory.d.ts +++ b/react-router/lib/useRouterHistory.d.ts @@ -1,7 +1,5 @@ -import { History, HistoryOptions, HistoryQueries, CreateHistory } from 'history'; +import { History, CreateHistoryEnhancer } from "history"; -interface CreateRouterHistory { - (options?: HistoryOptions): History & HistoryQueries; -} +declare const useRouterHistory: CreateHistoryEnhancer; -export default function useRouterHistory(createHistory: CreateHistory): CreateRouterHistory; +export default useRouterHistory; diff --git a/react-router/lib/withRouter.d.ts b/react-router/lib/withRouter.d.ts index f698d94fd0..25f9d357c7 100644 --- a/react-router/lib/withRouter.d.ts +++ b/react-router/lib/withRouter.d.ts @@ -1,4 +1,9 @@ -import * as React from 'react'; +import { ComponentClass, StatelessComponent } from "react"; -declare function withRouter | React.StatelessComponent | React.PureComponent>(component: C): C -export default withRouter; +interface Options { + withRef?: boolean; +} + +type ComponentConstructor

= ComponentClass

| StatelessComponent

; + +export default function withRouter

(component: ComponentConstructor

, options?: Options): ComponentClass

; diff --git a/react-router/react-router-tests.tsx b/react-router/react-router-tests.tsx index 6c83ca180a..dda05ef9d8 100644 --- a/react-router/react-router-tests.tsx +++ b/react-router/react-router-tests.tsx @@ -1,22 +1,39 @@ -import * as React from "react" -import * as ReactDOM from "react-dom" -import {renderToString} from "react-dom/server"; +import * as React from "react"; +import { Component, ValidationMap } from "react"; +import * as ReactDOM from "react-dom"; +import { renderToString } from "react-dom/server"; -import { applyRouterMiddleware, browserHistory, hashHistory, match, createMemoryHistory, withRouter, routerShape, Router, Route, IndexRoute, InjectedRouter, Link, RouterOnContext, RouterContext, LinkProps} from "react-router"; +import { + applyRouterMiddleware, + browserHistory, + hashHistory, + match, + createMemoryHistory, + withRouter, + routerShape, + Router, + Route, + IndexRoute, + InjectedRouter, + Link, + RouterContext, + LinkProps +} from "react-router"; const NavLink = (props: LinkProps) => ( ) interface MasterContext { - router: RouterOnContext; + router: InjectedRouter; } -class Master extends React.Component, {}> { +class Master extends Component { - static contextTypes: React.ValidationMap = { - router: routerShape + static contextTypes: ValidationMap = { + "router": routerShape }; + context: MasterContext; navigate() { diff --git a/react-router/tsconfig.json b/react-router/tsconfig.json index d887e5e5ec..47b5b439bf 100644 --- a/react-router/tsconfig.json +++ b/react-router/tsconfig.json @@ -11,9 +11,6 @@ "strictNullChecks": false, "jsx": "react", "baseUrl": "../", - "paths": { - "history": ["history/v2"] - }, "typeRoots": [ "../" ], diff --git a/react-router/v2/index.d.ts b/react-router/v2/index.d.ts new file mode 100644 index 0000000000..59f33e1960 --- /dev/null +++ b/react-router/v2/index.d.ts @@ -0,0 +1,91 @@ +// Type definitions for react-router v2.0.0 +// Project: https://github.com/rackt/react-router +// Definitions by: Sergey Buturlakin , Yuichi Murata , Václav Ostrožlík , Nathan Brown , Alex Wendland , Kostya Esmukov +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +export as namespace ReactRouter; + +import * as React from 'react'; + +export const routerShape: React.Requireable + +export const locationShape: React.Requireable + +import Router from "./lib/Router"; +import Link from "./lib/Link"; +import IndexLink from "./lib/IndexLink"; +import IndexRedirect from "./lib/IndexRedirect"; +import IndexRoute from "./lib/IndexRoute"; +import Redirect from "./lib/Redirect"; +import Route from "./lib/Route"; +import * as History from "./lib/routerHistory"; +import Lifecycle from "./lib/Lifecycle"; +import RouteContext from "./lib/RouteContext"; +import browserHistory from "./lib/browserHistory"; +import hashHistory from "./lib/hashHistory"; +import useRoutes from "./lib/useRoutes"; +import { createRoutes } from "./lib/RouteUtils"; +import { formatPattern } from "./lib/PatternUtils"; +import RouterContext from "./lib/RouterContext"; +import PropTypes from "./lib/PropTypes"; +import match from "./lib/match"; +import useRouterHistory from "./lib/useRouterHistory"; +import createMemoryHistory from "./lib/createMemoryHistory"; +import withRouter from "./lib/withRouter"; +import applyRouterMiddleware from "./lib/applyRouterMiddleware"; + +// PlainRoute is defined in the API documented at: +// https://github.com/rackt/react-router/blob/master/docs/API.md +// but not included in any of the .../lib modules above. +export type PlainRoute = Router.PlainRoute; + +// The following definitions are also very useful to export +// because by using these types lots of potential type errors +// can be exposed: +export type EnterHook = Router.EnterHook; +export type LeaveHook = Router.LeaveHook; +export type ParseQueryString = Router.ParseQueryString; +export type LocationDescriptor = Router.LocationDescriptor; +export type RedirectFunction = Router.RedirectFunction; +export type RouteComponent = Router.RouteComponent; +export type RouteComponentProps = Router.RouteComponentProps; +export type RouteConfig = Router.RouteConfig; +export type RouteHook = Router.RouteHook; +export type StringifyQuery = Router.StringifyQuery; +export type RouterListener = Router.RouterListener; +export type RouterState = Router.RouterState; +export type InjectedRouter = Router.InjectedRouter; + +export type HistoryBase = History.HistoryBase; +export type RouterOnContext = Router.RouterOnContext; +export type RouteProps = Route.RouteProps; +export type LinkProps = Link.LinkProps; + +export { + Router, + Link, + IndexLink, + IndexRedirect, + IndexRoute, + Redirect, + Route, + History, + browserHistory, + hashHistory, + Lifecycle, + RouteContext, + useRoutes, + createRoutes, + formatPattern, + RouterContext, + PropTypes, + match, + useRouterHistory, + createMemoryHistory, + withRouter, + applyRouterMiddleware +}; + +export default Router; diff --git a/react-router/v2/lib/IndexLink.d.ts b/react-router/v2/lib/IndexLink.d.ts new file mode 100644 index 0000000000..56ecf82c1d --- /dev/null +++ b/react-router/v2/lib/IndexLink.d.ts @@ -0,0 +1,5 @@ +import Link from './Link'; + +declare const IndexLink: Link; +export default IndexLink; + diff --git a/react-router/v2/lib/IndexRedirect.d.ts b/react-router/v2/lib/IndexRedirect.d.ts new file mode 100644 index 0000000000..41dab299c8 --- /dev/null +++ b/react-router/v2/lib/IndexRedirect.d.ts @@ -0,0 +1,17 @@ +import Router from './Router'; +import * as React from 'react'; +import * as H from 'history'; + +declare const self: self.IndexRedirect; +type self = self.IndexRedirect; +export default self; + +declare namespace self { + interface IndexRedirectProps extends React.Props { + to: Router.RoutePattern; + query?: H.Query; + state?: H.LocationState; + } + interface IndexRedirectElement extends React.ReactElement { } + interface IndexRedirect extends React.ComponentClass { } +} diff --git a/react-router/v2/lib/IndexRoute.d.ts b/react-router/v2/lib/IndexRoute.d.ts new file mode 100644 index 0000000000..b11b16d0e2 --- /dev/null +++ b/react-router/v2/lib/IndexRoute.d.ts @@ -0,0 +1,20 @@ +import * as React from 'react'; +import Router from './Router'; +import * as H from 'history'; + +declare const self: self.IndexRoute; +type self = self.IndexRoute; +export default self; + +declare namespace self { + interface IndexRouteProps extends React.Props { + component?: Router.RouteComponent; + components?: Router.RouteComponents; + getComponent?: (location: H.Location, cb: (error: any, component?: Router.RouteComponent) => void) => void; + getComponents?: (location: H.Location, cb: (error: any, components?: Router.RouteComponents) => void) => void; + onEnter?: Router.EnterHook; + onLeave?: Router.LeaveHook; + } + interface IndexRoute extends React.ComponentClass { } + interface IndexRouteElement extends React.ReactElement { } +} \ No newline at end of file diff --git a/react-router/lib/Lifecycle.d.ts b/react-router/v2/lib/Lifecycle.d.ts similarity index 100% rename from react-router/lib/Lifecycle.d.ts rename to react-router/v2/lib/Lifecycle.d.ts diff --git a/react-router/v2/lib/Link.d.ts b/react-router/v2/lib/Link.d.ts new file mode 100644 index 0000000000..d90578b9f9 --- /dev/null +++ b/react-router/v2/lib/Link.d.ts @@ -0,0 +1,19 @@ +import * as React from 'react'; +import Router from './Router'; + +declare const Link: Link; +type Link = Link.Link; + +export default Link; + +declare namespace Link { + interface LinkProps extends React.HTMLAttributes { + activeStyle?: React.CSSProperties; + activeClassName?: string; + onlyActiveOnIndex?: boolean; + to: Router.RoutePattern | Router.LocationDescriptor | ((...args: any[]) => Router.LocationDescriptor); + } + + interface Link extends React.ComponentClass {} + interface LinkElement extends React.ReactElement {} +} diff --git a/react-router/v2/lib/PatternUtils.d.ts b/react-router/v2/lib/PatternUtils.d.ts new file mode 100644 index 0000000000..50e90f6e49 --- /dev/null +++ b/react-router/v2/lib/PatternUtils.d.ts @@ -0,0 +1 @@ +export function formatPattern(pattern: string, params: {}): string; diff --git a/react-router/v2/lib/PropTypes.d.ts b/react-router/v2/lib/PropTypes.d.ts new file mode 100644 index 0000000000..bbd6431070 --- /dev/null +++ b/react-router/v2/lib/PropTypes.d.ts @@ -0,0 +1,19 @@ +import * as React from 'react'; + +export function falsy(props: any, propName: string, componentName: string): Error; +export const history: React.Requireable; +export const location: React.Requireable; +export const component: React.Requireable; +export const components: React.Requireable; +export const route: React.Requireable; +export const routes: React.Requireable; + +export default { + falsy, + history, + location, + component, + components, + route +}; + diff --git a/react-router/v2/lib/Redirect.d.ts b/react-router/v2/lib/Redirect.d.ts new file mode 100644 index 0000000000..e09b576d53 --- /dev/null +++ b/react-router/v2/lib/Redirect.d.ts @@ -0,0 +1,19 @@ +import * as React from 'react'; +import Router from './Router'; +import * as H from 'history'; + +declare const self: self.Redirect; +type self = typeof self; +export default self; + +declare namespace self { + interface RedirectProps extends React.Props { + path?: Router.RoutePattern; + from?: Router.RoutePattern; // alias for path + to: Router.RoutePattern; + query?: H.Query; + state?: H.LocationState; + } + interface Redirect extends React.ComponentClass { } + interface RedirectElement extends React.ReactElement { } +} diff --git a/react-router/v2/lib/Route.d.ts b/react-router/v2/lib/Route.d.ts new file mode 100644 index 0000000000..2f5425b55a --- /dev/null +++ b/react-router/v2/lib/Route.d.ts @@ -0,0 +1,25 @@ +import * as React from 'react'; +import Router from './Router'; +import { Location } from 'history'; + +declare const self: self.Route; +type self = self.Route; +export default self; + +declare namespace self { + + interface RouteProps extends React.Props { + path?: Router.RoutePattern; + component?: Router.RouteComponent; + components?: Router.RouteComponents; + getComponent?: (nextState: Router.RouterState, cb: (error: any, component?: Router.RouteComponent) => void) => void + getComponents?: (nextState: Router.RouterState, cb: (error: any, components?: Router.RouteComponents) => void) => void + onEnter?: Router.EnterHook; + onLeave?: Router.LeaveHook; + onChange?: Router.ChangeHook; + getIndexRoute?: (location: Location, cb: (error: any, indexRoute: Router.RouteConfig) => void) => void; + getChildRoutes?: (location: Location, cb: (error: any, childRoutes: Router.RouteConfig) => void) => void; + } + interface Route extends React.ComponentClass {} + interface RouteElement extends React.ReactElement {} +} \ No newline at end of file diff --git a/react-router/lib/RouteContext.d.ts b/react-router/v2/lib/RouteContext.d.ts similarity index 100% rename from react-router/lib/RouteContext.d.ts rename to react-router/v2/lib/RouteContext.d.ts diff --git a/react-router/v2/lib/RouteUtils.d.ts b/react-router/v2/lib/RouteUtils.d.ts new file mode 100644 index 0000000000..7065056ff5 --- /dev/null +++ b/react-router/v2/lib/RouteUtils.d.ts @@ -0,0 +1,8 @@ +import * as React from 'react'; +import Router from './Router'; + +type E = React.ReactElement; +export function isReactChildren(object: E | E[]): boolean; +export function createRouteFromReactElement(element: E): Router.PlainRoute; +export function createRoutesFromReactChildren(children: E | E[], parentRoute: Router.PlainRoute): Router.PlainRoute[]; +export function createRoutes(routes: Router.RouteConfig): Router.PlainRoute[]; diff --git a/react-router/v2/lib/Router.d.ts b/react-router/v2/lib/Router.d.ts new file mode 100644 index 0000000000..a9c5417f47 --- /dev/null +++ b/react-router/v2/lib/Router.d.ts @@ -0,0 +1,116 @@ +import * as React from 'react'; +import RouterContext from './RouterContext'; +import { + QueryString, Query, + Location, LocationDescriptor, LocationState as HLocationState, + History, Href, + Pathname, Path } from 'history'; + +declare const Router: Router; +interface Router extends React.ComponentClass { } + +export default Router; + +// types based on https://github.com/rackt/react-router/blob/master/docs/Glossary.md + +declare namespace Router { + type RouteConfig = React.ReactNode | PlainRoute | PlainRoute[]; + type RoutePattern = string; + type RouteComponents = { [key: string]: RouteComponent }; + + type ParseQueryString = (queryString: QueryString) => Query; + type StringifyQuery = (queryObject: Query) => QueryString; + + type Component = React.ReactType; + type RouteComponent = Component; + + type EnterHook = (nextState: RouterState, replace: RedirectFunction, callback?: Function) => void; + type LeaveHook = () => void; + type ChangeHook = (prevState: RouterState, nextState: RouterState, replace: RedirectFunction, callback: Function) => void; + type RouteHook = (nextLocation?: Location) => any; + + type Params = { [param: string]: string }; + + type RouterListener = (error: Error, nextState: RouterState) => void; + + type LocationDescriptor = { + pathname?: Pathname + query?: Query + hash?: Href + state?: HLocationState + } + + interface RedirectFunction { + (location: LocationDescriptor): void; + /** + * @deprecated `replaceState(state, pathname, query) is deprecated; Use `replace(location)` with a location descriptor instead. http://tiny.cc/router-isActivedeprecated + */ + (state: HLocationState, pathname: Pathname | Path, query?: Query): void; + } + + interface RouterState { + location: Location; + routes: PlainRoute[]; + params: Params; + components: RouteComponent[]; + } + + interface RouterProps extends React.Props { + history?: History; + routes?: RouteConfig; // alias for children + createElement?: (component: RouteComponent, props: Object) => any; + onError?: (error: any) => any; + onUpdate?: () => any; + parseQueryString?: ParseQueryString; + stringifyQuery?: StringifyQuery; + basename?: string; + render?: (renderProps: React.Props<{}>) => RouterContext; + } + + interface PlainRoute { + path?: RoutePattern; + component?: RouteComponent; + components?: RouteComponents; + getComponent?: (location: Location, cb: (error: any, component?: RouteComponent) => void) => void; + getComponents?: (location: Location, cb: (error: any, components?: RouteComponents) => void) => void; + onEnter?: EnterHook; + onLeave?: LeaveHook; + indexRoute?: PlainRoute; + getIndexRoute?: (location: Location, cb: (error: any, indexRoute: RouteConfig) => void) => void; + childRoutes?: PlainRoute[]; + getChildRoutes?: (location: Location, cb: (error: any, childRoutes: RouteConfig) => void) => void; + } + + interface RouteComponentProps { + history?: History; + location?: Location; + params?: P; + route?: PlainRoute; + routeParams?: R; + routes?: PlainRoute[]; + children?: React.ReactElement; + } + + interface RouterOnContext extends History { + setRouteLeaveHook(route: PlainRoute, hook?: RouteHook): () => void; + isActive(pathOrLoc: Path | LocationDescriptor, indexOnly?: boolean): boolean; + } + + // Wrap a component using withRouter(Component) to provide a router object + // to the Component's props, allowing the Component to programmatically call + // push and other functions. + // + // https://github.com/reactjs/react-router/blob/v2.4.0/upgrade-guides/v2.4.0.md + + interface InjectedRouter { + push: (pathOrLoc: Path | LocationDescriptor) => void + replace: (pathOrLoc: Path | LocationDescriptor) => void + go: (n: number) => void + goBack: () => void + goForward: () => void + setRouteLeaveHook(route: PlainRoute, callback: RouteHook): void + createPath(path: History.Path, query?: History.Query): History.Path + createHref(path: History.Path, query?: History.Query): History.Href + isActive: (pathOrLoc: Path | LocationDescriptor, indexOnly?: boolean) => boolean + } +} diff --git a/react-router/v2/lib/RouterContext.d.ts b/react-router/v2/lib/RouterContext.d.ts new file mode 100644 index 0000000000..b6eab5831c --- /dev/null +++ b/react-router/v2/lib/RouterContext.d.ts @@ -0,0 +1,25 @@ +import * as React from 'react'; +import * as H from 'history'; +import Router from './Router'; + +declare const self: self.RouterContext; +type self = self.RouterContext; +export default self; + +declare namespace self { + interface RouterContextProps extends React.Props { + history?: H.History; + router: Router; + createElement: (component: Router.RouteComponent, props: Object) => any; + location: H.Location; + routes: Router.RouteConfig; + params: Router.Params; + components?: Router.RouteComponent[]; + } + interface RouterContext extends React.ComponentClass {} + interface RouterContextElement extends React.ReactElement { + history?: H.History; + location: H.Location; + router?: Router; + } +} \ No newline at end of file diff --git a/react-router/v2/lib/applyRouterMiddleware.d.ts b/react-router/v2/lib/applyRouterMiddleware.d.ts new file mode 100644 index 0000000000..ed87d815db --- /dev/null +++ b/react-router/v2/lib/applyRouterMiddleware.d.ts @@ -0,0 +1,9 @@ +import * as React from 'react'; +import Router from './Router'; +import RouterContext from './RouterContext'; + +export interface Middleware { + renderRouterContext?: (previous: RouterContext, props: React.Props<{}>) => RouterContext; + renderRouteComponent?: (previous: Router.RouteComponent, props: React.Props<{}>) => Router.RouteComponent; +} +export default function applyRouterMiddleware(...middlewares: Middleware[]): (renderProps: React.Props<{}>) => RouterContext; diff --git a/react-router/v2/lib/browserHistory.d.ts b/react-router/v2/lib/browserHistory.d.ts new file mode 100644 index 0000000000..aabbdc23f9 --- /dev/null +++ b/react-router/v2/lib/browserHistory.d.ts @@ -0,0 +1,3 @@ +import { History } from './routerHistory'; +declare const browserHistory: History; +export default browserHistory; diff --git a/react-router/v2/lib/createMemoryHistory.d.ts b/react-router/v2/lib/createMemoryHistory.d.ts new file mode 100644 index 0000000000..5df481bfa1 --- /dev/null +++ b/react-router/v2/lib/createMemoryHistory.d.ts @@ -0,0 +1,3 @@ +import * as H from 'history'; + +export default function createMemoryHistory(options?: H.HistoryOptions): H.History; \ No newline at end of file diff --git a/react-router/v2/lib/hashHistory.d.ts b/react-router/v2/lib/hashHistory.d.ts new file mode 100644 index 0000000000..79f89c2f1a --- /dev/null +++ b/react-router/v2/lib/hashHistory.d.ts @@ -0,0 +1,3 @@ +import { History } from './routerHistory'; +declare const hashHistory: History; +export default hashHistory; diff --git a/react-router/v2/lib/match.d.ts b/react-router/v2/lib/match.d.ts new file mode 100644 index 0000000000..e311ea69df --- /dev/null +++ b/react-router/v2/lib/match.d.ts @@ -0,0 +1,17 @@ +import * as H from 'history'; +import Router from './Router'; + +interface MatchArgs { + routes?: Router.RouteConfig; + history?: H.History; + location?: H.Location | string; + parseQueryString?: Router.ParseQueryString; + stringifyQuery?: Router.StringifyQuery; +} +interface MatchState extends Router.RouterState { + history: H.History; + router: Router; + createElement: (component: Router.RouteComponent, props: Object) => any; +} +export default function match(args: MatchArgs, cb: (error: any, nextLocation: H.Location, nextState: MatchState) => void): void; + diff --git a/react-router/lib/routerHistory.d.ts b/react-router/v2/lib/routerHistory.d.ts similarity index 100% rename from react-router/lib/routerHistory.d.ts rename to react-router/v2/lib/routerHistory.d.ts diff --git a/react-router/v2/lib/useRouterHistory.d.ts b/react-router/v2/lib/useRouterHistory.d.ts new file mode 100644 index 0000000000..d3e043b609 --- /dev/null +++ b/react-router/v2/lib/useRouterHistory.d.ts @@ -0,0 +1,7 @@ +import { History, HistoryOptions, HistoryQueries, CreateHistory } from 'history'; + +interface CreateRouterHistory { + (options?: HistoryOptions): History & HistoryQueries; +} + +export default function useRouterHistory(createHistory: CreateHistory): CreateRouterHistory; diff --git a/react-router/lib/useRoutes.d.ts b/react-router/v2/lib/useRoutes.d.ts similarity index 100% rename from react-router/lib/useRoutes.d.ts rename to react-router/v2/lib/useRoutes.d.ts diff --git a/react-router/v2/lib/withRouter.d.ts b/react-router/v2/lib/withRouter.d.ts new file mode 100644 index 0000000000..f698d94fd0 --- /dev/null +++ b/react-router/v2/lib/withRouter.d.ts @@ -0,0 +1,4 @@ +import * as React from 'react'; + +declare function withRouter | React.StatelessComponent | React.PureComponent>(component: C): C +export default withRouter; From 61af45367251ddb146a5c483f4cb2e6e88883868 Mon Sep 17 00:00:00 2001 From: Hutson Betts Date: Tue, 17 Jan 2017 14:03:06 -0600 Subject: [PATCH 042/613] fix(mocha): add index definition Add index definition to IHookCallbackContext to support Mocha's built-in context shared between setup, tear-down, and test cases. Context is Mocha's support for Shared Behaviors (https://github.com/mochajs/mocha/wiki/Shared-Behaviours) --- mocha/index.d.ts | 2 ++ mocha/mocha-tests.ts | 58 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/mocha/index.d.ts b/mocha/index.d.ts index 9ac84fa097..ec6fc5e142 100644 --- a/mocha/index.d.ts +++ b/mocha/index.d.ts @@ -118,6 +118,7 @@ declare namespace Mocha { interface IHookCallbackContext { skip(): void; timeout(ms: number): void; + [index: string]: any; } @@ -126,6 +127,7 @@ declare namespace Mocha { timeout(ms: number): void; retries(n: number): void; slow(ms: number): void; + [index: string]: any; } /** Partial interface for Mocha's `Runnable` class. */ diff --git a/mocha/mocha-tests.ts b/mocha/mocha-tests.ts index fc17a18221..8e8dc0d938 100644 --- a/mocha/mocha-tests.ts +++ b/mocha/mocha-tests.ts @@ -47,6 +47,8 @@ function test_it() { it('does something', () => { }); + it('does something', function () { this['sharedState'] = true; }); + it('does something', (done) => { done(); }); it.only('does something', () => { }); @@ -64,6 +66,8 @@ function test_test() { test('does something', () => { }); + test('does something', function () { this['sharedState'] = true; }); + test('does something', (done) => { done(); }); test.only('does something', () => { }); @@ -81,6 +85,8 @@ function test_specify() { specify('does something', () => { }); + specify('does something', function () { this['sharedState'] = true; }); + specify('does something', (done) => { done(); }); specify.only('does something', () => { }); @@ -97,6 +103,8 @@ function test_specify() { function test_before() { before(() => { }); + before(function () { this['sharedState'] = true; }); + before((done) => { done(); }); before("my description", () => { }); @@ -120,6 +128,17 @@ function test_setup() { string = this.currentTest.state; }); + setup(function() { + this['sharedState'] = true; + boolean = this.currentTest.async; + boolean = this.currentTest.pending; + boolean = this.currentTest.sync; + boolean = this.currentTest.timedOut; + string = this.currentTest.title; + string = this.currentTest.fullTitle(); + string = this.currentTest.state; + }); + setup(function (done) { done(); boolean = this.currentTest.async; @@ -135,6 +154,8 @@ function test_setup() { function test_after() { after(() => { }); + after(function () { this['sharedState'] = true; }); + after((done) => { done(); }); after("my description", () => { }); @@ -153,6 +174,17 @@ function test_teardown() { string = this.currentTest.state; }); + teardown(function() { + this['sharedState'] = true; + boolean = this.currentTest.async; + boolean = this.currentTest.pending; + boolean = this.currentTest.sync; + boolean = this.currentTest.timedOut; + string = this.currentTest.title; + string = this.currentTest.fullTitle(); + string = this.currentTest.state; + }); + teardown(function(done) { done(); boolean = this.currentTest.async; @@ -176,6 +208,17 @@ function test_beforeEach() { string = this.currentTest.state; }); + beforeEach(function () { + this['sharedState'] = true; + boolean = this.currentTest.async; + boolean = this.currentTest.pending; + boolean = this.currentTest.sync; + boolean = this.currentTest.timedOut; + string = this.currentTest.title; + string = this.currentTest.fullTitle(); + string = this.currentTest.state; + }); + beforeEach(function (done) { done(); boolean = this.currentTest.async; @@ -212,6 +255,8 @@ function test_beforeEach() { function test_suiteSetup() { suiteSetup(() => { }); + suiteSetup(function () { this['sharedState'] = true; }); + suiteSetup((done) => { done(); }); } @@ -226,6 +271,17 @@ function test_afterEach() { string = this.currentTest.state; }); + afterEach(function () { + this['sharedState'] = true; + boolean = this.currentTest.async; + boolean = this.currentTest.pending; + boolean = this.currentTest.sync; + boolean = this.currentTest.timedOut; + string = this.currentTest.title; + string = this.currentTest.fullTitle(); + string = this.currentTest.state; + }); + afterEach(function (done) { done(); boolean = this.currentTest.async; @@ -263,6 +319,8 @@ function test_afterEach() { function test_suiteTeardown() { suiteTeardown(() => { }); + suiteTeardown(function () { this['sharedState'] = true; }); + suiteTeardown((done) => { done(); }); } From 42e178120b56f2bd1ec20fb1075f9b709ca68f13 Mon Sep 17 00:00:00 2001 From: Marco Arruda Date: Tue, 17 Jan 2017 20:20:21 -0200 Subject: [PATCH 043/613] get actionlib servers --- roslib/index.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roslib/index.d.ts b/roslib/index.d.ts index fbb6deff6e..14fe2c1e3e 100644 --- a/roslib/index.d.ts +++ b/roslib/index.d.ts @@ -66,6 +66,16 @@ declare namespace ROSLIB { */ callOnConnection(message:any):void; + /** + * Retrieves list of actionlib servers in ROS as an array. + * + * @param callback function with params: + * * action_servers - Array of actionlib servers names + * @param failedCallback - the callback function when the ros call failed (optional). Params: + * * error - the error message reported by ROS + */ + getActionServers(callback:(action_servers:string[]) => void, failedCallback?:(error:any)=>void):void; + /** * Retrieves list of topics in ROS as an array. * From 9f396a35febe9d229c876d8cbeca26627594a604 Mon Sep 17 00:00:00 2001 From: Cyril Schumacher Date: Wed, 18 Jan 2017 17:09:27 +0100 Subject: [PATCH 044/613] Add "tslint.json" file. Replace "major.minor.build" by "major.minor". --- express-rate-limit/index.d.ts | 2 +- express-rate-limit/tsconfig.json | 38 +++++++++++++++++--------------- express-rate-limit/tslint.json | 1 + shipit-utils/index.d.ts | 2 +- shipit-utils/tsconfig.json | 38 +++++++++++++++++--------------- shipit-utils/tslint.json | 1 + shipit/index.d.ts | 2 +- shipit/tsconfig.json | 38 +++++++++++++++++--------------- shipit/tslint.json | 1 + 9 files changed, 66 insertions(+), 57 deletions(-) create mode 100644 express-rate-limit/tslint.json create mode 100644 shipit-utils/tslint.json create mode 100644 shipit/tslint.json diff --git a/express-rate-limit/index.d.ts b/express-rate-limit/index.d.ts index 57eb003694..07cb5853a5 100644 --- a/express-rate-limit/index.d.ts +++ b/express-rate-limit/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for express-rate-limit 2.6.0 +// Type definitions for express-rate-limit 2.6 // Project: https://github.com/nfriedly/express-rate-limit // Definitions by: Cyril Schumacher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/express-rate-limit/tsconfig.json b/express-rate-limit/tsconfig.json index 560edfef9d..ca3c32c3bb 100644 --- a/express-rate-limit/tsconfig.json +++ b/express-rate-limit/tsconfig.json @@ -1,20 +1,22 @@ { - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "express-rate-limit-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "express-rate-limit-tests.ts" + ] } diff --git a/express-rate-limit/tslint.json b/express-rate-limit/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/express-rate-limit/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } diff --git a/shipit-utils/index.d.ts b/shipit-utils/index.d.ts index a66b681c37..63df44974f 100644 --- a/shipit-utils/index.d.ts +++ b/shipit-utils/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for shipit-utils 1.4.0 +// Type definitions for shipit-utils 1.4 // Project: https://github.com/shipitjs/shipit-utils // Definitions by: Cyril Schumacher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/shipit-utils/tsconfig.json b/shipit-utils/tsconfig.json index fa4b1ce3b6..d2fdb45d17 100644 --- a/shipit-utils/tsconfig.json +++ b/shipit-utils/tsconfig.json @@ -1,20 +1,22 @@ { - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "shipit-utils-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "shipit-utils-tests.ts" + ] } diff --git a/shipit-utils/tslint.json b/shipit-utils/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/shipit-utils/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } diff --git a/shipit/index.d.ts b/shipit/index.d.ts index ab44d7abd8..7b153ae197 100644 --- a/shipit/index.d.ts +++ b/shipit/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for shipit-cli 1.5.1 +// Type definitions for shipit-cli 1.5 // Project: https://github.com/shipitjs/shipit // Definitions by: Cyril Schumacher // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/shipit/tsconfig.json b/shipit/tsconfig.json index 254ac2d9a5..17049e7271 100644 --- a/shipit/tsconfig.json +++ b/shipit/tsconfig.json @@ -1,20 +1,22 @@ { - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "shipit-tests.ts" - ] + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "shipit-tests.ts" + ] } diff --git a/shipit/tslint.json b/shipit/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/shipit/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 65701d7b2b3d60b309a7acd2fda6c10d2a77aec1 Mon Sep 17 00:00:00 2001 From: Pablo Moleri Date: Wed, 18 Jan 2017 14:03:23 -0300 Subject: [PATCH 045/613] Fix getLocation return type Also renamed GeoLocation type because it was being merged with Location type. --- webdriverio/index.d.ts | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/webdriverio/index.d.ts b/webdriverio/index.d.ts index fbc6925fa9..f033ec2bfc 100644 --- a/webdriverio/index.d.ts +++ b/webdriverio/index.d.ts @@ -352,36 +352,37 @@ declare namespace WebdriverIO { ): Client

; getHTML

(includeSelectorTag: boolean): Client

; - getLocation(selector?: string): Size; - getLocation(selector: string, axis: string): number; - getLocation(axis: string): number; + getLocation(selector?: string): Location; + getLocation(selector: string, axis: Axis): number; + getLocation(axis: Axis): number; getLocation

(selector?: string): Client

; getLocation

( selector: string, - axis: string + axis: Axis ): Client

; - getLocation

(axis: string): Client

; + getLocation

(axis: Axis): Client

; - getLocationInView(selector: string): Size; - getLocationInView(selector: string): Size[]; - getLocationInView(): Size; - getLocationInView(): Size[]; + getLocationInView(selector: string): Location; + getLocationInView(selector: string): Location[]; + getLocationInView(): Location; + getLocationInView(): Location[]; getLocationInView( selector: string, - axis: string + axis: Axis ): number; getLocationInView( selector: string, - axis: string + axis: Axis ): number[]; - getLocationInView(axis: string): number; - getLocationInView(axis: string): number[]; + getLocationInView(axis: Axis): number; + getLocationInView(axis: Axis): number[]; getLocationInView

(selector?: string): Client

; getLocationInView

( selector: string, - axis: string + axis: Axis ): Client

; - getLocationInView

(axis: string): Client

; + getLocationInView

(axis: Axis): Client

; + getSource(): Client; getSource

(): Client

; @@ -428,7 +429,7 @@ declare namespace WebdriverIO { value: any; } - export interface Location { + export interface GeoLocation { latitude: number; longitude: number; altitude: number; @@ -983,6 +984,8 @@ declare namespace WebdriverIO { switchTab

(windowHandle?: string): Client

; } + export type Axis = "x" | "y"; + export interface Options { protocol: string; waitforTimeout: number; From b033ae77a87c91fb93f351a29088e3806aa55b12 Mon Sep 17 00:00:00 2001 From: Andrew Zheng Date: Wed, 18 Jan 2017 15:14:17 -0800 Subject: [PATCH 046/613] Add optional parameter to verifyNoOutstandingExpectation() --- angular-mocks/angular-mocks-tests.ts | 1 + angular-mocks/index.d.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/angular-mocks/angular-mocks-tests.ts b/angular-mocks/angular-mocks-tests.ts index 8ea42e4122..cabbf7c578 100644 --- a/angular-mocks/angular-mocks-tests.ts +++ b/angular-mocks/angular-mocks-tests.ts @@ -118,6 +118,7 @@ httpBackendService.flush(); httpBackendService.flush(1234); httpBackendService.resetExpectations(); httpBackendService.verifyNoOutstandingExpectation(); +httpBackendService.verifyNoOutstandingExpectation(false); httpBackendService.verifyNoOutstandingRequest(); requestHandler = httpBackendService.expect('GET', 'http://test.local'); diff --git a/angular-mocks/index.d.ts b/angular-mocks/index.d.ts index ddded4d0a8..767eb65f04 100644 --- a/angular-mocks/index.d.ts +++ b/angular-mocks/index.d.ts @@ -132,8 +132,9 @@ declare module 'angular' { /** * Verifies that all of the requests defined via the expect api were made. If any of the requests were not made, verifyNoOutstandingExpectation throws an exception. + * @param digest Do digest before checking expectation. Pass anything expect false to trigger digest. */ - verifyNoOutstandingExpectation(): void; + verifyNoOutstandingExpectation(digest?: boolean): void; /** * Verifies that there are no outstanding requests that need to be flushed. From d11a1c562bae120d910d3542552285e5a142fbb1 Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Thu, 19 Jan 2017 09:46:36 +0900 Subject: [PATCH 047/613] Update some definitions based on history v2 --- react-router/index.d.ts | 13 +++++++++++++ react-router/lib/Router.d.ts | 4 +++- react-router/lib/createMemoryHistory.d.ts | 3 ++- react-router/lib/useRouterHistory.d.ts | 5 +++-- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/react-router/index.d.ts b/react-router/index.d.ts index 8398838aef..2b10a4cbcb 100644 --- a/react-router/index.d.ts +++ b/react-router/index.d.ts @@ -3,6 +3,19 @@ // Definitions by: Sergey Buturlakin , Yuichi Murata , Václav Ostrožlík , Nathan Brown , Alex Wendland , Kostya Esmukov , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +/* Replacement from old history definitions */ +export interface HistoryOptions { + getCurrentLocation?(): Location; + getUserConfirmation?(message: string, callback: (result: boolean) => void): void; + pushLocation?(nextLocation: Location): void; + replaceLocation?(nextLocation: Location): void; + go?(n: number): void; + keyLength?: number; +} + +export type CreateHistory = (options?: HistoryOptions) => T; +export type CreateHistoryEnhancer = (createHistory: CreateHistory) => CreateHistory; + export { Basename, ChangeHook, diff --git a/react-router/lib/Router.d.ts b/react-router/lib/Router.d.ts index 160694953f..dbd2d43fff 100644 --- a/react-router/lib/Router.d.ts +++ b/react-router/lib/Router.d.ts @@ -1,5 +1,6 @@ import { Component, ComponentClass, ClassAttributes, ReactNode, StatelessComponent } from "react"; import { + Action, Hash, History, Href, @@ -11,12 +12,13 @@ import { } from "history"; import { PlainRoute } from "react-router"; +/* Replacement from old history definitions */ export type Basename = string; export type Query = any; -export type Action = "PUSH" | "REPLACE" | "POP"; export interface Params { [key: string]: string; } + export type RoutePattern = string; export type RouteComponent = ComponentClass | StatelessComponent; export interface RouteComponents { diff --git a/react-router/lib/createMemoryHistory.d.ts b/react-router/lib/createMemoryHistory.d.ts index bb2fed561b..038e707e6b 100644 --- a/react-router/lib/createMemoryHistory.d.ts +++ b/react-router/lib/createMemoryHistory.d.ts @@ -1,4 +1,5 @@ -import { History, CreateHistory } from "history"; +import { History } from "history"; +import { CreateHistory } from "react-router"; declare const createMemoryHistory: CreateHistory; diff --git a/react-router/lib/useRouterHistory.d.ts b/react-router/lib/useRouterHistory.d.ts index 1371baa07b..7dc2bdd3ab 100644 --- a/react-router/lib/useRouterHistory.d.ts +++ b/react-router/lib/useRouterHistory.d.ts @@ -1,5 +1,6 @@ -import { History, CreateHistoryEnhancer } from "history"; +import { History } from "history"; +import { CreateHistoryEnhancer } from "react-router"; -declare const useRouterHistory: CreateHistoryEnhancer; +declare const useRouterHistory: CreateHistoryEnhancer; export default useRouterHistory; From 5ce5e784689f0ddccc1e7cdba6df700f2f435cef Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Thu, 19 Jan 2017 10:15:36 +0900 Subject: [PATCH 048/613] Remove unnecessary files, add tsconfig for old version --- react-router/index.d.ts.orig | 109 ---------- react-router/lib/Route.d.ts.orig | 49 ----- react-router/lib/Router.d.ts.orig | 213 -------------------- react-router/lib/useRouterHistory.d.ts.orig | 10 - react-router/lib/withRouter.d.ts.orig | 14 -- react-router/v2/tsconfig.json | 27 +++ 6 files changed, 27 insertions(+), 395 deletions(-) delete mode 100644 react-router/index.d.ts.orig delete mode 100644 react-router/lib/Route.d.ts.orig delete mode 100644 react-router/lib/Router.d.ts.orig delete mode 100644 react-router/lib/useRouterHistory.d.ts.orig delete mode 100644 react-router/lib/withRouter.d.ts.orig create mode 100644 react-router/v2/tsconfig.json diff --git a/react-router/index.d.ts.orig b/react-router/index.d.ts.orig deleted file mode 100644 index 52227f4d95..0000000000 --- a/react-router/index.d.ts.orig +++ /dev/null @@ -1,109 +0,0 @@ -<<<<<<< HEAD -// Type definitions for react-router 3.0 -======= -// Type definitions for react-router 2.0 ->>>>>>> upstream/master -// Project: https://github.com/rackt/react-router -// Definitions by: Sergey Buturlakin , Yuichi Murata , Václav Ostrožlík , Nathan Brown , Alex Wendland , Kostya Esmukov , Karol Janyst -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/* Replacement from old history definitions */ -export interface HistoryOptions { - getCurrentLocation?(): Location; - getUserConfirmation?(message: string, callback: (result: boolean) => void): void; - pushLocation?(nextLocation: Location): void; - replaceLocation?(nextLocation: Location): void; - go?(n: number): void; - keyLength?: number; -} - -export type CreateHistory = (options?: HistoryOptions) => T; -export type CreateHistoryEnhancer = (createHistory: CreateHistory) => CreateHistory; - -<<<<<<< HEAD -export { - Basename, - ChangeHook, - EnterHook, - InjectedRouter, - LeaveHook, - Location, - LocationDescriptor, - ParseQueryString, - RouteComponent, - RouteComponents, - RouteComponentProps, - RouteConfig, - RoutePattern, - RouterProps, - RouterState, - StringifyQuery, - Query -} from "react-router/lib/Router"; -export { LinkProps } from "react-router/lib/Link"; -export { IndexLinkProps } from "react-router/lib/IndexLink"; -export { RouteProps, PlainRoute } from "react-router/lib/Route"; -export { IndexRouteProps } from "react-router/lib/IndexRoute"; -export { RedirectProps } from "react-router/lib/Redirect"; -export { IndexRedirectProps } from "react-router/lib/IndexRedirect"; -======= -import * as React from 'react'; - -export const routerShape: React.Requireable; - -export const locationShape: React.Requireable; - -import Router from "./lib/Router"; -import Link from "./lib/Link"; -import IndexLink from "./lib/IndexLink"; -import IndexRedirect from "./lib/IndexRedirect"; -import IndexRoute from "./lib/IndexRoute"; -import Redirect from "./lib/Redirect"; -import Route from "./lib/Route"; -import * as History from "./lib/routerHistory"; -import Lifecycle from "./lib/Lifecycle"; -import RouteContext from "./lib/RouteContext"; -import browserHistory from "./lib/browserHistory"; -import hashHistory from "./lib/hashHistory"; -import useRoutes from "./lib/useRoutes"; -import { createRoutes } from "./lib/RouteUtils"; -import { formatPattern } from "./lib/PatternUtils"; -import RouterContext from "./lib/RouterContext"; -import PropTypes from "./lib/PropTypes"; -import match from "./lib/match"; -import useRouterHistory from "./lib/useRouterHistory"; -import createMemoryHistory from "./lib/createMemoryHistory"; -import withRouter from "./lib/withRouter"; -import applyRouterMiddleware from "./lib/applyRouterMiddleware"; - -// PlainRoute is defined in the API documented at: -// https://github.com/rackt/react-router/blob/master/docs/API.md -// but not included in any of the .../lib modules above. -export type PlainRoute = Router.PlainRoute; ->>>>>>> upstream/master - -/* components */ -export { default as Router } from "react-router/lib/Router"; -export { default as Link } from "react-router/lib/Link"; -export { default as IndexLink } from "react-router/lib/IndexLink"; -export { default as withRouter } from "react-router/lib/withRouter"; - -/* components (configuration) */ -export { default as IndexRedirect } from "react-router/lib/IndexRedirect"; -export { default as IndexRoute } from "react-router/lib/IndexRoute"; -export { default as Redirect } from "react-router/lib/Redirect"; -export { default as Route } from "react-router/lib/Route"; - -/* utils */ -export { createRoutes } from "react-router/lib/RouteUtils"; -export { default as RouterContext } from "react-router/lib/RouterContext"; -export { routerShape, locationShape } from "react-router/lib/PropTypes"; -export { default as match } from "react-router/lib/match"; -export { default as useRouterHistory } from "react-router/lib/useRouterHistory"; -export { formatPattern } from "react-router/lib/PatternUtils"; -export { default as applyRouterMiddleware } from "react-router/lib/applyRouterMiddleware"; - -/* histories */ -export { default as browserHistory } from "react-router/lib/browserHistory"; -export { default as hashHistory } from "react-router/lib/hashHistory"; -export { default as createMemoryHistory } from "react-router/lib/createMemoryHistory"; diff --git a/react-router/lib/Route.d.ts.orig b/react-router/lib/Route.d.ts.orig deleted file mode 100644 index c8a211517c..0000000000 --- a/react-router/lib/Route.d.ts.orig +++ /dev/null @@ -1,49 +0,0 @@ -import { ComponentClass, ClassAttributes } from "react"; -import { LocationState } from "history"; -import { - EnterHook, - ChangeHook, - LeaveHook, - RouteComponent, - RouteComponents, - RoutePattern, - RouterState -} from "react-router"; -import { IndexRouteProps } from "react-router/lib/IndexRoute"; - -export interface RouteProps extends IndexRouteProps { - path?: RoutePattern; -} - -type Route = ComponentClass; -declare const Route: Route; - -<<<<<<< HEAD -export default Route; - -type RouteCallback = (err: any, route: PlainRoute) => void; -type RoutesCallback = (err: any, routesArray: PlainRoute[]) => void; - -export interface PlainRoute extends RouteProps { - childRoutes?: PlainRoute[]; - getChildRoutes?(partialNextState: LocationState, callback: RoutesCallback): void; - indexRoute?: PlainRoute; - getIndexRoute?(partialNextState: LocationState, callback: RouteCallback): void; -} -======= - interface RouteProps extends React.Props { - path?: Router.RoutePattern; - component?: Router.RouteComponent; - components?: Router.RouteComponents; - getComponent?: (nextState: Router.RouterState, cb: (error: any, component?: Router.RouteComponent) => void) => void; - getComponents?: (nextState: Router.RouterState, cb: (error: any, components?: Router.RouteComponents) => void) => void; - onEnter?: Router.EnterHook; - onLeave?: Router.LeaveHook; - onChange?: Router.ChangeHook; - getIndexRoute?: (location: Location, cb: (error: any, indexRoute: Router.RouteConfig) => void) => void; - getChildRoutes?: (location: Location, cb: (error: any, childRoutes: Router.RouteConfig) => void) => void; - } - interface Route extends React.ComponentClass {} - interface RouteElement extends React.ReactElement {} -} ->>>>>>> upstream/master diff --git a/react-router/lib/Router.d.ts.orig b/react-router/lib/Router.d.ts.orig deleted file mode 100644 index 8b77e41bdf..0000000000 --- a/react-router/lib/Router.d.ts.orig +++ /dev/null @@ -1,213 +0,0 @@ -import { Component, ComponentClass, ClassAttributes, ReactNode, StatelessComponent } from "react"; -import { - Action, - Hash, - History, - Href, - LocationKey, - LocationState, - Path, - Pathname, - Search -} from "history"; -import { PlainRoute } from "react-router"; - -/* Replacement from old history definitions */ -export type Basename = string; -export type Query = any; -export interface Params { - [key: string]: string; -} - -export type RoutePattern = string; -export type RouteComponent = ComponentClass | StatelessComponent; -export interface RouteComponents { - [name: string]: RouteComponent; -} -export type RouteConfig = ReactNode | PlainRoute | PlainRoute[]; - -export type ParseQueryString = (queryString: Search) => Query; -export type StringifyQuery = (queryObject: Query) => Search; - -type AnyFunction = (...args: any[]) => any; - -export type EnterHook = (nextState: RouterState, replace: RedirectFunction, callback?: AnyFunction) => any; -export type LeaveHook = (prevState: RouterState) => any; -export type ChangeHook = (prevState: RouterState, nextState: RouterState, replace: RedirectFunction, callback?: AnyFunction) => any; -export type RouteHook = (nextLocation?: Location) => any; - -<<<<<<< HEAD -export interface Location { - patname: Pathname; - search: Search; - query: Query; - state: LocationState; - action: Action; - key: LocationKey; -======= -// types based on https://github.com/rackt/react-router/blob/master/docs/Glossary.md - -declare namespace Router { - type RouteConfig = React.ReactNode | PlainRoute | PlainRoute[]; - type RoutePattern = string; - interface RouteComponents { [key: string]: RouteComponent; } - - type ParseQueryString = (queryString: QueryString) => Query; - type StringifyQuery = (queryObject: Query) => QueryString; - - type Component = React.ReactType; - type RouteComponent = Component; - - type EnterHook = (nextState: RouterState, replace: RedirectFunction, callback?: Function) => void; - type LeaveHook = () => void; - type ChangeHook = (prevState: RouterState, nextState: RouterState, replace: RedirectFunction, callback: Function) => void; - type RouteHook = (nextLocation?: Location) => any; - - interface Params { [param: string]: string; } - - type RouterListener = (error: Error, nextState: RouterState) => void; - - interface LocationDescriptor { - pathname?: Pathname; - query?: Query; - hash?: Href; - state?: HLocationState; - } - - interface RedirectFunction { - (location: LocationDescriptor): void; - /** - * @deprecated `replaceState(state, pathname, query) is deprecated; Use `replace(location)` with a location descriptor instead. http://tiny.cc/router-isActivedeprecated - */ - (state: HLocationState, pathname: Pathname | Path, query?: Query): void; - } - - interface RouterState { - location: Location; - routes: PlainRoute[]; - params: Params; - components: RouteComponent[]; - } - - interface RouterProps extends React.Props { - history?: History; - routes?: RouteConfig; // alias for children - createElement?: (component: RouteComponent, props: Object) => any; - onError?: (error: any) => any; - onUpdate?: () => any; - parseQueryString?: ParseQueryString; - stringifyQuery?: StringifyQuery; - basename?: string; - render?: (renderProps: React.Props<{}>) => RouterContext; - } - - interface PlainRoute { - path?: RoutePattern; - component?: RouteComponent; - components?: RouteComponents; - getComponent?: (location: Location, cb: (error: any, component?: RouteComponent) => void) => void; - getComponents?: (location: Location, cb: (error: any, components?: RouteComponents) => void) => void; - onEnter?: EnterHook; - onLeave?: LeaveHook; - indexRoute?: PlainRoute; - getIndexRoute?: (location: Location, cb: (error: any, indexRoute: RouteConfig) => void) => void; - childRoutes?: PlainRoute[]; - getChildRoutes?: (location: Location, cb: (error: any, childRoutes: RouteConfig) => void) => void; - } - - interface RouteComponentProps { - history?: History; - location?: Location; - params?: P; - route?: PlainRoute; - routeParams?: R; - routes?: PlainRoute[]; - children?: React.ReactElement; - } - - interface RouterOnContext extends History { - setRouteLeaveHook(route: PlainRoute, hook?: RouteHook): () => void; - isActive(pathOrLoc: Path | LocationDescriptor, indexOnly?: boolean): boolean; - } - - // Wrap a component using withRouter(Component) to provide a router object - // to the Component's props, allowing the Component to programmatically call - // push and other functions. - // - // https://github.com/reactjs/react-router/blob/v2.4.0/upgrade-guides/v2.4.0.md - - interface InjectedRouter { - push: (pathOrLoc: Path | LocationDescriptor) => void; - replace: (pathOrLoc: Path | LocationDescriptor) => void; - go: (n: number) => void; - goBack: () => void; - goForward: () => void; - setRouteLeaveHook(route: PlainRoute, callback: RouteHook): void; - createPath(path: History.Path, query?: History.Query): History.Path; - createHref(path: History.Path, query?: History.Query): History.Href; - isActive: (pathOrLoc: Path | LocationDescriptor, indexOnly?: boolean) => boolean; - } ->>>>>>> upstream/master -} - -export interface LocationDescriptorObject { - pathname?: Pathname; - query?: Query; - hash?: Hash; - state?: LocationState; -} - -export type LocationDescriptor = Path | LocationDescriptorObject; - -export interface RedirectFunction { - (location: LocationDescriptor): void; - (state: LocationState, pathname: Pathname | Path, query?: Query): void; -} - -export interface RouterState { - location: Location; - routes: PlainRoute[]; - params: Params; - components: RouteComponent[]; -} - -type LocationFunction = (location: LocationDescriptor) => void; -type GoFunction = (n: number) => void; -type NavigateFunction = () => void; -type ActiveFunction = (location: LocationDescriptor, indexOnly?: boolean) => boolean; -type LeaveHookFunction = (route: any, callback: RouteHook) => void; -type CreatePartFunction = (path: Path, query?: any) => Part; - -export interface InjectedRouter { - push: LocationFunction; - replace: LocationFunction; - go: GoFunction; - goBack: NavigateFunction; - goForward: NavigateFunction; - setRouteLeaveHook: LeaveHookFunction; - createPath: CreatePartFunction; - createHref: CreatePartFunction; - isActive: ActiveFunction; -} - -export interface RouteComponentProps { - location?: Location; - params?: P & R; - route?: PlainRoute; - router?: InjectedRouter; - routeParams?: R; -} - -export interface RouterProps extends ClassAttributes { - routes?: RouteConfig; - history?: History; - createElement?(component: RouteComponent, props: any): any; - onError?(error: any): any; - onUpdate?(): any; - render?(props: any): ReactNode; -} - -type Router = ComponentClass; -declare const Router: Router; - -export default Router; diff --git a/react-router/lib/useRouterHistory.d.ts.orig b/react-router/lib/useRouterHistory.d.ts.orig deleted file mode 100644 index 01609c5a48..0000000000 --- a/react-router/lib/useRouterHistory.d.ts.orig +++ /dev/null @@ -1,10 +0,0 @@ -import { History } from "history"; -import { CreateHistoryEnhancer } from "react-router"; - -<<<<<<< HEAD -declare const useRouterHistory: CreateHistoryEnhancer; - -export default useRouterHistory; -======= -export default function useRouterHistory(createHistory: CreateHistory): (options?: HistoryOptions) => History & HistoryQueries; ->>>>>>> upstream/master diff --git a/react-router/lib/withRouter.d.ts.orig b/react-router/lib/withRouter.d.ts.orig deleted file mode 100644 index ab51b2111e..0000000000 --- a/react-router/lib/withRouter.d.ts.orig +++ /dev/null @@ -1,14 +0,0 @@ -import { ComponentClass, StatelessComponent } from "react"; - -<<<<<<< HEAD -interface Options { - withRef?: boolean; -} - -type ComponentConstructor

= ComponentClass

| StatelessComponent

; - -export default function withRouter

(component: ComponentConstructor

, options?: Options): ComponentClass

; -======= -declare function withRouter | React.StatelessComponent | React.PureComponent>(component: C): C; -export default withRouter; ->>>>>>> upstream/master diff --git a/react-router/v2/tsconfig.json b/react-router/v2/tsconfig.json new file mode 100644 index 0000000000..7cc347abc4 --- /dev/null +++ b/react-router/v2/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "history": ["history/v2"], + "react-router": ["react-router/v2"] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "react-router-redux-tests.ts" + ] +} From f49ca4f7ab7ee036e3aa1deab3558758c70326f0 Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Thu, 19 Jan 2017 11:13:06 +0900 Subject: [PATCH 049/613] Update react-router-bootstrap definitions --- react-router-bootstrap/index.d.ts | 44 ++----------------- .../lib/IndexLinkContainer.d.ts | 7 +++ react-router-bootstrap/lib/LinkContainer.d.ts | 7 +++ react-router-bootstrap/tsconfig.json | 3 -- 4 files changed, 18 insertions(+), 43 deletions(-) create mode 100644 react-router-bootstrap/lib/IndexLinkContainer.d.ts create mode 100644 react-router-bootstrap/lib/LinkContainer.d.ts diff --git a/react-router-bootstrap/index.d.ts b/react-router-bootstrap/index.d.ts index b4b36006ec..c414d8f3b0 100644 --- a/react-router-bootstrap/index.d.ts +++ b/react-router-bootstrap/index.d.ts @@ -1,43 +1,7 @@ -// Type definitions for react-router-bootstrap +// Type definitions for react-router-bootstrap 0.23 // Project: https://github.com/react-bootstrap/react-router-bootstrap -// Definitions by: Vincent Lesierse +// Definitions by: Vincent Lesierse , Karol Janyst // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// -/// - -declare namespace ReactRouterBootstrap { - interface LinkContainerProps extends ReactRouter.LinkProps { - disabled?: boolean - } - interface LinkContainer extends React.ComponentClass {} - interface LinkContainerElement extends React.ReactElement {} - const LinkContainer: LinkContainer - - const IndexLinkContainer: LinkContainer -} - -declare module "react-router-bootstrap/lib/LinkContainer" { - - export default ReactRouterBootstrap.LinkContainer - -} - -declare module "react-router-bootstrap/lib/IndexLinkContainer" { - - export default ReactRouterBootstrap.IndexLinkContainer - -} - -declare module "react-router-bootstrap" { - - import LinkContainer from "react-router-bootstrap/lib/LinkContainer" - - import IndexLinkContainer from "react-router-bootstrap/lib/IndexLinkContainer" - - export { - LinkContainer, - IndexLinkContainer - } - -} +export { default as LinkContainer } from "react-router-bootstrap/lib/LinkContainer" +export { default as IndexLinkContainer } from "react-router-bootstrap/lib/IndexLinkContainer" diff --git a/react-router-bootstrap/lib/IndexLinkContainer.d.ts b/react-router-bootstrap/lib/IndexLinkContainer.d.ts new file mode 100644 index 0000000000..045edc1fde --- /dev/null +++ b/react-router-bootstrap/lib/IndexLinkContainer.d.ts @@ -0,0 +1,7 @@ +import { ComponentClass } from "react"; +import { IndexLinkProps } from "react-router/lib/IndexLink"; + +type IndexLinkContainer = ComponentClass; +declare const IndexLinkContainer: IndexLinkContainer; + +export default IndexLinkContainer; diff --git a/react-router-bootstrap/lib/LinkContainer.d.ts b/react-router-bootstrap/lib/LinkContainer.d.ts new file mode 100644 index 0000000000..df5ac3cbdb --- /dev/null +++ b/react-router-bootstrap/lib/LinkContainer.d.ts @@ -0,0 +1,7 @@ +import { ComponentClass } from "react"; +import { LinkProps } from "react-router/lib/Link"; + +type LinkContainer = ComponentClass; +declare const LinkContainer: LinkContainer; + +export default LinkContainer; diff --git a/react-router-bootstrap/tsconfig.json b/react-router-bootstrap/tsconfig.json index 7e111b1004..ecee2cb765 100644 --- a/react-router-bootstrap/tsconfig.json +++ b/react-router-bootstrap/tsconfig.json @@ -10,9 +10,6 @@ "strictNullChecks": false, "jsx": "preserve", "baseUrl": "../", - "paths": { - "history": ["history/v2"] - }, "typeRoots": [ "../" ], From 4b89363df8ae1f1da5edba6f365c8c0a50d2d3f5 Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Thu, 19 Jan 2017 11:17:58 +0900 Subject: [PATCH 050/613] Fix tsconfig files --- react-router-bootstrap/tsconfig.json | 3 +++ react-router/tsconfig.json | 13 ++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/react-router-bootstrap/tsconfig.json b/react-router-bootstrap/tsconfig.json index ecee2cb765..2fc57383ed 100644 --- a/react-router-bootstrap/tsconfig.json +++ b/react-router-bootstrap/tsconfig.json @@ -17,6 +17,9 @@ "noEmit": true, "forceConsistentCasingInFileNames": true }, + "include": [ + "lib/*.d.ts" + ], "files": [ "index.d.ts", "react-router-bootstrap-tests.tsx" diff --git a/react-router/tsconfig.json b/react-router/tsconfig.json index 8e5f5d47b6..e06f11b4a3 100644 --- a/react-router/tsconfig.json +++ b/react-router/tsconfig.json @@ -1,8 +1,4 @@ { - "files": [ - "index.d.ts", - "react-router-tests.tsx" - ], "compilerOptions": { "module": "commonjs", "lib": [ @@ -20,5 +16,12 @@ "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true - } + }, + "include": [ + "lib/*.d.ts" + ], + "files": [ + "index.d.ts", + "react-router-tests.tsx" + ], } From 2bef57bed0b9d40a708e845f52ca30cb2374b9c2 Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Thu, 19 Jan 2017 11:22:18 +0900 Subject: [PATCH 051/613] Fix react-router tsconfig --- react-router/tsconfig.json | 2 +- react-router/tslint.json | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/react-router/tsconfig.json b/react-router/tsconfig.json index e06f11b4a3..d13560189e 100644 --- a/react-router/tsconfig.json +++ b/react-router/tsconfig.json @@ -23,5 +23,5 @@ "files": [ "index.d.ts", "react-router-tests.tsx" - ], + ] } diff --git a/react-router/tslint.json b/react-router/tslint.json index e050abdce9..f9e30021f4 100644 --- a/react-router/tslint.json +++ b/react-router/tslint.json @@ -1,7 +1,3 @@ { - "extends": "../tslint.json", - "rules": { - "forbidden-types": false, - "no-empty-interface": false - } -} \ No newline at end of file + "extends": "../tslint.json" +} From 3ce2018675b0606bd4149c59e602f64219f2535a Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Thu, 19 Jan 2017 12:12:31 +0900 Subject: [PATCH 052/613] Change include to files in tsconfig --- react-router-bootstrap/tsconfig.json | 5 ++--- react-router/tsconfig.json | 21 ++++++++++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/react-router-bootstrap/tsconfig.json b/react-router-bootstrap/tsconfig.json index 2fc57383ed..1760fc3f1a 100644 --- a/react-router-bootstrap/tsconfig.json +++ b/react-router-bootstrap/tsconfig.json @@ -17,11 +17,10 @@ "noEmit": true, "forceConsistentCasingInFileNames": true }, - "include": [ - "lib/*.d.ts" - ], "files": [ "index.d.ts", + "lib/IndexLinkContainer.d.ts", + "lib/LinkContainer.d.ts", "react-router-bootstrap-tests.tsx" ] } diff --git a/react-router/tsconfig.json b/react-router/tsconfig.json index d13560189e..c013e2c959 100644 --- a/react-router/tsconfig.json +++ b/react-router/tsconfig.json @@ -17,11 +17,26 @@ "noEmit": true, "forceConsistentCasingInFileNames": true }, - "include": [ - "lib/*.d.ts" - ], "files": [ "index.d.ts", + "lib/applyRouterMiddleware.d.ts", + "lib/browserHistory.d.ts", + "lib/createMemoryHistory.d.ts", + "lib/hashHistory.d.ts", + "lib/IndexLink.d.ts", + "lib/IndexRedirect.d.ts", + "lib/IndexRoute.d.ts", + "lib/Link.d.ts", + "lib/match.d.ts", + "lib/PatternUtils.d.ts", + "lib/PropTypes.d.ts", + "lib/Redirect.d.ts", + "lib/Route.d.ts", + "lib/Router.d.ts", + "lib/RouterContext.d.ts", + "lib/RouteUtils.d.ts", + "lib/useRouterHistory.d.ts", + "lib/withRouter.d.ts", "react-router-tests.tsx" ] } From ab95e31c3f86178515ec6450b50f5d80feaef881 Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Thu, 19 Jan 2017 12:40:16 +0900 Subject: [PATCH 053/613] Remove test file from v2 tsconfig --- react-router/v2/tsconfig.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/react-router/v2/tsconfig.json b/react-router/v2/tsconfig.json index 7cc347abc4..c92402947c 100644 --- a/react-router/v2/tsconfig.json +++ b/react-router/v2/tsconfig.json @@ -21,7 +21,6 @@ "forceConsistentCasingInFileNames": true }, "files": [ - "index.d.ts", - "react-router-redux-tests.ts" + "index.d.ts" ] } From 2b5726e1b8f69514afd202e78c967e5cc6bac54a Mon Sep 17 00:00:00 2001 From: karak Date: Thu, 19 Jan 2017 15:19:50 +0900 Subject: [PATCH 054/613] [material-ui] Fixed muiThemeable on decorator usage #9843 --- material-ui/index.d.ts | 5 ++++- material-ui/material-ui-tests.tsx | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/material-ui/index.d.ts b/material-ui/index.d.ts index 716505987d..f60bb7e7ae 100644 --- a/material-ui/index.d.ts +++ b/material-ui/index.d.ts @@ -452,7 +452,10 @@ declare namespace __MaterialUI { var lightBaseTheme: RawTheme; var darkBaseTheme: RawTheme; - export function muiThemeable, P, S>(): (component: TComponent) => TComponent; + export function muiThemeable(): < + TComponent extends React.ComponentClass

| React.StatelessComponent

, + P extends {muiTheme?: MuiTheme} + >(component: TComponent) => TComponent; interface MuiThemeProviderProps { muiTheme?: Styles.MuiTheme; diff --git a/material-ui/material-ui-tests.tsx b/material-ui/material-ui-tests.tsx index 04b8f0ec32..8dcc0fe07e 100644 --- a/material-ui/material-ui-tests.tsx +++ b/material-ui/material-ui-tests.tsx @@ -7,6 +7,7 @@ import * as React from 'react'; import {Component, PropTypes} from 'react'; import * as ReactDOM from 'react-dom'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; +import {muiThemeable} from 'material-ui/styles/muiThemeable'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import darkBaseTheme from 'material-ui/styles/baseThemes/darkBaseTheme'; import {MuiTheme} from 'material-ui/styles'; @@ -321,6 +322,35 @@ class DeepDownTheTree extends React.Component<{} & {muiTheme: MuiTheme}, {}> { } +const MuiThemeableFunction = muiThemeable()((props: {label: string, muiTheme?: MuiTheme}) => { + return ( + + Applied the Theme to functional component: {props.label}. + + ); +}); + +@muiThemeable() +class MuiThemeableClass extends React.Component<{label: string} & {muiTheme?: MuiTheme}, {}> { + render() { + return ( + + Applied the Theme to class component decorated: {this.props.label}. + + ); + } +} + +const MuiThemeableContainer = (props: {}) => ( + +

+ + +
+ +); + + // "http://www.material-ui.com/#/customization/inline-styles" const InlineStylesCheckbox = () => ( Date: Thu, 19 Jan 2017 11:23:27 +0100 Subject: [PATCH 055/613] Add user object to Express.Request The JWT authentication middleware authenticates callers using a JWT. If the token is valid, req.user will be set with the JSON object decoded to be used by later middleware for authorization and access control. --- express-jwt/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/express-jwt/index.d.ts b/express-jwt/index.d.ts index e721094edc..edffeb9632 100644 --- a/express-jwt/index.d.ts +++ b/express-jwt/index.d.ts @@ -37,3 +37,10 @@ declare namespace jwt { unless?: typeof unless; } } +declare global { + namespace Express { + export interface Request { + user?: any + } + } +} From fac57d46263790b607f28881422aa9aac55d750c Mon Sep 17 00:00:00 2001 From: Jonathan Jayet Date: Thu, 19 Jan 2017 16:00:50 +0100 Subject: [PATCH 056/613] Fix a small issue withing the multer typing --- multer/index.d.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/multer/index.d.ts b/multer/index.d.ts index 2437f498db..1e388f7630 100644 --- a/multer/index.d.ts +++ b/multer/index.d.ts @@ -48,22 +48,22 @@ declare namespace multer { /** A function used to determine within which folder the uploaded files should be stored. Defaults to the system's default temporary directory. */ destination?: string | ((req: Express.Request, file: Express.Multer.File, callback: (error: Error, destination: string) => void) => void); /** A function used to determine what the file should be named inside the folder. Defaults to a random name with no file extension. */ - filename?: (req: Express.Request, file: Express.Multer.File, callback: (error: Error, filename: string) => void) => void; + filename?: (req: Express.Request, file: Express.Multer.File, callback: (error?: Error, filename?: string) => void) => void; } interface Instance { - /** In case you need to handle a text-only multipart form, you can use any of the multer methods (.single(), .array(), fields()), req.body contains the text fields */ - single(): express.RequestHandler; - /** Accept a single file with the name fieldname. The single file will be stored in req.file. */ - single(fieldame: string): express.RequestHandler; - /** In case you need to handle a text-only multipart form, you can use any of the multer methods (.single(), .array(), fields()), req.body contains the text fields */ - array(): express.RequestHandler; - /** Accept an array of files, all with the name fieldname. Optionally error out if more than maxCount files are uploaded. The array of files will be stored in req.files. */ - array(fieldame: string, maxCount?: number): express.RequestHandler; - /** Accept a mix of files, specified by fields. An object with arrays of files will be stored in req.files. */ - fields(fields: Field[]): express.RequestHandler; - /** In case you need to handle a text-only multipart form, you can use any of the multer methods (.single(), .array(), fields()), req.body contains the text fields */ - any(): express.RequestHandler; + /** In case you need to handle a text-only multipart form, you can use any of the multer methods (.single(), .array(), fields()), req.body contains the text fields */ + single(): express.RequestHandler; + /** Accept a single file with the name fieldname. The single file will be stored in req.file. */ + single(fieldame: string): express.RequestHandler; + /** In case you need to handle a text-only multipart form, you can use any of the multer methods (.single(), .array(), fields()), req.body contains the text fields */ + array(): express.RequestHandler; + /** Accept an array of files, all with the name fieldname. Optionally error out if more than maxCount files are uploaded. The array of files will be stored in req.files. */ + array(fieldame: string, maxCount?: number): express.RequestHandler; + /** Accept a mix of files, specified by fields. An object with arrays of files will be stored in req.files. */ + fields(fields: Field[]): express.RequestHandler; + /** In case you need to handle a text-only multipart form, you can use any of the multer methods (.single(), .array(), fields()), req.body contains the text fields */ + any(): express.RequestHandler; } } From c779cebd7f18a885b1e956020d884438c1e5566e Mon Sep 17 00:00:00 2001 From: Jonathan Jayet Date: Thu, 19 Jan 2017 16:07:39 +0100 Subject: [PATCH 057/613] Better typing yet --- multer/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multer/index.d.ts b/multer/index.d.ts index 1e388f7630..53fdcd7add 100644 --- a/multer/index.d.ts +++ b/multer/index.d.ts @@ -48,7 +48,7 @@ declare namespace multer { /** A function used to determine within which folder the uploaded files should be stored. Defaults to the system's default temporary directory. */ destination?: string | ((req: Express.Request, file: Express.Multer.File, callback: (error: Error, destination: string) => void) => void); /** A function used to determine what the file should be named inside the folder. Defaults to a random name with no file extension. */ - filename?: (req: Express.Request, file: Express.Multer.File, callback: (error?: Error, filename?: string) => void) => void; + filename?: (req: Express.Request, file: Express.Multer.File, callback: (error: Error | null, filename: string) => void) => void; } interface Instance { From e76c78bd71ea47bb417a853950844b9b320b86f9 Mon Sep 17 00:00:00 2001 From: Sergei Dorogin Date: Thu, 19 Jan 2017 21:26:35 +0300 Subject: [PATCH 058/613] jquery.fileupload added JQueryFileUploadXhr.headers field --- jquery.fileupload/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/jquery.fileupload/index.d.ts b/jquery.fileupload/index.d.ts index 8eba9853b2..54ebb89c5c 100644 --- a/jquery.fileupload/index.d.ts +++ b/jquery.fileupload/index.d.ts @@ -284,6 +284,7 @@ interface JQueryFileUploadXhr { jqXHR: JQueryXHR; result: any; textStatus: string; + headers: {[key: string]: any}; } interface JQueryFileUploadFilesObject { From a4dec0334cc80b0f943f114770945bb154f9364d Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Fri, 20 Jan 2017 09:03:18 +0900 Subject: [PATCH 059/613] Fix react-breadcrumbs --- react-breadcrumbs/index.d.ts | 23 +++++++++-------------- react-breadcrumbs/tsconfig.json | 3 ++- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/react-breadcrumbs/index.d.ts b/react-breadcrumbs/index.d.ts index 1d247f215d..67f1a89090 100644 --- a/react-breadcrumbs/index.d.ts +++ b/react-breadcrumbs/index.d.ts @@ -1,13 +1,17 @@ -// Type definitions for react-breadcrumbs 1.3.16 +// Type definitions for react-breadcrumbs 1.3 // Project: https://github.com/svenanders/react-breadcrumbs // Definitions by: Kostya Esmukov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// -/// +import * as React from "react"; +import * as ReactRouter from "react-router"; -declare namespace ReactBreadcrumbs { - interface BreadcrumbsProps extends React.Props { +export = Breadcrumbs; +type Breadcrumbs = React.ComponentClass; +declare const Breadcrumbs: Breadcrumbs; + +declare namespace Breadcrumbs { + interface Props extends React.ClassAttributes { separator?: string | JSX.Element; displayMissing?: boolean; prettify?: boolean; @@ -26,13 +30,4 @@ declare namespace ReactBreadcrumbs { setDocumentTitle?: boolean; params?: any; // todo make it compatible with params of the ReactRouter.RouteComponentProps } - - interface Breadcrumbs extends React.ComponentClass {} - const Breadcrumbs: Breadcrumbs; -} - -declare module 'react-breadcrumbs' { - import Breadcrumbs = ReactBreadcrumbs.Breadcrumbs; - - export = Breadcrumbs; } diff --git a/react-breadcrumbs/tsconfig.json b/react-breadcrumbs/tsconfig.json index 0092616bce..d1a0ccc542 100644 --- a/react-breadcrumbs/tsconfig.json +++ b/react-breadcrumbs/tsconfig.json @@ -10,7 +10,8 @@ "strictNullChecks": false, "baseUrl": "../", "paths": { - "history": ["history/v2"] + "history": ["history/v2"], + "react-router": ["react-router/v2"] }, "typeRoots": [ "../" From 848999f5764d0a4af62ad49ee12ea6de80bcde51 Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Fri, 20 Jan 2017 09:28:08 +0900 Subject: [PATCH 060/613] Add path mapping to react-i18next --- react-i18next/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react-i18next/tsconfig.json b/react-i18next/tsconfig.json index bba519bbd3..5936e04b91 100644 --- a/react-i18next/tsconfig.json +++ b/react-i18next/tsconfig.json @@ -11,7 +11,8 @@ "baseUrl": "../", "paths": { "history": ["history/v2"], - "history/*": ["history/v2/*"] + "history/*": ["history/v2/*"], + "react-router": ["react-router/v2"], }, "typeRoots": [ "../" From 567657e3fab839bdeb535ea23c6593cbc8ce7588 Mon Sep 17 00:00:00 2001 From: Kir Dergachev Date: Thu, 19 Jan 2017 15:29:50 +0300 Subject: [PATCH 061/613] Added types for SIP.js --- SIP.js/SIP.js-tests.ts | 99 ++++++++++++ SIP.js/index.d.ts | 354 +++++++++++++++++++++++++++++++++++++++++ SIP.js/tsconfig.json | 23 +++ SIP.js/tslint.json | 1 + 4 files changed, 477 insertions(+) create mode 100644 SIP.js/SIP.js-tests.ts create mode 100644 SIP.js/index.d.ts create mode 100644 SIP.js/tsconfig.json create mode 100644 SIP.js/tslint.json diff --git a/SIP.js/SIP.js-tests.ts b/SIP.js/SIP.js-tests.ts new file mode 100644 index 0000000000..f688fe67ae --- /dev/null +++ b/SIP.js/SIP.js-tests.ts @@ -0,0 +1,99 @@ +import SIP = require("./index"); + +let ua: SIP.UA = new SIP.UA(); + +const mediaHandler = (session: SIP.Session, options: SIP.WebRTC.Options) => new SIP.WebRTC.MediaHandler(); +const logConnector = (level: string, category: string, label: string, content: string) => null; + +const uaWithConfig: SIP.UA = new SIP.UA({ + uri: "wss://uri", + wsServers: ["s1", "s2"], + allowLegacyNotifications: true, + authenticationFactory: mediaHandler, + authorizationUser: "user", + autostart: true, + connectionRecoveryMaxInterval: 1, + connectionRecoveryMinInterval: 1, + displayName: "name", + hackCleanJitsiSdpImageattr: true, + hackStripTcp: true, + hackIpInContact: true, + hackViaTcp: true, + hackWssInTransport: true, + iceCheckingTimeout: 1, + instanceId: "id", + log: { + builtinEnabled: true, + level: 1, + connector: logConnector + }, + mediaHandlerFactory: mediaHandler, + noAnswerTimeout: 1, + password: "", + register: true, + registerExpires: 1, + registrarServer: "sip:registrar.mydomain.com", + rel100: "", + replaces: "", + stunServers: ["", ""], + turnServers: [ + { + password: "", + username: "", + urls: ["", ""] + } + ], + usePreloadedRoute: true, + userAgentString: "", + wsServerMaxReconnection: 1, + wsServerReconnectionTimeout: 1 +}); + +ua.start(); +ua.stop(); + +ua.register(); +ua = ua.register({ extraHeaders: [""] }); + +ua.unregister() +ua.unregister({ extraHeaders: [""], all: true }); + +const isConnected: boolean = ua.isConnected(); +const isRegistered: boolean = ua.isRegistered(); + +const message: SIP.Message = ua.message("", "", { contentType: "" }); + +ua.subscribe("", "", { expires: 1, extraHeaders: [""]}); +const subscription: SIP.Subscription = ua.subscribe(new SIP.URI(), "", { expires: 1, extraHeaders: [""]}); + +let session = ua.invite("", new HTMLVideoElement()); + +const inviteOptions: SIP.InviteOptions = { + media: { + constraints: { audio: true, video: false }, + stream: new MediaStream(), + render: { remote: new Element(), local: new Element() }, + }, + anonymous: true, + rel100: "", + inviteWithoutSdp: true, + RTCConstraints: new RTCPeerConnection() +} + +session = ua.invite("", inviteOptions); + +ua.on('connected', (args: SIP.UA.EventArgs.ConnectedArgs) => {}); +ua.on('disconnected', () => {}); +ua.on('registered', () => {}); +ua.on('unregistered', (args: SIP.UA.EventArgs.UnregisteredArgs) => {}); +ua.on('registrationFailed', (args: SIP.UA.EventArgs.RegistrationFailedArgs) => {}); +ua.on('invite', (session: SIP.Session) => { + session.on('progress', (response) => { + }); + session.on('accepted', (response) => { + }); + session.on('rejected', (response) => { + }); + +}); +ua.on('message', (message: SIP.Message) => {}); diff --git a/SIP.js/index.d.ts b/SIP.js/index.d.ts new file mode 100644 index 0000000000..0eaabb9b48 --- /dev/null +++ b/SIP.js/index.d.ts @@ -0,0 +1,354 @@ +// Type definitions for SIP.js v0.7.6 +// Project: https://sipjs.com/ +// Definitions by: Kir Dergachev +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export = SIP; + +declare namespace SIP { + + class URI { + constructor( + scheme?: string, + user?: string, + host?: string, + port?: number, + parameters?: string[], + headers?: string[]); + + scheme?: string; + user?: string; + host?: string; + port?: number; + + setParam(key: string, value?: string): void; + getParam(key: string): string; + hasParam(key: string): string; + deleteParam(key: string): string; + clearParams(): void; + setHeader(name: string, value: string): void; + getHeader(name: string): string[]; + hasHeader(name: string): boolean; + deleteHeader(name: string): string[]; + clearHeaders(): void; + clone(): URI; + toString(): string; + + static parse(uri: string): URI; + } + + namespace UA.EventArgs { + interface ConnectedArgs { attempts: number } + interface UnregisteredArgs { response: string; cause: string; } + interface RegistrationFailedArgs extends UnregisteredArgs { } + } + + class UA { + constructor(configuration?: ConfigurationParameters); + start(): void; + stop(): void; + register(options?: ExtraHeadersOptions): UA; + unregister(options?: UnregisterOptions): void; + isRegistered(): boolean; + isConnected(): boolean; + message(target: string | URI, body: string, options?: MessageOptions): Message; + subscribe(target: string | URI, event: string, options?: SubscribeOptions): Subscription; + invite(target: string | URI, options?: InviteOptions): Session; + invite(target: string | URI, element?: HTMLAudioElement | HTMLVideoElement): Session; + request(method: string, target: string | URI, options?: RequestOptions): ClientContext; + + on(name: 'connected', callback: (args: UA.EventArgs.ConnectedArgs) => void): void; + on(name: 'disconnected' | 'registered', callback: () => void): void; + on(name: 'unregistered', callback: (args: UA.EventArgs.UnregisteredArgs) => void): void; + on(name: 'registrationFailed', callback: (args: UA.EventArgs.RegistrationFailedArgs) => void): void; + on(name: 'invite', callback: (session: Session) => void): void; + on(name: 'message', callback: (message: Message) => void): void; + } + + namespace UA.C { + class supported { + REQUIRED: string; + SUPPORTED: string; + UNSUPPORTED: string; + } + + class causes { + INVALID_TARGET: string; + CONNECTION_ERROR: string; + REQUEST_TIMEOUT: string; + SIP_FAILURE_CODE: string; + } + } + + class Session { + startTime?: Date; + endTime?: Date; + ua?: UA; + method?: string; + mediaHandler?: WebRTC.MediaHandler; + request?: IncomingRequest | OutgoingRequest; + localIdentity?: NameAddrHeader; + remoteIdentity?: NameAddrHeader; + data: ClientContext | ServerContext; + + dtmf(tone: string | number, options?: Session.DtmfOptions): Session; + terminate(options?: Session.CommonOptions): Session; + bye(options?: Session.CommonOptions): Session; + getLocalStreams(): MediaStream[]; + getRemoteStreams(): MediaStream[]; + refer(target: string | Session, options?: ExtraHeadersOptions): Session; + mute(options?: ExtraHeadersOptions): void; + unmute(options?: ExtraHeadersOptions): void; + cancel(options?: Session.CommonOptions): void; + progress(options?: Session.ProgressOptions): void; + accept(options?: Session.AcceptOptions): void; + reject(options?: Session.CommonOptions): void; + reply(options?: Session.CommonOptions): void; + followRefer(callback: Function): void; + + on(name: 'progress', callback: (response: IncomingResponse) => void): void; + on(name: 'accepted', callback: (data: { code: number, response: IncomingResponse }) => void): void; + on(name: 'rejected', callback: (response: IncomingResponse, cause: string) => void): void; + on(name: 'failed', callback: (response: IncomingResponse, cause: string) => void): void; + on(name: 'terminated', callback: (message: IncomingResponse, cause: string) => void): void; + on(name: 'refer', callback: (request: IncomingRequest) => void): void; + on(name: 'cancel', callback: () => void): void; + on(name: 'replaced', callback: (newSession: Session) => void): void; + on(name: 'dtmf', callback: (request: IncomingRequest, dtmf: Session.DTMF) => void): void; + on(name: 'muted', callback: (data: Session.Muted) => void): void; + on(name: 'unmuted', callback: (data: Session.Muted) => void): void; + on(name: 'bye', callback: (request: IncomingRequest) => void): void; + } + + namespace Session { + interface DtmfOptions extends ExtraHeadersOptions { + duration?: number; + interToneGap?: number; + } + + interface CommonOptions extends ExtraHeadersOptions { + status_code?: number; + reason_phrase?: string; + body?: string; + } + + interface ProgressOptions extends ExtraHeadersOptions { + rel100?: boolean; + media?: MediaConstraints; + } + + interface AcceptOptions { + RTCConstraints?: RTCPeerConnection; + media?: MediaOptions; + } + + interface DTMF { + } + + interface Muted { + audio?: boolean; + video?: boolean + } + } + + interface RenderHint { + remote?: Element; + local?: Element + } + + interface MediaConstraints { + audio: boolean; + video: boolean; + } + + interface TurnServer { + urls?: string | string[]; + username?: string; + password?: string; + } + + namespace WebRTC { + + interface Options { + stunServers?: string | string[]; + turnServers?: TurnServer | TurnServer[]; + RTCConstraints?: RTCPeerConnection; + } + + type MediaHandlerFactory = (session: Session, options: Options) => MediaHandler; + + class MediaHandler { + getLocalStreams(): MediaStream[]; + getRemoteStreams(): MediaStream[]; + render(renderHint: RenderHint): void; + + on(name: 'userMediaRequest', callback: (constraints: MediaConstraints) => void): void; + on(name: 'userMedia', callback: (stream: MediaStream) => void): void; + on(name: 'userMediaFailed', callback: (error: string) => void): void; + on(name: 'iceGathering', callback: () => void): void; + on(name: 'iceCandidate', callback: (candidate: RTCIceCandidate) => void): void; + on(name: 'iceGatheringComplete', callback: () => void): void; + on(name: 'iceConnection', callback: () => void): void; + on(name: 'iceConnectionChecking', callback: () => void): void; + on(name: 'iceConnectionConnected', callback: () => void): void; + on(name: 'iceConnectionCompleted', callback: () => void): void; + on(name: 'iceConnectionFailed', callback: () => void): void; + on(name: 'iceConnectionDisconnected', callback: () => void): void; + on(name: 'iceConnectionClosed', callback: () => void): void; + on(name: 'getDescription', callback: (sdpWrapper: { type: string, sdp: string }) => void): void; + on(name: 'setDescription', callback: (sdpWrapper: { type: string, sdp: string }) => void): void; + on(name: 'dataChannel', callback: () => void): void; + on(name: 'addStream', callback: (stream: MediaStream) => void): void; + } + } + + /* Parameters */ + interface ConfigurationParameters { + uri?: string; + wsServers?: string | string[] | { ws_uri: string; weigth: number }[]; + allowLegacyNotifications?: boolean; + authenticationFactory?: WebRTC.MediaHandlerFactory; + authorizationUser?: string; + autostart?: boolean; + connectionRecoveryMaxInterval?: number; + connectionRecoveryMinInterval?: number; + displayName?: string; + hackCleanJitsiSdpImageattr?: boolean; + hackStripTcp?: boolean; + hackIpInContact?: boolean; + hackViaTcp?: boolean; + hackWssInTransport?: boolean; + iceCheckingTimeout?: number; + instanceId?: string; + log?: { + builtinEnabled?: boolean; + level?: number | string; + connector?: (level: string, category: string, label: string, content: string) => void; + }; + mediaHandlerFactory?: WebRTC.MediaHandlerFactory; + noAnswerTimeout?: number; + password?: string; + register?: boolean; + registerExpires?: number; + registrarServer?: string; + rel100?: string; + replaces?: string; + stunServers?: string | string[]; + traceSip?: boolean; + turnServers?: TurnServer | TurnServer[]; + usePreloadedRoute?: boolean; + userAgentString?: string; + wsServerMaxReconnection?: number; + wsServerReconnectionTimeout?: number; + } + + /* Options */ + interface ExtraHeadersOptions { + extraHeaders?: string[]; + } + + interface UnregisterOptions extends ExtraHeadersOptions { + all?: boolean; + } + + interface MessageOptions extends ExtraHeadersOptions { + contentType?: string; + } + + interface SubscribeOptions extends ExtraHeadersOptions { + expires?: number; + } + + interface MediaOptions { + constraints?: MediaConstraints; + stream?: MediaStream; + render?: RenderHint; + } + + interface InviteOptions extends ExtraHeadersOptions { + media?: MediaOptions; + anonymous?: boolean; + rel100?: string; + inviteWithoutSdp?: boolean; + RTCConstraints?: RTCPeerConnection; + } + + interface RequestOptions extends ExtraHeadersOptions { + body?: string; + } + + /* Contexts */ + interface Message extends ClientContext { + body: string; + } + + interface Subscription extends ClientContext { + id: string; + state: string; + event: string; + dialog: string; + timers: Object; + errorCodes: number[]; + subscribe(): Subscription; + unsubscribe(): void; + close(): void; + } + + /* Context */ + interface Context { + ua: UA; + method: string; + request: OutgoingRequest; + localIdentity: NameAddrHeader; + remoteIdentity: NameAddrHeader; + data: {}; + + on(name: 'progress', callback: (response: IncomingMessage, cause: string) => void): void; + on(name: 'accepted', callback: (response: IncomingMessage, cause: string) => void): void; + on(name: 'rejected', callback: (response: IncomingMessage, cause: string) => void): void; + on(name: 'failed', callback: (response: IncomingMessage, cause: string) => void): void; + on(name: 'notify', callback: (request: IncomingRequest) => void): void; + } + + interface ClientContext extends Context { + cancel(options?: { status_code?: number, reason_phrase?: string }): ClientContext; + } + + interface ServerContext extends Context { + progress(options?: Session.ProgressOptions): void; + accept(options?: Session.AcceptOptions): void; + reject(options?: Session.CommonOptions): void; + reply(options?: Session.CommonOptions): void; + } + + /* Request */ + interface Request extends Context { + } + + interface IncomingRequest extends Request { + } + + interface OutgoingRequest extends Request { + } + + interface IncomingResponse extends Request { + } + + interface IncomingMessage extends Request { + } + + /* Header */ + class NameAddrHeader { + constructor(uri: string | URI, displayName: string, parameters: { key: string, value: string }[]); + + uri: string | URI; + displayName: string; + + setParam(key: string, value?: string): void; + getParam(key: string): string; + deleteParam(key: string): string; + clearParams(): void; + + static parse(name_addr_header: string): NameAddrHeader; + } +} diff --git a/SIP.js/tsconfig.json b/SIP.js/tsconfig.json new file mode 100644 index 0000000000..93cce57ffb --- /dev/null +++ b/SIP.js/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": ["webrtc"], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "SIP.js-tests.ts" + ] +} diff --git a/SIP.js/tslint.json b/SIP.js/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/SIP.js/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 3de4a245bdc0dab48b91b51c3937391d04ef2902 Mon Sep 17 00:00:00 2001 From: Kir Dergachev Date: Fri, 20 Jan 2017 12:14:28 +0300 Subject: [PATCH 062/613] Fixed package case --- {SIP.js => sip.js}/index.d.ts | 0 SIP.js/SIP.js-tests.ts => sip.js/sip.js-tests.ts | 0 {SIP.js => sip.js}/tsconfig.json | 2 +- {SIP.js => sip.js}/tslint.json | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename {SIP.js => sip.js}/index.d.ts (100%) rename SIP.js/SIP.js-tests.ts => sip.js/sip.js-tests.ts (100%) rename {SIP.js => sip.js}/tsconfig.json (94%) rename {SIP.js => sip.js}/tslint.json (100%) diff --git a/SIP.js/index.d.ts b/sip.js/index.d.ts similarity index 100% rename from SIP.js/index.d.ts rename to sip.js/index.d.ts diff --git a/SIP.js/SIP.js-tests.ts b/sip.js/sip.js-tests.ts similarity index 100% rename from SIP.js/SIP.js-tests.ts rename to sip.js/sip.js-tests.ts diff --git a/SIP.js/tsconfig.json b/sip.js/tsconfig.json similarity index 94% rename from SIP.js/tsconfig.json rename to sip.js/tsconfig.json index 93cce57ffb..8c84c6273e 100644 --- a/SIP.js/tsconfig.json +++ b/sip.js/tsconfig.json @@ -18,6 +18,6 @@ }, "files": [ "index.d.ts", - "SIP.js-tests.ts" + "sip.js-tests.ts" ] } diff --git a/SIP.js/tslint.json b/sip.js/tslint.json similarity index 100% rename from SIP.js/tslint.json rename to sip.js/tslint.json From f0f803116b25f321fca2755a4e6c96129e6c4a7a Mon Sep 17 00:00:00 2001 From: Kir Dergachev Date: Fri, 20 Jan 2017 12:52:59 +0300 Subject: [PATCH 063/613] Move references from tsconfig --- sip.js/index.d.ts | 2 ++ sip.js/tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sip.js/index.d.ts b/sip.js/index.d.ts index 0eaabb9b48..3af04495c9 100644 --- a/sip.js/index.d.ts +++ b/sip.js/index.d.ts @@ -3,6 +3,8 @@ // Definitions by: Kir Dergachev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +/// + export = SIP; declare namespace SIP { diff --git a/sip.js/tsconfig.json b/sip.js/tsconfig.json index 8c84c6273e..b6532e5674 100644 --- a/sip.js/tsconfig.json +++ b/sip.js/tsconfig.json @@ -12,7 +12,7 @@ "typeRoots": [ "../" ], - "types": ["webrtc"], + "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true }, From cb6ec66ca995549337896b3e38dc79a097b50c08 Mon Sep 17 00:00:00 2001 From: Kir Dergachev Date: Fri, 20 Jan 2017 13:22:30 +0300 Subject: [PATCH 064/613] Fix lint error --- sip.js/index.d.ts | 48 ++++++++++++++-------------------------------- sip.js/tslint.json | 7 ++++++- 2 files changed, 20 insertions(+), 35 deletions(-) diff --git a/sip.js/index.d.ts b/sip.js/index.d.ts index 3af04495c9..8c7a297613 100644 --- a/sip.js/index.d.ts +++ b/sip.js/index.d.ts @@ -40,7 +40,7 @@ declare namespace SIP { } namespace UA.EventArgs { - interface ConnectedArgs { attempts: number } + interface ConnectedArgs { attempts: number; } interface UnregisteredArgs { response: string; cause: string; } interface RegistrationFailedArgs extends UnregisteredArgs { } } @@ -55,8 +55,7 @@ declare namespace SIP { isConnected(): boolean; message(target: string | URI, body: string, options?: MessageOptions): Message; subscribe(target: string | URI, event: string, options?: SubscribeOptions): Subscription; - invite(target: string | URI, options?: InviteOptions): Session; - invite(target: string | URI, element?: HTMLAudioElement | HTMLVideoElement): Session; + invite(target: string | URI, element?: InviteOptions | HTMLAudioElement | HTMLVideoElement): Session; request(method: string, target: string | URI, options?: RequestOptions): ClientContext; on(name: 'connected', callback: (args: UA.EventArgs.ConnectedArgs) => void): void; @@ -110,16 +109,13 @@ declare namespace SIP { on(name: 'progress', callback: (response: IncomingResponse) => void): void; on(name: 'accepted', callback: (data: { code: number, response: IncomingResponse }) => void): void; - on(name: 'rejected', callback: (response: IncomingResponse, cause: string) => void): void; - on(name: 'failed', callback: (response: IncomingResponse, cause: string) => void): void; + on(name: 'failed' | 'rejected', callback: (response: IncomingResponse, cause: string) => void): void; on(name: 'terminated', callback: (message: IncomingResponse, cause: string) => void): void; - on(name: 'refer', callback: (request: IncomingRequest) => void): void; on(name: 'cancel', callback: () => void): void; on(name: 'replaced', callback: (newSession: Session) => void): void; on(name: 'dtmf', callback: (request: IncomingRequest, dtmf: Session.DTMF) => void): void; - on(name: 'muted', callback: (data: Session.Muted) => void): void; - on(name: 'unmuted', callback: (data: Session.Muted) => void): void; - on(name: 'bye', callback: (request: IncomingRequest) => void): void; + on(name: 'muted' | 'unmuted', callback: (data: Session.Muted) => void): void; + on(name: 'refer' | 'bye', callback: (request: IncomingRequest) => void): void; } namespace Session { @@ -144,18 +140,17 @@ declare namespace SIP { media?: MediaOptions; } - interface DTMF { - } + interface DTMF extends Object {} interface Muted { audio?: boolean; - video?: boolean + video?: boolean; } } interface RenderHint { remote?: Element; - local?: Element + local?: Element; } interface MediaConstraints { @@ -185,29 +180,18 @@ declare namespace SIP { render(renderHint: RenderHint): void; on(name: 'userMediaRequest', callback: (constraints: MediaConstraints) => void): void; - on(name: 'userMedia', callback: (stream: MediaStream) => void): void; + on(name: 'addStream' | 'userMedia', callback: (stream: MediaStream) => void): void; on(name: 'userMediaFailed', callback: (error: string) => void): void; - on(name: 'iceGathering', callback: () => void): void; on(name: 'iceCandidate', callback: (candidate: RTCIceCandidate) => void): void; - on(name: 'iceGatheringComplete', callback: () => void): void; - on(name: 'iceConnection', callback: () => void): void; - on(name: 'iceConnectionChecking', callback: () => void): void; - on(name: 'iceConnectionConnected', callback: () => void): void; - on(name: 'iceConnectionCompleted', callback: () => void): void; - on(name: 'iceConnectionFailed', callback: () => void): void; - on(name: 'iceConnectionDisconnected', callback: () => void): void; - on(name: 'iceConnectionClosed', callback: () => void): void; - on(name: 'getDescription', callback: (sdpWrapper: { type: string, sdp: string }) => void): void; - on(name: 'setDescription', callback: (sdpWrapper: { type: string, sdp: string }) => void): void; - on(name: 'dataChannel', callback: () => void): void; - on(name: 'addStream', callback: (stream: MediaStream) => void): void; + on(name: 'iceGathering' | 'iceGatheringComplete' | 'iceConnection' | 'iceConnectionChecking' | 'iceConnectionConnected' | 'iceConnectionCompleted' | 'iceConnectionFailed' | 'iceConnectionDisconnected' | 'iceConnectionClosed', callback: () => void): void; + on(name: 'dataChannel' | 'getDescription' | 'setDescription', callback: (sdpWrapper: { type: string, sdp: string }) => void): void; } } /* Parameters */ interface ConfigurationParameters { uri?: string; - wsServers?: string | string[] | { ws_uri: string; weigth: number }[]; + wsServers?: string | string[] | Array<{ ws_uri: string; weigth: number }>; allowLegacyNotifications?: boolean; authenticationFactory?: WebRTC.MediaHandlerFactory; authorizationUser?: string; @@ -304,11 +288,7 @@ declare namespace SIP { localIdentity: NameAddrHeader; remoteIdentity: NameAddrHeader; data: {}; - - on(name: 'progress', callback: (response: IncomingMessage, cause: string) => void): void; - on(name: 'accepted', callback: (response: IncomingMessage, cause: string) => void): void; - on(name: 'rejected', callback: (response: IncomingMessage, cause: string) => void): void; - on(name: 'failed', callback: (response: IncomingMessage, cause: string) => void): void; + on(name: 'progress' | 'accepted' | 'rejected' | 'failed', callback: (response: IncomingMessage, cause: string) => void): void; on(name: 'notify', callback: (request: IncomingRequest) => void): void; } @@ -341,7 +321,7 @@ declare namespace SIP { /* Header */ class NameAddrHeader { - constructor(uri: string | URI, displayName: string, parameters: { key: string, value: string }[]); + constructor(uri: string | URI, displayName: string, parameters: Array<{ key: string, value: string }>); uri: string | URI; displayName: string; diff --git a/sip.js/tslint.json b/sip.js/tslint.json index 377cc837d4..105f5736e6 100644 --- a/sip.js/tslint.json +++ b/sip.js/tslint.json @@ -1 +1,6 @@ -{ "extends": "../tslint.json" } +{ + "extends": "../tslint.json", + "rules": { + "no-empty-interface": false + } +} From 2cc1c6e25dc4fd757dc98503f985678ebf4a21ef Mon Sep 17 00:00:00 2001 From: Kir Dergachev Date: Fri, 20 Jan 2017 13:58:52 +0300 Subject: [PATCH 065/613] Fix type definition test errors --- sip.js/index.d.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sip.js/index.d.ts b/sip.js/index.d.ts index 8c7a297613..a8d2b3c8db 100644 --- a/sip.js/index.d.ts +++ b/sip.js/index.d.ts @@ -1,13 +1,11 @@ -// Type definitions for SIP.js v0.7.6 +// Type definitions for SIP.js 0.7 // Project: https://sipjs.com/ // Definitions by: Kir Dergachev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -export = SIP; - -declare namespace SIP { +export declare namespace SIP { class URI { constructor( @@ -105,7 +103,7 @@ declare namespace SIP { accept(options?: Session.AcceptOptions): void; reject(options?: Session.CommonOptions): void; reply(options?: Session.CommonOptions): void; - followRefer(callback: Function): void; + followRefer(callback: () => void): void; on(name: 'progress', callback: (response: IncomingResponse) => void): void; on(name: 'accepted', callback: (data: { code: number, response: IncomingResponse }) => void): void; @@ -273,7 +271,7 @@ declare namespace SIP { state: string; event: string; dialog: string; - timers: Object; + timers: {}; errorCodes: number[]; subscribe(): Subscription; unsubscribe(): void; From 1c753b2c69e2df6a45a06cdfa2568a30f7d655ba Mon Sep 17 00:00:00 2001 From: Kir Dergachev Date: Fri, 20 Jan 2017 14:40:08 +0300 Subject: [PATCH 066/613] Fix tslint errors, configure rules --- sip.js/index.d.ts | 10 ++++++---- sip.js/tslint.json | 3 ++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/sip.js/index.d.ts b/sip.js/index.d.ts index a8d2b3c8db..942a0d22b3 100644 --- a/sip.js/index.d.ts +++ b/sip.js/index.d.ts @@ -1,11 +1,13 @@ -// Type definitions for SIP.js 0.7 -// Project: https://sipjs.com/ -// Definitions by: Kir Dergachev +// Type definitions for sip.js 0.7 +// Project: http://sipjs.com +// Definitions by: Kir Dergachev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -export declare namespace SIP { +export = SIP; + +declare namespace SIP { class URI { constructor( diff --git a/sip.js/tslint.json b/sip.js/tslint.json index 105f5736e6..c78c443ad2 100644 --- a/sip.js/tslint.json +++ b/sip.js/tslint.json @@ -1,6 +1,7 @@ { "extends": "../tslint.json", "rules": { - "no-empty-interface": false + "no-empty-interface": false, + "export-just-namespace": false } } From 6b1b8e745c79db044dc53eef44c6587113d03a60 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 20 Jan 2017 10:58:59 -0600 Subject: [PATCH 067/613] Fix props callbacks. Type dates as moment.Moment. --- react-datepicker/index.d.ts | 21 +++++++++++---------- react-datepicker/react-datepicker-tests.tsx | 6 +++--- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/react-datepicker/index.d.ts b/react-datepicker/index.d.ts index aec8b61b72..109e47626c 100644 --- a/react-datepicker/index.d.ts +++ b/react-datepicker/index.d.ts @@ -3,9 +3,10 @@ // Definitions by: Rajab Shakirov , Andrey Balokha // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// - declare module "react-datepicker" { + import * as React from "react"; + import * as moment from "moment"; + interface ReactDatePickerProps { autoComplete?: string; autoFocus?: boolean; @@ -14,7 +15,7 @@ declare module "react-datepicker" { dateFormat?: string; dateFormatCalendar?: string; disabled?: boolean; - endDate?: {}; + endDate?: moment.Moment; excludeDates?: any[]; filterDate?(): any; fixedHeight?: boolean; @@ -22,12 +23,12 @@ declare module "react-datepicker" { includeDates?: any[]; isClearable?: boolean; locale?: string; - maxDate?: {}; - minDate?: {}; + maxDate?: moment.Moment; + minDate?: moment.Moment; name?: string; - onBlur?(handler: (e: any) => void): any; - onChange(handler: (date?: any, e?: any) => void): any; - onFocus?(handler: (e: any) => void): any; + onBlur?(event: React.FocusEvent): void; + onChange(date: moment.Moment | null, event: React.SyntheticEvent | undefined): any; + onFocus?(event: React.FocusEvent): void; peekNextMonth?: boolean; placeholderText?: string; popoverAttachment?: string; @@ -37,13 +38,13 @@ declare module "react-datepicker" { renderCalendarTo?: any; required?: boolean; scrollableYearDropdown?: boolean; - selected?: {}; + selected?: moment.Moment | null; selectsEnd?: boolean; selectsStart?: boolean; showMonthDropdown?: boolean; showYearDropdown?: boolean; showWeekNumbers?: boolean; - startDate?: {}; + startDate?: moment.Moment; tabIndex?: number; tetherConstraints?: any[]; title?: string; diff --git a/react-datepicker/react-datepicker-tests.tsx b/react-datepicker/react-datepicker-tests.tsx index 53cd4723b5..df1b02dacf 100644 --- a/react-datepicker/react-datepicker-tests.tsx +++ b/react-datepicker/react-datepicker-tests.tsx @@ -2,8 +2,8 @@ import * as React from "react"; import * as moment from 'moment'; import * as DatePicker from 'react-datepicker'; -class ReactDatePicker extends React.Component<{}, {startDate:any,displayName:string}> { - constructor(props:any) { +class ReactDatePicker extends React.Component<{}, { startDate: moment.Moment; displayName:string; }> { + constructor(props: {}) { super(); this.state = { startDate: moment(), @@ -12,7 +12,7 @@ class ReactDatePicker extends React.Component<{}, {startDate:any,displayName:str this.handleChange = this.handleChange.bind(this); } - handleChange = function(date?:any) { + handleChange = function(date?: moment.Moment | null) { this.setState({ startDate: date }); From 0c26a340bb4b5f0c1f93ad66348cf72818d1302e Mon Sep 17 00:00:00 2001 From: John Date: Fri, 20 Jan 2017 11:05:05 -0600 Subject: [PATCH 068/613] Update version number --- react-datepicker/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-datepicker/index.d.ts b/react-datepicker/index.d.ts index 109e47626c..3ba6f91386 100644 --- a/react-datepicker/index.d.ts +++ b/react-datepicker/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-datepicker v0.28.1 +// Type definitions for react-datepicker v0.40.0 // Project: https://github.com/Hacker0x01/react-datepicker // Definitions by: Rajab Shakirov , Andrey Balokha // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 1e4d93b30843687a5e88ebb5b1574d0a94eb6d92 Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 20 Jan 2017 17:50:22 -0500 Subject: [PATCH 069/613] fix seek(...) function so that it can return either a Howl object or a number --- howler/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/howler/index.d.ts b/howler/index.d.ts index 1b6604b1aa..df3f6a363b 100644 --- a/howler/index.d.ts +++ b/howler/index.d.ts @@ -66,7 +66,7 @@ interface Howl { rate(idOrSetRate: number): this | number; rate(rate: number, id: number): this; - seek(seek?: number, id?: number): this; + seek(seek?: number, id?: number): this | number; loop(loop?: boolean, id?: number): this; playing(id?: number): boolean; duration(id?: number): number; From 00aa560a49892cd736758f9a7a121097c95a84cd Mon Sep 17 00:00:00 2001 From: asankaf Date: Sat, 21 Jan 2017 12:58:53 +0530 Subject: [PATCH 070/613] Updates in the worksheet row type enum - Since couple of releases, worksheet row type enum values used for groupHeader and groupFooter were updated to group-header and group-footer. - New values are used in src\js\kendo.excel.js (lines 180 and 226) - v2017.1.118 --- kendo-ui/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kendo-ui/index.d.ts b/kendo-ui/index.d.ts index 5d6e4ec0a8..ecdbffae66 100644 --- a/kendo-ui/index.d.ts +++ b/kendo-ui/index.d.ts @@ -18307,7 +18307,7 @@ declare namespace kendo.ooxml { cells?: WorkbookSheetRowCell[]; index?: number; height?: number; - type?: "header" | "footer" | "groupHeader" | "groupFooter" | "data"; + type?: "header" | "footer" | "group-header" | "group-footer" | "data"; } interface WorkbookSheet { From cb95e528e74d728691e0a14482b5634685553893 Mon Sep 17 00:00:00 2001 From: Michael McCarthy Date: Sat, 21 Jan 2017 19:49:48 -0500 Subject: [PATCH 071/613] Add ArrayBuffer parameter to js-md5 --- js-md5/index.d.ts | 4 ++++ js-md5/js-md5-tests.ts | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/js-md5/index.d.ts b/js-md5/index.d.ts index 32ef8b30ff..d635a58a6c 100644 --- a/js-md5/index.d.ts +++ b/js-md5/index.d.ts @@ -9,24 +9,28 @@ interface JQuery { md5(value: string): string; md5(value: Array): string; md5(value: Uint8Array): string; + md5(value: ArrayBuffer): string; } interface JQueryStatic { md5(value: string): string; md5(value: Array): string; md5(value: Uint8Array): string; + md5(value: ArrayBuffer): string; } interface md5 { (value: string): string; (value: Array): string; (value: Uint8Array): string; + (value: ArrayBuffer): string; } interface String { md5(value: string): string; md5(value: Array): string; md5(value: Uint8Array): string; + md5(value: ArrayBuffer): string; } declare module "js-md5" { diff --git a/js-md5/js-md5-tests.ts b/js-md5/js-md5-tests.ts index 984a919ec3..77b10c09ce 100644 --- a/js-md5/js-md5-tests.ts +++ b/js-md5/js-md5-tests.ts @@ -5,6 +5,7 @@ md5(''); md5('中文'); md5([]); md5(new Uint8Array([])); +md5(new ArrayBuffer(0)); $.md5('message'); $.md5('Message to hash'); @@ -12,9 +13,11 @@ $.md5(''); $.md5('中文'); $.md5([]); $.md5(new Uint8Array([])); +$.md5(new ArrayBuffer(0)); 'message'.md5('Message to hash'); 'message'.md5(''); 'message'.md5('中文'); 'message'.md5([]); -'message'.md5(new Uint8Array([])); \ No newline at end of file +'message'.md5(new Uint8Array([])); +'message'.md5(new ArrayBuffer(0)); \ No newline at end of file From bccb2cadc334c36fc262838879d51a9646de3627 Mon Sep 17 00:00:00 2001 From: Michael McCarthy Date: Sat, 21 Jan 2017 19:54:19 -0500 Subject: [PATCH 072/613] Add ArrayBuffer parameter to js-md5 --- js-md5/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-md5/index.d.ts b/js-md5/index.d.ts index d635a58a6c..7292463815 100644 --- a/js-md5/index.d.ts +++ b/js-md5/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for js-md5 v0.3.0 // Project: https://github.com/emn178/js-md5 -// Definitions by: Roland Greim +// Definitions by: Roland Greim , Michael McCarthy // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/ /// From f96596fa4efa2156052e8a98f4da302d8918fcac Mon Sep 17 00:00:00 2001 From: Michael McCarthy Date: Sat, 21 Jan 2017 20:02:09 -0500 Subject: [PATCH 073/613] Increase version number in header --- js-md5/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-md5/index.d.ts b/js-md5/index.d.ts index 7292463815..db202ed628 100644 --- a/js-md5/index.d.ts +++ b/js-md5/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for js-md5 v0.3.0 +// Type definitions for js-md5 v0.3.1 // Project: https://github.com/emn178/js-md5 // Definitions by: Roland Greim , Michael McCarthy // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/ From ab1d41bcd4200fb0e57995c534ddf5ea2bf95da4 Mon Sep 17 00:00:00 2001 From: Eiji Kitamura Date: Sat, 21 Jan 2017 15:50:12 +0900 Subject: [PATCH 074/613] Follow Payment Request spec updates --- paymentrequest/index.d.ts | 69 ++++++++++++++++---------- paymentrequest/paymentrequest-tests.ts | 15 ++++-- 2 files changed, 53 insertions(+), 31 deletions(-) diff --git a/paymentrequest/index.d.ts b/paymentrequest/index.d.ts index 50ef94e1e6..5231f53bc3 100644 --- a/paymentrequest/index.d.ts +++ b/paymentrequest/index.d.ts @@ -1,26 +1,33 @@ // Type definitions for PaymentRequest // Project: https://www.w3.org/TR/payment-request/ -// Definitions by: Adam Cmiel +// Definitions by: Adam Cmiel , Eiji Kitamura // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface PaymentRequest extends EventTarget { new (methodData: PaymentMethodData[], details: PaymentDetails, options?: PaymentOptions): PaymentRequest; show(): PromiseLike; abort(): PromiseLike; - shippingAddress?: PaymentAddress; - shippingOption?: string; + canMakePayment(): Promise; + readonly paymentRequestID: string; + readonly shippingAddress?: PaymentAddress; + readonly shippingOption?: string; + readonly shippingType?: string; onshippingaddresschange: PaymentUpdateEventListener; onshippingoptionchange: PaymentUpdateEventListener; } interface PaymentMethodData { supportedMethods: string[]; - data?: Object; + data?: { + supportedNetworks: string[]; + supportedTypes: string[]; + }; } interface PaymentCurrencyAmount { currency: string; value: string; + currencySystem?:string; } interface PaymentDetails { @@ -28,55 +35,63 @@ interface PaymentDetails { displayItems?: PaymentItem[]; shippingOptions?: PaymentShippingOption[]; modifiers?: PaymentDetailsModifier[]; + error?: string; } interface PaymentDetailsModifier { supportedMethods: string[]; total?: PaymentItem; - additionalDisplayItems: PaymentItem[]; + additionalDisplayItems?: PaymentItem[]; + data?: Object; } interface PaymentOptions { - requestShipping: boolean; - requestPayerEmail: boolean; - requestPayerPhone: boolean; + requestShipping?: boolean; + requestPayerEmail?: boolean; + requestPayerPhone?: boolean; + requestPayerName?: boolean; + shippingType?: 'shipping' | 'delivery' | 'pickup'; } interface PaymentItem { label: string; - amount: PaymentCurrencyAmount + amount: PaymentCurrencyAmount; + pending?: boolean; } interface PaymentAddress { - country: string; - addressLine: string[]; - region: string; - city: string; - dependentLocality: string; - postalCode: string; - sortingCode: string; - languageCode: string; - organization: string; - recipient: string; - careOf: string; - phone: string; + readonly country: string; + readonly addressLine: string[]; + readonly region: string; + readonly city: string; + readonly dependentLocality: string; + readonly postalCode: string; + readonly sortingCode: string; + readonly languageCode: string; + readonly organization: string; + readonly recipient: string; + readonly phone: string; } interface PaymentShippingOption { id: string; label: string; amount: PaymentCurrencyAmount; + selected?: boolean; } interface PaymentResponse { - methodName: string; - details: Object; - shippingAddress?: PaymentAddress; - shippingOption?: string; - payerEmail?: string; - payerPhone?: string; + readonly paymentRequestID: string; + readonly methodName: string; + readonly details: Object; + readonly shippingAddress?: PaymentAddress; + readonly shippingOption?: string; + readonly payerEmail?: string; + readonly payerPhone?: string; + readonly payerName?: string; complete(result?: '' | 'success' | 'fail'): PromiseLike; + toJSON(): Object; } interface PaymentUpdateEventListener extends EventListener { diff --git a/paymentrequest/paymentrequest-tests.ts b/paymentrequest/paymentrequest-tests.ts index 4c36c3ff76..62c2721bfb 100644 --- a/paymentrequest/paymentrequest-tests.ts +++ b/paymentrequest/paymentrequest-tests.ts @@ -3,7 +3,7 @@ /// Code examples derived from /// https://developers.google.com/web/fundamentals/discovery-and-monetization/payment-request/ -function makeRequest() { +async function makeRequest() { if (!window.PaymentRequest) { return Promise.reject(new Error("PaymentRequest not available")) } @@ -31,10 +31,12 @@ function makeRequest() { } } - const options = { + const options: PaymentOptions = { requestShipping: true, requestPayerEmail: true, - requestPayerPhone: true + requestPayerPhone: true, + requestPayerName: true, + shippingType: 'delivery' } const request = new window.PaymentRequest(methodData, details, options) @@ -72,7 +74,12 @@ function makeRequest() { })(details, request.shippingAddress)); }) - return request.show() + let canMakePayment = await request.canMakePayment() + if (canMakePayment) { + return request.show() + } else { + throw 'can not make payment on this environment.' + } } async function processPayment(): Promise { From 453ffc9e8a24c7404ca2951fa28e9e54da42f20d Mon Sep 17 00:00:00 2001 From: "Angus.Fenying" Date: Sun, 22 Jan 2017 16:17:37 +0800 Subject: [PATCH 075/613] Added methods cork and uncork for RedisClient. --- redis/index.d.ts | 10 ++++++++++ redis/redis-tests.ts | 8 +++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/redis/index.d.ts b/redis/index.d.ts index 75745b99f4..0e7e2ec4de 100644 --- a/redis/index.d.ts +++ b/redis/index.d.ts @@ -94,6 +94,16 @@ export interface RedisClient extends NodeJS.EventEmitter { end(): void; unref(): void; + /** + * Stop sending commands and queue the commands. + */ + cork(): void; + + /** + * Resume and send the queued commands at once. + */ + uncork(): void; + // Low level command execution send_command(command: string, ...args: any[]): boolean; diff --git a/redis/redis-tests.ts b/redis/redis-tests.ts index d98979f256..e0315a809f 100644 --- a/redis/redis-tests.ts +++ b/redis/redis-tests.ts @@ -112,4 +112,10 @@ client.monitor(resCallback); // Send command client.send_command(str, args, resCallback); // Duplicate -client.duplicate(); \ No newline at end of file +client.duplicate(); + +// Pipeline +client.cork(); +client.set("abc", "fff", strCallback); +client.get("abc", resCallback); +client.uncork(); From 1652209bad56af434c6e9074955002d2cb2bf4b0 Mon Sep 17 00:00:00 2001 From: Chris Barr Date: Sun, 22 Jan 2017 21:00:24 -0500 Subject: [PATCH 076/613] Add missing configuration options & tests to angular-bootstrap-ui --- .../angular-ui-bootstrap-tests.ts | 25 ++++- angular-ui-bootstrap/index.d.ts | 95 +++++++++++++++++++ 2 files changed, 118 insertions(+), 2 deletions(-) diff --git a/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts b/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts index 16eaff3b39..b14af506b6 100644 --- a/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts +++ b/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts @@ -7,6 +7,7 @@ testApp.config(( $buttonConfig: ng.ui.bootstrap.IButtonConfig, $datepickerConfig: ng.ui.bootstrap.IDatepickerConfig, $datepickerPopupConfig: ng.ui.bootstrap.IDatepickerPopupConfig, + $dropdownConfig: ng.ui.bootstrap.IDropdownConfig, $modalProvider: ng.ui.bootstrap.IModalProvider, $paginationConfig: ng.ui.bootstrap.IPaginationConfig, $pagerConfig: ng.ui.bootstrap.IPagerConfig, @@ -47,13 +48,18 @@ testApp.config(( $datepickerConfig.showWeeks = false; $datepickerConfig.startingDay = 1; $datepickerConfig.yearRange = 10; - - + $datepickerConfig.monthColumns = 3; + $datepickerConfig.yearColumns = 9; + $datepickerConfig.yearRows = 6; + $datepickerConfig.ngModelOptions.allowInvalid = false; + $datepickerConfig.ngModelOptions.timezone = "EST"; + $datepickerConfig.ngModelOptions.updateOn = "click"; /** * $datepickerPopupConfig tests */ + $datepickerPopupConfig.altInputFormats = ["mm/dd/YYYY", "mm-dd-YY"]; $datepickerPopupConfig.appendToBody = true; $datepickerPopupConfig.currentText = 'Select Today'; $datepickerPopupConfig.clearText = 'Reset Selection'; @@ -63,8 +69,18 @@ testApp.config(( $datepickerPopupConfig.datepickerPopupTemplateUrl = 'template.html'; $datepickerPopupConfig.datepickerTemplateUrl = 'template.html'; $datepickerPopupConfig.html5Types.date = 'MM-dd-yyyy'; + $datepickerPopupConfig.html5Types['datetime-local'] = 'yyyy-MM-ddTHH:mm:ss.sss'; + $datepickerPopupConfig.html5Types.month = 'yyyy-MM'; $datepickerPopupConfig.onOpenFocus = false; $datepickerPopupConfig.showButtonBar = false; + $datepickerPopupConfig.placement = "auto bottom left"; + + + /** + * $dropdownConfig tests + */ + $dropdownConfig.appendToOpenClass = "some-thing"; + $dropdownConfig.openClass = "show"; /** @@ -77,6 +93,7 @@ testApp.config(( * $paginationConfig tests */ $paginationConfig.boundaryLinks = true; + $paginationConfig.boundaryLinkNumbers = true; $paginationConfig.directionLinks = false; $paginationConfig.firstText = 'First Page'; $paginationConfig.itemsPerPage = 25; @@ -88,6 +105,7 @@ testApp.config(( $paginationConfig.rotate = false; $paginationConfig.templateUrl = 'template.html'; $paginationConfig.totalItems = 13; + $paginationConfig.forceEllipses = true; /** @@ -121,11 +139,14 @@ testApp.config(( $timepickerConfig.hourStep = 2; $timepickerConfig.meridians = ['-AM-', '-PM-']; $timepickerConfig.minuteStep = 5; + $timepickerConfig.secondStep = 5; $timepickerConfig.mousewheel = false; $timepickerConfig.readonlyInput = true; $timepickerConfig.showMeridian = false; $timepickerConfig.arrowkeys = false; $timepickerConfig.showSpinners = false; + $timepickerConfig.showSeconds = true; + $timepickerConfig.templateUrl = "template.html"; /** * $tooltipProvider tests diff --git a/angular-ui-bootstrap/index.d.ts b/angular-ui-bootstrap/index.d.ts index 73043c4e7a..b5b4e1a5e6 100644 --- a/angular-ui-bootstrap/index.d.ts +++ b/angular-ui-bootstrap/index.d.ts @@ -11,6 +11,7 @@ export type IAccordionConfig = angular.ui.bootstrap.IAccordionConfig; export type IButtonConfig = angular.ui.bootstrap.IButtonConfig; export type IDatepickerConfig = angular.ui.bootstrap.IDatepickerConfig; export type IDatepickerPopupConfig = angular.ui.bootstrap.IDatepickerPopupConfig; +export type IDropdownConfig = angular.ui.bootstrap.IDropdownConfig; export type IModalProvider = angular.ui.bootstrap.IModalProvider; export type IModalService = angular.ui.bootstrap.IModalService; export type IModalServiceInstance = angular.ui.bootstrap.IModalServiceInstance; @@ -54,6 +55,11 @@ declare module 'angular' { toggleEvent?: string; } + interface IDropdownConfigNgOptions extends angular.INgModelOptions { + allowInvalid?: boolean; + timezone?: string; + } + interface IDatepickerConfig { /** * Format of day in month. @@ -166,9 +172,45 @@ declare module 'angular' { * @default false */ shortcutPropagation?: boolean; + + /** + * The number of columns displayed in month selection. + * + * @default 3 + */ + monthColumns?: number; + + /** + * The number of columns displayed in year selection. + * + * @default 5 + */ + yearColumns?: number; + + /** + * The number of rows displayed in year selection + * + * @default 4 + */ + yearRows?: number; + + /** + * All supported angular ngModelOptions plus some + * + * @default {} + */ + ngModelOptions?: IDropdownConfigNgOptions } interface IDatepickerPopupConfig { + + /** + * A list of alternate formats acceptable for manual entry. + * + * @default [] + */ + altInputFormats?: string[]; + /** * The format for displayed dates. * @@ -247,8 +289,26 @@ declare module 'angular' { * @default true */ onOpenFocus?: boolean; + + /** + * Passing in 'auto' separated by a space before the placement will enable auto positioning, e.g: "auto bottom-left". The popup will attempt to position where it fits in the closest scrollable ancestor. + * + * @default 'auto bottom-left' + */ + placement?: string; } + interface IDropdownConfig { + /** + * @default: 'uib-dropdown-open' + */ + appendToOpenClass?: string; + + /** + * @default: 'open' + */ + openClass?: string; + } interface IModalProvider { /** @@ -543,6 +603,13 @@ declare module 'angular' { */ boundaryLinks?: boolean; + /** + * Whether to always display the first and last page numbers. If max-size is smaller than the number of pages, then the first and last page numbers are still shown with ellipses in-between as necessary. NOTE: max-size refers to the center of the range. This option may add up to 2 more numbers on each side of the displayed range for the end value and what would be an ellipsis but is replaced by a number because it is sequential. + * + * @default false + */ + boundaryLinkNumbers?: boolean; + /** * Text for First button. * @@ -563,6 +630,13 @@ declare module 'angular' { * @default 'template/pagination/pagination.html' */ templateUrl?: string; + + /** + * Also displays ellipses when rotate is true and max-size is smaller than the number of pages. + * + * @default false + */ + forceEllipses?: boolean; } interface IPagerConfig { @@ -679,6 +753,13 @@ declare module 'angular' { */ minuteStep?: number; + /** + * Number of seconds to increase or decrease when using a button. + * + * @default 1 + */ + secondStep?: number; + /** * Whether to display 12H or 24H mode. * @@ -720,6 +801,20 @@ declare module 'angular' { * @default true */ showSpinners?: boolean; + + /** + * Show seconds input. + * + * @default false + */ + showSeconds?: boolean; + + /** + * Add the ability to override the template used on the component. + * + * @default 'uib/template/timepicker/timepicker.html' + */ + templateUrl?: string; } From 392b91f8d5375288f0041d1b6b2c01566c1eae1c Mon Sep 17 00:00:00 2001 From: keika299 Date: Mon, 23 Jan 2017 16:50:02 +0900 Subject: [PATCH 077/613] add autosize method --- autosize/autosize-tests.ts | 18 ++++++++++++++++++ autosize/index.d.ts | 6 +++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/autosize/autosize-tests.ts b/autosize/autosize-tests.ts index 74be703a94..a7eea57a62 100644 --- a/autosize/autosize-tests.ts +++ b/autosize/autosize-tests.ts @@ -8,3 +8,21 @@ autosize(document.querySelector('textarea')); // from a single element autosize(document.getElementById('my-textarea')); + +// update a NodeList +autosize.update(document.querySelectorAll('textarea')); + +// update a single Node +autosize.update(document.querySelector('textarea')); + +// update a single element +autosize.update(document.getElementById('my-textarea')); + +// destroy a NodeList +autosize.destroy(document.querySelectorAll('textarea')); + +// destroy a single Node +autosize.destroy(document.querySelector('textarea')); + +// destroy a single element +autosize.destroy(document.getElementById('my-textarea')); diff --git a/autosize/index.d.ts b/autosize/index.d.ts index 5ea76d0472..0886904e3f 100644 --- a/autosize/index.d.ts +++ b/autosize/index.d.ts @@ -1,12 +1,16 @@ // Type definitions for jquery.autosize 3.0.7 // Project: http://www.jacklmoore.com/autosize/ -// Definitions by: Aaron T. King +// Definitions by: Aaron T. King , keika299 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace autosize { interface AutosizeStatic { (el: Element): void; (el: NodeList): void; + update(el: Element): void; + update(el: NodeList): void; + destroy(el: Element): void; + destroy(el: NodeList): void; } } From 52ad6adaa2a6dd74c168164c178fe33dd63f21e7 Mon Sep 17 00:00:00 2001 From: Robin maenhaut Date: Mon, 23 Jan 2017 09:05:49 +0100 Subject: [PATCH 078/613] Add support for custom style object in the PNotifyOptions --- jquery.pnotify/index.d.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/jquery.pnotify/index.d.ts b/jquery.pnotify/index.d.ts index 668590e4d6..c0ab267b7d 100644 --- a/jquery.pnotify/index.d.ts +++ b/jquery.pnotify/index.d.ts @@ -6,7 +6,7 @@ /// type NoticeTypeOptions = "notice" | "info" | "success" | "error"; -type StylingOptions = "brighttheme" | "jqueryui" | "bootstrap2" | "bootstrap3" | "fontawesome"; +type StylingOptions = "brighttheme" | "jqueryui" | "bootstrap2" | "bootstrap3" | "fontawesome" | PNotifyStyling; type StateOptions = "initializing" | "opening" | "open" | "closing" | "closed"; interface PNotifyStack { @@ -134,7 +134,7 @@ interface PNotifyOptions { */ text_escape?: boolean; /** - * What styling classes to use. (Can be either "brighttheme", "jqueryui", "bootstrap2", "bootstrap3", or "fontawesome".) + * What styling classes to use. (Can be either "brighttheme", "jqueryui", "bootstrap2", "bootstrap3", "fontawesome" or a custom style object) */ styling?: StylingOptions; /** @@ -257,6 +257,18 @@ interface PNotifyOptions { labels?: PNotifyLabel; } +interface PNotifyStyling { + container?: string, + notice?: string, + notice_icon?: string, + info?: string, + info_icon?: string, + success?: string, + success_icon?: string, + error?: string, + error_icon?: string +} + interface PNotify { /** From ad57871fe05c3a46e172a702e91b7ff20a143778 Mon Sep 17 00:00:00 2001 From: Robin maenhaut Date: Mon, 23 Jan 2017 09:33:21 +0100 Subject: [PATCH 079/613] Include pnotify.buttons styling extensions --- jquery.pnotify/index.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jquery.pnotify/index.d.ts b/jquery.pnotify/index.d.ts index c0ab267b7d..f15150ad20 100644 --- a/jquery.pnotify/index.d.ts +++ b/jquery.pnotify/index.d.ts @@ -266,7 +266,10 @@ interface PNotifyStyling { success?: string, success_icon?: string, error?: string, - error_icon?: string + error_icon?: string, + closer?: string, + pin_down?: string, + pin_up?: string } interface PNotify { From 4ff4f8d4fc9d5266ffbea44bc12391eefbb39695 Mon Sep 17 00:00:00 2001 From: Robin maenhaut Date: Mon, 23 Jan 2017 09:37:27 +0100 Subject: [PATCH 080/613] Add styling extensions for confirm, history and reference --- jquery.pnotify/index.d.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/jquery.pnotify/index.d.ts b/jquery.pnotify/index.d.ts index f15150ad20..7600c45a09 100644 --- a/jquery.pnotify/index.d.ts +++ b/jquery.pnotify/index.d.ts @@ -267,9 +267,24 @@ interface PNotifyStyling { success_icon?: string, error?: string, error_icon?: string, + // buttons closer?: string, pin_down?: string, - pin_up?: string + pin_up?: string, + // confirm + btn?: string, + btnhover?: string, + btnactive?: string, + btnfocus?: string, + input?: string, + text?: string, + // history + hi_menu?: string, + hi_btn?: string, + hi_btnhov?: string, + hi_hnd?: string, + // reference + athing?: string } interface PNotify { From 42636ca79f11b05f15bc5e5ceeb15d9ff2cea083 Mon Sep 17 00:00:00 2001 From: Robin maenhaut Date: Mon, 23 Jan 2017 09:51:05 +0100 Subject: [PATCH 081/613] Add test for the new styling object --- jquery.pnotify/index.d.ts | 2 +- jquery.pnotify/jquery.pnotify-tests.ts | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/jquery.pnotify/index.d.ts b/jquery.pnotify/index.d.ts index 7600c45a09..1d222efb26 100644 --- a/jquery.pnotify/index.d.ts +++ b/jquery.pnotify/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for jquery.pnotify 3.x // Project: https://github.com/sciactive/pnotify -// Definitions by: David Sichau +// Definitions by: David Sichau , Robin Maenhaut // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// diff --git a/jquery.pnotify/jquery.pnotify-tests.ts b/jquery.pnotify/jquery.pnotify-tests.ts index c9465e0444..41cd7d3fda 100644 --- a/jquery.pnotify/jquery.pnotify-tests.ts +++ b/jquery.pnotify/jquery.pnotify-tests.ts @@ -243,5 +243,24 @@ function test_pnotify() { animation: 'show' }); + new PNotify({ + title: 'Custom styling', + text: 'Test all custom styling properties', + styling: { + container: "alert", + notice: "alert-warning", + notice_icon: "fa fa-exclamation-circle", + info: "alert-info", + info_icon: "fa fa-info", + success: "alert-success", + success_icon: "fa fa-check", + error: "alert-danger", + error_icon: "fa fa-warning", + closer: "fa fa-times", + pin_up: "fa fa-pause", + pin_down: "fa fa-play" + } + }); + PNotify.removeAll(); } From d2be90a50693461d0e2e4dd20c3d578533a779db Mon Sep 17 00:00:00 2001 From: mkollers Date: Mon, 23 Jan 2017 10:26:59 +0100 Subject: [PATCH 082/613] added group to Node http://visjs.org/docs/network/nodes.html# --- vis/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vis/index.d.ts b/vis/index.d.ts index 92b6ea6a08..3ee00ba03a 100644 --- a/vis/index.d.ts +++ b/vis/index.d.ts @@ -1497,6 +1497,7 @@ export interface Data { } export interface Node { + group?: string; id?: IdType; label?: string; x?: number; From 39772baa2c32da872c8482088c784eb497e303c0 Mon Sep 17 00:00:00 2001 From: SamSchelfhout Date: Mon, 23 Jan 2017 10:37:00 +0100 Subject: [PATCH 083/613] Update index.d.ts to support ajaxTransport Update index.d.ts to jQuery.ajaxTransport(). See https://api.jquery.com/jQuery.ajaxTransport/ --- jquery/index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/jquery/index.d.ts b/jquery/index.d.ts index e0bf072983..3a785530aa 100644 --- a/jquery/index.d.ts +++ b/jquery/index.d.ts @@ -786,6 +786,15 @@ interface JQueryStatic { */ ajaxPrefilter(handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void; + /** + * Creates an object that handles the actual transmission of Ajax data. + * + * @param dataType A string identifying the data type to use. + * @param handler A handler to return the new transport object to use with the data type provided in the first argument. + * @see {@link https://api.jquery.com/jQuery.ajaxTransport/} + */ + ajaxTransport(dataType: string, handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void; + ajaxSettings: JQueryAjaxSettings; /** From 2e002b40c39a71e25cf438c0303a38740012692e Mon Sep 17 00:00:00 2001 From: Carl Winkler Date: Mon, 23 Jan 2017 18:49:03 +0800 Subject: [PATCH 084/613] Implement types and tests for Dockerode --- dockerode/dockerode-tests.ts | 58 ++++ dockerode/index.d.ts | 643 +++++++++++++++++++++++++++++++++++ dockerode/tsconfig.json | 20 ++ dockerode/tslint.json | 3 + 4 files changed, 724 insertions(+) create mode 100644 dockerode/dockerode-tests.ts create mode 100644 dockerode/index.d.ts create mode 100644 dockerode/tsconfig.json create mode 100644 dockerode/tslint.json diff --git a/dockerode/dockerode-tests.ts b/dockerode/dockerode-tests.ts new file mode 100644 index 0000000000..e1533e91f7 --- /dev/null +++ b/dockerode/dockerode-tests.ts @@ -0,0 +1,58 @@ +import * as Docker from 'dockerode'; + +// Code samples from Dockerode 'Getting started' +const docker = new Docker(); +const docker1 = new Docker({ socketPath: '/var/run/docker.sock' }); +const docker2 = new Docker({ host: 'http://192.168.1.10', port: 3000 }); +const docker3 = new Docker({ protocol: 'http', host: '127.0.0.1', port: 3000 }); +const docker4 = new Docker({ host: '127.0.0.1', port: 3000 }); + +const docker5 = new Docker({ + host: '192.168.1.10', + port: process.env.DOCKER_PORT || 2375, + ca: 'ca', + cert: 'cert', + key: 'key' +}); + +const docker6 = new Docker({ + protocol: 'https', //you can enforce a protocol + host: '192.168.1.10', + port: process.env.DOCKER_PORT || 2375, + ca: 'ca', + cert: 'cert', + key: 'key' +}); + +const container = docker.getContainer('container-id'); +container.inspect((err, data) => { + // NOOP +}); + +container.start((err, data) => { + // NOOP +}); + +container.remove((err, data) => { + // NOOP +}); + +docker.listContainers((err, containers) => { + containers.forEach(container => { + docker + .getContainer(container.Id) + .stop((err, data) => { + // NOOP + }); + }); +}); + +docker.buildImage('archive.tar', { t: 'imageName' }, (err, response) => { + // NOOP +}); + +docker.createContainer({ Tty: true }, (err, container) => { + container.start((err, data) => { + // NOOP + }); +}); \ No newline at end of file diff --git a/dockerode/index.d.ts b/dockerode/index.d.ts new file mode 100644 index 0000000000..2c5caaf9cc --- /dev/null +++ b/dockerode/index.d.ts @@ -0,0 +1,643 @@ +// Type definitions for dockerode 2.3 +// Project: https://github.com/apocas/dockerode +// Definitions by: Carl Winkler +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +import * as stream from 'stream'; +import * as events from 'events'; + + +declare namespace Dockerode { + interface Container { + inspect(options: {}, callback: Callback): void; + inspect(callback: Callback): void; + inspect(options?: {}): { id: string }; + + rename(options: {}, callback: Callback): void; + + update(options: {}, callback: Callback): void; + + top(options: {}, callback: Callback): void; + top(callback: Callback): void; + + changes(callback: Callback): void; + + export(callback: Callback): void; + + start(options: {}, callback: Callback): void; + start(callback: Callback): void; + + pause(options: {}, callback: Callback): void; + pause(callback: Callback): void; + + unpause(options: {}, callback: Callback): void; + unpause(callback: Callback): void; + + exec(options: {}, callback: Callback): void; + + commit(options: {}, callback: Callback): void; + commit(callback: Callback): void; + + stop(options: {}, callback: Callback): void; + stop(callback: Callback): void; + + restart(options: {}, callback: Callback): void; + restart(callback: Callback): void; + + kill(options: {}, callback: Callback): void; + kill(callback: Callback): void; + + resize(options: {}, callback: Callback): void; + resize(callback: Callback): void; + + wait(callback: Callback): void; + + remove(options: {}, callback: Callback): void; + remove(callback: Callback): void; + + /** Deprecated since RAPI v1.20 */ + copy(options: {}, callback: Callback): void; + /** Deprecated since RAPI v1.20 */ + copy(callback: Callback): void; + + getArchive(options: {}, callback: Callback): void; + + infoArchive(options: {}, callback: Callback): void; + + /** @param file Filename (will read synchronously), Buffer or stream */ + putArchive(file: string | Buffer | NodeJS.ReadableStream, options: {}, callback: Callback): void; + + logs(options: { stdout?: boolean, stderr?: boolean, follow?: boolean, since?: number, details?: boolean, tail?: number, timestamps?: boolean }, callback: Callback): void; + logs(callback: Callback): void; + + stats(options: {}, callback: Callback): void; + stats(callback: Callback): void; + + attach(options: {}, callback: Callback): void; + + modem: any; + id?: string; + } + + interface Image { + inspect(callback: Callback): void; + + history(callback: Callback): void; + + get(callback: Callback): void; + + push(options: {}, callback: Callback): void; + push(callback: Callback): void; + + tag(options: {}, callback: Callback): void; + tag(callback: Callback): void; + + remove(options: {}, callback: Callback): void; + remove(callback: Callback): void; + + modem: any; + id?: string; + } + + interface Volume { + inspect(callback: Callback): void; + + remove(options: {}, callback: Callback): void; + remove(callback: Callback): void; + + modem: any; + name?: string; + } + + interface Service { + inspect(callback: Callback): void; + + remove(options: {}, callback: Callback): void; + remove(callback: Callback): void; + + update(options: {}, callback: Callback): void; + + modem: any; + id?: string; + } + + interface Task { + inspect(callback: Callback): void; + + modem: any; + id?: string; + } + + interface Node { + inspect(callback: Callback): void; + + modem: any; + id?: string; + } + + interface Network { + inspect(callback: Callback): void; + + remove(options: {}, callback: Callback): void; + remove(callback: Callback): void; + + connect(options: {}, callback: Callback): void; + connect(callback: Callback): void; + + disconnect(options: {}, callback: Callback): void; + disconnect(callback: Callback): void; + + modem: any; + id?: string; + } + + interface Exec { + inspect(callback: Callback): void; + + start(options: {}, callback: Callback): void; + + resize(options: {}, callback: Callback): void; + + modem: any; + id?: string; + } + + interface ImageInfo { + Id: string; + ParentId: string; + RepoTags: string[]; + RepoDigests?: string[]; + Created: number; + Size: number; + VirtualSize: number; + Labels: { [label: string]: string }; + } + + interface ContainerInfo { + Id: string; + Names: string[]; + Image: string; + ImageID: string; + Command: string; + Created: number; + Ports: Port[]; + Labels: { [label: string]: string }; + Status: string; + HostConfig: { + NetworkMode: string; + }; + NetworkSettings: { + Networks: { [networkType: string]: NetworkInfo } + }; + } + + interface Port { + IP: string; + PrivatePort: number; + PublicPort: number; + Type: string; + } + + interface NetworkInfo { + IPAMConfig?: any; + Links?: any; + Aliases?: any; + NetworkID: string; + EndpointID: string; + Gateway: string; + IPAddress: string; + IPPrefixLen: number; + IPv6Gateway: string; + GlobalIPv6Address: string; + GlobalIPv6PrefixLen: number; + MacAddress: string; + } + + interface ContainerInspectInfo { + Id: string; + Created: string; + Path: string; + Args: string[]; + State: { + Status: string; + Running: boolean; + Paused: boolean; + Restarting: boolean; + OOMKilled: boolean; + Dead: boolean; + Pid: number; + ExitCode: number; + Error: string; + StartedAt: string; + FinishedAt: string; + }; + Image: string; + ResolvConfPath: string; + HostnamePath: string; + HostsPath: string; + LogPath: string; + Name: string; + RestartCount: number; + Driver: string; + MountLabel: string; + ProcessLabel: string; + AppArmorProfile: string; + ExecIDs?: any; + HostConfig: HostConfig; + GraphDriver: { + Name: string; + Data: { + DeviceId: string; + DeviceName: string; + DeviceSize: string; + } + }; + Mounts: Array<{ + Source: string; + Destination: string; + Mode: string; + RW: boolean; + Propagation: string; + }>; + Config: { + Hostname: string; + Domainname: string; + User: string; + AttachStdin: boolean; + AttachStdout: boolean; + AttachStderr: boolean; + ExposedPorts: { [portAndProtocol: string]: {} }; + Tty: boolean; + OpenStdin: boolean; + StdinOnce: boolean; + Env: string[]; + Cmd: string[]; + Image: string; + Volumes: { [volume: string]: {} }; + WorkingDir: string; + Entrypoint?: any; + OnBuild?: any; + Labels: { [label: string]: string } + }; + NetworkSettings: { + Bridge: string; + SandboxID: string; + HairpinMode: boolean; + LinkLocalIPv6Address: string; + LinkLocalIPv6PrefixLen: number; + Ports: { + [portAndProtocol: string]: { + HostIp: string; + HostPort: string; + } + }; + SandboxKey: string; + SecondaryIPAddresses?: any; + SecondaryIPv6Addresses?: any; + EndpointID: string; + Gateway: string; + GlobalIPv6Address: string; + GlobalIPv6PrefixLen: number; + IPAddress: string; + IPPrefixLen: number; + IPv6Gateway: string; + MacAddress: string; + Networks: { + [type: string]: { + IPAMConfig?: any; + Links?: any; + Aliases?: any; + NetworkID: string; + EndpointID: string; + Gateway: string; + IPAddress: string; + IPPrefixLen: number; + IPv6Gateway: string; + GlobalIPv6Address: string; + GlobalIPv6PrefixLen: number; + MacAddress: string; + } + } + }; + } + + interface HostConfig { + Binds: string[]; + ContainerIDFile: string; + LogConfig: { + Type: string; + Config: any; + }; + NetworkMode: string; + PortBindings?: any; + RestartPolicy: { + Name: string; + MaximumRetryCount: number; + }; + VolumeDriver: string; + VolumesFrom?: any; + CapAdd?: any; + CapDrop?: any; + Dns: any[]; + DnsOptions: any[]; + DnsSearch: any[]; + ExtraHosts?: any; + IpcMode: string; + Links?: any; + OomScoreAdj: number; + PidMode: string; + Privileged: boolean; + PublishAllPorts: boolean; + ReadonlyRootfs: boolean; + SecurityOpt?: any; + UTSMode: string; + ShmSize: number; + ConsoleSize: number[]; + Isolation: string; + CpuShares: number; + CgroupParent: string; + BlkioWeight: number; + BlkioWeightDevice?: any; + BlkioDeviceReadBps?: any; + BlkioDeviceWriteBps?: any; + BlkioDeviceReadIOps?: any; + BlkioDeviceWriteIOps?: any; + CpuPeriod: number; + CpuQuota: number; + CpusetCpus: string; + CpusetMems: string; + Devices?: any; + KernelMemory: number; + Memory: number; + MemoryReservation: number; + MemorySwap: number; + MemorySwappiness: number; + OomKillDisable: boolean; + PidsLimit: number; + Ulimits?: any; + } + + interface ImageInspectInfo { + Id: string; + RepoTags: string[]; + RepoDigests: string[]; + Parent: string; + Comment: string; + Created: string; + Container: string; + ContainerConfig: + { + Hostname: string; + Domainname: string; + User: string; + AttachStdin: boolean; + AttachStdout: boolean; + AttachStderr: boolean; + ExposedPorts: { [portAndProtocol: string]: {} }; + Tty: boolean; + OpenStdin: boolean; + StdinOnce: boolean; + Env: string[]; + Cmd: string[]; + ArgsEscaped: boolean; + Image: string; + Volumes: { [path: string]: {} }, + WorkingDir: string; + Entrypoint?: any; + OnBuild?: any[]; + Labels: { [label: string]: string } + }; + DockerVersion: string; + Author: string; + Config: + { + Hostname: string; + Domainname: string; + User: string; + AttachStdin: boolean; + AttachStdout: boolean; + AttachStderr: boolean; + ExposedPorts: { [portAndProtocol: string]: {} } + Tty: boolean; + OpenStdin: boolean; + StdinOnce: boolean; + Env: string[]; + Cmd: string[]; + ArgsEscaped: boolean; + Image: string; + Volumes: { [path: string]: {} }, + WorkingDir: string; + Entrypoint?: any; + OnBuild: any[]; + Labels: { [label: string]: string } + }; + Architecture: string; + Os: string; + Size: number; + VirtualSize: number; + GraphDriver: + { + Name: string; + Data: + { + DeviceId: string; + DeviceName: string; + DeviceSize: string; + } + }; + } + + interface ContainerCreateOptions { + name?: string; + Hostname?: string; + Domainname?: string; + User?: string; + AttachStdin?: boolean; + AttachStdout?: boolean; + AttachStderr?: boolean; + Tty?: boolean; + OpenStdin?: boolean; + StdinOnce?: boolean; + Env?: string[]; + Cmd?: string[]; + Entrypoint?: string; + Image?: string; + Labels?: { [label: string]: string }; + Volumes?: { [volume: string]: {} }; + WorkingDir?: string; + NetworkDisabled?: boolean; + MacAddress?: boolean; + ExposedPorts?: { [port: string]: {} }; + StopSignal?: string; + HostConfig?: { + Binds?: string[]; + Links?: string[]; + Memory?: number; + MemorySwap?: number; + MemoryReservation?: number; + KernelMemory?: number; + CpuPercent?: number; + CpuShares?: number; + CpuPeriod?: number; + CpuQuota?: number; + CpusetMems?: string; + MaximumIOps?: number; + MaxmimumIOBps?: number; + BlkioWeightDevice?: Array<{}>; + BlkioDeviceReadBps?: Array<{}>; + BlkioDeviceReadIOps?: Array<{}>; + BlkioDeviceWriteBps?: Array<{}>; + BlkioDeviceWriteIOps?: Array<{}>; + MemorySwappiness?: number; + OomKillDisable?: boolean; + OomScoreAdj?: number; + PidMode?: string; + PidsLimit?: number; + PortBindings?: { [portAndProtocol: string]: Array<{ [index: string]: string }> }; + PublishAllPorts?: boolean; + Privileged?: boolean; + ReadonlyRootfs?: boolean; + Dns?: string[]; + DnsOptions?: string[]; + DnsSearch?: string[]; + ExtraHosts?: any; + VolumesFrom?: string[]; + CapAdd?: string[]; + CapDrop?: string[]; + GroupAdd?: string[]; + RestartPolicy?: { [index: string]: number | string }; + NetworkMode?: string; + Devices?: any[]; + Sysctls?: { [index: string]: string }; + Ulimits?: Array<{}>; + LogConfig?: { [index: string]: string | {} }; + SecurityOpt?: { [index: string]: any }; + CgroupParent?: string; + VolumeDriver?: string; + ShmSize?: number; + }; + NetworkingConfig?: { + EndpointsConfig?: { + [index: string]: any; + isolated_nw?: { + [index: string]: any; + IPAMConfig?: { + IPv4Address?: string; + IPv6Adress?: string; + LinkLocalIPs?: string[]; + } + Links?: string[]; + Aliases?: string[]; + } + } + }; + } + + interface DockerOptions { + socketPath?: string; + host?: string; + port?: number; + ca?: string; + cert?: string; + key?: string; + protocol?: "https" | "http"; + timeout?: number; + } +} + +type Callback = (error?: any, result?: T) => void; + +declare class Dockerode { + constructor(options?: Dockerode.DockerOptions); + + createContainer(options: Dockerode.ContainerCreateOptions, callback: Callback): void; + + createImage(options: {}, callback: Callback): void; + createImage(auth: any, options: {}, callback: Callback): void; + + loadImage(file: string, options: {}, callback: Callback): void; + loadImage(file: string, callback: Callback): void; + + importImage(file: string, options: {}, callback: Callback): void; + importImage(file: string, callback: Callback): void; + + checkAuth(options: any, callback: Callback): void; + + buildImage(file: string | NodeJS.ReadableStream, options: {}, callback: Callback): void; + buildImage(file: string | NodeJS.ReadableStream, callback: Callback): void; + + getContainer(id: string): Dockerode.Container; + + getImage(name: string): Dockerode.Image; + + getVolume(name: string): Dockerode.Volume; + + getService(id: string): Dockerode.Service; + + getTask(id: string): Dockerode.Task; + + getNode(id: string): Node; + + getNetwork(id: string): Dockerode.Network; + + getExec(id: string): Dockerode.Exec; + + listContainers(options: {}, callback: Callback): void; + listContainers(callback: Callback): void; + + listImages(options: {}, callback: Callback): void; + listImages(callback: Callback): void; + + listServices(options: {}, callback: Callback): void; + listServices(callback: Callback): void; + + listNodes(options: {}, callback: Callback): void; + listNodes(callback: Callback): void; + + listTasks(options: {}, callback: Callback): void; + listTasks(callback: Callback): void; + + listVolumes(options: {}, callback: Callback): void; + listVolumes(callback: Callback): void; + + listNetworks(options: {}, callback: Callback): void; + listNetworks(callback: Callback): void; + + createVolume(options: {}, callback: Callback): void; + + createService(options: {}, callback: Callback): void; + + createNetwork(options: {}, callback: Callback): void; + + searchImages(options: {}, callback: Callback): void; + + info(callback: Callback): void; + + version(callback: Callback): void; + + ping(callback: Callback): void; + + getEvents(options: {}, callback: Callback): void; + getEvents(callback: Callback): void; + + pull(repoTag: string, options: {}, callback: Callback, auth?: {}): Dockerode.Image; + + run(image: string, cmd: string[], outputStream: NodeJS.WritableStream, createOptions: {}, startOptions: {}, callback: Callback): events.EventEmitter; + run(image: string, cmd: string[], outputStream: NodeJS.WritableStream, startOptions: {}, callback: Callback): events.EventEmitter; + run(image: string, cmd: string[], outputStream: NodeJS.WritableStream, callback: Callback): events.EventEmitter; + run(image: string, cmd: string[], outputStream: NodeJS.WritableStream, createOptions: {}, callback: Callback): events.EventEmitter; + + swarmInit(options: {}, callback: Callback): void; + + swarmJoin(options: {}, callback: Callback): void; + + swarmLeave(options: {}, callback: Callback): void; + + swarmUpdate(options: {}, callback: Callback): void; + + modem: any; +} + +export = Dockerode; \ No newline at end of file diff --git a/dockerode/tsconfig.json b/dockerode/tsconfig.json new file mode 100644 index 0000000000..a077f02e3c --- /dev/null +++ b/dockerode/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "dockerode-tests.ts" + ] +} \ No newline at end of file diff --git a/dockerode/tslint.json b/dockerode/tslint.json new file mode 100644 index 0000000000..785a601162 --- /dev/null +++ b/dockerode/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "../tslint.json" +} \ No newline at end of file From ff113b3b1cfb2b7c98e2efd6e10ddb04d43bc031 Mon Sep 17 00:00:00 2001 From: darlin Date: Mon, 23 Jan 2017 20:14:41 +0800 Subject: [PATCH 085/613] add sub module export --- crypto-js/index.d.ts | 237 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 234 insertions(+), 3 deletions(-) diff --git a/crypto-js/index.d.ts b/crypto-js/index.d.ts index 5fdf193254..a2c0ee381d 100644 --- a/crypto-js/index.d.ts +++ b/crypto-js/index.d.ts @@ -3,9 +3,6 @@ // Definitions by: Michael Zabka // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -export = CryptoJS; -export as namespace CryptoJS; - declare var CryptoJS: CryptoJS.Hashes; declare namespace CryptoJS { type Hash = (message: string, key?: string, ...options: any[]) => string; @@ -113,5 +110,239 @@ declare namespace CryptoJS { NoPadding: Padding; }; } + } +declare module "crypto-js" { + var CryptoJS: CryptoJS.Hashes; + export = CryptoJS; +} + +/* --------------------------------- */ +declare module "crypto-js/core" { + var core: any; + export = core; +} + +declare module "crypto-js/x64-core" { + var x64: any; + export = x64; +} + +declare module "crypto-js/lib-typedarrays" { + var libWordArray: any; + export = libWordArray; +} + +/* --------------------------------- */ +declare module "crypto-js/md5" { + var MD5: CryptoJS.Hash; + export = MD5; +} + +declare module "crypto-js/sha1" { + var SHA1: CryptoJS.Hash; + export = SHA1; +} + +declare module "crypto-js/sha256" { + var SHA256: CryptoJS.Hash; + export = SHA256; +} + +declare module "crypto-js/sha224" { + var SHA224: CryptoJS.Hash; + export = SHA224; +} + +declare module "crypto-js/sha512" { + var SHA512: CryptoJS.Hash; + export = SHA512; +} + +declare module "crypto-js/sha384" { + var SHA384: CryptoJS.Hash; + export = SHA384; +} + +declare module "crypto-js/sha3" { + var SHA3: CryptoJS.Hash; + export = SHA3; +} + +declare module "crypto-js/ripemd160" { + var RIPEMD160: CryptoJS.Hash; + export = RIPEMD160; +} + +/* --------------------------------- */ +declare module "crypto-js/hmac-md5" { + var HmacMD5: CryptoJS.Hash; + export = HmacMD5; +} + +declare module "crypto-js/hmac-sha1" { + var HmacSHA1: CryptoJS.Hash; + export = HmacSHA1; +} + +declare module "crypto-js/hmac-sha256" { + var HmacSHA256: CryptoJS.Hash; + export = HmacSHA256; +} + +declare module "crypto-js/hmac-sha224" { + var HmacSHA224: CryptoJS.Hash; + export = HmacSHA224; +} + +declare module "crypto-js/hmac-sha512" { + var HmacSHA512: CryptoJS.Hash; + export = HmacSHA512; +} + +declare module "crypto-js/hmac-sha384" { + var HmacSHA384: CryptoJS.Hash; + export = HmacSHA384; +} + +declare module "crypto-js/hmac-sha3" { + var HmacSHA3: CryptoJS.Hash; + export = HmacSHA3; +} + +declare module "crypto-js/hmac-ripemd160" { + var HmacRIPEMD160: CryptoJS.Hash; + export = HmacRIPEMD160; +} + +/* --------------------------------- */ +declare module "crypto-js/pbkdf2" { + var PBKDF2: CryptoJS.Hash; + export = PBKDF2; +} + +/* --------------------------------- */ +declare module "crypto-js/aes" { + var AES: CryptoJS.Cipher; + export = AES; +} + +declare module "crypto-js/tripledes" { + var TripleDES: CryptoJS.Cipher; + export = TripleDES; +} + +declare module "crypto-js/rc4" { + var RC4: CryptoJS.Cipher; + export = RC4; +} + +declare module "crypto-js/rabbit" { + var Rabbit: CryptoJS.Cipher; + export = Rabbit; +} + +declare module "crypto-js/rabbit-legacy" { + var RabbitLegacy: CryptoJS.Cipher; + export = RabbitLegacy; +} + +declare module "crypto-js/evpkdf" { + var EvpKDF: CryptoJS.Cipher; + export = EvpKDF; +} + +/* --------------------------------- */ +declare module "crypto-js/format-openssl" { + var FormatOpenssl: any; + export = FormatOpenssl; +} + +declare module "crypto-js/format-hex" { + var FormatHex: any; + export = FormatHex; +} + +/* --------------------------------- */ +declare module "crypto-js/enc-latin1" { + var encLatin1: CryptoJS.Encoder; + export = encLatin1; +} + +declare module "crypto-js/enc-utf8" { + var encUtf8: CryptoJS.Encoder; + export = encUtf8; +} + +declare module "crypto-js/enc-hex" { + var encHex: CryptoJS.Encoder; + export = encHex; +} + +declare module "crypto-js/enc-utf16" { + var encUtf16: CryptoJS.Encoder; + export = encUtf16; +} + +declare module "crypto-js/enc-base64" { + var encBase64: CryptoJS.Encoder; + export = encBase64; +} + +/* --------------------------------- */ +declare module "crypto-js/mode-cfb" { + var modeCFB: CryptoJS.Mode; + export = modeCFB; +} + +declare module "crypto-js/mode-ctr" { + var modeCTR: CryptoJS.Mode; + export = modeCTR; +} + +declare module "crypto-js/mode-ctr-gladman" { + var modeCTRGladman: CryptoJS.Mode; + export = modeCTRGladman; +} + +declare module "crypto-js/mode-ofb" { + var modeOFB: CryptoJS.Mode; + export = modeOFB; +} + +declare module "crypto-js/mode-ecb" { + var modeECB: CryptoJS.Mode; + export = modeECB; +} + +/* --------------------------------- */ +declare module "crypto-js/pad-pkcs7" { + var padPkcs7: CryptoJS.Padding; + export = padPkcs7; +} + +declare module "crypto-js/pad-ansix923" { + var padAnsiX923: CryptoJS.Padding; + export = padAnsiX923; +} + +declare module "crypto-js/pad-iso10126" { + var padIso10126: CryptoJS.Padding; + export = padIso10126; +} + +declare module "crypto-js/pad-iso97971" { + var padIso97971: CryptoJS.Padding; + export = padIso97971; +} + +declare module "crypto-js/pad-zeropadding" { + var padZeroPadding: CryptoJS.Padding; + export = padZeroPadding; +} + +declare module "crypto-js/pad-nopadding" { + var padNoPadding: CryptoJS.Padding; + export = padNoPadding; +} From 7ba0fa586127729532dbe3aad56f6547385745fd Mon Sep 17 00:00:00 2001 From: darlin Date: Mon, 23 Jan 2017 20:35:35 +0800 Subject: [PATCH 086/613] add typescript module export to suport import * as SimpleMDE from 'simplemde' --- simplemde/index.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/simplemde/index.d.ts b/simplemde/index.d.ts index 6c199f48a7..eb463ae655 100644 --- a/simplemde/index.d.ts +++ b/simplemde/index.d.ts @@ -127,4 +127,8 @@ declare class SimpleMDE { static toggleFullScreen: (editor: SimpleMDE) => void; static undo: (editor: SimpleMDE) => void; static redo: (editor: SimpleMDE) => void; -} \ No newline at end of file +} + +declare module "simplemde" { + export = SimpleMDE; +} From fc6a9729df46769b7a50cffe4414dc913ba6da28 Mon Sep 17 00:00:00 2001 From: Kir Dergachev Date: Mon, 23 Jan 2017 16:14:33 +0300 Subject: [PATCH 087/613] Fixes errors references. Removes references to webrtc --- sip.js/index.d.ts | 68 ++++++++++++++++++++---------------------- sip.js/sip.js-tests.ts | 36 +++++++++++----------- sip.js/tslint.json | 3 +- 3 files changed, 51 insertions(+), 56 deletions(-) diff --git a/sip.js/index.d.ts b/sip.js/index.d.ts index 942a0d22b3..be01cd3682 100644 --- a/sip.js/index.d.ts +++ b/sip.js/index.d.ts @@ -3,21 +3,23 @@ // Definitions by: Kir Dergachev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// +declare interface SIP { + UA: { + new (configuration?: sipjs.ConfigurationParameters): sipjs.UA; + }; + URI: { + new (scheme?: string, user?: string, host?: string, port?: number, parameters?: string[], headers?: string[]): sipjs.URI; + parse(uri: string): sipjs.URI; + }; + NameAddrHeader: { + new (uri: string | sipjs.URI, displayName: string, parameters: Array<{ key: string, value: string }>): sipjs.NameAddrHeader; + parse(name_addr_header: string): sipjs.NameAddrHeader; + }; +} -export = SIP; - -declare namespace SIP { - - class URI { - constructor( - scheme?: string, - user?: string, - host?: string, - port?: number, - parameters?: string[], - headers?: string[]); +declare namespace sipjs { + interface URI { scheme?: string; user?: string; host?: string; @@ -35,8 +37,6 @@ declare namespace SIP { clearHeaders(): void; clone(): URI; toString(): string; - - static parse(uri: string): URI; } namespace UA.EventArgs { @@ -45,8 +45,7 @@ declare namespace SIP { interface RegistrationFailedArgs extends UnregisteredArgs { } } - class UA { - constructor(configuration?: ConfigurationParameters); + interface UA { start(): void; stop(): void; register(options?: ExtraHeadersOptions): UA; @@ -59,7 +58,7 @@ declare namespace SIP { request(method: string, target: string | URI, options?: RequestOptions): ClientContext; on(name: 'connected', callback: (args: UA.EventArgs.ConnectedArgs) => void): void; - on(name: 'disconnected' | 'registered', callback: () => void): void; + on(name: 'disconnected' | 'registered' | string, callback: () => void): void; on(name: 'unregistered', callback: (args: UA.EventArgs.UnregisteredArgs) => void): void; on(name: 'registrationFailed', callback: (args: UA.EventArgs.RegistrationFailedArgs) => void): void; on(name: 'invite', callback: (session: Session) => void): void; @@ -81,7 +80,7 @@ declare namespace SIP { } } - class Session { + interface Session { startTime?: Date; endTime?: Date; ua?: UA; @@ -95,8 +94,8 @@ declare namespace SIP { dtmf(tone: string | number, options?: Session.DtmfOptions): Session; terminate(options?: Session.CommonOptions): Session; bye(options?: Session.CommonOptions): Session; - getLocalStreams(): MediaStream[]; - getRemoteStreams(): MediaStream[]; + getLocalStreams(): any[]; + getRemoteStreams(): any[]; refer(target: string | Session, options?: ExtraHeadersOptions): Session; mute(options?: ExtraHeadersOptions): void; unmute(options?: ExtraHeadersOptions): void; @@ -111,7 +110,7 @@ declare namespace SIP { on(name: 'accepted', callback: (data: { code: number, response: IncomingResponse }) => void): void; on(name: 'failed' | 'rejected', callback: (response: IncomingResponse, cause: string) => void): void; on(name: 'terminated', callback: (message: IncomingResponse, cause: string) => void): void; - on(name: 'cancel', callback: () => void): void; + on(name: 'cancel' | string, callback: () => void): void; on(name: 'replaced', callback: (newSession: Session) => void): void; on(name: 'dtmf', callback: (request: IncomingRequest, dtmf: Session.DTMF) => void): void; on(name: 'muted' | 'unmuted', callback: (data: Session.Muted) => void): void; @@ -136,7 +135,7 @@ declare namespace SIP { } interface AcceptOptions { - RTCConstraints?: RTCPeerConnection; + RTCConstraints?: any; media?: MediaOptions; } @@ -169,21 +168,21 @@ declare namespace SIP { interface Options { stunServers?: string | string[]; turnServers?: TurnServer | TurnServer[]; - RTCConstraints?: RTCPeerConnection; + RTCConstraints?: any; } type MediaHandlerFactory = (session: Session, options: Options) => MediaHandler; class MediaHandler { - getLocalStreams(): MediaStream[]; - getRemoteStreams(): MediaStream[]; + getLocalStreams(): any[]; + getRemoteStreams(): any[]; render(renderHint: RenderHint): void; on(name: 'userMediaRequest', callback: (constraints: MediaConstraints) => void): void; - on(name: 'addStream' | 'userMedia', callback: (stream: MediaStream) => void): void; + on(name: 'addStream' | 'userMedia', callback: (stream: any) => void): void; on(name: 'userMediaFailed', callback: (error: string) => void): void; - on(name: 'iceCandidate', callback: (candidate: RTCIceCandidate) => void): void; - on(name: 'iceGathering' | 'iceGatheringComplete' | 'iceConnection' | 'iceConnectionChecking' | 'iceConnectionConnected' | 'iceConnectionCompleted' | 'iceConnectionFailed' | 'iceConnectionDisconnected' | 'iceConnectionClosed', callback: () => void): void; + on(name: 'iceCandidate', callback: (candidate: any) => void): void; + on(name: 'iceGathering' | 'iceGatheringComplete' | 'iceConnection' | 'iceConnectionChecking' | 'iceConnectionConnected' | 'iceConnectionCompleted' | 'iceConnectionFailed' | 'iceConnectionDisconnected' | 'iceConnectionClosed' | string, callback: () => void): void; on(name: 'dataChannel' | 'getDescription' | 'setDescription', callback: (sdpWrapper: { type: string, sdp: string }) => void): void; } } @@ -247,7 +246,7 @@ declare namespace SIP { interface MediaOptions { constraints?: MediaConstraints; - stream?: MediaStream; + stream?: any; render?: RenderHint; } @@ -256,7 +255,7 @@ declare namespace SIP { anonymous?: boolean; rel100?: string; inviteWithoutSdp?: boolean; - RTCConstraints?: RTCPeerConnection; + RTCConstraints?: any; } interface RequestOptions extends ExtraHeadersOptions { @@ -290,6 +289,7 @@ declare namespace SIP { data: {}; on(name: 'progress' | 'accepted' | 'rejected' | 'failed', callback: (response: IncomingMessage, cause: string) => void): void; on(name: 'notify', callback: (request: IncomingRequest) => void): void; + on(name: string, callback: () => void): void; } interface ClientContext extends Context { @@ -320,9 +320,7 @@ declare namespace SIP { } /* Header */ - class NameAddrHeader { - constructor(uri: string | URI, displayName: string, parameters: Array<{ key: string, value: string }>); - + interface NameAddrHeader { uri: string | URI; displayName: string; @@ -330,7 +328,5 @@ declare namespace SIP { getParam(key: string): string; deleteParam(key: string): string; clearParams(): void; - - static parse(name_addr_header: string): NameAddrHeader; } } diff --git a/sip.js/sip.js-tests.ts b/sip.js/sip.js-tests.ts index f688fe67ae..524caf1827 100644 --- a/sip.js/sip.js-tests.ts +++ b/sip.js/sip.js-tests.ts @@ -1,11 +1,11 @@ -import SIP = require("./index"); +declare var sip: SIP; -let ua: SIP.UA = new SIP.UA(); +let ua: sipjs.UA = new sip.UA(); -const mediaHandler = (session: SIP.Session, options: SIP.WebRTC.Options) => new SIP.WebRTC.MediaHandler(); +const mediaHandler = (session: sipjs.Session, options: sipjs.WebRTC.Options) => new sipjs.WebRTC.MediaHandler(); const logConnector = (level: string, category: string, label: string, content: string) => null; -const uaWithConfig: SIP.UA = new SIP.UA({ +const uaWithConfig: sipjs.UA = new sip.UA({ uri: "wss://uri", wsServers: ["s1", "s2"], allowLegacyNotifications: true, @@ -38,7 +38,7 @@ const uaWithConfig: SIP.UA = new SIP.UA({ stunServers: ["", ""], turnServers: [ { - password: "", + password: "", username: "", urls: ["", ""] } @@ -61,15 +61,15 @@ ua.unregister({ extraHeaders: [""], all: true }); const isConnected: boolean = ua.isConnected(); const isRegistered: boolean = ua.isRegistered(); -const message: SIP.Message = ua.message("", "", { contentType: "" }); +const message: sipjs.Message = ua.message("", "", { contentType: "" }); -ua.subscribe("", "", { expires: 1, extraHeaders: [""]}); -const subscription: SIP.Subscription = ua.subscribe(new SIP.URI(), "", { expires: 1, extraHeaders: [""]}); +ua.subscribe("", "", { expires: 1, extraHeaders: [""] }); +const subscription: sipjs.Subscription = ua.subscribe(new sip.URI(), "", { expires: 1, extraHeaders: [""] }); let session = ua.invite("", new HTMLVideoElement()); -const inviteOptions: SIP.InviteOptions = { - media: { +const inviteOptions: sipjs.InviteOptions = { + media: { constraints: { audio: true, video: false }, stream: new MediaStream(), render: { remote: new Element(), local: new Element() }, @@ -77,17 +77,17 @@ const inviteOptions: SIP.InviteOptions = { anonymous: true, rel100: "", inviteWithoutSdp: true, - RTCConstraints: new RTCPeerConnection() + RTCConstraints: {} } session = ua.invite("", inviteOptions); -ua.on('connected', (args: SIP.UA.EventArgs.ConnectedArgs) => {}); -ua.on('disconnected', () => {}); -ua.on('registered', () => {}); -ua.on('unregistered', (args: SIP.UA.EventArgs.UnregisteredArgs) => {}); -ua.on('registrationFailed', (args: SIP.UA.EventArgs.RegistrationFailedArgs) => {}); -ua.on('invite', (session: SIP.Session) => { +ua.on('connected', (args: sipjs.UA.EventArgs.ConnectedArgs) => { }); +ua.on('disconnected', () => { }); +ua.on('registered', () => { }); +ua.on('unregistered', (args: sipjs.UA.EventArgs.UnregisteredArgs) => { }); +ua.on('registrationFailed', (args: sipjs.UA.EventArgs.RegistrationFailedArgs) => { }); +ua.on('invite', (session: sipjs.Session) => { session.on('progress', (response) => { }); session.on('accepted', (response) => { @@ -96,4 +96,4 @@ ua.on('invite', (session: SIP.Session) => { }); }); -ua.on('message', (message: SIP.Message) => {}); +ua.on('message', (message: sipjs.Message) => { }); diff --git a/sip.js/tslint.json b/sip.js/tslint.json index c78c443ad2..105f5736e6 100644 --- a/sip.js/tslint.json +++ b/sip.js/tslint.json @@ -1,7 +1,6 @@ { "extends": "../tslint.json", "rules": { - "no-empty-interface": false, - "export-just-namespace": false + "no-empty-interface": false } } From ebf5d7ce980cd6ed58e13894bd957248d50e2c35 Mon Sep 17 00:00:00 2001 From: Jan Varwig Date: Mon, 23 Jan 2017 15:57:31 +0100 Subject: [PATCH 088/613] Add spline property to c3 ChartConfiguration This has been added to C3 in 0.4.11: https://github.com/c3js/c3/commit/bbb6d1c0366164b6c472b87d2cbde7dbc7c4629e --- c3/index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/c3/index.d.ts b/c3/index.d.ts index aa960b0b60..5edb096395 100644 --- a/c3/index.d.ts +++ b/c3/index.d.ts @@ -248,6 +248,15 @@ declare namespace c3 { */ width?: number; }; + + spline?: { + interpolation?: { + /** + * Set custom spline interpolation + */ + type?: 'linear' | 'linear-closed' | 'basis' | 'basis-open' | 'basis-closed' | 'bundle' | 'cardinal' | 'cardinal-open' | 'cardinal-closed' | 'monotone'; + }; + }; } interface Data { From ef8a64d27c4036fe9e1103736aaedd5890aa347d Mon Sep 17 00:00:00 2001 From: Oleg Solomka Date: Mon, 23 Jan 2017 16:14:41 -0600 Subject: [PATCH 089/613] rename `createBrowserHistory` to `createHistory ` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `createBrowserHistory ` was only introduced in the `history@4.0.0-1` prior to that the `createHistory` was used. So if you will install `@types/history@^2.0.0` and `history@^2.0.0`(or even `^3.x.x`) it will break with the next error: ``` ./src/client/history.ts (1,10): error TS2305: Module ‘â€/@types/history/index"' has no exported member 'createHistory'. ``` This commit brings the `createHistory` back thus solves the issue for `history@^2.x.x` and `history@^3.x.x`. --- history/v2/history-tests.ts | 20 ++++++++++---------- history/v2/index.d.ts | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/history/v2/history-tests.ts b/history/v2/history-tests.ts index 454b223e09..598d934e8d 100644 --- a/history/v2/history-tests.ts +++ b/history/v2/history-tests.ts @@ -1,4 +1,4 @@ -import { createBrowserHistory, createLocation, useBasename, useBeforeUnload, useQueries } from 'history' +import { createHistory, createLocation, useBasename, useBeforeUnload, useQueries } from 'history' import { getUserConfirmation } from 'history/lib/DOMUtils' @@ -10,7 +10,7 @@ let doSomethingAsync: () => Promise; let input = { value: "" }; { - let history = createBrowserHistory() + let history = createHistory() // Listen for changes to the current location. The // listener is called once immediately. @@ -46,7 +46,7 @@ let input = { value: "" }; } { - let history = createBrowserHistory() + let history = createHistory() // Pushing a path string. history.push('/the/path') @@ -63,7 +63,7 @@ let input = { value: "" }; } { - let history = createBrowserHistory() + let history = createHistory() history.listenBefore(function(location) { if (input.value !== '') return 'Are you sure you want to leave this page?' @@ -75,7 +75,7 @@ let input = { value: "" }; } { - let history = createBrowserHistory({ + let history = createHistory({ getUserConfirmation(message, callback) { callback(window.confirm(message)) // The default behavior } @@ -83,7 +83,7 @@ let input = { value: "" }; } { - let history = useBeforeUnload(createBrowserHistory)() + let history = useBeforeUnload(createHistory)() history.listenBeforeUnload(function() { return 'Are you sure you want to leave this page?' @@ -91,7 +91,7 @@ let input = { value: "" }; } { - let history = useQueries(createBrowserHistory)() + let history = useQueries(createHistory)() history.listen(function(location) { console.log(location.query) @@ -99,7 +99,7 @@ let input = { value: "" }; } { - let history = useQueries(createBrowserHistory)({ + let history = useQueries(createHistory)({ parseQueryString: function(queryString) { // TODO: return a parsed version of queryString return {}; @@ -116,7 +116,7 @@ let input = { value: "" }; { // Run our app under the /base URL. - let history = useBasename(createBrowserHistory)({ + let history = useBasename(createHistory)({ basename: '/base' }) @@ -128,4 +128,4 @@ let input = { value: "" }; history.createPath('/the/path') // /base/the/path history.push('/the/path') // push /base/the/path -} \ No newline at end of file +} diff --git a/history/v2/index.d.ts b/history/v2/index.d.ts index 5f719c2f0b..6b61fa1b77 100644 --- a/history/v2/index.d.ts +++ b/history/v2/index.d.ts @@ -127,7 +127,7 @@ export interface Module { }; } -export { default as createBrowserHistory } from "./lib/createBrowserHistory"; +export { default as createHistory } from "./lib/createBrowserHistory"; export { default as createHashHistory } from "./lib/createHashHistory"; export { default as createMemoryHistory } from "./lib/createMemoryHistory"; export { default as createLocation } from "./lib/createLocation"; From 24e002e47f43ffea46b4673e1baecd154e21f996 Mon Sep 17 00:00:00 2001 From: yyc <395976266@qq.com> Date: Tue, 24 Jan 2017 06:23:05 +0800 Subject: [PATCH 090/613] fix: cannon add version --- cannon/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cannon/index.d.ts b/cannon/index.d.ts index 6551e07b32..9b62c45fc4 100644 --- a/cannon/index.d.ts +++ b/cannon/index.d.ts @@ -1,5 +1,5 @@ // Type definitions for cannon -// Project: https://github.com/clark-stevenson/cannon.d.ts +// Project: https://github.com/clark-stevenson/cannon.d.ts v0.1.0 // Definitions by: Clark Stevenson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 523089f06262971369335d239708d641c75068d4 Mon Sep 17 00:00:00 2001 From: yyc <395976266@qq.com> Date: Tue, 24 Jan 2017 06:34:43 +0800 Subject: [PATCH 091/613] fix: fix version --- cannon/index.d.ts | 4 ++-- wonder-commonlib/index.d.ts | 2 +- wonder-frp/index.d.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cannon/index.d.ts b/cannon/index.d.ts index 9b62c45fc4..45e005d53d 100644 --- a/cannon/index.d.ts +++ b/cannon/index.d.ts @@ -1,5 +1,5 @@ -// Type definitions for cannon -// Project: https://github.com/clark-stevenson/cannon.d.ts v0.1.0 +// Type definitions for cannon 0.1 +// Project: https://github.com/clark-stevenson/cannon.d.ts // Definitions by: Clark Stevenson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/wonder-commonlib/index.d.ts b/wonder-commonlib/index.d.ts index 3421de0125..464b6ada4e 100644 --- a/wonder-commonlib/index.d.ts +++ b/wonder-commonlib/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for wonder-commonlib v0.1.0 +// Type definitions for wonder-commonlib 0.1 // Project: https://github.com/yyc-git/Wonder-CommonLib // Definitions by: YYC // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/wonder-frp/index.d.ts b/wonder-frp/index.d.ts index c5e69d2dd9..c7459d6690 100644 --- a/wonder-frp/index.d.ts +++ b/wonder-frp/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for wonder-frp v0.1.0 +// Type definitions for wonder-frp 0.1 // Project: https://github.com/yyc-git/Wonder-FRP // Definitions by: YYC // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 1001a8eae92aff3d95aee7082459a36a51f2ca45 Mon Sep 17 00:00:00 2001 From: Justin Bay Date: Mon, 23 Jan 2017 19:33:00 -0500 Subject: [PATCH 092/613] Revert 80e4d8b/#11612. Fixes #14176 --- react/index.d.ts | 1 - react/test/index.ts | 14 -------------- 2 files changed, 15 deletions(-) diff --git a/react/index.d.ts b/react/index.d.ts index a840e4b64d..4a19ec723c 100644 --- a/react/index.d.ts +++ b/react/index.d.ts @@ -165,7 +165,6 @@ declare namespace React { // Base component for plain JS classes class Component implements ComponentLifecycle { constructor(props?: P, context?: any); - constructor(...args: any[]); setState(f: (prevState: S, props: P) => Pick, callback?: () => any): void; setState(state: Pick, callback?: () => any): void; forceUpdate(callBack?: () => any): void; diff --git a/react/test/index.ts b/react/test/index.ts index 0900926cf6..b575055514 100644 --- a/react/test/index.ts +++ b/react/test/index.ts @@ -659,20 +659,6 @@ React.createFactory(TransitionGroup)({ component: "div" }); let newObjShallow = update(obj, { $merge: { b: 6, c: 7 } }); // => {a: 5, b: 6, c: 7} } -// -// React Component classes super spread arguments -// -------------------------------------------------------------------------- -class ConstructorSpreadArgsComponent extends React.Component<{}, {}> { - constructor(...args: any[]) { - super(...args); - } -} -class ConstructorSpreadArgsPureComponent extends React.PureComponent<{}, {}> { - constructor(...args: any[]) { - super(...args); - } -} - // // The SyntheticEvent.target.value should be accessible for onChange // -------------------------------------------------------------------------- From 59b9f7939c60302143d6d499392260a09315e46c Mon Sep 17 00:00:00 2001 From: Eiji Kitamura Date: Tue, 24 Jan 2017 10:23:47 +0900 Subject: [PATCH 093/613] [paymentrequest] Added `target: "es6"` --- paymentrequest/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/paymentrequest/tsconfig.json b/paymentrequest/tsconfig.json index 221e0618af..e5754a139a 100644 --- a/paymentrequest/tsconfig.json +++ b/paymentrequest/tsconfig.json @@ -5,6 +5,7 @@ "es6", "dom" ], + "target": "es6", "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": false, From 24c9f897f0f17c9cdcdf11184a25c33ee94aac3a Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Mon, 23 Jan 2017 22:08:03 -0500 Subject: [PATCH 094/613] Fix react-router-redux v3 --- react-router-redux/v3/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/react-router-redux/v3/index.d.ts b/react-router-redux/v3/index.d.ts index 83c9313e1e..e0b3a62698 100644 --- a/react-router-redux/v3/index.d.ts +++ b/react-router-redux/v3/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/rackt/react-router-redux // Definitions by: Isman Usoh , Noah Shipley , Dimitri Rosenberg // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 import * as Redux from "redux"; import * as History from "history"; From 12b8c9de5fd892dff77280988b7d40c542675b4f Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Mon, 23 Jan 2017 22:17:24 -0500 Subject: [PATCH 095/613] Try adding a package for redux --- react-router-redux/v3/package.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 react-router-redux/v3/package.json diff --git a/react-router-redux/v3/package.json b/react-router-redux/v3/package.json new file mode 100644 index 0000000000..36ce503807 --- /dev/null +++ b/react-router-redux/v3/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "redux": "^3.6.0" + } +} From 7e3ebd00f0ece65fc556713c5fad39c7253d7a90 Mon Sep 17 00:00:00 2001 From: Blake Embrey Date: Mon, 23 Jan 2017 19:58:07 -0800 Subject: [PATCH 096/613] raw-body: conditional return type based on options --- raw-body/index.d.ts | 21 ++++++++++++--------- raw-body/raw-body-tests.ts | 6 +++--- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/raw-body/index.d.ts b/raw-body/index.d.ts index a99f2c51c2..94131c5764 100644 --- a/raw-body/index.d.ts +++ b/raw-body/index.d.ts @@ -4,13 +4,16 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// + import { Readable } from "stream"; declare namespace getRawBody { + export type Encoding = string | true; + export interface Options { length?: number; limit?: number; - encoding?: string; + encoding?: Encoding; } export interface RawBodyError extends Error { @@ -19,18 +22,18 @@ declare namespace getRawBody { expected?: number; received?: number; encoding?: string; - status?: number; - statusCode?: number; - type?: string; + status: number; + statusCode: number; + type: string; } - - export type Callback = (err: RawBodyError, res: string | Buffer) => void; } -declare function getRawBody(stream: Readable, callback: getRawBody.Callback): void; -declare function getRawBody(stream: Readable, options: getRawBody.Options | string, callback: getRawBody.Callback): void; +declare function getRawBody(stream: Readable, callback: (err: getRawBody.RawBodyError, body: Buffer) => void): void; +declare function getRawBody(stream: Readable, options: (getRawBody.Options & { encoding: getRawBody.Encoding }) | getRawBody.Encoding, callback: (err: getRawBody.RawBodyError, body: string) => void): void; +declare function getRawBody(stream: Readable, options: getRawBody.Options, callback: (err: getRawBody.RawBodyError, body: Buffer) => void): void; -declare function getRawBody(stream: Readable, options?: getRawBody.Options | string): Promise; +declare function getRawBody(stream: Readable, options: (getRawBody.Options & { encoding: getRawBody.Encoding }) | getRawBody.Encoding): Promise; +declare function getRawBody(stream: Readable, options?: getRawBody.Options): Promise; export = getRawBody; diff --git a/raw-body/raw-body-tests.ts b/raw-body/raw-body-tests.ts index f23160c876..ad6065537d 100644 --- a/raw-body/raw-body-tests.ts +++ b/raw-body/raw-body-tests.ts @@ -2,11 +2,11 @@ import getRawBody = require("raw-body"); const stream: any = {}; -const simple = getRawBody(stream); +const simple: Promise = getRawBody(stream); -const withEncoding = getRawBody(stream, "utf-8"); +const withEncoding: Promise = getRawBody(stream, "utf-8"); -const withOptions = getRawBody(stream, { +const withOptions: Promise = getRawBody(stream, { encoding: "utf-8", length: 1024, limit: 512 From 928c0be342b96390221e1cc69d8c85031f945704 Mon Sep 17 00:00:00 2001 From: Fredrik Nicol Date: Sat, 21 Jan 2017 11:58:33 +0100 Subject: [PATCH 097/613] Add constructor arguments in `ClassType` --- react/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/index.d.ts b/react/index.d.ts index a840e4b64d..bfc41b609a 100644 --- a/react/index.d.ts +++ b/react/index.d.ts @@ -230,8 +230,8 @@ declare namespace React { */ type ClassType, C extends ComponentClass

> = C & - (new () => T) & - (new () => { props: P }); + (new (props?: P, context?: any) => T) & + (new (props?: P, context?: any) => { props: P }); // // Component Specs and Lifecycle From 8829f99d006174525b8e4d00f7720722690cbda5 Mon Sep 17 00:00:00 2001 From: Steven Liekens Date: Tue, 24 Jan 2017 10:43:42 +0100 Subject: [PATCH 098/613] Mark optional properties as such --- jquery.datatables/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jquery.datatables/index.d.ts b/jquery.datatables/index.d.ts index c7c4bd8682..5d1bbd50c9 100644 --- a/jquery.datatables/index.d.ts +++ b/jquery.datatables/index.d.ts @@ -908,7 +908,7 @@ declare namespace DataTables { * @param d Data to use for the row. */ data(d: any[] | Object): DataTable; - + /** * Get the id of the selected row. Since: 1.10.8 @@ -1456,9 +1456,9 @@ declare namespace DataTables { } export interface AjaxData { - draw: number; - recordsTotal: number; - recordsFiltered: number; + draw?: number; + recordsTotal?: number; + recordsFiltered?: number; data: any; error?: string; } From 0e50ed4cc33b26a7f3396cd61ed6e6d4ad9206ec Mon Sep 17 00:00:00 2001 From: Takenaka Simon Date: Tue, 24 Jan 2017 20:13:02 +0900 Subject: [PATCH 099/613] [storejs] Add forEach to type defintion --- storejs/index.d.ts | 3 ++- storejs/storejs-tests.ts | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/storejs/index.d.ts b/storejs/index.d.ts index ad5d8e979c..0068d94722 100644 --- a/storejs/index.d.ts +++ b/storejs/index.d.ts @@ -16,10 +16,11 @@ interface StoreJSStatic { getAll(): any; serialize(value: any): string; deserialize(value: string): any; + forEach(command: (key: string, value: any) => void): void; } declare var store: StoreJSStatic; declare module 'store' { - export = store; + export = store; } diff --git a/storejs/storejs-tests.ts b/storejs/storejs-tests.ts index 19e0ae898b..13c937c3c9 100644 --- a/storejs/storejs-tests.ts +++ b/storejs/storejs-tests.ts @@ -5,7 +5,7 @@ import * as store from 'store'; store.set('username', 'marcus'); // Get 'username' -var userName:any = store.get('username'); +var userName: any = store.get('username'); var all: Object = store.getAll(); @@ -22,3 +22,10 @@ store.set('user', { name: 'marcus', likes: 'javascript' }); var user: any = store.get('user'); alert(user.name + ' likes ' + user.likes); +// Get all stored values +store.getAll().user.name; + +// Loop over all stored values +store.forEach(function(key, val) { + console.log(key, '==', val); +}); From 35c3b91e095b7a5aa4cfd6d51e9bfbbda3b5a3b6 Mon Sep 17 00:00:00 2001 From: a8775 Date: Tue, 24 Jan 2017 14:48:02 +0100 Subject: [PATCH 100/613] detailing declaration for dgram socket.close () --- node/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/index.d.ts b/node/index.d.ts index 6e4fbce84e..93c0d7c709 100644 --- a/node/index.d.ts +++ b/node/index.d.ts @@ -2124,7 +2124,7 @@ declare module "dgram" { send(msg: Buffer | String | any[], offset: number, length: number, port: number, address: string, callback?: (error: Error, bytes: number) => void): void; bind(port?: number, address?: string, callback?: () => void): void; bind(options: BindOptions, callback?: Function): void; - close(callback?: any): void; + close(callback?: () => void): void; address(): AddressInfo; setBroadcast(flag: boolean): void; setTTL(ttl: number): void; From f0cbff79a4ed0b58d50b5a6475726cf02d2cc6a7 Mon Sep 17 00:00:00 2001 From: Peter Keuter Date: Tue, 24 Jan 2017 15:17:08 +0100 Subject: [PATCH 101/613] importDocument declaration --- xmlbuilder/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/xmlbuilder/index.d.ts b/xmlbuilder/index.d.ts index 4367a7fb10..20dabf97ca 100644 --- a/xmlbuilder/index.d.ts +++ b/xmlbuilder/index.d.ts @@ -62,6 +62,7 @@ declare class XMLElementOrXMLNode { declaration(version: string, encoding: string, standalone: boolean): XMLElementOrXMLNode; doctype(pubID: string, sysID: string): XMLDocType; up(): XMLElementOrXMLNode; + importDocument(input: XMLElementOrXMLNode): XMLElementOrXMLNode; root(): XMLElementOrXMLNode; document(): any; end(options?: Object): string; From 6d81c90395104ca52bfd30e3574bd13f4b39861a Mon Sep 17 00:00:00 2001 From: denis Date: Tue, 24 Jan 2017 15:18:31 +0100 Subject: [PATCH 102/613] MetisMenu: add missing types for 2.6.1 Add events types, preventDefault properties, and 'dispose' option. --- metismenu/index.d.ts | 8 ++++++-- metismenu/metismenu-tests.ts | 19 ++++++++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/metismenu/index.d.ts b/metismenu/index.d.ts index 43faa279c7..1816090f87 100644 --- a/metismenu/index.d.ts +++ b/metismenu/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for metisMenu 2.0.3 +// Type definitions for metisMenu 2.6.1 // Project: http://github.com/onokumus/metisMenu // Definitions by: onokums // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -12,8 +12,12 @@ interface MetisMenuOptions { collapseClass?: string; collapseInClass?: string; collapsingClass?: string; + preventDefault?: boolean; } +type MetisMenuEvents = "show.metisMenu" | "shown.metisMenu" | "hide.metisMenu" | "hidden.metisMenu"; + interface JQuery { - metisMenu(options?: MetisMenuOptions): JQuery; + metisMenu(options?: MetisMenuOptions | "dispose"): JQuery; + on(events: MetisMenuEvents, handler: (eventObject: JQueryEventObject) => any): JQuery; } diff --git a/metismenu/metismenu-tests.ts b/metismenu/metismenu-tests.ts index b2e36f1d53..625a4877ab 100644 --- a/metismenu/metismenu-tests.ts +++ b/metismenu/metismenu-tests.ts @@ -1,12 +1,29 @@ /// $('#menu').metisMenu(); + $('.metismenu').metisMenu({toggle: false}); + $('.test').metisMenu({ toggle: false, doubleTapToGo: true, activeClass: 'active', collapseClass: 'collapse', collapseInClass: 'in', - collapsingClass: 'collapsing' + collapsingClass: 'collapsing', + preventDefault: true }); + +$('.metismenu').metisMenu('dispose'); + +$('.metismenu') + .metisMenu() + .on('show.metisMenu', function(e) { + // empty logic + }).on('shown.metisMenu', function(e) { + // empty logic + }).on('hide.metisMenu', function(e) { + // empty logic + }).on('hidden.metisMenu', function(e) { + // empty logic + }); From 2c380af908a2e6261078153598170b1fd84bd39f Mon Sep 17 00:00:00 2001 From: Sergei Dorogin Date: Tue, 24 Jan 2017 17:44:31 +0300 Subject: [PATCH 103/613] jquery.fileupload added `add` callback signature (was `any`) changed `fail` callback signature (JQueryFileInputOptions => JQueryFileUploadDone) added JQueryFileUploadXhr.errorThrown field --- jquery.fileupload/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jquery.fileupload/index.d.ts b/jquery.fileupload/index.d.ts index 54ebb89c5c..e113d2733c 100644 --- a/jquery.fileupload/index.d.ts +++ b/jquery.fileupload/index.d.ts @@ -198,7 +198,7 @@ interface JQueryFileInputOptions { * handlers using jQuery's Deferred callbacks: * data.submit().done(func).fail(func).always(func); */ - add?: any; + add?: (e: JQueryEventObject, data: JQueryFileInputOptions) => void; // The plugin options are used as settings object for the ajax calls. // The following are jQuery ajax settings required for the file uploads: @@ -228,7 +228,7 @@ interface JQueryFileInputOptions { // Other callbacks: submit?: Function; done?: (e: JQueryEventObject, data: JQueryFileUploadDone) => void; - fail?: (e: JQueryEventObject, data: JQueryFileInputOptions) => void; + fail?: (e: JQueryEventObject, data: JQueryFileUploadDone) => void; always?: (e: JQueryEventObject, data: JQueryFileInputOptions) => void; progressall?: (e: JQueryEventObject, data: JQueryFileUploadProgressAllObject) => void; start?: (e: JQueryEventObject) => void; @@ -284,6 +284,7 @@ interface JQueryFileUploadXhr { jqXHR: JQueryXHR; result: any; textStatus: string; + errorThrown: any; headers: {[key: string]: any}; } From 940a72926dd0b003374e1deb425652aa8e04744c Mon Sep 17 00:00:00 2001 From: Sebastian Sebald Date: Tue, 24 Jan 2017 16:50:07 +0100 Subject: [PATCH 104/613] redux-immutable: improve typings Current available typings for `redux-immutable` do only allow to have a `Reducer` and allow to be pass an arbitrary object to `combineReducers`. This patch updates the typings and brings them in-sync with the official `redux` typings. --- redux-immutable/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redux-immutable/index.d.ts b/redux-immutable/index.d.ts index 2c378f02d8..386a3a1613 100644 --- a/redux-immutable/index.d.ts +++ b/redux-immutable/index.d.ts @@ -1,8 +1,8 @@ -// Type definitions for redux-immutable v3.0.5 +// Type definitions for redux-immutable v3.0.10 // Project: https://github.com/gajus/redux-immutable -// Definitions by: Pedro Pereira +// Definitions by: Sebastian Sebald // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import * as Redux from 'redux'; -export declare function combineReducers(reducers: Object): Redux.Reducer; +export declare function combineReducers(reducers: Redux.ReducersMapObject): Redux.Reducer; From e22fc912b9109557b2878001055b66a52374d1c0 Mon Sep 17 00:00:00 2001 From: Joshua Sheard Date: Tue, 24 Jan 2017 18:15:13 +0000 Subject: [PATCH 105/613] Fix typo in TrianglesDrawModes enum --- three/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/three/index.d.ts b/three/index.d.ts index 3b0917f577..36263993c7 100644 --- a/three/index.d.ts +++ b/three/index.d.ts @@ -217,7 +217,7 @@ declare namespace THREE { // Triangle Draw modes export enum TrianglesDrawModes { } - export const TrianglesDrawModesMode: TrianglesDrawModes; + export const TrianglesDrawMode: TrianglesDrawModes; export const TriangleStripDrawMode: TrianglesDrawModes; export const TriangleFanDrawMode: TrianglesDrawModes; From fbbdd4fa3c62077b1829fe1850c20ffb50c7044c Mon Sep 17 00:00:00 2001 From: Chris Scribner Date: Tue, 24 Jan 2017 10:41:26 -0800 Subject: [PATCH 106/613] Add promise-based interceptor definitions --- axios/axios-tests.ts | 20 +++++++++++++++++++- axios/index.d.ts | 20 ++++++++++++++++---- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/axios/axios-tests.ts b/axios/axios-tests.ts index eb98e2710c..2587222b36 100644 --- a/axios/axios-tests.ts +++ b/axios/axios-tests.ts @@ -13,6 +13,13 @@ interface Issue { title: string; } +function makePromise(val: any) { + return >{ + then: () => val, + catch: () => val + }; +} + axios.interceptors.request.use(config => { console.log("Method:" + config.method + " Url:" +config.url); return config; @@ -30,12 +37,23 @@ const requestId: number = axios.interceptors.request.use( axios.interceptors.request.eject(requestId); axios.interceptors.request.eject(7); +const requestId2: number = axios.interceptors.request.use( + (config) => { + console.log("Method:" + config.method + " Url:" +config.url); + return makePromise(config); + }, + (error: any) => error); axios.interceptors.response.use(config => { console.log("Status:" + config.status); return config; }); +axios.interceptors.response.use(config => { + console.log("Status:" + config.status); + return makePromise(config); +}); + const responseId: number = axios.interceptors.response.use( config => { console.log("Status:" + config.status); @@ -104,4 +122,4 @@ axios.defaults.baseURL = 'https://api.example.com'; axios.defaults.headers.common['Authorization'] = "AUTH_TOKEN"; axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'; -axiosInstance.defaults.headers.common['Authorization'] = "AUTH_TOKEN"; \ No newline at end of file +axiosInstance.defaults.headers.common['Authorization'] = "AUTH_TOKEN"; diff --git a/axios/index.d.ts b/axios/index.d.ts index 681fefc806..b32a78ebe0 100644 --- a/axios/index.d.ts +++ b/axios/index.d.ts @@ -99,10 +99,10 @@ declare namespace Axios { * change the response data to be made before it is passed to then/catch */ transformResponse?: (data: T) => U; - - /** - * defines whether to resolve or reject the promise for a given HTTP response status code. - * If returns `true` (or is set to `null` or `undefined`), the promise will be resolved; + + /** + * defines whether to resolve or reject the promise for a given HTTP response status code. + * If returns `true` (or is set to `null` or `undefined`), the promise will be resolved; * otherwise, the promise will be rejected */ validateStatus?: (status: number) => boolean | undefined; @@ -199,6 +199,12 @@ declare namespace Axios { rejectedFn: (error: any) => any) : InterceptorId; + use(fulfilledFn: (config: AxiosXHRConfig) => IPromise>): InterceptorId; + + use(fulfilledFn: (config: AxiosXHRConfig) => IPromise>, + rejectedFn: (error: any) => any) + : InterceptorId; + eject(interceptorId: InterceptorId): void; } @@ -209,10 +215,16 @@ declare namespace Axios { use(fulfilledFn: (config: Axios.AxiosXHR) => Axios.AxiosXHR): InterceptorId; + use(fulfilledFn: (config: Axios.AxiosXHR) => IPromise>): InterceptorId; + use(fulfilledFn: (config: Axios.AxiosXHR) => Axios.AxiosXHR, rejectedFn: (error: any) => any) : InterceptorId; + use(fulfilledFn: (config: Axios.AxiosXHR) => IPromise>, + rejectedFn: (error: any) => any) + : InterceptorId; + eject(interceptorId: InterceptorId): void; } From 8d5006eaf0676765863624e059884e1ac066c5a4 Mon Sep 17 00:00:00 2001 From: Sebastian Sebald Date: Tue, 24 Jan 2017 20:20:56 +0100 Subject: [PATCH 107/613] Use original author --- redux-immutable/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redux-immutable/index.d.ts b/redux-immutable/index.d.ts index 386a3a1613..c8b2276c22 100644 --- a/redux-immutable/index.d.ts +++ b/redux-immutable/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for redux-immutable v3.0.10 // Project: https://github.com/gajus/redux-immutable -// Definitions by: Sebastian Sebald +// Definitions by: Pedro Pereira // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import * as Redux from 'redux'; From b435dd3c8bfa4ad23cb34246c777e7d0f8db39dd Mon Sep 17 00:00:00 2001 From: Adrian Chia Date: Mon, 23 Jan 2017 18:14:36 -0600 Subject: [PATCH 108/613] auth0-js v8.1.3 --- auth0-js/auth0-js-tests.ts | 160 +++++++++- auth0-js/index.d.ts | 584 ++++++++++++++++++++++++++-------- auth0-js/v7/auth0-js-tests.ts | 22 ++ auth0-js/v7/index.d.ts | 136 ++++++++ auth0-js/v7/tsconfig.json | 28 ++ 5 files changed, 782 insertions(+), 148 deletions(-) create mode 100644 auth0-js/v7/auth0-js-tests.ts create mode 100644 auth0-js/v7/index.d.ts create mode 100644 auth0-js/v7/tsconfig.json diff --git a/auth0-js/auth0-js-tests.ts b/auth0-js/auth0-js-tests.ts index 197256ddd5..68d4e1797b 100644 --- a/auth0-js/auth0-js-tests.ts +++ b/auth0-js/auth0-js-tests.ts @@ -1,23 +1,151 @@ /// -var auth0 = new Auth0({ +let webAuth = new auth0.WebAuth({ domain: 'mine.auth0.com', - clientID: 'dsa7d77dsa7d7', - callbackURL: 'http://my-app.com/callback', - callbackOnLocationHash: true + clientID: 'dsa7d77dsa7d7' }); -auth0.login({ - connection: 'google-oauth2', - popup: true, - popupOptions: { - width: 450, - height: 800 +webAuth.authorize({ + audience: 'https://mystore.com/api/v2', + scope: 'read:order write:order', + responseType: 'token', + redirectUri: 'https://example.com/auth/callback' +}); + +webAuth.parseHash(window.location.hash, (err, authResult) => { + if (err) { + return console.log(err); } -}, (err, profile, idToken, accessToken, state) => { - if (err) { - alert("something went wrong: " + err.message); - return; - } - alert('hello ' + profile.name); + + // The contents of authResult depend on which authentication parameters were used. + // It can include the following: + // authResult.accessToken - access token for the API specified by `audience` + // authResult.expiresIn - string with the access token's expiration time in seconds + // authResult.idToken - ID token JWT containing user profile information + + webAuth.client.userInfo(authResult.accessToken, (err, user) => { + // Now you have the user's information }); +}); + +webAuth.renewAuth({ + audience: 'https://mystore.com/api/v2', + scope: 'read:order write:order', + redirectUri: 'https://example.com/auth/silent-callback', + + // this will use postMessage to comunicate between the silent callback + // and the SPA. When false the SDK will attempt to parse the url hash + // should ignore the url hash and no extra behaviour is needed. + usePostMessage: true +}, function (err, authResult) { + // Renewed tokens or error +}); + +webAuth.changePassword({connection: 'the_connection', + email: 'me@example.com', + password: '123456' +}, (err) => {}); + +webAuth.passwordlessStart({ + connection: 'the_connection', + email: 'me@example.com', + send: 'code' +}, (err, data) => {}); + +webAuth.signupAndAuthorize({ + connection: 'the_connection', + email: 'me@example.com', + password: '123456', + scope: 'openid' +}, function (err, data) { + +}); + + + +webAuth.client.login({ + ealm: 'Username-Password-Authentication', //connection name or HRD domain + username: 'info@auth0.com', + password: 'areallystrongpassword', + audience: 'https://mystore.com/api/v2', + scope: 'read:order write:order', +}, function(err, authResult) { + // Auth tokens in the result or an error +}); + +let authentication = new auth0.Authentication({ + domain: 'me.auth0.com', + clientID: '...', + redirectUri: 'http://page.com/callback', + responseType: 'code', + _sendTelemetry: false +}); + +authentication.buildAuthorizeUrl({state:'1234'}); +authentication.buildAuthorizeUrl({ + responseType: 'token', + redirectUri: 'http://anotherpage.com/callback2', + prompt: 'none', + state: '1234', + connection_scope: 'scope1,scope2' +}); + +authentication.buildLogoutUrl('asdfasdfds'); +authentication.buildLogoutUrl(); +authentication.userInfo('abcd1234', (err, data) => { + //user info retrieved +}); + +authentication.delegation({ + grant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer', + refresh_token: 'your_refresh_token', + api_type: 'app' +}, (err, data) => { + +}); + +authentication.loginWithDefaultDirectory({ + username: 'someUsername', + password: '123456' +}, (err, data) => { + +}); + +authentication.oauthToken({ + username: 'someUsername', + password: '123456', + grantType: 'password' +}, (err, data) => { + +}); + +authentication.getUserCountry((err, data) => { + +}); + +authentication.getSSOData(); +authentication.getSSOData(true, (err, data) => {}); + +authentication.dbConnection.signup({connection: 'bla', email: 'blabla', password: '123456'}, () => {}); +authentication.dbConnection.changePassword({connection: 'bla', email: 'blabla', password: '123456'}, () => {}); + +authentication.passwordless.start({ connection: 'bla', send: 'blabla' }, () => {}); +authentication.passwordless.verify({ connection: 'bla', send: 'link', verificationCode: 'asdfasd', email: 'me@example.com' }, () => {}); + +authentication.loginWithResourceOwner({ + username: 'the username', + password: 'the password', + connection: 'the_connection', + scope: 'openid' +}, (err, data) => {}); + +let management = new auth0.Management({ + domain: 'me.auth0.com', + token: 'token' +}); + +management.getUser('asd', (err, user) => {}); + +management.patchUserMetadata('asd', {role: 'admin'}, (err, user) => {}); + +management.linkUser('asd', 'eqwe', (err, user) => {}); diff --git a/auth0-js/index.d.ts b/auth0-js/index.d.ts index bd97fed1cc..6def04ab89 100644 --- a/auth0-js/index.d.ts +++ b/auth0-js/index.d.ts @@ -1,136 +1,456 @@ -// Type definitions for Auth0.js +// Type definitions for Auth0.js v8.1.3 // Project: https://github.com/auth0/auth0.js -// Definitions by: Robert McLaws +// Definitions by: Adrian Chia // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/** Extensions to the browser Window object. */ -interface Window { - /** Allows you to pass the id_token to other APIs, as specified in https://docs.auth0.com/apps-apis */ - token: string; -} - -/** This is the interface for the main Auth0 client. */ -interface Auth0Static { - - new(options: Auth0ClientOptions): Auth0Static; - changePassword(options: any, callback?: Function): void; - decodeJwt(jwt: string): any; - login(options: any, callback: (error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any): void; - loginWithPopup(options: Auth0LoginOptions, callback: (error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any): void; - loginWithResourceOwner(options: Auth0LoginOptions, callback: (error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: any) => any): void; - loginWithUsernamePassword(options: Auth0LoginOptions, callback: (error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any): void; - logout(query: string): void; - getConnections(callback?: Function): void; - refreshToken(refreshToken: string, callback: (error?: Auth0Error, delegationResult?: Auth0DelegationToken) => any): void; - getDelegationToken(options: any, callback: (error?: Auth0Error, delegationResult?: Auth0DelegationToken) => any): void; - getProfile(id_token: string, callback?: Function): Auth0UserProfile; - getSSOData(withActiveDirectories: any, callback?: Function): void; - parseHash(hash: string): Auth0DecodedHash; - signup(options: Auth0SignupOptions, callback: Function): void; - validateUser(options: any, callback: (error?: Auth0Error, valid?: any) => any): void; -} - -/** Represents constructor options for the Auth0 client. */ -interface Auth0ClientOptions { - clientID: string; - callbackURL: string; - callbackOnLocationHash?: boolean; - responseType?: string; - domain: string; - forceJSONP?: boolean; -} - -/** Represents a normalized UserProfile. */ -interface Auth0UserProfile { - email: string; - email_verified: boolean; - family_name: string; - gender: string; - given_name: string; - locale: string; - name: string; - nickname: string; - picture: string; - user_id: string; - /** Represents one or more Identities that may be associated with the User. */ - identities: Auth0Identity[]; - user_metadata?: any; - app_metadata?: any; -} - -/** Represents an Auth0UserProfile that has a Microsoft Account as the primary identity. */ -interface MicrosoftUserProfile extends Auth0UserProfile { - emails: string[]; -} - -/** Represents an Auth0UserProfile that has an Office365 account as the primary identity. */ -interface Office365UserProfile extends Auth0UserProfile { - tenantid: string; - upn: string; -} - -/** Represents an Auth0UserProfile that has an Active Directory account as the primary identity. */ -interface AdfsUserProfile extends Auth0UserProfile { - issuer: string; -} - -/** Represents multiple identities assigned to a user. */ -interface Auth0Identity { - access_token: string; - connection: string; - isSocial: boolean; - provider: string; - user_id: string; -} - -interface Auth0DecodedHash { - access_token: string; - idToken: string; - profile: Auth0UserProfile; - state: any; - error: string; -} - -interface Auth0PopupOptions { - width: number; - height: number; -} - -interface Auth0LoginOptions { - auto_login?: boolean; - responseType?: string; - connection?: string; - email?: string; - username?: string; - password?: string; - popup?: boolean; - popupOptions?: Auth0PopupOptions; -} - -interface Auth0SignupOptions extends Auth0LoginOptions { - auto_login: boolean; -} - -interface Auth0Error { - code: any; - details: any; - name: string; - message: string; - status: any; -} - -/** Represents the response from an API Token Delegation request. */ -interface Auth0DelegationToken { - /** The length of time in seconds the token is valid for. */ - expires_in: string; - /** The JWT for delegated access. */ - id_token: string; - /** The type of token being returned. Possible values: "Bearer" */ - token_type: string; -} - -declare const Auth0: Auth0Static; - -declare module "auth0-js" { - export = Auth0 +declare namespace auth0 { + + export class Authentication { + constructor(options: AuthOptions); + + passwordless: PasswordlessAuthentication; + dbConnection: DBConnection; + + /** + * Builds and returns the `/authorize` url in order to initialize a new authN/authZ transaction + * + * @method buildAuthorizeUrl + * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--authorize_db + */ + buildAuthorizeUrl(options: any): string; + + /** + * Builds and returns the Logout url in order to initialize a new authN/authZ transaction + * + * @method buildLogoutUrl + * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--v2-logout + */ + buildLogoutUrl(options?: any): string; + + /** + * Makes a call to the `oauth/token` endpoint with `password` grant type + * + * @method loginWithDefaultDirectory + * @param {Object} options: https://auth0.com/docs/api-auth/grant/password + * @param {Function} callback + */ + loginWithDefaultDirectory(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + + /** + * Makes a call to the `/ro` endpoint + * @param {any} options + * @param {Function} callback + * @deprecated `loginWithResourceOwner` will be soon deprecated, user `login` instead. + */ + loginWithResourceOwner(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + + /** + * Makes a call to the `oauth/token` endpoint with `password-realm` grant type + * @param {any} options + * @param {Function} callback + */ + login(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + + /** + * Makes a call to the `oauth/token` endpoint + * @param {any} options + * @param {Function} callback + */ + oauthToken(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + + /** + * Makes a call to the `/ssodata` endpoint + * + * @method getSSOData + * @param {Boolean} withActiveDirectories + * @param {Function} callback + * @deprecated `getSSOData` will be soon deprecated. + */ + getSSOData(callback?: (error?: Auth0Error, authResult?: any) => any): void; + + /** + * Makes a call to the `/ssodata` endpoint + * + * @method getSSOData + * @param {Boolean} withActiveDirectories + * @param {Function} callback + * @deprecated `getSSOData` will be soon deprecated. + */ + getSSOData(withActiveDirectories: boolean, callback?: (error?: Auth0Error, authResult?: any) => any): void; + + /** + * Makes a call to the `/userinfo` endpoint and returns the user profile + * + * @method userInfo + * @param {String} accessToken + * @param {Function} callback + */ + userInfo(token: string, callback: (error?: Auth0Error, user?: any) => any): void; + + /** + * Makes a call to the `/delegation` endpoint + * + * @method delegation + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--delegation + * @param {Function} callback + * @deprecated `delegation` will be soon deprecated. + */ + delegation(options: any, callback: (error?: Auth0Error, authResult?: Auth0DelegationToken) => any): any; + + /** + * Fetches the user country based on the ip. + * + * @method getUserCountry + * @param {Function} callback + */ + getUserCountry(callback: (error?: Auth0Error, result?: any) => any): void; + } + + export class PasswordlessAuthentication { + constructor(request: any, option: any); + + /** + * Builds and returns the passwordless TOTP verify url in order to initialize a new authN/authZ transaction + * + * @method buildVerifyUrl + * @param {Object} options + * @param {Function} callback + */ + buildVerifyUrl(options: any): string; + + /** + * Initializes a new passwordless authN/authZ transaction + * + * @method start + * @param {Object} options: https://auth0.com/docs/api/authentication#passwordless + * @param {Function} callback + */ + start(options: PasswordlessStartOptions, callback: any): void; + + /** + * Verifies the passwordless TOTP and returns an error if any. + * + * @method buildVerifyUrl + * @param {Object} options + * @param {Function} callback + */ + verify(options: any, callback: any): void; + } + + export class DBConnection { + constructor(request: any, option: any); + + /** + * Signup a new user + * + * @method signup + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup + * @param {Function} calback + */ + signup(options: any, callback: any): void; + + /** + * Initializes the change password flow + * + * @method signup + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-change_password + * @param {Function} callback + */ + changePassword(options: ChangePasswordOptions, callback: any): void; + } + + export class Management { + constructor(options: ManagementOptions); + + /** + * Returns the user profile. https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id + * + * @method getUser + * @param {String} userId + * @param {Function} callback + */ + getUser(userId: string, callback: (error?: Auth0Error, user?: any) => any): void; + + /** + * Updates the user metdata. It will patch the user metdata with the attributes sent. + * https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id + * + * @method patchUserMetadata + * @param {String} userId + * @param {Object} userMetadata + * @param {Function} callback + */ + patchUserMetadata(userId: string, userMetadata: any, callback: (error?: Auth0Error, user?: any) => any): void; + + /** + * Link two users. https://auth0.com/docs/api/management/v2#!/Users/post_identities + * + * @method linkUser + * @param {String} userId + * @param {String} secondaryUserToken + * @param {Function} callback + */ + linkUser(userId: string, secondaryUserToken: string, callback: (error?: Auth0Error, user?: any) => any): void; + } + + export class WebAuth { + constructor(options: AuthOptions); + client: Authentication; + popup: Popup; + redirect: Redirect; + + /** + * Redirects to the hosted login page (`/authorize`) in order to initialize a new authN/authZ transaction + * + * @method authorize + * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--authorize_db + */ + authorize(options: any): void; + + /** + * Parse the url hash and extract the returned tokens depending on the transaction. + * + * Only validates id_tokens signed by Auth0 using the RS256 algorithm using the public key exposed + * by the `/.well-known/jwks.json` endpoint. Id tokens signed with other algorithms will not be + * accepted. + * + * @method parseHash + * @param {Object} options: + * @param {String} options.state [OPTIONAL] to verify the response + * @param {String} options.nonce [OPTIONAL] to verify the id_token + * @param {String} options.hash [OPTIONAL] the url hash. If not provided it will extract from window.location.hash + * @param {Function} callback: any(err, token_payload) + */ + parseHash(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + + /** + * Decodes the id_token and verifies the nonce. + * + * @method validateToken + * @param {String} token + * @param {String} state + * @param {String} nonce + * @param {Function} callback: function(err, {payload, transaction}) + */ + validateToken(token: string, state: string, nonce: string, callback: any): void; + + /** + * Executes a silent authentication transaction under the hood in order to fetch a new token. + * + * @method renewAuth + * @param {Object} options: any valid oauth2 parameter to be sent to the `/authorize` endpoint + * @param {Function} callback + */ + renewAuth(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + + /** + * Initialices a change password transaction + * + * @method changePassword + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-change_password + * @param {Function} callback + */ + changePassword(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + + /** + * Signs up a new user + * + * @method signup + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup + * @param {Function} callback + */ + signup(options: any, callback: any): void; + + /** + * Signs up a new user, automatically logs the user in after the signup and returns the user token. + * The login will be done using /oauth/token with password-realm grant type. + * + * @method signupAndAuthorize + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup + * @param {Function} callback + */ + signupAndAuthorize(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + + /** + * Redirects to the auth0 logout page + * + * @method logout + * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--v2-logout + */ + logout(options: any): void; + + passwordlessStart(options: PasswordlessStartOptions, callback: (error?: Auth0Error, data?: any) => any): void; + + /** + * Verifies the passwordless TOTP and redirects to finish the passwordless transaction + * + * @method passwordlessVerify + * @param {Object} options: + * @param {Object} options.type: `sms` or `email` + * @param {Object} options.phoneNumber: only if type = sms + * @param {Object} options.email: only if type = email + * @param {Object} options.connection: the connection name + * @param {Object} options.verificationCode: the TOTP code + * @param {Function} callback + */ + passwordlessVerify(options: any, callback: any): void; + } + + export class Redirect { + constructor(client: any, options: any); + + /** + * Initializes the legacy Lock login flow in a popup + * + * @method loginWithCredentials + * @param {Object} options + * @param {Function} callback + * @deprecated `webauth.popup.loginWithCredentials` will be soon deprecated, use `webauth.client.login` instead. + */ + loginWithCredentials(options: any, callback: any): void; + + /** + * Signs up a new user and automatically logs the user in after the signup. + * + * @method signupAndLogin + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup + * @param {Function} callback + */ + signupAndLogin(options: any, callback: any): void; + } + + export class Popup { + constructor(client: any, options: any); + + /** + * Initializes the popup window and returns the instance to be used later in order to avoid being blocked by the browser. + * + * @method preload + * @param {Object} options: receives the window height and width and any other window feature to be sent to window.open + */ + preload(options: any): any; + + /** + * Internal use. + * + * @method getPopupHandler + */ + getPopupHandler(options: any, preload: boolean): any; + /** + * Opens in a popup the hosted login page (`/authorize`) in order to initialize a new authN/authZ transaction + * + * @method authorize + * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--authorize_db + * @param {Function} callback + */ + authorize(options: any, callback: any): void; + + /** + * Initializes the legacy Lock login flow in a popup + * + * @method loginWithCredentials + * @param {Object} options + * @param {Function} callback + * @deprecated `webauth.popup.loginWithCredentials` will be soon deprecated, use `webauth.client.login` instead. + */ + loginWithCredentials(options: any, callback: any): void; + + /** + * Verifies the passwordless TOTP and returns the requested token + * + * @method passwordlessVerify + * @param {Object} options: + * @param {Object} options.type: `sms` or `email` + * @param {Object} options.phoneNumber: only if type = sms + * @param {Object} options.email: only if type = email + * @param {Object} options.connection: the connection name + * @param {Object} options.verificationCode: the TOTP code + * @param {Function} callback + */ + passwordlessVerify(options: any, callback: any): void; + + /** + * Signs up a new user and automatically logs the user in after the signup. + * + * @method signupAndLogin + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup + * @param {Function} callback + */ + signupAndLogin(options: any, callback: any): void; + } + + interface ManagementOptions { + domain: string; + token: string; + _sendTelemetry?: boolean; + _telemetryInfo?: any; + } + + interface AuthOptions { + domain: string; + clientID: string; + responseType?: string; + responseMode?: string; + redirectUri?: string; + scope?: string; + audience?: string; + leeway?: number; + _disableDeprecationWarnings?: boolean; + _sendTelemetry?: boolean; + _telemetryInfo?: any; + } + + interface PasswordlessAuthOptions { + connection: string; + verificationCode: string; + phoneNumber: string; + email: string; + } + + interface Auth0Error { + error: any; + errorDescription: string + } + + interface Auth0DecodedHash { + accessToken?: string; + idToken?: string; + idTokenPayload?: any; + refreshToken?: string; + state?: string; + expiresIn?: number; + tokenType?: string; + } + + /** Represents the response from an API Token Delegation request. */ + interface Auth0DelegationToken { + /** The length of time in seconds the token is valid for. */ + ExpiresIn: number; + /** The JWT for delegated access. */ + idToken: string; + /** The type of token being returned. Possible values: "Bearer" */ + tokenType: string; + } + + interface ChangePasswordOptions { + connection: string; + email: string; + password?: string; + } + + interface PasswordlessStartOptions { + connection: string; + send: string; + phoneNumber?: string; + email?: string, + authParams?: any; + } + + interface PasswordlessVerifyOptions { + connection: string; + verificationCode: string; + phoneNumber?: string; + email?: string; + } + } diff --git a/auth0-js/v7/auth0-js-tests.ts b/auth0-js/v7/auth0-js-tests.ts new file mode 100644 index 0000000000..d5ca0250d4 --- /dev/null +++ b/auth0-js/v7/auth0-js-tests.ts @@ -0,0 +1,22 @@ +/// +var auth0 = new Auth0({ + domain: 'mine.auth0.com', + clientID: 'dsa7d77dsa7d7', + callbackURL: 'http://my-app.com/callback', + callbackOnLocationHash: true +}); + +auth0.login({ + connection: 'google-oauth2', + popup: true, + popupOptions: { + width: 450, + height: 800 + } +}, (err, profile, idToken, accessToken, state) => { + if (err) { + alert("something went wrong: " + err.message); + return; + } + alert('hello ' + profile.name); + }); diff --git a/auth0-js/v7/index.d.ts b/auth0-js/v7/index.d.ts new file mode 100644 index 0000000000..ee834d5c61 --- /dev/null +++ b/auth0-js/v7/index.d.ts @@ -0,0 +1,136 @@ +// Type definitions for Auth0.js v7.x +// Project: https://github.com/auth0/auth0.js +// Definitions by: Robert McLaws +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/** Extensions to the browser Window object. */ +interface Window { + /** Allows you to pass the id_token to other APIs, as specified in https://docs.auth0.com/apps-apis */ + token: string; +} + +/** This is the interface for the main Auth0 client. */ +interface Auth0Static { + + new(options: Auth0ClientOptions): Auth0Static; + changePassword(options: any, callback?: Function): void; + decodeJwt(jwt: string): any; + login(options: any, callback: (error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any): void; + loginWithPopup(options: Auth0LoginOptions, callback: (error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any): void; + loginWithResourceOwner(options: Auth0LoginOptions, callback: (error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: any) => any): void; + loginWithUsernamePassword(options: Auth0LoginOptions, callback: (error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any): void; + logout(query: string): void; + getConnections(callback?: Function): void; + refreshToken(refreshToken: string, callback: (error?: Auth0Error, delegationResult?: Auth0DelegationToken) => any): void; + getDelegationToken(options: any, callback: (error?: Auth0Error, delegationResult?: Auth0DelegationToken) => any): void; + getProfile(id_token: string, callback?: Function): Auth0UserProfile; + getSSOData(withActiveDirectories: any, callback?: Function): void; + parseHash(hash: string): Auth0DecodedHash; + signup(options: Auth0SignupOptions, callback: Function): void; + validateUser(options: any, callback: (error?: Auth0Error, valid?: any) => any): void; +} + +/** Represents constructor options for the Auth0 client. */ +interface Auth0ClientOptions { + clientID: string; + callbackURL: string; + callbackOnLocationHash?: boolean; + responseType?: string; + domain: string; + forceJSONP?: boolean; +} + +/** Represents a normalized UserProfile. */ +interface Auth0UserProfile { + email: string; + email_verified: boolean; + family_name: string; + gender: string; + given_name: string; + locale: string; + name: string; + nickname: string; + picture: string; + user_id: string; + /** Represents one or more Identities that may be associated with the User. */ + identities: Auth0Identity[]; + user_metadata?: any; + app_metadata?: any; +} + +/** Represents an Auth0UserProfile that has a Microsoft Account as the primary identity. */ +interface MicrosoftUserProfile extends Auth0UserProfile { + emails: string[]; +} + +/** Represents an Auth0UserProfile that has an Office365 account as the primary identity. */ +interface Office365UserProfile extends Auth0UserProfile { + tenantid: string; + upn: string; +} + +/** Represents an Auth0UserProfile that has an Active Directory account as the primary identity. */ +interface AdfsUserProfile extends Auth0UserProfile { + issuer: string; +} + +/** Represents multiple identities assigned to a user. */ +interface Auth0Identity { + access_token: string; + connection: string; + isSocial: boolean; + provider: string; + user_id: string; +} + +interface Auth0DecodedHash { + access_token: string; + idToken: string; + profile: Auth0UserProfile; + state: any; + error: string; +} + +interface Auth0PopupOptions { + width: number; + height: number; +} + +interface Auth0LoginOptions { + auto_login?: boolean; + responseType?: string; + connection?: string; + email?: string; + username?: string; + password?: string; + popup?: boolean; + popupOptions?: Auth0PopupOptions; +} + +interface Auth0SignupOptions extends Auth0LoginOptions { + auto_login: boolean; +} + +interface Auth0Error { + code: any; + details: any; + name: string; + message: string; + status: any; +} + +/** Represents the response from an API Token Delegation request. */ +interface Auth0DelegationToken { + /** The length of time in seconds the token is valid for. */ + expires_in: string; + /** The JWT for delegated access. */ + id_token: string; + /** The type of token being returned. Possible values: "Bearer" */ + token_type: string; +} + +declare const Auth0: Auth0Static; + +declare module "auth0-js" { + export = Auth0 +} diff --git a/auth0-js/v7/tsconfig.json b/auth0-js/v7/tsconfig.json new file mode 100644 index 0000000000..7413e97f44 --- /dev/null +++ b/auth0-js/v7/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../../", + "typeRoots": [ + "../../" + ], + "paths": { + "auth0-js": [ + "auth0-js/v7" + ] + }, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "auth0-js-tests.ts" + ] +} From 961480480b66dc34420b8f997e97d79d9d6ef899 Mon Sep 17 00:00:00 2001 From: Adrian Chia Date: Tue, 24 Jan 2017 14:21:46 -0600 Subject: [PATCH 109/613] Update references to auth0-js/v7 --- auth0-lock/auth0-lock-tests.ts | 2 +- auth0-lock/index.d.ts | 2 +- auth0.widget/auth0.widget-tests.ts | 2 +- auth0.widget/index.d.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/auth0-lock/auth0-lock-tests.ts b/auth0-lock/auth0-lock-tests.ts index deb046f3e7..4b72edcfa1 100644 --- a/auth0-lock/auth0-lock-tests.ts +++ b/auth0-lock/auth0-lock-tests.ts @@ -1,4 +1,4 @@ -/// +/// /// const CLIENT_ID = "YOUR_AUTH0_APP_CLIENTID"; diff --git a/auth0-lock/index.d.ts b/auth0-lock/index.d.ts index fc9a047115..09c3f4fedd 100644 --- a/auth0-lock/index.d.ts +++ b/auth0-lock/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Brian Caruso // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// +/// interface Auth0LockAdditionalSignUpFieldOption { value: string; diff --git a/auth0.widget/auth0.widget-tests.ts b/auth0.widget/auth0.widget-tests.ts index ec5502ca7e..6277d4cc3a 100644 --- a/auth0.widget/auth0.widget-tests.ts +++ b/auth0.widget/auth0.widget-tests.ts @@ -1,4 +1,4 @@ -/// +/// var widget: Auth0WidgetStatic = new Auth0Widget({ diff --git a/auth0.widget/index.d.ts b/auth0.widget/index.d.ts index 1c30d83b6f..cdefd9e0fd 100644 --- a/auth0.widget/index.d.ts +++ b/auth0.widget/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Robert McLaws // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// +/// interface Auth0WidgetStatic { From da84c6d42b1b7c9d28de48c7115767682b513c8f Mon Sep 17 00:00:00 2001 From: Adrian Chia Date: Tue, 24 Jan 2017 14:50:59 -0600 Subject: [PATCH 110/613] Convert tab to spaces for consistency --- auth0-js/index.d.ts | 790 ++++++++++++++++++++++---------------------- 1 file changed, 395 insertions(+), 395 deletions(-) diff --git a/auth0-js/index.d.ts b/auth0-js/index.d.ts index 6def04ab89..0a0e004303 100644 --- a/auth0-js/index.d.ts +++ b/auth0-js/index.d.ts @@ -5,452 +5,452 @@ declare namespace auth0 { - export class Authentication { - constructor(options: AuthOptions); + export class Authentication { + constructor(options: AuthOptions); - passwordless: PasswordlessAuthentication; - dbConnection: DBConnection; + passwordless: PasswordlessAuthentication; + dbConnection: DBConnection; - /** - * Builds and returns the `/authorize` url in order to initialize a new authN/authZ transaction - * - * @method buildAuthorizeUrl - * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--authorize_db - */ - buildAuthorizeUrl(options: any): string; + /** + * Builds and returns the `/authorize` url in order to initialize a new authN/authZ transaction + * + * @method buildAuthorizeUrl + * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--authorize_db + */ + buildAuthorizeUrl(options: any): string; - /** - * Builds and returns the Logout url in order to initialize a new authN/authZ transaction - * - * @method buildLogoutUrl - * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--v2-logout - */ - buildLogoutUrl(options?: any): string; + /** + * Builds and returns the Logout url in order to initialize a new authN/authZ transaction + * + * @method buildLogoutUrl + * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--v2-logout + */ + buildLogoutUrl(options?: any): string; - /** - * Makes a call to the `oauth/token` endpoint with `password` grant type - * - * @method loginWithDefaultDirectory - * @param {Object} options: https://auth0.com/docs/api-auth/grant/password - * @param {Function} callback - */ - loginWithDefaultDirectory(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + /** + * Makes a call to the `oauth/token` endpoint with `password` grant type + * + * @method loginWithDefaultDirectory + * @param {Object} options: https://auth0.com/docs/api-auth/grant/password + * @param {Function} callback + */ + loginWithDefaultDirectory(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; - /** - * Makes a call to the `/ro` endpoint - * @param {any} options - * @param {Function} callback - * @deprecated `loginWithResourceOwner` will be soon deprecated, user `login` instead. - */ - loginWithResourceOwner(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + /** + * Makes a call to the `/ro` endpoint + * @param {any} options + * @param {Function} callback + * @deprecated `loginWithResourceOwner` will be soon deprecated, user `login` instead. + */ + loginWithResourceOwner(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; - /** - * Makes a call to the `oauth/token` endpoint with `password-realm` grant type - * @param {any} options - * @param {Function} callback - */ - login(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + /** + * Makes a call to the `oauth/token` endpoint with `password-realm` grant type + * @param {any} options + * @param {Function} callback + */ + login(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; - /** - * Makes a call to the `oauth/token` endpoint - * @param {any} options - * @param {Function} callback - */ - oauthToken(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + /** + * Makes a call to the `oauth/token` endpoint + * @param {any} options + * @param {Function} callback + */ + oauthToken(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; - /** - * Makes a call to the `/ssodata` endpoint - * - * @method getSSOData - * @param {Boolean} withActiveDirectories - * @param {Function} callback - * @deprecated `getSSOData` will be soon deprecated. - */ - getSSOData(callback?: (error?: Auth0Error, authResult?: any) => any): void; + /** + * Makes a call to the `/ssodata` endpoint + * + * @method getSSOData + * @param {Boolean} withActiveDirectories + * @param {Function} callback + * @deprecated `getSSOData` will be soon deprecated. + */ + getSSOData(callback?: (error?: Auth0Error, authResult?: any) => any): void; - /** - * Makes a call to the `/ssodata` endpoint - * - * @method getSSOData - * @param {Boolean} withActiveDirectories - * @param {Function} callback - * @deprecated `getSSOData` will be soon deprecated. - */ - getSSOData(withActiveDirectories: boolean, callback?: (error?: Auth0Error, authResult?: any) => any): void; + /** + * Makes a call to the `/ssodata` endpoint + * + * @method getSSOData + * @param {Boolean} withActiveDirectories + * @param {Function} callback + * @deprecated `getSSOData` will be soon deprecated. + */ + getSSOData(withActiveDirectories: boolean, callback?: (error?: Auth0Error, authResult?: any) => any): void; - /** - * Makes a call to the `/userinfo` endpoint and returns the user profile - * - * @method userInfo - * @param {String} accessToken - * @param {Function} callback - */ - userInfo(token: string, callback: (error?: Auth0Error, user?: any) => any): void; + /** + * Makes a call to the `/userinfo` endpoint and returns the user profile + * + * @method userInfo + * @param {String} accessToken + * @param {Function} callback + */ + userInfo(token: string, callback: (error?: Auth0Error, user?: any) => any): void; - /** - * Makes a call to the `/delegation` endpoint - * - * @method delegation - * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--delegation - * @param {Function} callback - * @deprecated `delegation` will be soon deprecated. - */ - delegation(options: any, callback: (error?: Auth0Error, authResult?: Auth0DelegationToken) => any): any; + /** + * Makes a call to the `/delegation` endpoint + * + * @method delegation + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--delegation + * @param {Function} callback + * @deprecated `delegation` will be soon deprecated. + */ + delegation(options: any, callback: (error?: Auth0Error, authResult?: Auth0DelegationToken) => any): any; - /** - * Fetches the user country based on the ip. - * - * @method getUserCountry - * @param {Function} callback - */ - getUserCountry(callback: (error?: Auth0Error, result?: any) => any): void; - } + /** + * Fetches the user country based on the ip. + * + * @method getUserCountry + * @param {Function} callback + */ + getUserCountry(callback: (error?: Auth0Error, result?: any) => any): void; + } - export class PasswordlessAuthentication { - constructor(request: any, option: any); + export class PasswordlessAuthentication { + constructor(request: any, option: any); - /** - * Builds and returns the passwordless TOTP verify url in order to initialize a new authN/authZ transaction - * - * @method buildVerifyUrl - * @param {Object} options - * @param {Function} callback - */ - buildVerifyUrl(options: any): string; + /** + * Builds and returns the passwordless TOTP verify url in order to initialize a new authN/authZ transaction + * + * @method buildVerifyUrl + * @param {Object} options + * @param {Function} callback + */ + buildVerifyUrl(options: any): string; - /** - * Initializes a new passwordless authN/authZ transaction - * - * @method start - * @param {Object} options: https://auth0.com/docs/api/authentication#passwordless - * @param {Function} callback - */ - start(options: PasswordlessStartOptions, callback: any): void; + /** + * Initializes a new passwordless authN/authZ transaction + * + * @method start + * @param {Object} options: https://auth0.com/docs/api/authentication#passwordless + * @param {Function} callback + */ + start(options: PasswordlessStartOptions, callback: any): void; - /** - * Verifies the passwordless TOTP and returns an error if any. - * - * @method buildVerifyUrl - * @param {Object} options - * @param {Function} callback - */ - verify(options: any, callback: any): void; - } + /** + * Verifies the passwordless TOTP and returns an error if any. + * + * @method buildVerifyUrl + * @param {Object} options + * @param {Function} callback + */ + verify(options: any, callback: any): void; + } - export class DBConnection { - constructor(request: any, option: any); + export class DBConnection { + constructor(request: any, option: any); - /** - * Signup a new user - * - * @method signup - * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup - * @param {Function} calback - */ - signup(options: any, callback: any): void; + /** + * Signup a new user + * + * @method signup + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup + * @param {Function} calback + */ + signup(options: any, callback: any): void; - /** - * Initializes the change password flow - * - * @method signup - * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-change_password - * @param {Function} callback - */ - changePassword(options: ChangePasswordOptions, callback: any): void; - } + /** + * Initializes the change password flow + * + * @method signup + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-change_password + * @param {Function} callback + */ + changePassword(options: ChangePasswordOptions, callback: any): void; + } - export class Management { - constructor(options: ManagementOptions); + export class Management { + constructor(options: ManagementOptions); - /** - * Returns the user profile. https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id - * - * @method getUser - * @param {String} userId - * @param {Function} callback - */ - getUser(userId: string, callback: (error?: Auth0Error, user?: any) => any): void; + /** + * Returns the user profile. https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id + * + * @method getUser + * @param {String} userId + * @param {Function} callback + */ + getUser(userId: string, callback: (error?: Auth0Error, user?: any) => any): void; - /** - * Updates the user metdata. It will patch the user metdata with the attributes sent. - * https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id - * - * @method patchUserMetadata - * @param {String} userId - * @param {Object} userMetadata - * @param {Function} callback - */ - patchUserMetadata(userId: string, userMetadata: any, callback: (error?: Auth0Error, user?: any) => any): void; + /** + * Updates the user metdata. It will patch the user metdata with the attributes sent. + * https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id + * + * @method patchUserMetadata + * @param {String} userId + * @param {Object} userMetadata + * @param {Function} callback + */ + patchUserMetadata(userId: string, userMetadata: any, callback: (error?: Auth0Error, user?: any) => any): void; - /** - * Link two users. https://auth0.com/docs/api/management/v2#!/Users/post_identities - * - * @method linkUser - * @param {String} userId - * @param {String} secondaryUserToken - * @param {Function} callback - */ - linkUser(userId: string, secondaryUserToken: string, callback: (error?: Auth0Error, user?: any) => any): void; - } + /** + * Link two users. https://auth0.com/docs/api/management/v2#!/Users/post_identities + * + * @method linkUser + * @param {String} userId + * @param {String} secondaryUserToken + * @param {Function} callback + */ + linkUser(userId: string, secondaryUserToken: string, callback: (error?: Auth0Error, user?: any) => any): void; + } - export class WebAuth { - constructor(options: AuthOptions); - client: Authentication; - popup: Popup; - redirect: Redirect; + export class WebAuth { + constructor(options: AuthOptions); + client: Authentication; + popup: Popup; + redirect: Redirect; - /** - * Redirects to the hosted login page (`/authorize`) in order to initialize a new authN/authZ transaction - * - * @method authorize - * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--authorize_db - */ - authorize(options: any): void; + /** + * Redirects to the hosted login page (`/authorize`) in order to initialize a new authN/authZ transaction + * + * @method authorize + * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--authorize_db + */ + authorize(options: any): void; - /** - * Parse the url hash and extract the returned tokens depending on the transaction. - * - * Only validates id_tokens signed by Auth0 using the RS256 algorithm using the public key exposed - * by the `/.well-known/jwks.json` endpoint. Id tokens signed with other algorithms will not be - * accepted. - * - * @method parseHash - * @param {Object} options: - * @param {String} options.state [OPTIONAL] to verify the response - * @param {String} options.nonce [OPTIONAL] to verify the id_token - * @param {String} options.hash [OPTIONAL] the url hash. If not provided it will extract from window.location.hash - * @param {Function} callback: any(err, token_payload) - */ - parseHash(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + /** + * Parse the url hash and extract the returned tokens depending on the transaction. + * + * Only validates id_tokens signed by Auth0 using the RS256 algorithm using the public key exposed + * by the `/.well-known/jwks.json` endpoint. Id tokens signed with other algorithms will not be + * accepted. + * + * @method parseHash + * @param {Object} options: + * @param {String} options.state [OPTIONAL] to verify the response + * @param {String} options.nonce [OPTIONAL] to verify the id_token + * @param {String} options.hash [OPTIONAL] the url hash. If not provided it will extract from window.location.hash + * @param {Function} callback: any(err, token_payload) + */ + parseHash(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; - /** - * Decodes the id_token and verifies the nonce. - * - * @method validateToken - * @param {String} token - * @param {String} state - * @param {String} nonce - * @param {Function} callback: function(err, {payload, transaction}) - */ - validateToken(token: string, state: string, nonce: string, callback: any): void; + /** + * Decodes the id_token and verifies the nonce. + * + * @method validateToken + * @param {String} token + * @param {String} state + * @param {String} nonce + * @param {Function} callback: function(err, {payload, transaction}) + */ + validateToken(token: string, state: string, nonce: string, callback: any): void; - /** - * Executes a silent authentication transaction under the hood in order to fetch a new token. - * - * @method renewAuth - * @param {Object} options: any valid oauth2 parameter to be sent to the `/authorize` endpoint - * @param {Function} callback - */ - renewAuth(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + /** + * Executes a silent authentication transaction under the hood in order to fetch a new token. + * + * @method renewAuth + * @param {Object} options: any valid oauth2 parameter to be sent to the `/authorize` endpoint + * @param {Function} callback + */ + renewAuth(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; - /** - * Initialices a change password transaction - * - * @method changePassword - * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-change_password - * @param {Function} callback - */ - changePassword(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + /** + * Initialices a change password transaction + * + * @method changePassword + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-change_password + * @param {Function} callback + */ + changePassword(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; - /** - * Signs up a new user - * - * @method signup - * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup - * @param {Function} callback - */ - signup(options: any, callback: any): void; + /** + * Signs up a new user + * + * @method signup + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup + * @param {Function} callback + */ + signup(options: any, callback: any): void; - /** - * Signs up a new user, automatically logs the user in after the signup and returns the user token. - * The login will be done using /oauth/token with password-realm grant type. - * - * @method signupAndAuthorize - * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup - * @param {Function} callback - */ - signupAndAuthorize(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; + /** + * Signs up a new user, automatically logs the user in after the signup and returns the user token. + * The login will be done using /oauth/token with password-realm grant type. + * + * @method signupAndAuthorize + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup + * @param {Function} callback + */ + signupAndAuthorize(options: any, callback: (error?: Auth0Error, authResult?: any) => any): void; - /** - * Redirects to the auth0 logout page - * - * @method logout - * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--v2-logout - */ - logout(options: any): void; + /** + * Redirects to the auth0 logout page + * + * @method logout + * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--v2-logout + */ + logout(options: any): void; - passwordlessStart(options: PasswordlessStartOptions, callback: (error?: Auth0Error, data?: any) => any): void; + passwordlessStart(options: PasswordlessStartOptions, callback: (error?: Auth0Error, data?: any) => any): void; - /** - * Verifies the passwordless TOTP and redirects to finish the passwordless transaction - * - * @method passwordlessVerify - * @param {Object} options: - * @param {Object} options.type: `sms` or `email` - * @param {Object} options.phoneNumber: only if type = sms - * @param {Object} options.email: only if type = email - * @param {Object} options.connection: the connection name - * @param {Object} options.verificationCode: the TOTP code - * @param {Function} callback - */ - passwordlessVerify(options: any, callback: any): void; - } + /** + * Verifies the passwordless TOTP and redirects to finish the passwordless transaction + * + * @method passwordlessVerify + * @param {Object} options: + * @param {Object} options.type: `sms` or `email` + * @param {Object} options.phoneNumber: only if type = sms + * @param {Object} options.email: only if type = email + * @param {Object} options.connection: the connection name + * @param {Object} options.verificationCode: the TOTP code + * @param {Function} callback + */ + passwordlessVerify(options: any, callback: any): void; + } - export class Redirect { - constructor(client: any, options: any); + export class Redirect { + constructor(client: any, options: any); - /** - * Initializes the legacy Lock login flow in a popup - * - * @method loginWithCredentials - * @param {Object} options - * @param {Function} callback - * @deprecated `webauth.popup.loginWithCredentials` will be soon deprecated, use `webauth.client.login` instead. - */ - loginWithCredentials(options: any, callback: any): void; + /** + * Initializes the legacy Lock login flow in a popup + * + * @method loginWithCredentials + * @param {Object} options + * @param {Function} callback + * @deprecated `webauth.popup.loginWithCredentials` will be soon deprecated, use `webauth.client.login` instead. + */ + loginWithCredentials(options: any, callback: any): void; - /** - * Signs up a new user and automatically logs the user in after the signup. - * - * @method signupAndLogin - * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup - * @param {Function} callback - */ - signupAndLogin(options: any, callback: any): void; - } + /** + * Signs up a new user and automatically logs the user in after the signup. + * + * @method signupAndLogin + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup + * @param {Function} callback + */ + signupAndLogin(options: any, callback: any): void; + } - export class Popup { - constructor(client: any, options: any); + export class Popup { + constructor(client: any, options: any); - /** - * Initializes the popup window and returns the instance to be used later in order to avoid being blocked by the browser. - * - * @method preload - * @param {Object} options: receives the window height and width and any other window feature to be sent to window.open - */ - preload(options: any): any; + /** + * Initializes the popup window and returns the instance to be used later in order to avoid being blocked by the browser. + * + * @method preload + * @param {Object} options: receives the window height and width and any other window feature to be sent to window.open + */ + preload(options: any): any; - /** - * Internal use. - * - * @method getPopupHandler - */ - getPopupHandler(options: any, preload: boolean): any; - /** - * Opens in a popup the hosted login page (`/authorize`) in order to initialize a new authN/authZ transaction - * - * @method authorize - * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--authorize_db - * @param {Function} callback - */ - authorize(options: any, callback: any): void; + /** + * Internal use. + * + * @method getPopupHandler + */ + getPopupHandler(options: any, preload: boolean): any; + /** + * Opens in a popup the hosted login page (`/authorize`) in order to initialize a new authN/authZ transaction + * + * @method authorize + * @param {Object} options: https://auth0.com/docs/api/authentication#!#get--authorize_db + * @param {Function} callback + */ + authorize(options: any, callback: any): void; - /** - * Initializes the legacy Lock login flow in a popup - * - * @method loginWithCredentials - * @param {Object} options - * @param {Function} callback - * @deprecated `webauth.popup.loginWithCredentials` will be soon deprecated, use `webauth.client.login` instead. - */ - loginWithCredentials(options: any, callback: any): void; + /** + * Initializes the legacy Lock login flow in a popup + * + * @method loginWithCredentials + * @param {Object} options + * @param {Function} callback + * @deprecated `webauth.popup.loginWithCredentials` will be soon deprecated, use `webauth.client.login` instead. + */ + loginWithCredentials(options: any, callback: any): void; - /** - * Verifies the passwordless TOTP and returns the requested token - * - * @method passwordlessVerify - * @param {Object} options: - * @param {Object} options.type: `sms` or `email` - * @param {Object} options.phoneNumber: only if type = sms - * @param {Object} options.email: only if type = email - * @param {Object} options.connection: the connection name - * @param {Object} options.verificationCode: the TOTP code - * @param {Function} callback - */ - passwordlessVerify(options: any, callback: any): void; + /** + * Verifies the passwordless TOTP and returns the requested token + * + * @method passwordlessVerify + * @param {Object} options: + * @param {Object} options.type: `sms` or `email` + * @param {Object} options.phoneNumber: only if type = sms + * @param {Object} options.email: only if type = email + * @param {Object} options.connection: the connection name + * @param {Object} options.verificationCode: the TOTP code + * @param {Function} callback + */ + passwordlessVerify(options: any, callback: any): void; - /** - * Signs up a new user and automatically logs the user in after the signup. - * - * @method signupAndLogin - * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup - * @param {Function} callback - */ - signupAndLogin(options: any, callback: any): void; - } + /** + * Signs up a new user and automatically logs the user in after the signup. + * + * @method signupAndLogin + * @param {Object} options: https://auth0.com/docs/api/authentication#!#post--dbconnections-signup + * @param {Function} callback + */ + signupAndLogin(options: any, callback: any): void; + } - interface ManagementOptions { - domain: string; - token: string; - _sendTelemetry?: boolean; - _telemetryInfo?: any; - } + interface ManagementOptions { + domain: string; + token: string; + _sendTelemetry?: boolean; + _telemetryInfo?: any; + } - interface AuthOptions { - domain: string; - clientID: string; - responseType?: string; - responseMode?: string; - redirectUri?: string; - scope?: string; - audience?: string; - leeway?: number; - _disableDeprecationWarnings?: boolean; - _sendTelemetry?: boolean; - _telemetryInfo?: any; - } + interface AuthOptions { + domain: string; + clientID: string; + responseType?: string; + responseMode?: string; + redirectUri?: string; + scope?: string; + audience?: string; + leeway?: number; + _disableDeprecationWarnings?: boolean; + _sendTelemetry?: boolean; + _telemetryInfo?: any; + } - interface PasswordlessAuthOptions { - connection: string; - verificationCode: string; - phoneNumber: string; - email: string; - } + interface PasswordlessAuthOptions { + connection: string; + verificationCode: string; + phoneNumber: string; + email: string; + } - interface Auth0Error { - error: any; - errorDescription: string - } + interface Auth0Error { + error: any; + errorDescription: string + } - interface Auth0DecodedHash { - accessToken?: string; - idToken?: string; - idTokenPayload?: any; - refreshToken?: string; - state?: string; - expiresIn?: number; - tokenType?: string; - } + interface Auth0DecodedHash { + accessToken?: string; + idToken?: string; + idTokenPayload?: any; + refreshToken?: string; + state?: string; + expiresIn?: number; + tokenType?: string; + } - /** Represents the response from an API Token Delegation request. */ - interface Auth0DelegationToken { - /** The length of time in seconds the token is valid for. */ - ExpiresIn: number; - /** The JWT for delegated access. */ - idToken: string; - /** The type of token being returned. Possible values: "Bearer" */ - tokenType: string; - } + /** Represents the response from an API Token Delegation request. */ + interface Auth0DelegationToken { + /** The length of time in seconds the token is valid for. */ + ExpiresIn: number; + /** The JWT for delegated access. */ + idToken: string; + /** The type of token being returned. Possible values: "Bearer" */ + tokenType: string; + } - interface ChangePasswordOptions { - connection: string; - email: string; - password?: string; - } + interface ChangePasswordOptions { + connection: string; + email: string; + password?: string; + } - interface PasswordlessStartOptions { - connection: string; - send: string; - phoneNumber?: string; - email?: string, - authParams?: any; - } + interface PasswordlessStartOptions { + connection: string; + send: string; + phoneNumber?: string; + email?: string, + authParams?: any; + } - interface PasswordlessVerifyOptions { - connection: string; - verificationCode: string; - phoneNumber?: string; - email?: string; - } + interface PasswordlessVerifyOptions { + connection: string; + verificationCode: string; + phoneNumber?: string; + email?: string; + } } From 4184a8342abde8c56c2ee137b5184044a6727002 Mon Sep 17 00:00:00 2001 From: "Smith, Blake (bs557j)" Date: Tue, 24 Jan 2017 15:00:33 -0600 Subject: [PATCH 111/613] Adding Filter as a type to Request.filter(filter) --- elastic.js/elastic.js-tests.ts | 9 ++++++++- elastic.js/index.d.ts | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/elastic.js/elastic.js-tests.ts b/elastic.js/elastic.js-tests.ts index e7bd65ea16..b683559490 100644 --- a/elastic.js/elastic.js-tests.ts +++ b/elastic.js/elastic.js-tests.ts @@ -1,6 +1,13 @@ import * as elasticjs from 'elastic.js'; -let body = new elasticjs.Request({}) +new elasticjs.Request({}) .query(new elasticjs.MatchQuery('title_field', 'testQuery')) .facet(new elasticjs.TermsFacet('tags').field('tags')) .toJSON(); + +new elasticjs.Request({}) + .query(new elasticjs.MatchAllQuery()) + .filter(new elasticjs.BoolFilter().must([ + new elasticjs.TermFilter('a', 'b'), + new elasticjs.TermFilter('c', 'd')])) + .toJSON(); diff --git a/elastic.js/index.d.ts b/elastic.js/index.d.ts index adb0db6950..9e25076906 100644 --- a/elastic.js/index.d.ts +++ b/elastic.js/index.d.ts @@ -6765,7 +6765,7 @@ declare module elasticjs { /* Allows you to set a specified filter on this request object. */ - filter(filter: Object): Request; + filter(filter: Object | Filter): Request; /* A search result set could be very large (think Google). Setting the From 386cc89aa9abc7775600e80096e22787253d82ef Mon Sep 17 00:00:00 2001 From: Sebastian Sebald Date: Tue, 24 Jan 2017 22:34:26 +0100 Subject: [PATCH 112/613] Add myself as author --- redux-immutable/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redux-immutable/index.d.ts b/redux-immutable/index.d.ts index c8b2276c22..483de7c9bf 100644 --- a/redux-immutable/index.d.ts +++ b/redux-immutable/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for redux-immutable v3.0.10 // Project: https://github.com/gajus/redux-immutable -// Definitions by: Pedro Pereira +// Definitions by: Pedro Pereira , Sebastian Sebald // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import * as Redux from 'redux'; From 1989ed4c5a8f0cfea032a30220afb81dab98ca88 Mon Sep 17 00:00:00 2001 From: Simon Ramsay Date: Tue, 24 Jan 2017 16:33:36 -0500 Subject: [PATCH 113/613] added additional typing for assigning result of dot-object conversion - bumped version number --- dot-object/dot-object-tests.ts | 23 ++++++++++++++--------- dot-object/index.d.ts | 25 ++++++++++++++++--------- 2 files changed, 30 insertions(+), 18 deletions(-) diff --git a/dot-object/dot-object-tests.ts b/dot-object/dot-object-tests.ts index 603a66c57e..a553c6c68d 100644 --- a/dot-object/dot-object-tests.ts +++ b/dot-object/dot-object-tests.ts @@ -16,10 +16,10 @@ var src = { } }; -var tgt = {name: 'Brandon'}; +var tgt = { name: 'Brandon' }; dot.copy('stuff.phone', 'wanna.haves.phone', src, tgt, [(arg: any) => { - return arg; + return arg; }]); dot.transfer('stuff.phone', 'wanna.haves.phone', src, tgt); @@ -37,17 +37,17 @@ var row = { }; dot.object(row, (arg: any) => { - return arg; + return arg; }); dot.str('this.is.my.string', 'value', tgt); var newObj = { - some: { - nested: { - value: 'Hi there!' - } - } + some: { + nested: { + value: 'Hi there!' + } + } }; var val = dot.pick('some.nested.value', newObj); @@ -62,4 +62,9 @@ val = dot.remove('some.nested.value', newObj); // or use the alias `del` val = dot.del('some.nested.value', newObj); -var dotWithArrow = new dot('=>'); \ No newline at end of file +// convert object to dot object +var result = {}; +dot.dot({ test: 'something' }, result); +result = dot.dot({ test: 'something' }); + +var dotWithArrow = new dot('=>'); diff --git a/dot-object/index.d.ts b/dot-object/index.d.ts index 953291c631..176e1c0daf 100644 --- a/dot-object/index.d.ts +++ b/dot-object/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Dot-Object v1.4.1 +// Type definitions for Dot-Object v1.4.2 // Project: https://github.com/rhalff/dot-object // Definitions by: Niko KovaÄiÄ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -6,14 +6,14 @@ declare namespace DotObject { interface DotConstructor extends Dot { - new(separator: string): Dot; + new (separator: string): Dot; } interface ModifierFunctionWrapper { (arg: any): any; } - interface Dot { + interface Dot { /** * * Copy a property from one object to another object. @@ -34,11 +34,6 @@ declare namespace DotObject { * Convert object to dotted-key/value pair * * Usage: - * - * var tgt = dot.dot(obj) - * - * or - * * var tgt = {} * dot.dot(obj, tgt) * @@ -46,6 +41,18 @@ declare namespace DotObject { * @param {Object} tgt target object */ dot(obj: any, tgt: any): void + /** + * + * Convert object to dotted-key/value pair + * + * Usage: + * + * var tgt = dot.dot(obj) + * @param {Object} obj source object + * @return {Object} result + */ + dot(obj: any): any + /** * * Remove value from an object using dot notation. @@ -166,4 +173,4 @@ declare var dot: DotObject.DotConstructor; declare module 'dot-object' { export = dot; -} \ No newline at end of file +} From c960430ff9a47bb94ef53ad79fbb759343ea3abb Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Tue, 24 Jan 2017 13:43:22 -0800 Subject: [PATCH 114/613] Fix typo in webpack PerformanceOptions s/maxEntryPointSize/maxEntrypointSize --- webpack/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/index.d.ts b/webpack/index.d.ts index 73f575c973..a557034131 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -1146,7 +1146,7 @@ declare namespace webpack { /** * An entrypoint represents all assets that would be utilized during initial load time for a specific entry. This option controls when webpack should emit performance hints based on the maximum entrypoint size. The default value is 250000 (bytes). */ - maxEntryPointSize?: number; + maxEntrypointSize?: number; /** * An asset is any emitted file from webpack. This option controls when webpack emits a performance hint based on individual asset size. The default value is 250000 (bytes). */ From a70e784fec04cf50367ebcd11d88c67a66058614 Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Tue, 24 Jan 2017 14:59:01 -0800 Subject: [PATCH 115/613] fix test --- webpack/webpack-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/webpack-tests.ts b/webpack/webpack-tests.ts index 8af08751ed..7c1f109a2d 100644 --- a/webpack/webpack-tests.ts +++ b/webpack/webpack-tests.ts @@ -544,7 +544,7 @@ const resolve: webpack.Resolve = { const performance: webpack.PerformanceOptions = { hints: 'error', - maxEntryPointSize: 400000, + maxEntrypointSize: 400000, maxAssetSize: 100000, assetFilter: function(assetFilename) { return assetFilename.endsWith('.js'); From ae3b2e73d3045104dc0ba279f2363ec7746dce00 Mon Sep 17 00:00:00 2001 From: Homa Wong Date: Tue, 24 Jan 2017 16:29:09 -0800 Subject: [PATCH 116/613] Update index.d.ts --- redux-logger/index.d.ts | 78 ++++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/redux-logger/index.d.ts b/redux-logger/index.d.ts index edcb2b9152..2c02273d60 100644 --- a/redux-logger/index.d.ts +++ b/redux-logger/index.d.ts @@ -5,46 +5,46 @@ import * as Redux from "redux"; -type LoggerPredicate = (getState: () => any, action: any) => boolean; - -type StateToString = (state: any) => string; -type ActionToString = (action: any) => string; -type ErrorToString = (error: any, prevState: any) => string; - -interface ColorsObject { - title?: boolean | ActionToString; - prevState?: boolean | StateToString; - action?: boolean | ActionToString; - nextState?: boolean | StateToString; - error?: boolean | ErrorToString; -} - -interface LevelObject { - prevState?: string | boolean | StateToString; - action?: string | boolean | ActionToString; - nextState?: string | boolean | StateToString; - error?: string | boolean | ErrorToString; -} - -interface ReduxLoggerOptions { - level?: string | ActionToString | LevelObject; - duration?: boolean; - timestamp?: boolean; - colors?: ColorsObject; - logger?: any; - logErrors?: boolean; - collapsed?: boolean | LoggerPredicate; - predicate?: LoggerPredicate; - stateTransformer?: (state: any) => any; - actionTransformer?: (action: any) => any; - errorTransformer?: (error: any) => any; - diff?: boolean; - diffPredicate?: LoggerPredicate; -} - // Trickery to get TypeScript to accept that our anonymous, non-default export is a function. // see https://github.com/Microsoft/TypeScript/issues/3612 for more -declare namespace createLogger { } -declare function createLogger(options?: ReduxLoggerOptions): Redux.Middleware; +declare namespace createLogger { + export type LoggerPredicate = (getState: () => any, action: any) => boolean; + + export type StateToString = (state: any) => string; + export type ActionToString = (action: any) => string; + export type ErrorToString = (error: any, prevState: any) => string; + + export interface ColorsObject { + title?: boolean | ActionToString; + prevState?: boolean | StateToString; + action?: boolean | ActionToString; + nextState?: boolean | StateToString; + error?: boolean | ErrorToString; + } + + export interface LevelObject { + prevState?: string | boolean | StateToString; + action?: string | boolean | ActionToString; + nextState?: string | boolean | StateToString; + error?: string | boolean | ErrorToString; + } + + export interface ReduxLoggerOptions { + level?: string | ActionToString | LevelObject; + duration?: boolean; + timestamp?: boolean; + colors?: ColorsObject; + logger?: any; + logErrors?: boolean; + collapsed?: boolean | LoggerPredicate; + predicate?: LoggerPredicate; + stateTransformer?: (state: any) => any; + actionTransformer?: (action: any) => any; + errorTransformer?: (error: any) => any; + diff?: boolean; + diffPredicate?: LoggerPredicate; + } +} +declare function createLogger(options?: createLogger.ReduxLoggerOptions): Redux.Middleware; export = createLogger; From afa6e180c8cd8ab091b4f38a885df70633e937ba Mon Sep 17 00:00:00 2001 From: Homa Wong Date: Tue, 24 Jan 2017 16:35:38 -0800 Subject: [PATCH 117/613] Update index.d.ts --- redux-logger/index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/redux-logger/index.d.ts b/redux-logger/index.d.ts index 2c02273d60..257f070d44 100644 --- a/redux-logger/index.d.ts +++ b/redux-logger/index.d.ts @@ -5,7 +5,6 @@ import * as Redux from "redux"; - // Trickery to get TypeScript to accept that our anonymous, non-default export is a function. // see https://github.com/Microsoft/TypeScript/issues/3612 for more declare namespace createLogger { From 8698554563f4acdf0942ffe9f74b6cce394f9f10 Mon Sep 17 00:00:00 2001 From: darlin Date: Wed, 25 Jan 2017 10:13:32 +0800 Subject: [PATCH 118/613] use appropriate export --- simplemde/index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/simplemde/index.d.ts b/simplemde/index.d.ts index eb463ae655..c78d4fb408 100644 --- a/simplemde/index.d.ts +++ b/simplemde/index.d.ts @@ -129,6 +129,5 @@ declare class SimpleMDE { static redo: (editor: SimpleMDE) => void; } -declare module "simplemde" { - export = SimpleMDE; -} +export = SimpleMDE; +export as namespace SimpleMDE; From 95bd599bc879a80a389b3f43fd132737a004ce72 Mon Sep 17 00:00:00 2001 From: Alvaro Dias Date: Tue, 24 Jan 2017 20:47:04 -0800 Subject: [PATCH 119/613] documentdb: Add typings for user-defined functions --- documentdb/documentdb-tests.ts | 25 +++++++++++++++++++++++++ documentdb/index.d.ts | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/documentdb/documentdb-tests.ts b/documentdb/documentdb-tests.ts index 34d6b5236b..f4a06d3fb7 100644 --- a/documentdb/documentdb-tests.ts +++ b/documentdb/documentdb-tests.ts @@ -55,6 +55,31 @@ docDBClient.createStoredProcedure('collection', procedure, undefined, (error, re } }); +var userDefinedFunction: docDB.UserDefinedFunction = { + id: 'udf1', + body: function () { + console.log('foo'); + } +}; + +docDBClient.createUserDefinedFunction('collection', userDefinedFunction, undefined, (error, result) => { + if (error) { + throw new Error(error.body); + } + else { + console.log('Created function: ' + result.id); + } +}); + +docDBClient.queryUserDefinedFunctions('collection', "SELECT * FROM root", undefined).toArray((error, results) => { + if (error) { + throw new Error(error.body); + } + else { + console.log('Number of functions in collection: ' + results.length); + } +}); + var trigger: docDB.Trigger = { id: 'trigger-one', body: function () { diff --git a/documentdb/index.d.ts b/documentdb/index.d.ts index 406affe2c8..048825b492 100644 --- a/documentdb/index.d.ts +++ b/documentdb/index.d.ts @@ -154,6 +154,10 @@ interface ProcedureMeta extends AbstractMeta { body: string; } +/** Represents the meta data for a user-defined function. */ +interface UserDefinedFunctionMeta extends AbstractMeta { +} + /** Represents the meta data for a trigger. */ interface TriggerMeta extends AbstractMeta { body: string; @@ -181,6 +185,13 @@ export interface Procedure extends UniqueId { body(...params: any[]): void; } +/** Represents a DocumentDB user-defined function. */ +export interface UserDefinedFunction extends UniqueId { + + /** The function representing the user-defined function. */ + body(...params: any[]): void; +} + /** Represents a DocumentDB trigger. */ export interface Trigger extends UniqueId { /** The type of the trigger. Should be either 'pre' or 'post'. */ @@ -290,6 +301,19 @@ export declare class DocumentClient { */ public createStoredProcedure(collectionLink: string, procedure: Procedure, options: RequestOptions, callback: RequestCallback): void; + /** + * Create a UserDefinedFunction. + *

+ * DocumentDB supports JavaScript UDFs which can be used inside queries, stored procedures and triggers.
+ * For additional details, refer to the server-side JavaScript API documentation. + *

+ * @param collectionLink - The self-link of the collection. + * @param udf - Represents the body of the userDefinedFunction. + * @param [options] - The request options. + * @param callback - The callback for the request. + */ + public createUserDefinedFunction(collectionLink: string, udf: UserDefinedFunction, options: RequestOptions, callback: RequestCallback): void; + /** * Create a trigger. *

@@ -349,6 +373,15 @@ export declare class DocumentClient { */ public queryStoredProcedures(collectionLink: string, query: string | SqlQuerySpec): QueryIterator; + /** + * Query the user-defined functions for the collection. + * @param collectionLink - The self-link of the collection. + * @param query - A SQL query string. + * @param [options] - Represents the feed options. + * @returns - An instance of queryIterator to handle reading feed. + */ + public queryUserDefinedFunctions(collectionLink: string, query: string | SqlQuerySpec, options?: FeedOptions): QueryIterator; + /** * Query the documents for the collection. * @param collectionLink - The self-link of the collection. From a6e94fdb0a80fbeacea1786d60cc0a67deaf9d6b Mon Sep 17 00:00:00 2001 From: Shun Date: Tue, 24 Jan 2017 21:54:20 -0800 Subject: [PATCH 120/613] Add module --- forever-monitor/forever-monitor-tests.ts | 0 forever-monitor/index.d.ts | 104 +++++++++++++++++++++++ forever-monitor/tsconfig.json | 20 +++++ forever-monitor/tslint.json | 1 + 4 files changed, 125 insertions(+) create mode 100644 forever-monitor/forever-monitor-tests.ts create mode 100644 forever-monitor/index.d.ts create mode 100644 forever-monitor/tsconfig.json create mode 100644 forever-monitor/tslint.json diff --git a/forever-monitor/forever-monitor-tests.ts b/forever-monitor/forever-monitor-tests.ts new file mode 100644 index 0000000000..e69de29bb2 diff --git a/forever-monitor/index.d.ts b/forever-monitor/index.d.ts new file mode 100644 index 0000000000..b22905cae2 --- /dev/null +++ b/forever-monitor/index.d.ts @@ -0,0 +1,104 @@ +// Type definitions for forever-monitor 1.7 +// Project: https://github.com/nodejitsu/forever-monitor#readme +// Definitions by: My Self +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +/// + +interface spawnWith { + customFds: number[]; + setsid: boolean; + uid: number; + gid: number; +} + +interface parserArgs { + command: string; + args: string[]; +} + +interface Options { + silent?: boolean; + uid?: "autogen" | string; + pidFile?: string; + max?: number; + killTree?: boolean; + minUptime?: number; + spinSleepTime?: number; + command?: "node" | string; + args?: string[]; + sourceDir?: string; + watch?: boolean; + watchIgnoreDotFiles?: boolean; + watchIgnorePatters?: string[]; + watchDirectory?: string; + spawnWith?: spawnWith; + env?: { [envKey: string]: string; }; + cwd?: string; + logFile?: string; + outFile?: string; + errFile?: string; + parser?: (command: string, args: string[]) => { command: string, args: string[] }; +} + + +export declare class Monitor extends NodeJS.EventEmitter { + + /** + * @param script - Location of the target script to run. + * @param [options] - Configuration for this instance. + */ + constructor(script: string, options?: Options); + + /** + * @description Start the process that this instance is configured for + * @param [restart] - Value indicating whether this is a restart. + */ + public start(restart?: boolean): this; + + /** + * @description Tries to spawn the target Forever child process. + */ + public trySpawn(): boolean; + + /** + * @description Restarts the target script associated with this instance. + */ + public restart(): this; + + /** + * @description Stops the target script associated with this instance. Prevents it from auto-respawning + */ + public stop(): this; + + /** + * @description Kills the ChildProcess object associated with this instance + * @param [forceStop] - Value indicating whether short circuit forever auto-restart + */ + public kill(forceStop?: boolean): this; + + /** + * @description Sends a message to a forked ChildProcess object associated with this instance + */ + public send(msg?: any): this; + + /** + * respond with JSON for this instance + */ + public toString(): string; + + /** + * @param command - Command string to parse + * @param args - Additional default arguments + */ + public parseCommand(command: string, args?: string[]): (false | { command: string, args?: string[]}); +} + +interface forever { + Monitor: Monitor; + start: (script: string, options: Options) => Monitor; + kill: (pid: number, killTree?: boolean, signal?: string, callback?: () => any) => void; + checkProcess: (pid: number) => boolean; + version: string; +} + +export default forever; diff --git a/forever-monitor/tsconfig.json b/forever-monitor/tsconfig.json new file mode 100644 index 0000000000..8c6d4986b5 --- /dev/null +++ b/forever-monitor/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "forever-monitor-tests.ts" + ] +} diff --git a/forever-monitor/tslint.json b/forever-monitor/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/forever-monitor/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 1ca0a1b3f98ad5ce8713543791b97014d5250bd6 Mon Sep 17 00:00:00 2001 From: darlin Date: Wed, 25 Jan 2017 14:26:11 +0800 Subject: [PATCH 121/613] update submodule --- crypto-js/aes/index.d.ts | 3 + crypto-js/core/index.d.ts | 3 + crypto-js/enc-base64/index.d.ts | 4 + crypto-js/enc-hex/index.d.ts | 4 + crypto-js/enc-latin1/index.d.ts | 4 + crypto-js/enc-utf16/index.d.ts | 4 + crypto-js/enc-utf8/index.d.ts | 4 + crypto-js/evpkdf/index.d.ts | 3 + crypto-js/format-hex/index.d.ts | 4 + crypto-js/format-openssl/index.d.ts | 4 + crypto-js/hmac-md5/index.d.ts | 3 + crypto-js/hmac-ripemd160/index.d.ts | 3 + crypto-js/hmac-sha1/index.d.ts | 3 + crypto-js/hmac-sha224/index.d.ts | 3 + crypto-js/hmac-sha256/index.d.ts | 3 + crypto-js/hmac-sha3/index.d.ts | 3 + crypto-js/hmac-sha384/index.d.ts | 3 + crypto-js/hmac-sha512/index.d.ts | 3 + crypto-js/index.d.ts | 237 +------------------------- crypto-js/lib-typedarrays/index.d.ts | 2 + crypto-js/md5/index.d.ts | 3 + crypto-js/mode-cfb/index.d.ts | 4 + crypto-js/mode-ctr-gladman/index.d.ts | 4 + crypto-js/mode-ctr/index.d.ts | 4 + crypto-js/mode-ecb/index.d.ts | 4 + crypto-js/mode-ofb/index.d.ts | 4 + crypto-js/pad-ansix923/index.d.ts | 4 + crypto-js/pad-iso10126/index.d.ts | 4 + crypto-js/pad-iso97971/index.d.ts | 4 + crypto-js/pad-nopadding/index.d.ts | 4 + crypto-js/pad-pkcs7/index.d.ts | 4 + crypto-js/pad-zeropadding/index.d.ts | 4 + crypto-js/pbkdf2/index.d.ts | 3 + crypto-js/rabbit-legacy/index.d.ts | 3 + crypto-js/rabbit/index.d.ts | 3 + crypto-js/rc4/index.d.ts | 3 + crypto-js/ripemd160/index.d.ts | 3 + crypto-js/sha1/index.d.ts | 3 + crypto-js/sha224/index.d.ts | 3 + crypto-js/sha256/index.d.ts | 3 + crypto-js/sha3/index.d.ts | 3 + crypto-js/sha384/index.d.ts | 3 + crypto-js/sha512/index.d.ts | 3 + crypto-js/tripledes/index.d.ts | 3 + crypto-js/x64-core/index.d.ts | 3 + 45 files changed, 152 insertions(+), 234 deletions(-) create mode 100644 crypto-js/aes/index.d.ts create mode 100644 crypto-js/core/index.d.ts create mode 100644 crypto-js/enc-base64/index.d.ts create mode 100644 crypto-js/enc-hex/index.d.ts create mode 100644 crypto-js/enc-latin1/index.d.ts create mode 100644 crypto-js/enc-utf16/index.d.ts create mode 100644 crypto-js/enc-utf8/index.d.ts create mode 100644 crypto-js/evpkdf/index.d.ts create mode 100644 crypto-js/format-hex/index.d.ts create mode 100644 crypto-js/format-openssl/index.d.ts create mode 100644 crypto-js/hmac-md5/index.d.ts create mode 100644 crypto-js/hmac-ripemd160/index.d.ts create mode 100644 crypto-js/hmac-sha1/index.d.ts create mode 100644 crypto-js/hmac-sha224/index.d.ts create mode 100644 crypto-js/hmac-sha256/index.d.ts create mode 100644 crypto-js/hmac-sha3/index.d.ts create mode 100644 crypto-js/hmac-sha384/index.d.ts create mode 100644 crypto-js/hmac-sha512/index.d.ts create mode 100644 crypto-js/lib-typedarrays/index.d.ts create mode 100644 crypto-js/md5/index.d.ts create mode 100644 crypto-js/mode-cfb/index.d.ts create mode 100644 crypto-js/mode-ctr-gladman/index.d.ts create mode 100644 crypto-js/mode-ctr/index.d.ts create mode 100644 crypto-js/mode-ecb/index.d.ts create mode 100644 crypto-js/mode-ofb/index.d.ts create mode 100644 crypto-js/pad-ansix923/index.d.ts create mode 100644 crypto-js/pad-iso10126/index.d.ts create mode 100644 crypto-js/pad-iso97971/index.d.ts create mode 100644 crypto-js/pad-nopadding/index.d.ts create mode 100644 crypto-js/pad-pkcs7/index.d.ts create mode 100644 crypto-js/pad-zeropadding/index.d.ts create mode 100644 crypto-js/pbkdf2/index.d.ts create mode 100644 crypto-js/rabbit-legacy/index.d.ts create mode 100644 crypto-js/rabbit/index.d.ts create mode 100644 crypto-js/rc4/index.d.ts create mode 100644 crypto-js/ripemd160/index.d.ts create mode 100644 crypto-js/sha1/index.d.ts create mode 100644 crypto-js/sha224/index.d.ts create mode 100644 crypto-js/sha256/index.d.ts create mode 100644 crypto-js/sha3/index.d.ts create mode 100644 crypto-js/sha384/index.d.ts create mode 100644 crypto-js/sha512/index.d.ts create mode 100644 crypto-js/tripledes/index.d.ts create mode 100644 crypto-js/x64-core/index.d.ts diff --git a/crypto-js/aes/index.d.ts b/crypto-js/aes/index.d.ts new file mode 100644 index 0000000000..4f435688c5 --- /dev/null +++ b/crypto-js/aes/index.d.ts @@ -0,0 +1,3 @@ +import { AES } from '../index'; + +export = AES; diff --git a/crypto-js/core/index.d.ts b/crypto-js/core/index.d.ts new file mode 100644 index 0000000000..c5d6e00410 --- /dev/null +++ b/crypto-js/core/index.d.ts @@ -0,0 +1,3 @@ +import * as Core from '../index'; + +export = Core; diff --git a/crypto-js/enc-base64/index.d.ts b/crypto-js/enc-base64/index.d.ts new file mode 100644 index 0000000000..55001a7115 --- /dev/null +++ b/crypto-js/enc-base64/index.d.ts @@ -0,0 +1,4 @@ +import { enc } from '../index'; + +declare const Base64: typeof enc.Base64; +export = Base64; diff --git a/crypto-js/enc-hex/index.d.ts b/crypto-js/enc-hex/index.d.ts new file mode 100644 index 0000000000..3718860123 --- /dev/null +++ b/crypto-js/enc-hex/index.d.ts @@ -0,0 +1,4 @@ +import { enc } from '../index'; + +declare const Hex: typeof enc.Hex; +export = Hex; diff --git a/crypto-js/enc-latin1/index.d.ts b/crypto-js/enc-latin1/index.d.ts new file mode 100644 index 0000000000..7f27822daf --- /dev/null +++ b/crypto-js/enc-latin1/index.d.ts @@ -0,0 +1,4 @@ +import { enc } from '../index'; + +declare const Latin1: typeof enc.Latin1; +export = Latin1; diff --git a/crypto-js/enc-utf16/index.d.ts b/crypto-js/enc-utf16/index.d.ts new file mode 100644 index 0000000000..76fa98774a --- /dev/null +++ b/crypto-js/enc-utf16/index.d.ts @@ -0,0 +1,4 @@ +import { enc } from '../index'; + +declare const Utf16: typeof enc.Utf16; +export = Utf16; diff --git a/crypto-js/enc-utf8/index.d.ts b/crypto-js/enc-utf8/index.d.ts new file mode 100644 index 0000000000..828dcb9391 --- /dev/null +++ b/crypto-js/enc-utf8/index.d.ts @@ -0,0 +1,4 @@ +import { enc } from '../index'; + +declare const Utf8: typeof enc.Utf8; +export = Utf8; diff --git a/crypto-js/evpkdf/index.d.ts b/crypto-js/evpkdf/index.d.ts new file mode 100644 index 0000000000..8946b9d3a1 --- /dev/null +++ b/crypto-js/evpkdf/index.d.ts @@ -0,0 +1,3 @@ +import { EvpKDF } from '../index'; + +export = EvpKDF; diff --git a/crypto-js/format-hex/index.d.ts b/crypto-js/format-hex/index.d.ts new file mode 100644 index 0000000000..1b0f573824 --- /dev/null +++ b/crypto-js/format-hex/index.d.ts @@ -0,0 +1,4 @@ +import { format } from '../index'; + +declare const Hex: typeof format.Hex; +export = Hex; diff --git a/crypto-js/format-openssl/index.d.ts b/crypto-js/format-openssl/index.d.ts new file mode 100644 index 0000000000..02c35a3688 --- /dev/null +++ b/crypto-js/format-openssl/index.d.ts @@ -0,0 +1,4 @@ +import { format } from '../index'; + +declare const OpenSSL: typeof format.OpenSSL; +export = OpenSSL; diff --git a/crypto-js/hmac-md5/index.d.ts b/crypto-js/hmac-md5/index.d.ts new file mode 100644 index 0000000000..7240576710 --- /dev/null +++ b/crypto-js/hmac-md5/index.d.ts @@ -0,0 +1,3 @@ +import { HmacMD5 } from '../index'; + +export = HmacMD5; diff --git a/crypto-js/hmac-ripemd160/index.d.ts b/crypto-js/hmac-ripemd160/index.d.ts new file mode 100644 index 0000000000..6c371e9435 --- /dev/null +++ b/crypto-js/hmac-ripemd160/index.d.ts @@ -0,0 +1,3 @@ +import { HmacRIPEMD160 } from '../index'; + +export = HmacRIPEMD160; diff --git a/crypto-js/hmac-sha1/index.d.ts b/crypto-js/hmac-sha1/index.d.ts new file mode 100644 index 0000000000..1995cf87f6 --- /dev/null +++ b/crypto-js/hmac-sha1/index.d.ts @@ -0,0 +1,3 @@ +import { HmacSHA1 } from '../index'; + +export = HmacSHA1; diff --git a/crypto-js/hmac-sha224/index.d.ts b/crypto-js/hmac-sha224/index.d.ts new file mode 100644 index 0000000000..f25334c64c --- /dev/null +++ b/crypto-js/hmac-sha224/index.d.ts @@ -0,0 +1,3 @@ +import { HmacSHA224 } from '../index'; + +export = HmacSHA224; diff --git a/crypto-js/hmac-sha256/index.d.ts b/crypto-js/hmac-sha256/index.d.ts new file mode 100644 index 0000000000..ca1a1ca267 --- /dev/null +++ b/crypto-js/hmac-sha256/index.d.ts @@ -0,0 +1,3 @@ +import { HmacSHA256 } from '../index'; + +export = HmacSHA256; diff --git a/crypto-js/hmac-sha3/index.d.ts b/crypto-js/hmac-sha3/index.d.ts new file mode 100644 index 0000000000..0fa0db9321 --- /dev/null +++ b/crypto-js/hmac-sha3/index.d.ts @@ -0,0 +1,3 @@ +import { HmacSHA3 } from '../index'; + +export = HmacSHA3; diff --git a/crypto-js/hmac-sha384/index.d.ts b/crypto-js/hmac-sha384/index.d.ts new file mode 100644 index 0000000000..2e17420c1b --- /dev/null +++ b/crypto-js/hmac-sha384/index.d.ts @@ -0,0 +1,3 @@ +import { HmacSHA384 } from '../index'; + +export = HmacSHA384; diff --git a/crypto-js/hmac-sha512/index.d.ts b/crypto-js/hmac-sha512/index.d.ts new file mode 100644 index 0000000000..439b2ffd5e --- /dev/null +++ b/crypto-js/hmac-sha512/index.d.ts @@ -0,0 +1,3 @@ +import { HmacSHA512 } from '../index'; + +export = HmacSHA512; diff --git a/crypto-js/index.d.ts b/crypto-js/index.d.ts index a2c0ee381d..a8068161e1 100644 --- a/crypto-js/index.d.ts +++ b/crypto-js/index.d.ts @@ -3,6 +3,9 @@ // Definitions by: Michael Zabka // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +export = CryptoJS; +export as namespace CryptoJS; + declare var CryptoJS: CryptoJS.Hashes; declare namespace CryptoJS { type Hash = (message: string, key?: string, ...options: any[]) => string; @@ -112,237 +115,3 @@ declare namespace CryptoJS { } } - -declare module "crypto-js" { - var CryptoJS: CryptoJS.Hashes; - export = CryptoJS; -} - -/* --------------------------------- */ -declare module "crypto-js/core" { - var core: any; - export = core; -} - -declare module "crypto-js/x64-core" { - var x64: any; - export = x64; -} - -declare module "crypto-js/lib-typedarrays" { - var libWordArray: any; - export = libWordArray; -} - -/* --------------------------------- */ -declare module "crypto-js/md5" { - var MD5: CryptoJS.Hash; - export = MD5; -} - -declare module "crypto-js/sha1" { - var SHA1: CryptoJS.Hash; - export = SHA1; -} - -declare module "crypto-js/sha256" { - var SHA256: CryptoJS.Hash; - export = SHA256; -} - -declare module "crypto-js/sha224" { - var SHA224: CryptoJS.Hash; - export = SHA224; -} - -declare module "crypto-js/sha512" { - var SHA512: CryptoJS.Hash; - export = SHA512; -} - -declare module "crypto-js/sha384" { - var SHA384: CryptoJS.Hash; - export = SHA384; -} - -declare module "crypto-js/sha3" { - var SHA3: CryptoJS.Hash; - export = SHA3; -} - -declare module "crypto-js/ripemd160" { - var RIPEMD160: CryptoJS.Hash; - export = RIPEMD160; -} - -/* --------------------------------- */ -declare module "crypto-js/hmac-md5" { - var HmacMD5: CryptoJS.Hash; - export = HmacMD5; -} - -declare module "crypto-js/hmac-sha1" { - var HmacSHA1: CryptoJS.Hash; - export = HmacSHA1; -} - -declare module "crypto-js/hmac-sha256" { - var HmacSHA256: CryptoJS.Hash; - export = HmacSHA256; -} - -declare module "crypto-js/hmac-sha224" { - var HmacSHA224: CryptoJS.Hash; - export = HmacSHA224; -} - -declare module "crypto-js/hmac-sha512" { - var HmacSHA512: CryptoJS.Hash; - export = HmacSHA512; -} - -declare module "crypto-js/hmac-sha384" { - var HmacSHA384: CryptoJS.Hash; - export = HmacSHA384; -} - -declare module "crypto-js/hmac-sha3" { - var HmacSHA3: CryptoJS.Hash; - export = HmacSHA3; -} - -declare module "crypto-js/hmac-ripemd160" { - var HmacRIPEMD160: CryptoJS.Hash; - export = HmacRIPEMD160; -} - -/* --------------------------------- */ -declare module "crypto-js/pbkdf2" { - var PBKDF2: CryptoJS.Hash; - export = PBKDF2; -} - -/* --------------------------------- */ -declare module "crypto-js/aes" { - var AES: CryptoJS.Cipher; - export = AES; -} - -declare module "crypto-js/tripledes" { - var TripleDES: CryptoJS.Cipher; - export = TripleDES; -} - -declare module "crypto-js/rc4" { - var RC4: CryptoJS.Cipher; - export = RC4; -} - -declare module "crypto-js/rabbit" { - var Rabbit: CryptoJS.Cipher; - export = Rabbit; -} - -declare module "crypto-js/rabbit-legacy" { - var RabbitLegacy: CryptoJS.Cipher; - export = RabbitLegacy; -} - -declare module "crypto-js/evpkdf" { - var EvpKDF: CryptoJS.Cipher; - export = EvpKDF; -} - -/* --------------------------------- */ -declare module "crypto-js/format-openssl" { - var FormatOpenssl: any; - export = FormatOpenssl; -} - -declare module "crypto-js/format-hex" { - var FormatHex: any; - export = FormatHex; -} - -/* --------------------------------- */ -declare module "crypto-js/enc-latin1" { - var encLatin1: CryptoJS.Encoder; - export = encLatin1; -} - -declare module "crypto-js/enc-utf8" { - var encUtf8: CryptoJS.Encoder; - export = encUtf8; -} - -declare module "crypto-js/enc-hex" { - var encHex: CryptoJS.Encoder; - export = encHex; -} - -declare module "crypto-js/enc-utf16" { - var encUtf16: CryptoJS.Encoder; - export = encUtf16; -} - -declare module "crypto-js/enc-base64" { - var encBase64: CryptoJS.Encoder; - export = encBase64; -} - -/* --------------------------------- */ -declare module "crypto-js/mode-cfb" { - var modeCFB: CryptoJS.Mode; - export = modeCFB; -} - -declare module "crypto-js/mode-ctr" { - var modeCTR: CryptoJS.Mode; - export = modeCTR; -} - -declare module "crypto-js/mode-ctr-gladman" { - var modeCTRGladman: CryptoJS.Mode; - export = modeCTRGladman; -} - -declare module "crypto-js/mode-ofb" { - var modeOFB: CryptoJS.Mode; - export = modeOFB; -} - -declare module "crypto-js/mode-ecb" { - var modeECB: CryptoJS.Mode; - export = modeECB; -} - -/* --------------------------------- */ -declare module "crypto-js/pad-pkcs7" { - var padPkcs7: CryptoJS.Padding; - export = padPkcs7; -} - -declare module "crypto-js/pad-ansix923" { - var padAnsiX923: CryptoJS.Padding; - export = padAnsiX923; -} - -declare module "crypto-js/pad-iso10126" { - var padIso10126: CryptoJS.Padding; - export = padIso10126; -} - -declare module "crypto-js/pad-iso97971" { - var padIso97971: CryptoJS.Padding; - export = padIso97971; -} - -declare module "crypto-js/pad-zeropadding" { - var padZeroPadding: CryptoJS.Padding; - export = padZeroPadding; -} - -declare module "crypto-js/pad-nopadding" { - var padNoPadding: CryptoJS.Padding; - export = padNoPadding; -} diff --git a/crypto-js/lib-typedarrays/index.d.ts b/crypto-js/lib-typedarrays/index.d.ts new file mode 100644 index 0000000000..91c5a7933b --- /dev/null +++ b/crypto-js/lib-typedarrays/index.d.ts @@ -0,0 +1,2 @@ +declare const libWordArray: any; +export = libWordArray; diff --git a/crypto-js/md5/index.d.ts b/crypto-js/md5/index.d.ts new file mode 100644 index 0000000000..faa064511e --- /dev/null +++ b/crypto-js/md5/index.d.ts @@ -0,0 +1,3 @@ +import { MD5 } from '../index'; + +export = MD5; diff --git a/crypto-js/mode-cfb/index.d.ts b/crypto-js/mode-cfb/index.d.ts new file mode 100644 index 0000000000..74c5c6e3d1 --- /dev/null +++ b/crypto-js/mode-cfb/index.d.ts @@ -0,0 +1,4 @@ +import { mode } from '../index'; + +declare const CFB: typeof mode.CFB; +export = CFB; diff --git a/crypto-js/mode-ctr-gladman/index.d.ts b/crypto-js/mode-ctr-gladman/index.d.ts new file mode 100644 index 0000000000..3ca8f8b367 --- /dev/null +++ b/crypto-js/mode-ctr-gladman/index.d.ts @@ -0,0 +1,4 @@ +import { mode } from '../index'; + +declare const CTRGladman: typeof mode.CTRGladman; +export = CTRGladman; diff --git a/crypto-js/mode-ctr/index.d.ts b/crypto-js/mode-ctr/index.d.ts new file mode 100644 index 0000000000..6007a4ca88 --- /dev/null +++ b/crypto-js/mode-ctr/index.d.ts @@ -0,0 +1,4 @@ +import { mode } from '../index'; + +declare const CTR: typeof mode.CTR; +export = CTR; diff --git a/crypto-js/mode-ecb/index.d.ts b/crypto-js/mode-ecb/index.d.ts new file mode 100644 index 0000000000..569d2b2286 --- /dev/null +++ b/crypto-js/mode-ecb/index.d.ts @@ -0,0 +1,4 @@ +import { mode } from '../index'; + +declare const ECB: typeof mode.ECB; +export = ECB; diff --git a/crypto-js/mode-ofb/index.d.ts b/crypto-js/mode-ofb/index.d.ts new file mode 100644 index 0000000000..484406979d --- /dev/null +++ b/crypto-js/mode-ofb/index.d.ts @@ -0,0 +1,4 @@ +import { mode } from '../index'; + +declare const OFB: typeof mode.OFB; +export = OFB; diff --git a/crypto-js/pad-ansix923/index.d.ts b/crypto-js/pad-ansix923/index.d.ts new file mode 100644 index 0000000000..2bb6c2dffb --- /dev/null +++ b/crypto-js/pad-ansix923/index.d.ts @@ -0,0 +1,4 @@ +import { pad } from '../index'; + +declare const AnsiX923: typeof pad.AnsiX923; +export = AnsiX923; diff --git a/crypto-js/pad-iso10126/index.d.ts b/crypto-js/pad-iso10126/index.d.ts new file mode 100644 index 0000000000..6e52e96197 --- /dev/null +++ b/crypto-js/pad-iso10126/index.d.ts @@ -0,0 +1,4 @@ +import { pad } from '../index'; + +declare const Iso10126: typeof pad.Iso10126; +export = Iso10126; diff --git a/crypto-js/pad-iso97971/index.d.ts b/crypto-js/pad-iso97971/index.d.ts new file mode 100644 index 0000000000..0ab1cecbfb --- /dev/null +++ b/crypto-js/pad-iso97971/index.d.ts @@ -0,0 +1,4 @@ +import { pad } from '../index'; + +declare const Iso97971: typeof pad.Iso97971; +export = Iso97971; diff --git a/crypto-js/pad-nopadding/index.d.ts b/crypto-js/pad-nopadding/index.d.ts new file mode 100644 index 0000000000..f71bb2de73 --- /dev/null +++ b/crypto-js/pad-nopadding/index.d.ts @@ -0,0 +1,4 @@ +import { pad } from '../index'; + +declare const NoPadding: typeof pad.NoPadding; +export = NoPadding; diff --git a/crypto-js/pad-pkcs7/index.d.ts b/crypto-js/pad-pkcs7/index.d.ts new file mode 100644 index 0000000000..1b194673a2 --- /dev/null +++ b/crypto-js/pad-pkcs7/index.d.ts @@ -0,0 +1,4 @@ +import { pad } from '../index'; + +declare const Pkcs7: typeof pad.Pkcs7; +export = Pkcs7; diff --git a/crypto-js/pad-zeropadding/index.d.ts b/crypto-js/pad-zeropadding/index.d.ts new file mode 100644 index 0000000000..cf481402ab --- /dev/null +++ b/crypto-js/pad-zeropadding/index.d.ts @@ -0,0 +1,4 @@ +import { pad } from '../index'; + +declare const ZeroPadding: typeof pad.ZeroPadding; +export = ZeroPadding; diff --git a/crypto-js/pbkdf2/index.d.ts b/crypto-js/pbkdf2/index.d.ts new file mode 100644 index 0000000000..e242e6fe05 --- /dev/null +++ b/crypto-js/pbkdf2/index.d.ts @@ -0,0 +1,3 @@ +import { PBKDF2 } from '../index'; + +export = PBKDF2; diff --git a/crypto-js/rabbit-legacy/index.d.ts b/crypto-js/rabbit-legacy/index.d.ts new file mode 100644 index 0000000000..6befe37563 --- /dev/null +++ b/crypto-js/rabbit-legacy/index.d.ts @@ -0,0 +1,3 @@ +import { RabbitLegacy } from '../index'; + +export = RabbitLegacy; diff --git a/crypto-js/rabbit/index.d.ts b/crypto-js/rabbit/index.d.ts new file mode 100644 index 0000000000..f708a6f20b --- /dev/null +++ b/crypto-js/rabbit/index.d.ts @@ -0,0 +1,3 @@ +import { Rabbit } from '../index'; + +export = Rabbit; diff --git a/crypto-js/rc4/index.d.ts b/crypto-js/rc4/index.d.ts new file mode 100644 index 0000000000..38a929f490 --- /dev/null +++ b/crypto-js/rc4/index.d.ts @@ -0,0 +1,3 @@ +import { RC4 } from '../index'; + +export = RC4; diff --git a/crypto-js/ripemd160/index.d.ts b/crypto-js/ripemd160/index.d.ts new file mode 100644 index 0000000000..90e3e770ce --- /dev/null +++ b/crypto-js/ripemd160/index.d.ts @@ -0,0 +1,3 @@ +import { RIPEMD160 } from '../index'; + +export = RIPEMD160; diff --git a/crypto-js/sha1/index.d.ts b/crypto-js/sha1/index.d.ts new file mode 100644 index 0000000000..14fb4d2a6b --- /dev/null +++ b/crypto-js/sha1/index.d.ts @@ -0,0 +1,3 @@ +import { SHA1 } from '../index'; + +export = SHA1; diff --git a/crypto-js/sha224/index.d.ts b/crypto-js/sha224/index.d.ts new file mode 100644 index 0000000000..3ff1ff4596 --- /dev/null +++ b/crypto-js/sha224/index.d.ts @@ -0,0 +1,3 @@ +import { SHA224 } from '../index'; + +export = SHA224; diff --git a/crypto-js/sha256/index.d.ts b/crypto-js/sha256/index.d.ts new file mode 100644 index 0000000000..59781b01f3 --- /dev/null +++ b/crypto-js/sha256/index.d.ts @@ -0,0 +1,3 @@ +import { SHA256 } from '../index'; + +export = SHA256; diff --git a/crypto-js/sha3/index.d.ts b/crypto-js/sha3/index.d.ts new file mode 100644 index 0000000000..241574a711 --- /dev/null +++ b/crypto-js/sha3/index.d.ts @@ -0,0 +1,3 @@ +import { SHA3 } from '../index'; + +export = SHA3; diff --git a/crypto-js/sha384/index.d.ts b/crypto-js/sha384/index.d.ts new file mode 100644 index 0000000000..5bad55498a --- /dev/null +++ b/crypto-js/sha384/index.d.ts @@ -0,0 +1,3 @@ +import { SHA384 } from '../index'; + +export = SHA384; diff --git a/crypto-js/sha512/index.d.ts b/crypto-js/sha512/index.d.ts new file mode 100644 index 0000000000..0f764329e2 --- /dev/null +++ b/crypto-js/sha512/index.d.ts @@ -0,0 +1,3 @@ +import { SHA512 } from '../index'; + +export = SHA512; diff --git a/crypto-js/tripledes/index.d.ts b/crypto-js/tripledes/index.d.ts new file mode 100644 index 0000000000..ea22173d98 --- /dev/null +++ b/crypto-js/tripledes/index.d.ts @@ -0,0 +1,3 @@ +import { TripleDES } from '../index'; + +export = TripleDES; diff --git a/crypto-js/x64-core/index.d.ts b/crypto-js/x64-core/index.d.ts new file mode 100644 index 0000000000..1ef7a67477 --- /dev/null +++ b/crypto-js/x64-core/index.d.ts @@ -0,0 +1,3 @@ +import * as X64Core from '../index'; + +export = X64Core; From 9be29e7b530932ecc1b0165713a1e49936de78a1 Mon Sep 17 00:00:00 2001 From: darlin Date: Wed, 25 Jan 2017 15:10:10 +0800 Subject: [PATCH 122/613] add files in tsconfig --- crypto-js/lib-typedarrays/index.d.ts | 4 +-- crypto-js/tsconfig.json | 48 ++++++++++++++++++++++++++-- 2 files changed, 48 insertions(+), 4 deletions(-) diff --git a/crypto-js/lib-typedarrays/index.d.ts b/crypto-js/lib-typedarrays/index.d.ts index 91c5a7933b..761e38b1cd 100644 --- a/crypto-js/lib-typedarrays/index.d.ts +++ b/crypto-js/lib-typedarrays/index.d.ts @@ -1,2 +1,2 @@ -declare const libWordArray: any; -export = libWordArray; +declare const LibTypedarrays: any; +export = LibTypedarrays; diff --git a/crypto-js/tsconfig.json b/crypto-js/tsconfig.json index 94793c83ae..7fc335c24a 100644 --- a/crypto-js/tsconfig.json +++ b/crypto-js/tsconfig.json @@ -18,6 +18,50 @@ }, "files": [ "index.d.ts", - "crypto-js-tests.ts" + "crypto-js-tests.ts", + "core/index.d.ts", + "x64-core/index.d.ts", + "lib-typedarrays/index.d.ts", + "md5/index.d.ts", + "sha1/index.d.ts", + "sha256/index.d.ts", + "sha224/index.d.ts", + "sha512/index.d.ts", + "sha384/index.d.ts", + "sha3/index.d.ts", + "ripemd160/index.d.ts", + "hmac-md5/index.d.ts", + "hmac-sha1/index.d.ts", + "hmac-sha256/index.d.ts", + "hmac-sha224/index.d.ts", + "hmac-sha512/index.d.ts", + "hmac-sha384/index.d.ts", + "hmac-sha3/index.d.ts", + "hmac-ripemd160/index.d.ts", + "pbkdf2/index.d.ts", + "aes/index.d.ts", + "tripledes/index.d.ts", + "rc4/index.d.ts", + "rabbit/index.d.ts", + "rabbit-legacy/index.d.ts", + "evpkdf/index.d.ts", + "format-openssl/index.d.ts", + "format-hex/index.d.ts", + "enc-latin1/index.d.ts", + "enc-utf8/index.d.ts", + "enc-hex/index.d.ts", + "enc-utf16/index.d.ts", + "enc-base64/index.d.ts", + "mode-cfb/index.d.ts", + "mode-ctr/index.d.ts", + "mode-ctr-gladman/index.d.ts", + "mode-ofb/index.d.ts", + "mode-ecb/index.d.ts", + "pad-pkcs7/index.d.ts", + "pad-ansix923/index.d.ts", + "pad-iso10126/index.d.ts", + "pad-iso97971/index.d.ts", + "pad-zeropadding/index.d.ts", + "pad-nopadding/index.d.ts" ] -} \ No newline at end of file +} From d2febcc480606fab9d8564fd6e2d77f576ae39d7 Mon Sep 17 00:00:00 2001 From: darlin Date: Wed, 25 Jan 2017 16:03:50 +0800 Subject: [PATCH 123/613] add submodule tests --- crypto-js/index.d.ts | 1 - crypto-js/test/submodule-tests.ts | 184 ++++++++++++++++++++++++++++++ crypto-js/tsconfig.json | 1 + 3 files changed, 185 insertions(+), 1 deletion(-) create mode 100644 crypto-js/test/submodule-tests.ts diff --git a/crypto-js/index.d.ts b/crypto-js/index.d.ts index a8068161e1..07a8d18dfc 100644 --- a/crypto-js/index.d.ts +++ b/crypto-js/index.d.ts @@ -113,5 +113,4 @@ declare namespace CryptoJS { NoPadding: Padding; }; } - } diff --git a/crypto-js/test/submodule-tests.ts b/crypto-js/test/submodule-tests.ts new file mode 100644 index 0000000000..0cfd8cd83f --- /dev/null +++ b/crypto-js/test/submodule-tests.ts @@ -0,0 +1,184 @@ +import Core = require('../core'); +import X64Core = require('../x64-core'); +import LibTypedarrays = require('../lib-typedarrays'); +// --- +import MD5 = require('../md5'); +import SHA1 = require('../sha1'); +import SHA256 = require('../sha256'); +import SHA224 = require('../sha224'); +import SHA512 = require('../sha512'); +import SHA384 = require('../sha384'); +import SHA3 = require('../sha3'); +import RIPEMD160 = require('../ripemd160'); +// --- +import HmacMD5 = require('../hmac-md5'); +import HmacSHA1 = require('../hmac-sha1'); +import HmacSHA256 = require('../hmac-sha256'); +import HmacSHA224 = require('../hmac-sha224'); +import HmacSHA512 = require('../hmac-sha512'); +import HmacSHA384 = require('../hmac-sha384'); +import HmacSHA3 = require('../hmac-sha3'); +import HmacRIPEMD160 = require('../hmac-ripemd160'); +// --- +import PBKDF2 = require('../pbkdf2'); +// --- +import AES = require('../aes'); +import TripleDES = require('../tripledes'); +import RC4 = require('../rc4'); +import Rabbit = require('../rabbit'); +import RabbitLegacy = require('../rabbit-legacy'); +import EvpKDF = require('../evpkdf'); +// --- +import FormatOpenSSL = require('../format-openssl'); +import FormatHex = require('../format-hex'); +// --- +import EncLatin1 = require('../enc-latin1'); +import EncUtf8 = require('../enc-utf8'); +import EncHex = require('../enc-hex'); +import EncUtf16 = require('../enc-utf16'); +import EncBase64 = require('../enc-base64'); +// --- +import ModeCFB = require('../mode-cfb'); +import ModeCTR = require('../mode-ctr'); +import ModeCTRGladman = require('../mode-ctr-gladman'); +import ModeOFB = require('../mode-ofb'); +import ModeECB = require('../mode-ecb'); +// --- +import PadPkcs7 = require('../pad-pkcs7'); +import PadAnsiX923 = require('../pad-ansix923'); +import PadIso10126 = require('../pad-iso10126'); +import PadIso97971 = require('../pad-iso97971'); +import PadZeroPadding = require('../pad-zeropadding'); +import PadNoPadding = require('../pad-nopadding'); + +// Hashers +var str: string; +str = MD5('some message'); +str = MD5('some message', 'some key'); + +str = SHA1('some message'); +str = SHA1('some message', 'some key', { any: true }); + +str = FormatOpenSSL('some message'); +str = FormatOpenSSL('some message', 'some key'); + + +// Ciphers +var encrypted: CryptoJS.WordArray; +var decrypted: CryptoJS.DecryptedMessage; + +encrypted = AES.encrypt("Message", "Secret Passphrase"); +decrypted = AES.decrypt(encrypted, "Secret Passphrase"); + +encrypted = Core.DES.encrypt("Message", "Secret Passphrase"); +decrypted = Core.DES.decrypt(encrypted, "Secret Passphrase"); + +encrypted = TripleDES.encrypt("Message", "Secret Passphrase"); +decrypted = TripleDES.decrypt(encrypted, "Secret Passphrase"); + + +encrypted = Rabbit.encrypt("Message", "Secret Passphrase"); +decrypted = Rabbit.decrypt(encrypted, "Secret Passphrase"); + +encrypted = RC4.encrypt("Message", "Secret Passphrase"); +decrypted = RC4.decrypt(encrypted, "Secret Passphrase"); + +encrypted = Core.RC4Drop.encrypt("Message", "Secret Passphrase"); +encrypted = Core.RC4Drop.encrypt("Message", "Secret Passphrase", { drop: 3072 / 4 }); +decrypted = Core.RC4Drop.decrypt(encrypted, "Secret Passphrase", { drop: 3072 / 4 }); + +var key = EncHex.parse('000102030405060708090a0b0c0d0e0f'); +var iv = EncHex.parse('101112131415161718191a1b1c1d1e1f'); +encrypted = AES.encrypt("Message", key, { iv: iv }); + +encrypted = AES.encrypt("Message", "Secret Passphrase", { + mode: ModeCFB, + padding: PadAnsiX923 +}); + + +// The Cipher Output +encrypted = AES.encrypt("Message", "Secret Passphrase"); +alert(encrypted.key); +// 74eb593087a982e2a6f5dded54ecd96d1fd0f3d44a58728cdcd40c55227522223 +alert(encrypted.iv); +// 7781157e2629b094f0e3dd48c4d786115 +alert(encrypted.salt); +// 7a25f9132ec6a8b34 +alert(encrypted.ciphertext); +// 73e54154a15d1beeb509d9e12f1e462a0 +alert(encrypted); +// U2FsdGVkX1+iX5Ey7GqLND5UFUoV0b7rUJ2eEvHkYqA= + +var JsonFormatter = { + stringify: function(cipherParams: any) { + // create json object with ciphertext + var jsonObj: any = { + ct: cipherParams.ciphertext.toString(EncBase64) + }; + // optionally add iv and salt + if (cipherParams.iv) { + jsonObj.iv = cipherParams.iv.toString(); + } + if (cipherParams.salt) { + jsonObj.s = cipherParams.salt.toString(); + } + // stringify json object + return JSON.stringify(jsonObj); + }, + parse: function (jsonStr: any) { + // parse json string + var jsonObj = JSON.parse(jsonStr); + // extract ciphertext from json object, and create cipher params object + var cipherParams = (Core).lib.CipherParams.create({ + ciphertext: EncBase64.parse(jsonObj.ct) + }); + // optionally extract iv and salt + if (jsonObj.iv) { + cipherParams.iv = EncHex.parse(jsonObj.iv); + } + if (jsonObj.s) { + cipherParams.salt = EncHex.parse(jsonObj.s); + } return cipherParams; + } +}; +encrypted = AES.encrypt("Message", "Secret Passphrase", { + format: JsonFormatter +}); +alert(encrypted); +// {"ct":"tZ4MsEnfbcDOwqau68aOrQ==","iv":"8a8c8fd8fe33743d3638737ea4a00698","s":"ba06373c8f57179c"} +decrypted = AES.decrypt(encrypted, "Secret Passphrase", { + format: JsonFormatter +}); +alert(decrypted.toString(EncUtf8)); // Message + + +// Progressive Ciphering +var key = EncHex.parse('000102030405060708090a0b0c0d0e0f'); +var iv = EncHex.parse('101112131415161718191a1b1c1d1e1f'); +var aesEncryptor = Core.algo.AES.createEncryptor(key, { iv: iv }); +var ciphertextPart1 = aesEncryptor.process("Message Part 1"); +var ciphertextPart2 = aesEncryptor.process("Message Part 2"); +var ciphertextPart3 = aesEncryptor.process("Message Part 3"); +var ciphertextPart4 = aesEncryptor.finalize(); +var aesDecryptor = Core.algo.AES.createDecryptor(key, { iv: iv }); +var plaintextPart1 = aesDecryptor.process(ciphertextPart1); +var plaintextPart2 = aesDecryptor.process(ciphertextPart2); +var plaintextPart3 = aesDecryptor.process(ciphertextPart3); +var plaintextPart4 = aesDecryptor.process(ciphertextPart4); +var plaintextPart5 = aesDecryptor.finalize(); + + +// Encoders +var words = EncBase64.parse('SGVsbG8sIFdvcmxkIQ=='); +var base64 = EncBase64.stringify(words); +var words = EncLatin1.parse('Hello, World!'); +var latin1 = EncLatin1.stringify(words); +var words = EncHex.parse('48656c6c6f2c20576f726c6421'); +var hex = EncHex.stringify(words); +var words = EncUtf8.parse('𤭢'); +var utf8 = EncUtf8.stringify(words); +var words = EncUtf16.parse('Hello, World!'); +var utf16 = EncUtf16.stringify(words); +var words = Core.enc.Utf16LE.parse('Hello, World!'); +var utf16 = Core.enc.Utf16LE.stringify(words); diff --git a/crypto-js/tsconfig.json b/crypto-js/tsconfig.json index 7fc335c24a..10865613d3 100644 --- a/crypto-js/tsconfig.json +++ b/crypto-js/tsconfig.json @@ -19,6 +19,7 @@ "files": [ "index.d.ts", "crypto-js-tests.ts", + "test/submodule-tests.ts", "core/index.d.ts", "x64-core/index.d.ts", "lib-typedarrays/index.d.ts", From 1221959579dc6d1795b05241f291d640751ad3ab Mon Sep 17 00:00:00 2001 From: James Milner Date: Wed, 25 Jan 2017 11:32:22 +0000 Subject: [PATCH 124/613] Adds clickable to marker options Adds clickable to marker options; this is currently omitted for one reason or another --- leaflet/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/leaflet/index.d.ts b/leaflet/index.d.ts index c031df81bc..4112082f54 100644 --- a/leaflet/index.d.ts +++ b/leaflet/index.d.ts @@ -1397,6 +1397,7 @@ declare namespace L { export interface MarkerOptions extends InteractiveLayerOptions { icon?: Icon; + clickable?: boolean; draggable?: boolean; keyboard?: boolean; title?: string; From e364a9dd6a0627b52a3aed03a86a45391ee54771 Mon Sep 17 00:00:00 2001 From: Kacper Polak Date: Wed, 25 Jan 2017 13:16:39 +0100 Subject: [PATCH 125/613] Add missing options to isInt method Missing options: `allow_leading_zeroes`: https://github.com/chriso/validator.js/blob/master/src/lib/isInt.js#L13 `lt`: https://github.com/chriso/validator.js/blob/master/src/lib/isInt.js#L20 `gt`: https://github.com/chriso/validator.js/blob/master/src/lib/isInt.js#L21 --- validator/index.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/validator/index.d.ts b/validator/index.d.ts index 0eae66c3c9..57107ae017 100644 --- a/validator/index.d.ts +++ b/validator/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for validator.js v5.7.0 // Project: https://github.com/chriso/validator.js -// Definitions by: tgfjt , Ilya Mochalov , Ayman Nedjmeddine , Louy Alakkad +// Definitions by: tgfjt , Ilya Mochalov , Ayman Nedjmeddine , Louy Alakkad , Kacper Polak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace ValidatorJS { @@ -276,6 +276,9 @@ declare namespace ValidatorJS { interface IsIntOptions { min?: number; max?: number; + allow_leading_zeroes?: boolean; + lt?: number; + gt?: number; } // options for IsLength From d8e58075a061bc85004701690fa512e98fc071a8 Mon Sep 17 00:00:00 2001 From: Kacper Polak Date: Wed, 25 Jan 2017 13:35:27 +0100 Subject: [PATCH 126/613] Increase version number --- validator/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/index.d.ts b/validator/index.d.ts index 57107ae017..ec1a74c19a 100644 --- a/validator/index.d.ts +++ b/validator/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for validator.js v5.7.0 +// Type definitions for validator.js v6.2.1 // Project: https://github.com/chriso/validator.js // Definitions by: tgfjt , Ilya Mochalov , Ayman Nedjmeddine , Louy Alakkad , Kacper Polak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From b2af2d23e5c0ff1f2e74390f6d93752a6631d594 Mon Sep 17 00:00:00 2001 From: Pablo Moleri Date: Wed, 25 Jan 2017 10:29:43 -0300 Subject: [PATCH 127/613] Move getLocation "Axis" overloads before string ones --- webdriverio/index.d.ts | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/webdriverio/index.d.ts b/webdriverio/index.d.ts index f033ec2bfc..b79b17e98d 100644 --- a/webdriverio/index.d.ts +++ b/webdriverio/index.d.ts @@ -352,37 +352,22 @@ declare namespace WebdriverIO { ): Client

; getHTML

(includeSelectorTag: boolean): Client

; - getLocation(selector?: string): Location; - getLocation(selector: string, axis: Axis): number; getLocation(axis: Axis): number; - getLocation

(selector?: string): Client

; - getLocation

( - selector: string, - axis: Axis - ): Client

; getLocation

(axis: Axis): Client

; + getLocation(selector?: string): Location; + getLocation

(selector?: string): Client

; + getLocation(selector: string, axis: Axis): number; + getLocation

(selector: string, axis: Axis): Client

; - getLocationInView(selector: string): Location; - getLocationInView(selector: string): Location[]; - getLocationInView(): Location; - getLocationInView(): Location[]; - getLocationInView( - selector: string, - axis: Axis - ): number; - getLocationInView( - selector: string, - axis: Axis - ): number[]; getLocationInView(axis: Axis): number; getLocationInView(axis: Axis): number[]; - getLocationInView

(selector?: string): Client

; - getLocationInView

( - selector: string, - axis: Axis - ): Client

; getLocationInView

(axis: Axis): Client

; - + getLocationInView(selector?: string): Location; + getLocationInView(selector?: string): Location[]; + getLocationInView

(selector?: string): Client

; + getLocationInView(selector: string, axis: Axis): number; + getLocationInView(selector: string, axis: Axis): number[]; + getLocationInView

(selector: string, axis: Axis): Client

; getSource(): Client; getSource

(): Client

; From f44f406cfb85deef684a7f26522e016ec4794cf6 Mon Sep 17 00:00:00 2001 From: Ernest Rhinozeros Date: Wed, 25 Jan 2017 15:42:39 +0100 Subject: [PATCH 128/613] Added declarations for 'leaflet.gridlayer.googlemutant'. --- leaflet.gridlayer.googlemutant/index.d.ts | 78 +++++++++++++++++++ .../leaflet.gridlayer.googlemutant-tests.ts | 13 ++++ leaflet.gridlayer.googlemutant/tsconfig.json | 20 +++++ leaflet.gridlayer.googlemutant/tslint.json | 1 + 4 files changed, 112 insertions(+) create mode 100644 leaflet.gridlayer.googlemutant/index.d.ts create mode 100644 leaflet.gridlayer.googlemutant/leaflet.gridlayer.googlemutant-tests.ts create mode 100644 leaflet.gridlayer.googlemutant/tsconfig.json create mode 100644 leaflet.gridlayer.googlemutant/tslint.json diff --git a/leaflet.gridlayer.googlemutant/index.d.ts b/leaflet.gridlayer.googlemutant/index.d.ts new file mode 100644 index 0000000000..2f62268fcd --- /dev/null +++ b/leaflet.gridlayer.googlemutant/index.d.ts @@ -0,0 +1,78 @@ +// Type definitions for leaflet.gridlayer.googlemutant 0.4 +// Project: https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant#README +// Definitions by: Ernest Rhinozeros +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +declare namespace L.GridLayer { + export interface GoogleMutant extends L.GridLayer { + setElementSize(e: HTMLElement, size: L.Point): void ; + } + + export type GoogleMutantType = 'roadmap' | 'satellite' | 'terrain' | 'hybrid'; + + export interface GoogleMutantStyler { + hue?: string; + lightness?: number; + saturation?: number; + gamma?: number; + invert_lightness?: boolean; + visibility?: string; + color?: string; + weight?: number; + } + + /** + * Google's map style. + * + * https://developers.google.com/maps/documentation/javascript/style-reference + */ + export interface GoogleMutantStyle { + + /** + * https://developers.google.com/maps/documentation/javascript/style-reference#style-features + */ + featureType?: string; + + /** + * https://developers.google.com/maps/documentation/javascript/style-reference#style-elements + */ + elementType?: string; + + /** + * https://developers.google.com/maps/documentation/javascript/style-reference#stylers + */ + stylers?: GoogleMutantStyler[]; + } + + export interface GoogleMutantOptions extends L.TileLayerOptions { + minZoom?: number; + maxZoom?: number; + maxNativeZoom?: number; + tileSize?: number | Point; + subdomains?: string | Array; + errorTileUrl?: string; + + /** + * The mutant container will add its own attribution anyways. + */ + attribution?: string; + + opacity?: number; + continuousWorld?: boolean, + noWrap?: boolean; + + /** + * Google's map type. 'hybrid' is not really supported. + */ + type?: GoogleMutantType; + + /** + * Google's map styles. + */ + styles?: GoogleMutantStyle[] + } + + export function googleMutant(options?: GoogleMutantOptions): GoogleMutant; +} diff --git a/leaflet.gridlayer.googlemutant/leaflet.gridlayer.googlemutant-tests.ts b/leaflet.gridlayer.googlemutant/leaflet.gridlayer.googlemutant-tests.ts new file mode 100644 index 0000000000..53e8dc3e1c --- /dev/null +++ b/leaflet.gridlayer.googlemutant/leaflet.gridlayer.googlemutant-tests.ts @@ -0,0 +1,13 @@ +let map = L.map('foo'); + +let roads = L.GridLayer.googleMutant({ + type: 'roadmap' +}).addTo(map); + +let styled = L.GridLayer.googleMutant({ + type: 'satellite', + styles: [ + { elementType: 'labels', stylers: [ { visibility: 'off' } ] }, + { featureType: 'water' , stylers: [ { color: '#444444' } ] } + ] +}).addTo(map); diff --git a/leaflet.gridlayer.googlemutant/tsconfig.json b/leaflet.gridlayer.googlemutant/tsconfig.json new file mode 100644 index 0000000000..2e8651b58b --- /dev/null +++ b/leaflet.gridlayer.googlemutant/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "leaflet.gridlayer.googlemutant-tests.ts" + ] +} diff --git a/leaflet.gridlayer.googlemutant/tslint.json b/leaflet.gridlayer.googlemutant/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/leaflet.gridlayer.googlemutant/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 9294d370402f80b83a397cca709897623ca1f1f1 Mon Sep 17 00:00:00 2001 From: "LAWO\\heinigu1" Date: Wed, 25 Jan 2017 15:58:19 +0100 Subject: [PATCH 129/613] Add tv4 --- chai-json-schema/chai-json-schema-tests.ts | 20 +++++++++++++++++--- chai-json-schema/index.d.ts | 5 +++++ 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/chai-json-schema/chai-json-schema-tests.ts b/chai-json-schema/chai-json-schema-tests.ts index 8559d3caae..d0c1234e17 100644 --- a/chai-json-schema/chai-json-schema-tests.ts +++ b/chai-json-schema/chai-json-schema-tests.ts @@ -9,19 +9,19 @@ import ChaiJsonSchema = require('chai-json-schema'); chai.use(ChaiJsonSchema); chai.should(); -let goodApple = { +const goodApple = { skin: 'thin', colors: ['red', 'green', 'yellow'], taste: 10 }; -let badApple = { +const badApple = { colors: ['brown'], taste: 0, worms: 2 }; -let fruitSchema = { +const fruitSchema = { title: 'fresh fruit schema v1', type: 'object', required: ['skin', 'colors', 'taste'], @@ -54,3 +54,17 @@ badApple.should.not.be.jsonSchema(fruitSchema); //tdd style assert.jsonSchema(goodApple, fruitSchema); assert.notJsonSchema(badApple, fruitSchema); + +// tv4 +const schema = { + items: { + type: 'boolean' + } +}; + +const data1 = [true, false]; +const data2 = [true, 123]; + +expect(chai.tv4.validate(data1, schema)).to.be.true; +expect(chai.tv4.validate(data2, schema)).to.be.false; + diff --git a/chai-json-schema/index.d.ts b/chai-json-schema/index.d.ts index e66e2c96af..1498510f9f 100644 --- a/chai-json-schema/index.d.ts +++ b/chai-json-schema/index.d.ts @@ -5,6 +5,7 @@ // // +import tv4 = require('tv4'); declare global { namespace Chai { @@ -16,6 +17,10 @@ declare global { export interface LanguageChains { jsonSchema(schema: any, msg?: string): void; } + + export interface ChaiStatic { + tv4: tv4.TV4; + } } } From 2b027af83cc72a439b7d1019a08b43fa74da8a5b Mon Sep 17 00:00:00 2001 From: Ernest Rhinozeros Date: Wed, 25 Jan 2017 16:27:09 +0100 Subject: [PATCH 130/613] Added declarations for 'leaflet.gridlayer.googlemutant'. fixed namespace name and linting --- leaflet.gridlayer.googlemutant/index.d.ts | 8 ++++---- .../leaflet.gridlayer.googlemutant-tests.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/leaflet.gridlayer.googlemutant/index.d.ts b/leaflet.gridlayer.googlemutant/index.d.ts index 2f62268fcd..a5fa96ae80 100644 --- a/leaflet.gridlayer.googlemutant/index.d.ts +++ b/leaflet.gridlayer.googlemutant/index.d.ts @@ -5,7 +5,7 @@ /// -declare namespace L.GridLayer { +declare namespace L.gridLayer { export interface GoogleMutant extends L.GridLayer { setElementSize(e: HTMLElement, size: L.Point): void ; } @@ -51,7 +51,7 @@ declare namespace L.GridLayer { maxZoom?: number; maxNativeZoom?: number; tileSize?: number | Point; - subdomains?: string | Array; + subdomains?: string | string[]; errorTileUrl?: string; /** @@ -60,7 +60,7 @@ declare namespace L.GridLayer { attribution?: string; opacity?: number; - continuousWorld?: boolean, + continuousWorld?: boolean; noWrap?: boolean; /** @@ -71,7 +71,7 @@ declare namespace L.GridLayer { /** * Google's map styles. */ - styles?: GoogleMutantStyle[] + styles?: GoogleMutantStyle[]; } export function googleMutant(options?: GoogleMutantOptions): GoogleMutant; diff --git a/leaflet.gridlayer.googlemutant/leaflet.gridlayer.googlemutant-tests.ts b/leaflet.gridlayer.googlemutant/leaflet.gridlayer.googlemutant-tests.ts index 53e8dc3e1c..797947f9c7 100644 --- a/leaflet.gridlayer.googlemutant/leaflet.gridlayer.googlemutant-tests.ts +++ b/leaflet.gridlayer.googlemutant/leaflet.gridlayer.googlemutant-tests.ts @@ -1,10 +1,10 @@ let map = L.map('foo'); -let roads = L.GridLayer.googleMutant({ +let roads = L.gridLayer.googleMutant({ type: 'roadmap' }).addTo(map); -let styled = L.GridLayer.googleMutant({ +let styled = L.gridLayer.googleMutant({ type: 'satellite', styles: [ { elementType: 'labels', stylers: [ { visibility: 'off' } ] }, From 9afce5b53134e3a4119f790db459ab7ef2798ccc Mon Sep 17 00:00:00 2001 From: Brian Hinken Date: Wed, 25 Jan 2017 10:54:20 -0500 Subject: [PATCH 131/613] angular-bootstrap-ui: Add missing configuration options & tests for ITooltipOptions --- angular-ui-bootstrap/angular-ui-bootstrap-tests.ts | 1 + angular-ui-bootstrap/index.d.ts | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts b/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts index b14af506b6..15f0f2b661 100644 --- a/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts +++ b/angular-ui-bootstrap/angular-ui-bootstrap-tests.ts @@ -155,6 +155,7 @@ testApp.config(( placement: 'bottom', animation: false, popupDelay: 1000, + popupCloseDelay: 1000, appendToBody: true, trigger: 'mouseenter hover', useContentExp: true, diff --git a/angular-ui-bootstrap/index.d.ts b/angular-ui-bootstrap/index.d.ts index b5b4e1a5e6..bc80d96b5a 100644 --- a/angular-ui-bootstrap/index.d.ts +++ b/angular-ui-bootstrap/index.d.ts @@ -161,7 +161,7 @@ declare module 'angular' { /** * Defines the initial date, when no model value is specified. - * + * * @default null */ initDate?: any; @@ -834,12 +834,19 @@ declare module 'angular' { animation?: boolean; /** - * For how long should the user have to have the mouse over the element before the tooltip shows (in milliseconds)? + * Popup delay in milliseconds until it opens. * * @default 0 */ popupDelay?: number; + /** + * For how long should the tooltip remain open after the close trigger event? + * + * @default 0 + */ + popupCloseDelay?: number; + /** * Should the tooltip be appended to `$body` instead of the parent element? * From 201dab6133daa473861a04631e2e6bc1abe914a8 Mon Sep 17 00:00:00 2001 From: york yao Date: Wed, 25 Jan 2017 23:58:49 +0800 Subject: [PATCH 132/613] add types of node-zookeeper-client --- node-zookeeper-client/index.d.ts | 168 ++++++++++++ .../node-zookeeper-client-tests.ts | 253 ++++++++++++++++++ node-zookeeper-client/tsconfig.json | 22 ++ node-zookeeper-client/tslint.json | 1 + 4 files changed, 444 insertions(+) create mode 100644 node-zookeeper-client/index.d.ts create mode 100644 node-zookeeper-client/node-zookeeper-client-tests.ts create mode 100644 node-zookeeper-client/tsconfig.json create mode 100644 node-zookeeper-client/tslint.json diff --git a/node-zookeeper-client/index.d.ts b/node-zookeeper-client/index.d.ts new file mode 100644 index 0000000000..f405aeffc7 --- /dev/null +++ b/node-zookeeper-client/index.d.ts @@ -0,0 +1,168 @@ +// Type definitions for Jasmine 2.5 +// Project: https://github.com/alexguan/node-zookeeper-client +// Definitions by: York Yao +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +import * as EventEmitter from "events"; + +export class Id { + scheme: string; + id: string; + constructor(scheme: string, id: string); +} + +export class ACL { + perms: number; + id: Id; + constructor(perms: number, id: Id); +} + +export const Permission: { + READ: number, + WRITE: number, + CREATE: number, + DELETE: number, + ADMIN: number, + ALL: number, +}; + +export interface Stat { + czxid: number; + mzxid: number; + ctime: number; + mtime: number; + version: number; + cversion: number; + aversion: number; + ephemeralOwner: number; + dataLength: number; + numChildren: number; + pzxid: number; +} + +export class State { + static DISCONNECTED: State; + static SYNC_CONNECTED: State; + static AUTH_FAILED: State; + static CONNECTED_READ_ONLY: State; + static SASL_AUTHENTICATED: State; + static EXPIRED: State; + + name: string; + code: number; + constructor(name: string, code: number); + toString(): string; +} + +export class Event { + static NODE_CREATED: number; + static NODE_DELETED: number; + static NODE_DATA_CHANGED: number; + static NODE_CHILDREN_CHANGED: number; + type: string; + name: string; + path: string; + constructor(type: string, name: string, path: string); + toString(): string; + getType(): string; + getName(): string; + getPath(): string; +} + +export class Transaction { + create(path: string, dataOrAclsOrmode1?: Buffer | ACL[] | number, dataOrAclsOrmode2?: Buffer | ACL[] | number, dataOrAclsOrmode3?: Buffer | ACL[] | number): this; + setData(path: string, data: Buffer | null, version?: number): this; + check(path: string, version?: number): this; + remove(path: string, version?: number): this; + commit(callback: (error: Error | Exception, results: any) => void): void; +} + +export class Client extends EventEmitter { + connect(): void; + close(): void; + create(path: string, callback: (error: Error | Exception, path: string) => void): void; + create(path: string, dataOrAclsOrmode1: Buffer | ACL[] | number, callback: (error: Error | Exception, path: string) => void): void; + create(path: string, dataOrAclsOrmode1: Buffer | ACL[] | number, dataOrAclsOrmode2: Buffer | ACL[] | number, callback: (error: Error | Exception, path: string) => void): void; + create(path: string, dataOrAclsOrmode1: Buffer | ACL[] | number, dataOrAclsOrmode2: Buffer | ACL[] | number, dataOrAclsOrmode3: Buffer | ACL[] | number, callback: (error: Error | Exception, path: string) => void): void; + remove(path: string, callback: (error: Error | Exception) => void): void; + remove(path: string, version: number, callback: (error: Error | Exception) => void): void; + exists(path: string, callback: (error: Error | Exception, stat: Stat) => void): void; + exists(path: string, watcher: (event: Event) => void, callback: (error: Error | Exception, stat: Stat) => void): void; + getChildren(path: string, callback: (error: Error | Exception, children: string[], stat: Stat) => void): void; + getChildren(path: string, watcher: (event: Event) => void, callback: (error: Error | Exception, children: string[], stat: Stat) => void): void; + getData(path: string, callback: (error: Error | Exception, data: Buffer, stat: Stat) => void): void; + getData(path: string, watcher: (event: Event) => void, callback: (error: Error | Exception, data: Buffer, stat: Stat) => void): void; + setData(path: string, data: Buffer | null, callback: (error: Error | Exception, stat: Stat) => void): void; + setData(path: string, data: Buffer | null, version: number, callback: (error: Error | Exception, stat: Stat) => void): void; + getACL(path: string, callback: (error: Error | Exception, acls: ACL[], stat: Stat) => void): void; + setACL(path: string, acls: ACL[], callback: (error: Error | Exception, stat: Stat) => void): void; + setACL(path: string, acls: ACL[], version: number, callback: (error: Error | Exception, stat: Stat) => void): void; + transaction(): Transaction; + mkdirp(path: string, callback: (error: Error | Exception, path: string) => void): void; + mkdirp(path: string, dataOrAclsOrmode1: Buffer | ACL[] | number, callback: (error: Error | Exception, path: string) => void): void; + mkdirp(path: string, dataOrAclsOrmode1: Buffer | ACL[] | number, dataOrAclsOrmode2: Buffer | ACL[] | number, callback: (error: Error | Exception, path: string) => void): void; + mkdirp(path: string, dataOrAclsOrmode1: Buffer | ACL[] | number, dataOrAclsOrmode2: Buffer | ACL[] | number, dataOrAclsOrmode3: Buffer | ACL[] | number, callback: (error: Error | Exception, path: string) => void): void; + addAuthInfo(scheme: string, auth: Buffer): void; + getState(): State; + getSessionId(): Buffer; + getSessionPassword(): Buffer; + getSessionTimeout(): number; + + on(event: "state", cb: (state: State) => void): this; + on(event: "connected" | "connectedReadOnly" | "disconnected" | "expired" | "authenticationFailed" | string, cb: () => void): this; + + once(event: "state", cb: (state: State) => void): this; + once(event: "connected" | "connectedReadOnly" | "disconnected" | "expired" | "authenticationFailed" | string, cb: () => void): this; + + addListener(event: "state", cb: (state: State) => void): this; + addListener(event: "connected" | "connectedReadOnly" | "disconnected" | "expired" | "authenticationFailed" | string, cb: () => void): this; +} + +export interface Option { + sessionTimeout: number; + spinDelay: number; + retries: number; +} + +export function createClient(connectionString: string, options?: Partial

wonderful world

'); +str = v('

wonderful world

').escapeHtml().value(); +str = v.chain('

wonderful world

').escapeHtml().value(); + +str = v.escapeRegExp(); +str = v.escapeRegExp('(hours)[minutes]{seconds}'); +str = v('(hours)[minutes]{seconds}').escapeRegExp().value(); +str = v.chain('(hours)[minutes]{seconds}').escapeRegExp().value(); + +str = v.unescapeHtml(); +str = v.unescapeHtml('<p>wonderful world</p>'); +str = v('<p>wonderful world</p>').unescapeHtml().value(); +str = v.chain('<p>wonderful world</p>').unescapeHtml().value(); + +// Format +str = v.sprintf(); +str = v.sprintf('%s, %s!', 'Hello', 'World'); +str = v.sprintf('%s costs $%d', 'coffee', 2); +str = v.sprintf('%1$s %2$s %1$s %2$s, watcha gonna %3$s', 'bad', 'boys', 'do') +str = v.sprintf('% 6s', 'bird'); +str = v.sprintf('%d %i %+d', 15, -2, 25); +str = v.sprintf("%06d", 15); +str = v.sprintf('%.2e %g', 100.5, 0.455); +str = v('%s, %s!').sprintf('Hello', 'World').value(); +str = v.chain('%s, %s!').sprintf('Hello', 'World').value(); + +str = v.vprintf(); +str = v.vprintf('%s', ['Welcome']) +str = v.vprintf('%s has %d apples', ['Alexandra', 3]); +str = v('%s').vprintf(['Welcome']).value(); +str = v.chain('%s').vprintf(['Welcome']).value(); + +// Index +num = v.indexOf(); +num = v.indexOf('morning'); +num = v.indexOf('morning', 'n'); +num = v('morning').indexOf('n'); +num = v.chain('morning').indexOf('n').value(); + +num = v.lastIndexOf(); +num = v.lastIndexOf('morning'); +num = v.lastIndexOf('morning', 'n'); +num = v('morning').lastIndexOf('n'); +num = v.chain('morning').lastIndexOf('n').value(); + +num = v.search('morning', /rn/); +num = v.search('evening', '/\d/'); + +// Manipulate +str = v.insert(); +str = v.insert('ct'); +str = v.insert('ct', 'a'); +str = v.insert('ct', 'a', 1); +str = v('ct').insert('a', 1).value(); +str = v.chain('ct').insert('a', 1).value(); + +str = v.latinise(); +str = v.latinise('cafe\u0301'); + +str = v.pad(); +str = v.pad('dog'); +str = v.pad('dog', 5); +str = v.pad('bird', 6, '-'); + +str = v.padLeft(); +str = v.padLeft('dog'); +str = v.padLeft('dog', 5); +str = v.padLeft('bird', 6, '-'); + +str = v.padRight(); +str = v.padRight('dog'); +str = v.padRight('dog', 5); +str = v.padRight('bird', 6, '-'); + +str = v.repeat(); +str = v.repeat('w'); +str = v.repeat('w', 3); + +str = v.replace(); +str = v.replace('swan', 'wa', 'u'); +str = v.replace('domestic duck', /domestic\s/, ''); +str = v.replace('nice duck', /(nice)(duck)/, (match: string, nice: string, duck: string) => { + return 'the ' + duck + ' is ' + nice; +}); + +str = v.replaceAll(); +str = v.replaceAll('good morning', 'o', '*'); +str = v.replaceAll('evening', /n/, 's'); + +str = v.reverse(); +str = v.reverse('winter'); + +str = v.reverseGrapheme(); +str = v.reverseGrapheme('summer'); + +str = v.slugify(); +str = v.slugify('Italian cappuccino drink'); + +str = v.splice(); +str = v.splice('new year'); +str = v.splice('new year', 0); +str = v.splice('new year', 0, 4); +str = v.splice('new year', 0, 3, 'happy'); + +str = v.trim(); +str = v.trim(' Mother nature '); +str = v.trim('--Earth--', '-'); + +str = v.trimLeft(); +str = v.trimLeft(' Starship Troopers'); +str = v.trimLeft('***Mobile Infantry', '*'); + +str = v.trimRight(); +str = v.trimRight('the fire rises '); +str = v.trimRight('do you feel in charge?!!!', '!'); + +str = v.wordWrap(); +str = v.wordWrap('Hello world'); +str = v.wordWrap('Hello world', { + width: 5 +}); +str = v.wordWrap('Hello world', { + width: 5, + newLine: '
', + indent: '__' +}); +str = v.wordWrap('Wonderful world', { + width: 5, + cut: true +}); + +// Query +bool = v.endsWith(); +bool = v.endsWith('red alert'); +bool = v.endsWith('red alert', 'alert'); +bool = v.endsWith('Murphy', 'ph', 5); +bool = v('Murphy').endsWith('ph', 5); +bool = v.chain('Murphy').endsWith('ph', 5).value(); + +bool = v.includes(); +bool = v.includes('starship'); +bool = v.includes('starship', 'star'); +bool = v.includes('galaxy', 'g', 1); +bool = v('galaxy').includes('g', 1); +bool = v.chain('galaxy').includes('g', 1).value(); + +bool = v.isAlpha(); +bool = v.isAlpha('bart'); + +bool = v.isAlphaDigit(); +bool = v.isAlphaDigit('year2020'); + +bool = v.isBlank(); +bool = v.isBlank(''); + +bool = v.isDigit(); +bool = v.isDigit('35'); + +bool = v.isEmpty(); +bool = v.isEmpty(''); + +bool = v.isLowerCase(); +bool = v.isLowerCase('motorcycle'); + +bool = v.isNumeric(); +bool = v.isNumeric('350'); + +bool = v.isString(); +bool = v.isString('vacation'); +bool = v.isString(560); +bool = v('vacation').isString(); +bool = v(560).isString(); +bool = v.chain('vacation').isString().value(); +bool = v.chain(560).isString().value(); + +bool = v.isUpperCase(); +bool = v.isUpperCase('ACDC'); + +bool = v.matches(); +bool = v.matches('pluto'); +bool = v.matches('pluto', /plu.{2}/); +bool = v.matches('sun', 'S', 'i'); +bool = v.matches('apollo 11', '\\d{3}'); + +bool = v.startsWith(); +bool = v.startsWith('say hello to my little friend'); +bool = v.startsWith('say hello to my little friend', 'say hello'); +bool = v.startsWith('tony', 'on', 1); +bool = v.startsWith('the world is yours', 'world'); + +// Split +strAry = v.chars(); +strAry = v.chars('cloud'); + +numAry = v.codePoints(); +numAry = v.codePoints('rain'); + +strAry = v.graphemes(); +strAry = v.graphemes('\uD835\uDC00\uD835\uDC01'); + +strAry = v.split('rage against the dying of the light', ' '); +strAry = v.split('the dying of the light', /\s/, 3); + +strAry = v.words(); +strAry = v.words('gravity can cross dimensions'); +strAry = v.words('Earth gravity', /[^\s]+/g); + +// Strip +str = v.stripBom(); +str = v.stripBom('\uFEFFsummertime sadness'); + +str = v.stripTags(); +str = v.stripTags('Summer is nice'); +str = v.stripTags('Winter is cold', ['b', 'i']); +str = v.stripTags('Sun
set', '', '-'); + +// Util +var voca: v.VocaStatic = v.noConflict(); +var version: String = v.version; From 3deb18520b97f86a82713ac656597360a0f95109 Mon Sep 17 00:00:00 2001 From: Kacper Polak Date: Wed, 25 Jan 2017 21:11:00 +0100 Subject: [PATCH 148/613] Delete tslint.json --- validator/tslint.json | 1 - 1 file changed, 1 deletion(-) delete mode 100644 validator/tslint.json diff --git a/validator/tslint.json b/validator/tslint.json deleted file mode 100644 index 377cc837d4..0000000000 --- a/validator/tslint.json +++ /dev/null @@ -1 +0,0 @@ -{ "extends": "../tslint.json" } From 4c4b7eb90069d7eb7acb32bab636c29a3ceddeeb Mon Sep 17 00:00:00 2001 From: Olmo del Corral Date: Wed, 25 Jan 2017 21:14:54 +0100 Subject: [PATCH 149/613] add defaultCurrentDate --- react-widgets/lib/DateTimePicker.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/react-widgets/lib/DateTimePicker.d.ts b/react-widgets/lib/DateTimePicker.d.ts index 37e1474416..3c4aadde29 100644 --- a/react-widgets/lib/DateTimePicker.d.ts +++ b/react-widgets/lib/DateTimePicker.d.ts @@ -31,6 +31,10 @@ interface DateTimePickerProps extends React.Props { * @default Date() */ currentDate?: Date; + /* + * Default value for current date. Usefull for suggesting a date when the caldenar opens without keep forcing it once 'value' is set. + */ + defaultCurrentDate?: Date /** * Change event Handler that is called when the currentDate is changed. The handler is * called with the currentDate object. From 1ad011f1f6668cc9ea8fe008ca53b6d38dfbd34f Mon Sep 17 00:00:00 2001 From: Olmo del Corral Date: Wed, 25 Jan 2017 21:22:54 +0100 Subject: [PATCH 150/613] add defaultOpen --- react-widgets/lib/DropdownList.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/react-widgets/lib/DropdownList.d.ts b/react-widgets/lib/DropdownList.d.ts index f8ac6d6579..aac6ba4765 100644 --- a/react-widgets/lib/DropdownList.d.ts +++ b/react-widgets/lib/DropdownList.d.ts @@ -87,10 +87,14 @@ interface DropdownListProps extends React.Props { onSearch?: (searchTerm: string) => void; /** * Whether or not the DropdownList is open. When unset (undefined) the DropdownList will - * handle the opening and closing internally. The defaultOpen prop can be used to set an - * initialization value for uncontrolled widgets. + * handle the opening and closing internally. */ open?: boolean; + /** + * The defaultOpen prop can be used to set an + * initialization value for uncontrolled widgets. + */ + defaultOpen?: boolean; /** * Called when the DropdownList is about to open or close. onToggle should be used when the * open prop is set otherwise the widget open buttons won't work. From f81b13123cfe681d066c39835685b730a74154be Mon Sep 17 00:00:00 2001 From: Michael McCarthy Date: Wed, 25 Jan 2017 15:38:11 -0500 Subject: [PATCH 151/613] Rewrite definitions and tests, add tslint. --- js-md5/index.d.ts | 61 +++++++++++++++++++----------------------- js-md5/js-md5-tests.ts | 44 +++++++++++++++++------------- js-md5/tsconfig.json | 7 +++-- js-md5/tslint.json | 3 +++ 4 files changed, 58 insertions(+), 57 deletions(-) create mode 100644 js-md5/tslint.json diff --git a/js-md5/index.d.ts b/js-md5/index.d.ts index db202ed628..9f6d7abc09 100644 --- a/js-md5/index.d.ts +++ b/js-md5/index.d.ts @@ -1,40 +1,33 @@ -// Type definitions for js-md5 v0.3.1 +// Type definitions for js-md5 v0.4.2 // Project: https://github.com/emn178/js-md5 -// Definitions by: Roland Greim , Michael McCarthy +// Definitions by: Michael McCarthy // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/ -/// +declare namespace md5 { + type message = string | any[] | Uint8Array | ArrayBuffer; -interface JQuery { - md5(value: string): string; - md5(value: Array): string; - md5(value: Uint8Array): string; - md5(value: ArrayBuffer): string; + interface Md5 { + array: () => number[]; + arrayBuffer: () => ArrayBuffer; + buffer: () => ArrayBuffer; + digest: () => number[]; + finalize: () => void; + hex: () => string; + toString: () => string; + update: (message: message) => Md5; + } + + interface md5 { + (message: message): string; + hex: (message: message) => string; + array: (message: message) => number[]; + digest: (message: message) => number[]; + arrayBuffer: (message: message) => ArrayBuffer; + buffer: (message: message) => ArrayBuffer; + create: () => Md5; + update: (message: message) => Md5; + } } -interface JQueryStatic { - md5(value: string): string; - md5(value: Array): string; - md5(value: Uint8Array): string; - md5(value: ArrayBuffer): string; -} - -interface md5 { - (value: string): string; - (value: Array): string; - (value: Uint8Array): string; - (value: ArrayBuffer): string; -} - -interface String { - md5(value: string): string; - md5(value: Array): string; - md5(value: Uint8Array): string; - md5(value: ArrayBuffer): string; -} - -declare module "js-md5" { - export = md5; -} - -declare var md5: md5; +declare const md5: md5.md5; +export = md5; diff --git a/js-md5/js-md5-tests.ts b/js-md5/js-md5-tests.ts index 77b10c09ce..e77ed82d8e 100644 --- a/js-md5/js-md5-tests.ts +++ b/js-md5/js-md5-tests.ts @@ -1,23 +1,29 @@ +import * as md5 from "js-md5"; +let str: string = md5.hex('The quick brown fox jumps over the lazy dog'); +str = md5('The quick brown fox jumps over the lazy dog'); +let arr: number[] = md5.digest('The quick brown fox jumps over the lazy dog'); +arr = md5.array('The quick brown fox jumps over the lazy dog'); +let buf: ArrayBuffer = md5.arrayBuffer('The quick brown fox jumps over the lazy dog'); +buf = md5.buffer('The quick brown fox jumps over the lazy dog'); -md5('Message to hash'); -md5(''); -md5('中文'); -md5([]); -md5(new Uint8Array([])); -md5(new ArrayBuffer(0)); +const hash1 = md5.create(); +hash1.update('The quick brown fox jumps over the lazy dog'); +str = hash1.hex(); +str = hash1.toString(); +arr = hash1.digest(); +arr = hash1.array(); +buf = hash1.arrayBuffer(); +buf = hash1.buffer(); -$.md5('message'); -$.md5('Message to hash'); -$.md5(''); -$.md5('中文'); -$.md5([]); -$.md5(new Uint8Array([])); -$.md5(new ArrayBuffer(0)); +const hash2 = md5.update('The quick brown fox jumps over the lazy dog'); +str = hash2.hex(); +str = hash2.toString(); +arr = hash2.digest(); +arr = hash2.array(); +buf = hash2.arrayBuffer(); +buf = hash2.buffer(); -'message'.md5('Message to hash'); -'message'.md5(''); -'message'.md5('中文'); -'message'.md5([]); -'message'.md5(new Uint8Array([])); -'message'.md5(new ArrayBuffer(0)); \ No newline at end of file +str = md5([]); +str = md5(new Uint8Array([])); +str = md5(new ArrayBuffer(0)); diff --git a/js-md5/tsconfig.json b/js-md5/tsconfig.json index eceeb1fb3d..f0ae291e30 100644 --- a/js-md5/tsconfig.json +++ b/js-md5/tsconfig.json @@ -2,12 +2,11 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6", - "dom" + "es6" ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" @@ -20,4 +19,4 @@ "index.d.ts", "js-md5-tests.ts" ] -} \ No newline at end of file +} diff --git a/js-md5/tslint.json b/js-md5/tslint.json new file mode 100644 index 0000000000..f9e30021f4 --- /dev/null +++ b/js-md5/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "../tslint.json" +} From cf15d34bc47ea7a7b4e553ebb749e76e91bf36b7 Mon Sep 17 00:00:00 2001 From: Michael McCarthy Date: Wed, 25 Jan 2017 15:44:52 -0500 Subject: [PATCH 152/613] Replace stray tab with spaces --- js-md5/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-md5/index.d.ts b/js-md5/index.d.ts index 9f6d7abc09..f28a3eef80 100644 --- a/js-md5/index.d.ts +++ b/js-md5/index.d.ts @@ -22,7 +22,7 @@ declare namespace md5 { hex: (message: message) => string; array: (message: message) => number[]; digest: (message: message) => number[]; - arrayBuffer: (message: message) => ArrayBuffer; + arrayBuffer: (message: message) => ArrayBuffer; buffer: (message: message) => ArrayBuffer; create: () => Md5; update: (message: message) => Md5; From 0b4f4a2538fcae6fd25fd4c4e99e3b576cbf8746 Mon Sep 17 00:00:00 2001 From: Michael McCarthy Date: Wed, 25 Jan 2017 16:09:28 -0500 Subject: [PATCH 153/613] Edit import to use require, fix version number --- js-md5/index.d.ts | 2 +- js-md5/js-md5-tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js-md5/index.d.ts b/js-md5/index.d.ts index f28a3eef80..4f1a1b351e 100644 --- a/js-md5/index.d.ts +++ b/js-md5/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for js-md5 v0.4.2 +// Type definitions for js-md5 v0.4 // Project: https://github.com/emn178/js-md5 // Definitions by: Michael McCarthy // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/ diff --git a/js-md5/js-md5-tests.ts b/js-md5/js-md5-tests.ts index e77ed82d8e..231b12ebf2 100644 --- a/js-md5/js-md5-tests.ts +++ b/js-md5/js-md5-tests.ts @@ -1,4 +1,4 @@ -import * as md5 from "js-md5"; +import md5 = require("js-md5"); let str: string = md5.hex('The quick brown fox jumps over the lazy dog'); str = md5('The quick brown fox jumps over the lazy dog'); From cfdd4d3496b96711bc9fa2600213a9dd244875a2 Mon Sep 17 00:00:00 2001 From: Michael McCarthy Date: Wed, 25 Jan 2017 16:13:11 -0500 Subject: [PATCH 154/613] Remove v from version number --- js-md5/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-md5/index.d.ts b/js-md5/index.d.ts index 4f1a1b351e..41f19fba42 100644 --- a/js-md5/index.d.ts +++ b/js-md5/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for js-md5 v0.4 +// Type definitions for js-md5 0.4 // Project: https://github.com/emn178/js-md5 // Definitions by: Michael McCarthy // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped/ From fbe1aee12d05e849bb728896a20b1b30e53758f8 Mon Sep 17 00:00:00 2001 From: Jeff Kenney Date: Wed, 25 Jan 2017 11:58:55 -0800 Subject: [PATCH 155/613] knex: use import = require() syntax --- knex/index.d.ts | 4 ++-- knex/knex-tests.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/knex/index.d.ts b/knex/index.d.ts index 910bab9d04..5196f47eb0 100644 --- a/knex/index.d.ts +++ b/knex/index.d.ts @@ -6,8 +6,8 @@ /// /// -import * as events from "events"; -import * as Promise from "bluebird"; +import events = require("events"); +import Promise = require("bluebird"); type Callback = Function; type Client = Function; diff --git a/knex/knex-tests.ts b/knex/knex-tests.ts index 8c1878760b..420aafd724 100644 --- a/knex/knex-tests.ts +++ b/knex/knex-tests.ts @@ -1,7 +1,7 @@ "use strict"; -import * as Knex from 'knex'; -import * as Promise from 'bluebird'; -import * as _ from 'lodash'; +import Knex = require('knex'); +import Promise = require('bluebird'); +import _ = require('lodash'); // Initializing the Library var knex = Knex({ From 82634e7bfbc82d4224e20fc3561fc91b91875672 Mon Sep 17 00:00:00 2001 From: Michael McCarthy Date: Wed, 25 Jan 2017 16:27:38 -0500 Subject: [PATCH 156/613] Remove finalize from Md5 interface --- js-md5/index.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/js-md5/index.d.ts b/js-md5/index.d.ts index 41f19fba42..690279bbe4 100644 --- a/js-md5/index.d.ts +++ b/js-md5/index.d.ts @@ -11,7 +11,6 @@ declare namespace md5 { arrayBuffer: () => ArrayBuffer; buffer: () => ArrayBuffer; digest: () => number[]; - finalize: () => void; hex: () => string; toString: () => string; update: (message: message) => Md5; From 68f67afc33480c9e218fe5d8c31b26b1e07b0c93 Mon Sep 17 00:00:00 2001 From: Olmo del Corral Date: Wed, 25 Jan 2017 22:34:16 +0100 Subject: [PATCH 157/613] fix semicolon and add DateTimePicker defaultOpen --- react-widgets/lib/DateTimePicker.d.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/react-widgets/lib/DateTimePicker.d.ts b/react-widgets/lib/DateTimePicker.d.ts index 3c4aadde29..fe090507d3 100644 --- a/react-widgets/lib/DateTimePicker.d.ts +++ b/react-widgets/lib/DateTimePicker.d.ts @@ -34,7 +34,7 @@ interface DateTimePickerProps extends React.Props { /* * Default value for current date. Usefull for suggesting a date when the caldenar opens without keep forcing it once 'value' is set. */ - defaultCurrentDate?: Date + defaultCurrentDate?: Date; /** * Change event Handler that is called when the currentDate is changed. The handler is * called with the currentDate object. @@ -97,11 +97,16 @@ interface DateTimePickerProps extends React.Props { onSelect?: (date?: Date) => void; /** * Whether or not the DateTimePicker is open. When unset (undefined) the DateTimePicker will - * handle the opening and closing internally. The defaultOpen prop can be used to set an - * initialization value for uncontrolled widgets. + * handle the opening and closing internally. * @enum false "calendar" "time" */ open?: boolean | "calendar" | "time"; + /** + * The defaultOpen prop can be used to set an + * initialization value for uncontrolled widgets. + * @enum false "calendar" "time" + */ + defaultOpen?: boolean | "calendar" | "time"; /** * Called when the DateTimePicker is about to open or close. onToggle should be used when * the open prop is set otherwise the widget will never open or close. From 1934bbf00f9981b0250c5a57db046b5318eb7c2c Mon Sep 17 00:00:00 2001 From: Olmo del Corral Date: Wed, 25 Jan 2017 23:04:21 +0100 Subject: [PATCH 158/613] switch tab -> spaces --- react-widgets/lib/DateTimePicker.d.ts | 2 +- react-widgets/lib/DropdownList.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/react-widgets/lib/DateTimePicker.d.ts b/react-widgets/lib/DateTimePicker.d.ts index fe090507d3..6428927cf4 100644 --- a/react-widgets/lib/DateTimePicker.d.ts +++ b/react-widgets/lib/DateTimePicker.d.ts @@ -31,7 +31,7 @@ interface DateTimePickerProps extends React.Props { * @default Date() */ currentDate?: Date; - /* + /* * Default value for current date. Usefull for suggesting a date when the caldenar opens without keep forcing it once 'value' is set. */ defaultCurrentDate?: Date; diff --git a/react-widgets/lib/DropdownList.d.ts b/react-widgets/lib/DropdownList.d.ts index aac6ba4765..52a8e83a99 100644 --- a/react-widgets/lib/DropdownList.d.ts +++ b/react-widgets/lib/DropdownList.d.ts @@ -90,11 +90,11 @@ interface DropdownListProps extends React.Props { * handle the opening and closing internally. */ open?: boolean; - /** + /** * The defaultOpen prop can be used to set an * initialization value for uncontrolled widgets. */ - defaultOpen?: boolean; + defaultOpen?: boolean; /** * Called when the DropdownList is about to open or close. onToggle should be used when the * open prop is set otherwise the widget open buttons won't work. From df1efcebfb309e85d4d22cccec8cd42b6a9236bb Mon Sep 17 00:00:00 2001 From: Andy Hanson Date: Wed, 25 Jan 2017 14:08:40 -0800 Subject: [PATCH 159/613] Issue template: Clarify that authors should be found in the header --- ISSUE_TEMPLATE.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md index a9ae498738..252df5994f 100644 --- a/ISSUE_TEMPLATE.md +++ b/ISSUE_TEMPLATE.md @@ -1,5 +1,4 @@ -- [ ] I tried using the latest `xxxx/xxxx.d.ts` file in this repo and had problems. +- [ ] I tried using the `@types/xxxx` package and had problems. - [ ] I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript - [ ] I have a question that is inappropriate for [StackOverflow](https://stackoverflow.com/). (Please ask any appropriate questions there). -- [ ] I want to talk about `xxxx/xxxx.d.ts`. - - The authors of that type definition are cc/ @.... +- The authors (see `Definitions by:` in `index.d.ts`) are cc/ @.... From 59244e309ee9dbf6de35e3c9a8454940e4d70dff Mon Sep 17 00:00:00 2001 From: york yao Date: Thu, 26 Jan 2017 07:26:23 +0800 Subject: [PATCH 160/613] add typescript version --- node-zookeeper-client/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/node-zookeeper-client/index.d.ts b/node-zookeeper-client/index.d.ts index f405aeffc7..cb9979e9f4 100644 --- a/node-zookeeper-client/index.d.ts +++ b/node-zookeeper-client/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/alexguan/node-zookeeper-client // Definitions by: York Yao // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// From 2157659af755ca9ab5fc959562f5033c5d7a1398 Mon Sep 17 00:00:00 2001 From: Leonard Thieu Date: Wed, 25 Jan 2017 20:11:21 -0500 Subject: [PATCH 161/613] Add type definitions for semantic-ui. --- semantic-ui/index.d.ts | 5434 ++++++++++++++++++++++++++++++ semantic-ui/semantic-ui-tests.ts | 140 + semantic-ui/tsconfig.json | 20 + semantic-ui/tslint.json | 3 + 4 files changed, 5597 insertions(+) create mode 100644 semantic-ui/index.d.ts create mode 100644 semantic-ui/semantic-ui-tests.ts create mode 100644 semantic-ui/tsconfig.json create mode 100644 semantic-ui/tslint.json diff --git a/semantic-ui/index.d.ts b/semantic-ui/index.d.ts new file mode 100644 index 0000000000..0c8ddda9be --- /dev/null +++ b/semantic-ui/index.d.ts @@ -0,0 +1,5434 @@ +// Type definitions for Semantic UI 2.2 +// Project: http://semantic-ui.com/ +// Definitions by: Leonard Thieu +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +// tslint:disable:unified-signatures + +interface JQuery { + // TODO: Do all modules have a 'setting' behavior? + + // region Modules + + // region Accordion + + /** + * Refreshes all cached selectors and data + */ + accordion(behavior: 'refresh'): JQuery; + /** + * Opens accordion content at index + */ + accordion(behavior: 'open', index: number): JQuery; + /** + * Closes accordion content that are not active + */ + accordion(behavior: 'close others'): JQuery; + /** + * Closes accordion content at index + */ + accordion(behavior: 'close', index: number): JQuery; + /** + * Toggles accordion content at index + */ + accordion(behavior: 'toggle', index: number): JQuery; + accordion(settings: SemanticUI.AccordionSettings): JQuery; + accordion(): JQuery; + + // endregion + + // region Checkbox + + /** + * Switches a checkbox from current state + */ + checkbox(behavior: 'toggle'): JQuery; + /** + * Set a checkbox state to checked + */ + checkbox(behavior: 'check'): JQuery; + /** + * Set a checkbox state to unchecked + */ + checkbox(behavior: 'uncheck'): JQuery; + /** + * Set as indeterminate checkbox + */ + checkbox(behavior: 'indeterminate'): JQuery; + /** + * Set as determinate checkbox + */ + checkbox(behavior: 'determinate'): JQuery; + /** + * Enable interaction with a checkbox + */ + checkbox(behavior: 'enable'): JQuery; + /** + * Set a checkbox state to checked without callbacks + */ + checkbox(behavior: 'set checked'): JQuery; + /** + * Set a checkbox state to unchecked without callbacks + */ + checkbox(behavior: 'set unchecked'): JQuery; + /** + * Set as indeterminate checkbox without callbacks + */ + checkbox(behavior: 'set indeterminate'): JQuery; + /** + * Set as determinate checkbox without callbacks + */ + checkbox(behavior: 'set determinate'): JQuery; + /** + * Enable interaction with a checkbox without callbacks + */ + checkbox(behavior: 'set enabled'): JQuery; + /** + * Disable interaction with a checkbox without callbacks + */ + checkbox(behavior: 'set disabled'): JQuery; + /** + * Attach checkbox events to another element + */ + checkbox(behavior: 'attach events', selector: string, event: string): JQuery; + /** + * Returns whether element is radio selection + */ + checkbox(behavior: 'is radio'): boolean; + /** + * Returns whether element is currently checked + */ + checkbox(behavior: 'is checked'): boolean; + /** + * Returns whether element is not checked + */ + checkbox(behavior: 'is unchecked'): boolean; + /** + * Returns whether element is able to be changed + */ + checkbox(behavior: 'can change'): boolean; + /** + * Returns whether element can be checked (checking if already checked or `beforeChecked` would cancel) + */ + checkbox(behavior: 'should allow check'): boolean; + /** + * Returns whether element can be unchecked (checking if already unchecked or `beforeUnchecked` would cancel) + */ + checkbox(behavior: 'should allow uncheck'): boolean; + /** + * Returns whether element can be determinate (checking if already determinate or `beforeDeterminate` would cancel) + */ + checkbox(behavior: 'should allow determinate'): boolean; + /** + * Returns whether element can be indeterminate (checking if already indeterminate or `beforeIndeterminate` would cancel) + */ + checkbox(behavior: 'should allow indeterminate'): boolean; + /** + * Returns whether element is able to be unchecked + */ + checkbox(behavior: 'can uncheck'): boolean; + checkbox(settings: SemanticUI.CheckboxSettings): JQuery; + checkbox(): JQuery; + + // endregion + + // region Dimmer + + /** + * Detaches a given element from DOM and reattaches element inside dimmer + */ + dimmer(behavior: 'add content', element: SemanticUI.Selector): JQuery; + /** + * Shows dimmer + */ + dimmer(behavior: 'show'): JQuery; + /** + * Hides dimmer + */ + dimmer(behavior: 'hide'): JQuery; + /** + * Toggles current dimmer visibility + */ + dimmer(behavior: 'toggle'): JQuery; + /** + * Changes dimmer opacity + */ + dimmer(behavior: 'set opacity', opacity: number): JQuery; + /** + * Creates a new dimmer in dimmable context + */ + dimmer(behavior: 'create'): JQuery; + /** + * Returns current duration for show or hide event depending on current visibility + */ + dimmer(behavior: 'get duration'): number; + /** + * Returns DOM element for dimmer + */ + dimmer(behavior: 'get dimmer'): JQuery; + /** + * Returns whether current dimmable has a dimmer + */ + dimmer(behavior: 'has dimmer'): boolean; + /** + * Whether section's dimmer is active + */ + dimmer(behavior: 'is active'): boolean; + /** + * Whether dimmer is animating + */ + dimmer(behavior: 'is animating'): boolean; + /** + * Whether current element is a dimmer + */ + dimmer(behavior: 'is dimmer'): boolean; + /** + * Whether current element is a dimmable section + */ + dimmer(behavior: 'is dimmable'): boolean; + /** + * Whether dimmer is disabled + */ + dimmer(behavior: 'is disabled'): boolean; + /** + * Whether dimmer is not disabled + */ + dimmer(behavior: 'is enabled'): boolean; + /** + * Whether dimmable section is body + */ + dimmer(behavior: 'is page'): boolean; + /** + * Whether dimmer is a page dimmer + */ + dimmer(behavior: 'is page dimmer'): boolean; + /** + * Sets page dimmer to active + */ + dimmer(behavior: 'set active'): JQuery; + /** + * Sets an element as a dimmable section + */ + dimmer(behavior: 'set dimmable'): JQuery; + /** + * Sets a dimmable section as dimmed + */ + dimmer(behavior: 'set dimmed'): JQuery; + /** + * Sets current dimmer as a page dimmer + */ + dimmer(behavior: 'set page dimmer'): JQuery; + /** + * Sets a dimmer as disabled + */ + dimmer(behavior: 'set disabled'): JQuery; + dimmer(settings: SemanticUI.DimmerSettings): JQuery; + dimmer(): JQuery; + + // endregion + + // region Dropdown + + // TODO: Should 'value'/'values' parameters be of type 'string' instead of 'any'? + + /** + * Recreates dropdown menu from select option values. + */ + dropdown(behavior: 'setup menu'): JQuery; + /** + * Refreshes all cached selectors and data + */ + dropdown(behavior: 'refresh'): JQuery; + /** + * Toggles current visibility of dropdown + */ + dropdown(behavior: 'toggle'): JQuery; + /** + * Shows dropdown + */ + dropdown(behavior: 'show'): JQuery; + /** + * Hides dropdown + */ + dropdown(behavior: 'hide'): JQuery; + /** + * Clears dropdown of selection + */ + dropdown(behavior: 'clear'): JQuery; + /** + * Hides all other dropdowns that is not current dropdown + */ + dropdown(behavior: 'hide others'): JQuery; + /** + * Restores dropdown text and value to its value on page load + */ + dropdown(behavior: 'restore defaults'): JQuery; + /** + * Restores dropdown text to its value on page load + */ + dropdown(behavior: 'restore default text'): JQuery; + /** + * Restores dropdown text to its prompt, placeholder text + */ + dropdown(behavior: 'restore placeholder text'): JQuery; + /** + * Restores dropdown value to its value on page load + */ + dropdown(behavior: 'restore default value'): JQuery; + /** + * Saves current text and value as new defaults (for use with restore) + */ + dropdown(behavior: 'save defaults'): JQuery; + /** + * Sets value as selected + */ + dropdown(behavior: 'set selected', value: any): JQuery; + /** + * Remove value from selected + */ + dropdown(behavior: 'remove selected', value: any): JQuery; + /** + * Adds a group of values as selected + */ + dropdown(behavior: 'set selected', values: any[]): JQuery; + /** + * Sets selected values to exactly specified values, removing current selection + */ + dropdown(behavior: 'set exactly', values: any[]): JQuery; + /** + * Sets dropdown text to a value + */ + dropdown(behavior: 'set text', text: string): JQuery; + /** + * Sets dropdown input to value (does not update display state) + */ + dropdown(behavior: 'set value', value: any): JQuery; + /** + * Returns current dropdown text + */ + dropdown(behavior: 'get text'): string; + /** + * Returns current dropdown input value + */ + dropdown(behavior: 'get value'): any; + /** + * Returns DOM element that matches a given input value + */ + dropdown(behavior: 'get item', value: any): JQuery; + /** + * Adds touch events to element + */ + dropdown(behavior: 'bind touch events'): JQuery; + /** + * Adds mouse events to element + */ + dropdown(behavior: 'bind mouse events'): JQuery; + /** + * Binds a click to document to determine if you click away from a dropdown + */ + dropdown(behavior: 'bind intent'): JQuery; + /** + * Unbinds document intent click + */ + dropdown(behavior: 'unbind intent'): JQuery; + /** + * Returns whether event occurred inside dropdown + */ + dropdown(behavior: 'determine intent'): boolean; + /** + * Triggers preset item selection action based on settings passing text/value + */ + dropdown(behavior: 'determine select action', text: string, value: any): JQuery; + /** + * Sets dropdown to active state + */ + dropdown(behavior: 'set active'): JQuery; + /** + * Sets dropdown to visible state + */ + dropdown(behavior: 'set visible'): JQuery; + /** + * Removes dropdown active state + */ + dropdown(behavior: 'remove active'): JQuery; + /** + * Removes dropdown visible state + */ + dropdown(behavior: 'remove visible'): JQuery; + /** + * Returns whether dropdown is a selection dropdown + */ + dropdown(behavior: 'is selection'): boolean; + /** + * Returns whether dropdown is animated + */ + dropdown(behavior: 'is animated'): boolean; + /** + * Returns whether dropdown is visible + */ + dropdown(behavior: 'is visible'): boolean; + /** + * Returns whether dropdown is hidden + */ + dropdown(behavior: 'is hidden'): boolean; + /** + * Returns dropdown value as set on page load + */ + dropdown(behavior: 'get default text'): string; + /** + * Returns placeholder text + */ + dropdown(behavior: 'get placeholder text'): string; + dropdown(settings: SemanticUI.DropdownSettings): JQuery; + dropdown(): JQuery; + + // endregion + + // region Embed + + /** + * Changes iframe to a new content source + */ + embed(behavior: 'change', source: string, id: string, url: string): JQuery; + /** + * Removes embed and shows placeholder content if available + */ + embed(behavior: 'reset'): JQuery; + /** + * Shows embed content + */ + embed(behavior: 'show'): JQuery; + /** + * Hides embed content and shows placeholder content + */ + embed(behavior: 'hide'): JQuery; + /** + * Returns current content id + */ + embed(behavior: 'get id'): string; + /** + * Returns placeholder image url + */ + embed(behavior: 'get placeholder'): string; + /** + * Returns source name + */ + embed(behavior: 'get sources'): string; + /** + * Returns source type + */ + embed(behavior: 'get type'): string; + /** + * Returns URL with all parameters added + */ + embed(behavior: 'get url'): string; + /** + * Returns whether embed content has placeholder + */ + embed(behavior: 'has placeholder'): boolean; + /** + * Destroys instance and removes all events + */ + embed(behavior: 'destroy'): JQuery; + embed(settings: SemanticUI.EmbedSettings): JQuery; + embed(): JQuery; + + // endregion + + // region Modal + + /** + * Shows the modal + */ + modal(behavior: 'show'): JQuery; + /** + * Hides the modal + */ + modal(behavior: 'hide'): JQuery; + /** + * Toggles the modal + */ + modal(behavior: 'toggle'): JQuery; + /** + * Refreshes centering of modal on page + */ + modal(behavior: 'refresh'): JQuery; + /** + * Shows associated page dimmer + */ + modal(behavior: 'show dimmer'): JQuery; + /** + * Hides associated page dimmer + */ + modal(behavior: 'hide dimmer'): JQuery; + /** + * Hides all modals not selected modal in a dimmer + */ + modal(behavior: 'hide others'): JQuery; + /** + * Hides all visible modals in the same dimmer + */ + modal(behavior: 'hide all'): JQuery; + /** + * Caches current modal size + */ + modal(behavior: 'cache sizes'): JQuery; + /** + * Returns whether the modal can fit on the page + */ + modal(behavior: 'can fit'): boolean; + /** + * Returns whether the modal is active + */ + modal(behavior: 'is active'): boolean; + /** + * Sets modal to active + */ + modal(behavior: 'set active'): JQuery; + modal(behavior: 'attach events', selector: SemanticUI.Selector, event?: string): JQuery; + modal(behavior: 'setting', name: string, value: any): JQuery; + modal(settings: SemanticUI.ModalSettings): JQuery; + modal(): JQuery; + + // endregion + + // region Nag + + // TODO: Documentation is lacking. Is it possible to infer intended behaviors? + + nag(behavior: 'show'): JQuery; + /** + * Clears cookie so nag shows again + */ + nag(behavior: 'clear'): JQuery; + nag(settings: SemanticUI.NagSettings): JQuery; + + // endregion + + // region Popup + + /** + * Shows popup + */ + popup(behavior: 'show'): JQuery; + /** + * Hides popup + */ + popup(behavior: 'hide'): JQuery; + /** + * Hides all visible pop ups on the page + */ + popup(behavior: 'hide all'): JQuery; + /** + * Returns current popup dom element + */ + popup(behavior: 'get popup'): JQuery; + /** + * Changes current popup content + */ + popup(behavior: 'change content', html: string): JQuery; + /** + * Toggles visibility of popup + */ + popup(behavior: 'toggle'): JQuery; + /** + * Returns whether popup is visible + */ + popup(behavior: 'is visible'): boolean; + /** + * Returns whether popup is hidden + */ + popup(behavior: 'is hidden'): boolean; + /** + * Returns whether popup is created and inserted into the page + */ + popup(behavior: 'exists'): boolean; + /** + * Adjusts popup when content size changes (only necessary for centered popups) + */ + popup(behavior: 'reposition'): JQuery; + /** + * Repositions a popup + */ + popup(behavior: 'set position', position: string): JQuery; + /** + * Removes popup from the page and removes all events + */ + popup(behavior: 'destroy'): JQuery; + /** + * Removes popup from the page + */ + popup(behavior: 'remove popup'): JQuery; + popup(settings: SemanticUI.PopupSettings): JQuery; + popup(): JQuery; + + // endregion + + // region Progress + + /** + * Sets current percent of progress to value. If using a total will convert from percent to estimated value. + */ + progress(behavior: 'set percent', percent: number): JQuery; + /** + * Sets progress to specified value. Will automatically calculate percent from total. + */ + progress(behavior: 'set progress', value: number): JQuery; + /** + * Increments progress by increment value, if not passed a value will use random amount specified in settings + */ + progress(behavior: 'increment', incrementValue: number): JQuery; + /** + * Decrements progress by decrement value, if not passed a value will use random amount specified in settings + */ + progress(behavior: 'decrement', decrementValue: number): JQuery; + /** + * Immediately updates progress to value, ignoring progress animation interval delays + */ + progress(behavior: 'update progress', value: number): JQuery; + /** + * Finishes progress and sets loaded to 100% + */ + progress(behavior: 'complete'): JQuery; + /** + * Resets progress to zero + */ + progress(behavior: 'reset'): JQuery; + /** + * Set total to a new value + */ + progress(behavior: 'set total', total: number): JQuery; + /** + * Replaces templated string with value, total, percent left and percent. + */ + progress(behavior: 'get text', text: string): string; + /** + * Returns normalized value inside acceptable range specified by total. + */ + progress(behavior: 'get normalized value', value: number): number; + /** + * Returns percent as last specified + */ + progress(behavior: 'get percent'): number; + /** + * Returns current progress value + */ + progress(behavior: 'get value'): number; + /** + * Returns total + */ + progress(behavior: 'get total'): number; + /** + * Returns whether progress is completed + */ + progress(behavior: 'is complete'): boolean; + /** + * Returns whether progress was a success + */ + progress(behavior: 'is success'): boolean; + /** + * Returns whether progress is in warning state + */ + progress(behavior: 'is warning'): boolean; + /** + * Returns whether progress is in error state + */ + progress(behavior: 'is error'): boolean; + /** + * Returns whether progress is in active state + */ + progress(behavior: 'is active'): boolean; + /** + * Sets progress to active state + */ + progress(behavior: 'set active'): JQuery; + /** + * Sets progress to warning state + */ + progress(behavior: 'set warning'): JQuery; + /** + * Sets progress to success state + */ + progress(behavior: 'set success'): JQuery; + /** + * Sets progress to error state + */ + progress(behavior: 'set error'): JQuery; + /** + * Changes progress animation speed + */ + progress(behavior: 'set duration', value: number): JQuery; + /** + * Sets progress exterior label to text + */ + progress(behavior: 'set label', text: string): JQuery; + /** + * Sets progress bar label to text + */ + progress(behavior: 'set bar label', text: string): JQuery; + /** + * Removes progress to active state + */ + progress(behavior: 'remove active'): JQuery; + /** + * Removes progress to warning state + */ + progress(behavior: 'remove warning'): JQuery; + /** + * Removes progress to success state + */ + progress(behavior: 'remove success'): JQuery; + /** + * Removes progress to error state + */ + progress(behavior: 'remove error'): JQuery; + progress(settings: SemanticUI.ProgressSettings): JQuery; + progress(): JQuery; + + // endregion + + // region Rating + + /** + * Sets rating programmatically + */ + rating(behavior: 'set rating', rating: number): JQuery; + /** + * Gets current rating + */ + rating(behavior: 'get rating'): number; + /** + * Disables interactive rating mode + */ + rating(behavior: 'disable'): JQuery; + /** + * Enables interactive rating mode + */ + rating(behavior: 'enable'): JQuery; + /** + * Clears current rating + */ + rating(behavior: 'clear rating'): JQuery; + rating(settings: SemanticUI.RatingSettings): JQuery; + rating(): JQuery; + + // endregion + + // region Search + + /** + * Search for value currently set in search input + */ + search(behavior: 'query'): JQuery; + /** + * Displays message in search results with text, using template matching type + */ + search(behavior: 'display message', text: string, type: string): JQuery; + /** + * Cancels current remote search query + */ + search(behavior: 'cancel query'): JQuery; + /** + * Search local object for specified query and display results + */ + search(behavior: 'search local', query: string): JQuery; + /** + * Whether has minimum characters + */ + search(behavior: 'has minimum characters'): boolean; + /** + * Search remote endpoint for specified query and display results + */ + search(behavior: 'search remote', query: string): JQuery; + /** + * Search object for specified query and return results + */ + search(behavior: 'search object', query: string, object: any, searchFields: string[]): any; + /** + * Cancels current remote search request + */ + search(behavior: 'cancel query'): JQuery; + /** + * Whether search is currently focused + */ + search(behavior: 'is focused'): boolean; + /** + * Whether search results are visible + */ + search(behavior: 'is visible'): boolean; + /** + * Whether search results are empty + */ + search(behavior: 'is empty'): boolean; + /** + * Returns current search value + */ + search(behavior: 'get value'): any; + /** + * Returns JSON object matching searched title or id (see above) + */ + search(behavior: 'get result', value: any): any; + /** + * Sets search input to value + */ + search(behavior: 'set value', value: any): JQuery; + /** + * Reads cached results for query + */ + search(behavior: 'read cache', query: string): JQuery; + /** + * Clears value from cache, if no parameter passed clears all cache + */ + search(behavior: 'clear cache', query?: string): JQuery; + /** + * Writes cached results for query + */ + search(behavior: 'write cache', query: string): JQuery; + /** + * Adds HTML to results and displays + */ + search(behavior: 'add results', html: string): JQuery; + /** + * Shows results container + */ + search(behavior: 'show results'): JQuery; + /** + * Hides results container + */ + search(behavior: 'hide results'): JQuery; + /** + * Generates results using parser specified by settings.template + */ + search(behavior: 'generate results', response: any): JQuery; + /** + * Removes all events + */ + search(behavior: 'destroy'): JQuery; + search(settings: SemanticUI.SearchSettings): JQuery; + search(): JQuery; + + // endregion + + // region Shape + + /** + * Flips the shape upward + */ + shape(behavior: 'flip up'): JQuery; + /** + * Flips the shape downward + */ + shape(behavior: 'flip down'): JQuery; + /** + * Flips the shape right + */ + shape(behavior: 'flip right'): JQuery; + /** + * Flips the shape left + */ + shape(behavior: 'flip left'): JQuery; + /** + * Flips the shape over clock-wise + */ + shape(behavior: 'flip over'): JQuery; + /** + * Flips the shape over counter-clockwise + */ + shape(behavior: 'flip back'): JQuery; + /** + * Set the next side to a specific selector + */ + shape(behavior: 'set next side', selector: SemanticUI.Selector): JQuery; + /** + * Returns whether shape is currently animating + */ + shape(behavior: 'is animating'): boolean; + /** + * Removes all inline styles + */ + shape(behavior: 'reset'): JQuery; + /** + * Queues an animation until after current animation + */ + shape(behavior: 'queue', animation: string): JQuery; + /** + * Forces a reflow on element + */ + shape(behavior: 'repaint'): JQuery; + /** + * Set the next side to next sibling to active element + */ + shape(behavior: 'set default side'): JQuery; + /** + * Sets shape to the content size of the next side + */ + shape(behavior: 'set stage size'): JQuery; + /** + * Refreshes the selector cache for element sides + */ + shape(behavior: 'refresh'): JQuery; + /** + * Returns translation for next side staged below + */ + shape(behavior: 'get transform down'): SemanticUI.Translation; + /** + * Returns translation for next side staged left + */ + shape(behavior: 'get transform left'): SemanticUI.Translation; + /** + * Returns translation for next side staged right + */ + shape(behavior: 'get transform right'): SemanticUI.Translation; + /** + * Returns translation for next side staged up + */ + shape(behavior: 'get transform up'): SemanticUI.Translation; + /** + * Returns translation for next side staged down + */ + shape(behavior: 'get transform down'): SemanticUI.Translation; + shape(settings: SemanticUI.ShapeSettings): JQuery; + shape(): JQuery; + + // endregion + + // region Sidebar + + /** + * Attaches sidebar action to given selector. Default event if none specified is toggle + */ + sidebar(behavior: 'attach events', selector: string, event?: string): JQuery; + /** + * Shows sidebar + */ + sidebar(behavior: 'show'): JQuery; + /** + * Hides sidebar + */ + sidebar(behavior: 'hide'): JQuery; + /** + * Toggles visibility of sidebar + */ + sidebar(behavior: 'toggle'): JQuery; + /** + * Returns whether sidebar is visible + */ + sidebar(behavior: 'is visible'): boolean; + /** + * Returns whether sidebar is hidden + */ + sidebar(behavior: 'is hidden'): boolean; + /** + * Pushes page content to be visible alongside sidebar + */ + sidebar(behavior: 'push page'): JQuery; + /** + * Returns direction of current sidebar + */ + sidebar(behavior: 'get direction'): string; + /** + * Returns page content to original position + */ + sidebar(behavior: 'pull page'): JQuery; + /** + * Adds stylesheet to page head to trigger sidebar animations + */ + sidebar(behavior: 'add body CSS'): JQuery; + /** + * Removes any inline stylesheets for sidebar animation + */ + sidebar(behavior: 'remove body CSS'): JQuery; + /** + * Returns vendor prefixed transition end event + */ + sidebar(behavior: 'get transition event'): string; + sidebar(settings: SemanticUI.SidebarSettings): JQuery; + sidebar(): JQuery; + + // endregion + + // region Sticky + + /** + * recalculates offsets + */ + sticky(behavior: 'refresh'): JQuery; + sticky(settings: SemanticUI.StickySettings): JQuery; + sticky(): JQuery; + + // endregion + + // region Tab + + /** + * Attaches tab action to given selector. Default event if none specified is toggle + */ + tab(behavior: 'attach events', selector: string, event?: string): JQuery; + /** + * Changes tab to path + */ + tab(behavior: 'change tab', path: string): JQuery; + /** + * Sets current path to state + */ + tab(behavior: 'set state', path: string): JQuery; + /** + * Returns current path + */ + tab(behavior: 'get path'): string; + /** + * Returns whether tab exists + */ + tab(behavior: 'is tab'): boolean; + /** + * Returns cached HTML for path + */ + tab(behavior: 'cache read', path: string): string | false; + /** + * Sets cached HTML for path + */ + tab(behavior: 'cache add', path: string, html: string): JQuery; + /** + * Removes cached HTML for path + */ + tab(behavior: 'cache remove', path: string): JQuery; + tab(settings: SemanticUI.TabSettings): JQuery; + tab(): JQuery; + + // endregion + + // region Transition + + /** + * Stop current animation and preserve queue + */ + transition(behavior: 'stop'): JQuery; + /** + * Stop current animation and queued animations + */ + transition(behavior: 'stop all'): JQuery; + /** + * Clears all queued animations + */ + transition(behavior: 'clear queue'): JQuery; + /** + * Stop current animation and show element + */ + transition(behavior: 'show'): JQuery; + /** + * Stop current animation and hide element + */ + transition(behavior: 'hide'): JQuery; + /** + * Toggles between hide and show + */ + transition(behavior: 'toggle'): JQuery; + /** + * Forces reflow using a more expensive but stable method + */ + transition(behavior: 'force repaint'): JQuery; + /** + * Triggers reflow on element + */ + transition(behavior: 'repaint'): JQuery; + /** + * Resets all conditions changes during transition + */ + transition(behavior: 'reset'): JQuery; + /** + * Enables animation looping + */ + transition(behavior: 'looping'): JQuery; + /** + * Removes looping state from element + */ + transition(behavior: 'remove looping'): JQuery; + /** + * Adds disabled state (stops ability to animate) + */ + transition(behavior: 'disable'): JQuery; + /** + * Removes disabled state + */ + transition(behavior: 'enable'): JQuery; + /** + * Modifies element animation duration + */ + transition(behavior: 'set duration', duration: number): JQuery; + /** + * Saves all class names and styles to cache to be retrieved after animation + */ + transition(behavior: 'save conditions'): JQuery; + /** + * Adds back cached names and styles to element + */ + transition(behavior: 'restore conditions'): JQuery; + /** + * Returns vendor prefixed animation property for animationname + */ + transition(behavior: 'get animation name'): string; + /** + * Returns vendor prefixed animation property for animationend + */ + transition(behavior: 'get animation event'): string; + /** + * Returns whether element is currently visible + */ + transition(behavior: 'is visible'): boolean; + /** + * Returns whether transition is currently occurring + */ + transition(behavior: 'is animating'): boolean; + /** + * Returns whether animation looping is set + */ + transition(behavior: 'is looping'): boolean; + /** + * Returns whether animations are supported + */ + transition(behavior: 'is supported'): boolean; + transition(transition: string): JQuery; + transition(settings: SemanticUI.TransitionSettings): JQuery; + transition(): JQuery; + + // endregion + + // endregion + + // region Behaviors + + // region API + + /** + * Execute query using existing API settings + */ + api(behavior: 'query'): JQuery; + /** + * Adds data to existing templated url and returns full url string + */ + api(behavior: 'add url data', url: string, data: any): string; + /** + * Gets promise for current API request + */ + api(behavior: 'get request'): JQueryDeferred | false; + /** + * Aborts current API request + */ + api(behavior: 'abort'): JQuery; + /** + * Removes loading and error state from element + */ + api(behavior: 'reset'): JQuery; + /** + * Returns whether last request was cancelled + */ + api(behavior: 'was cancelled'): boolean; + /** + * Returns whether last request was failure + */ + api(behavior: 'was failure'): boolean; + /** + * Returns whether last request was successful + */ + api(behavior: 'was successful'): boolean; + /** + * Returns whether last request was completed + */ + api(behavior: 'was complete'): boolean; + /** + * Returns whether element is disabled + */ + api(behavior: 'is disabled'): boolean; + /** + * Returns whether element response is mocked + */ + api(behavior: 'is mocked'): boolean; + /** + * Returns whether element is loading + */ + api(behavior: 'is loading'): boolean; + /** + * Sets loading state to element + */ + api(behavior: 'set loading'): JQuery; + /** + * Sets error state to element + */ + api(behavior: 'set error'): JQuery; + /** + * Removes loading state to element + */ + api(behavior: 'remove loading'): JQuery; + /** + * Removes error state to element + */ + api(behavior: 'remove error'): JQuery; + /** + * Gets event that API request will occur on + */ + api(behavior: 'get event'): string; + /** + * Returns encodeURIComponent value only if value passed is not already encoded + */ + api(behavior: 'get url encoded value', value: any): string; + /** + * Reads a locally cached response for a URL + */ + api(behavior: 'read cached response', url: string): any; + /** + * Writes a cached response for a URL + */ + api(behavior: 'write cached response', url: string, response: any): JQuery; + /** + * Creates new cache, removing all locally cached URLs + */ + api(behavior: 'create cache'): JQuery; + /** + * Removes API settings from the page and all events + */ + api(behavior: 'destroy'): JQuery; + api(settings: SemanticUI.ApiSettings): JQuery; + api(): JQuery; + + // endregion + + // region Form Validation + + /** + * Submits selected form + */ + form(behavior: 'submit'): JQuery; + /** + * Returns true/false whether a form passes its validation rules + */ + form(behavior: 'is valid'): boolean; + /** + * Validates form and calls onSuccess or onFailure + */ + form(behavior: 'validate form'): JQuery; + /** + * gets browser property change event + */ + form(behavior: 'get change event'): string; + /** + * Returns element with matching name, id, or data-validate metadata to ID + */ + form(behavior: 'get field', id: string): JQuery; + /** + * Returns value of element with id + */ + form(behavior: 'get value', id: string): any; + /** + * Returns object of element values that match array of ids. If no IDS are passed will return all fields + */ + form(behavior: 'get values', ids?: string[]): any; + /** + * Sets value of element with id + */ + form(behavior: 'set value', id: string): JQuery; + /** + * Sets key/value pairs from passed values object to matching ids + */ + form(behavior: 'set values', values: any): JQuery; + /** + * Returns validation rules for a given jQuery-referenced input field + */ + form(behavior: 'get validation', element: JQuery): any; + /** + * Returns whether a field exists + */ + form(behavior: 'has field', identifier: string): boolean; + /** + * Adds errors to form, given an array errors + */ + form(behavior: 'add errors', errors: string[]): JQuery; + form(settings: SemanticUI.FormSettings): JQuery; + form(): JQuery; + + // endregion + + // region Visibility + + /** + * Disable callbacks temporarily. This is useful if you need to adjust scroll position and do not want to trigger callbacks during the position change. + */ + visibility(behavior: 'disable callbacks'): JQuery; + /** + * Re-enable callbacks + */ + visibility(behavior: 'enable callbacks'): JQuery; + /** + * Returns whether element is on screen + */ + visibility(behavior: 'is on screen'): boolean; + /** + * Returns whether element is off screen + */ + visibility(behavior: 'is off screen'): boolean; + /** + * Returns number of pixels passed in current element from top of element + */ + visibility(behavior: 'get pixels passed'): number; + /** + * Returns element calculations as object + */ + visibility(behavior: 'get element calculations'): SemanticUI.ElementCalculations; + /** + * Returns screen calculations as object + */ + visibility(behavior: 'get screen calculations'): SemanticUI.ScreenCalculations; + /** + * Returns screen size as object + */ + visibility(behavior: 'get screen size'): SemanticUI.ScreenSize; + visibility(settings: SemanticUI.VisibilitySettings): JQuery; + visibility(): JQuery; + + // endregion + + // endregion +} + +declare namespace SemanticUI { + type Selector = string | JQuery; + + /** + * These settings are native to all modules, and define how the component ties content to DOM attributes, and debugging settings for the module. + */ + interface ComponentSettings { + // region DOM Settings + + /** + * Event namespace. Makes sure module teardown does not effect other events attached to an element. + */ + namespace?: string; + + // endregion + + // region Debug Settings + + /** + * Name used in log statements + */ + name?: string; + /** + * Silences all console output including error messages, regardless of other debug settings. + */ + silent?: boolean; + /** + * Debug output to console + */ + debug?: boolean; + /** + * Show console.table output with performance metrics + */ + performance?: boolean; + /** + * Debug output includes all internal behaviors + */ + verbose?: boolean; + + // endregion + } + + // region Modules + + // region Accordion + + /** + * @see {@link http://semantic-ui.com/modules/accordion.html#/settings} + */ + interface AccordionSettings extends ComponentSettings { + // region Behavior + + /** + * Only allow one section open at a time + * + * @default true + */ + exclusive?: boolean; + /** + * Event on title that will cause accordion to open + * + * @default 'click' + */ + on?: string; + /** + * Whether child content opacity should be animated (may cause performance issues with many child elements) + * + * @default true + */ + animateChildren?: boolean; + /** + * Close open nested accordion content when an element closes + * + * @default true + */ + closeNested?: boolean; + /** + * Allow active sections to collapse + * + * @default true + */ + collapsible?: boolean; + /** + * Duration in ms of opening animation + * + * @default 500 + */ + duration?: number; + /** + * Easing of opening animation. EaseInOutQuint is included with accordion, for additional options you must include easing equations. + * + * @default 'easeInOutQuint' + * @see {@link http://gsgd.co.uk/sandbox/jquery/easing/} + */ + easing?: string; + // TODO: Undocumented but probably intended to be public? + // observeChanges?: boolean; + + // endregion + + // region Callbacks + + /** + * Callback before element opens + */ + onOpening?: (this: JQuery) => void; + /** + * Callback after element is open + */ + onOpen?: (this: JQuery) => void; + /** + * Callback before element closes + */ + onClosing?: (this: JQuery) => void; + /** + * Callback after element is closed + */ + onClose?: (this: JQuery) => void; + /** + * Callback on element open or close + */ + onChange?: (this: JQuery) => void; + + // endregion + + // region DOM Settings + + /** + * Selectors used to find parts of a module + */ + selector?: { + /** + * @default '.accordion' + */ + accordion?: string; + /** + * @default '.title' + */ + title?: string; + /** + * @default '.title' + */ + trigger?: string; + /** + * @default '.content' + */ + content?: string; + }; + /** + * Class names used to determine element state + */ + className?: { + /** + * @default 'active' + */ + active?: string; + /** + * @default 'animating' + */ + animating?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'The method you called is not defined.' + */ + method?: string; + }; + + // endregion + } + + // endregion + + // region Checkbox + + /** + * @see {@link http://semantic-ui.com/modules/checkbox.html#/settings} + */ + interface CheckboxSettings extends ComponentSettings { + // region Behavior + + /** + * Setting to true/false will determine whether an input will allow no selection. Auto will set disallow this behavior only for radio boxes + * + * @default 'auto' + */ + uncheckable?: 'auto' | boolean; + /** + * Whether callbacks for checked status should be fired on init as well as change + * + * @default false + */ + fireOnInit?: boolean; + + // endregion + + // region Callbacks + + /** + * Callback after a checkbox is either checked or unchecked. + */ + onChange?: (this: HTMLElement) => void; + /** + * Callback after a checkbox is checked. + */ + onChecked?: (this: HTMLElement) => void; + /** + * Callback after a checkbox is set to undeterminate. + */ + onIndeterminate?: (this: HTMLElement) => void; + /** + * Callback after a checkbox is set to determinate. + */ + onDeterminate?: (this: HTMLElement) => void; + /** + * Callback after a checkbox is unchecked. + */ + onUnchecked?: (this: HTMLElement) => void; + /** + * Callback before a checkbox is checked. Can cancel change by returning false + */ + beforeChecked?: (this: HTMLElement) => boolean; + /** + * Callback before a checkbox is set to undeterminate. Can cancel change by returning false + */ + beforeIndeterminate?: (this: HTMLElement) => boolean; + /** + * Callback before a checkbox is set to determinate. Can cancel change by returning false + */ + beforeDeterminate?: (this: HTMLElement) => boolean; + /** + * Callback before a checkbox is unchecked. Can cancel change by returning false + */ + beforeUnchecked?: (this: HTMLElement) => boolean; + /** + * Callback after a checkbox is enabled. + */ + onEnable?: (this: HTMLElement) => void; + /** + * Callback after a checkbox is disabled. + */ + onDisable?: (this: HTMLElement) => void; + /** + * Callback after a checkbox is enabled. + * + * @deprecated + */ + onEnabled?: (this: HTMLElement) => void; + /** + * Callback after a checkbox is disabled. + * + * @deprecated + */ + onDisabled?: (this: HTMLElement) => void; + + // endregion + + // region DOM Settings + + /** + * Selectors used to find parts of a module + */ + selector?: { + /** + * @default 'input[type=checkbox], input[type=radio]' + */ + input?: string; + /** + * @default 'label' + */ + label?: string; + }; + /** + * Class names used to determine element state + */ + className?: { + /** + * @default 'checked' + */ + checked?: string; + /** + * @default 'disabled' + */ + disabled?: string; + /** + * @default 'radio' + */ + radio?: string; + /** + * @default 'read-only' + */ + readOnly?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'The method you called is not defined.' + */ + method?: string; + }; + + // endregion + } + + // endregion + + // region Dimmer + + /** + * @see {@link http://semantic-ui.com/modules/dimmer.html#/settings} + */ + interface DimmerSettings extends ComponentSettings { + // region Behavior + + /** + * Dimmers opacity from 0-1. Defaults to auto which uses the CSS specified opacity. + * + * @default 'auto' + */ + opacity?: 'auto' | number; + /** + * Specify a variation to add when generating dimmer, like inverted + * + * @default false + */ + variation?: false | string; + /** + * If initializing a dimmer on a dimmable context, you can use dimmerName to distinguish between multiple dimmers in that context. + * + * @default false + */ + dimmerName?: false | string; + /** + * Whether clicking on the dimmer should hide the dimmer (Defaults to auto, closable only when settings.on is not hover + * + * @default 'auto' + */ + closable?: 'auto' | boolean; + /** + * Can be set to hover or click to show/hide dimmer on dimmable event + * + * @default false + */ + on?: false | 'hover' | 'click'; + /** + * Whether to dim dimmers using CSS transitions. + * + * @default true + */ + useCSS?: boolean; + /** + * Animation duration of dimming. If an integer is used, that value will apply to both show and hide animations. + */ + duration?: number | { + /** + * @default 500 + */ + show?: number; + /** + * @default 500 + */ + hide?: number; + }; + /** + * Named transition to use when animating menu in and out. Fade and slide down are available without including ui transitions + * + * @default 'fade' + * @see {@link http://semantic-ui.com/modules/transition.html} + */ + transition?: string; + + // endregion + + // region Callbacks + + /** + * Callback on element show + */ + onShow?: (this: JQuery) => void; + /** + * Callback on element hide + */ + onHide?: (this: JQuery) => void; + /** + * Callback on element show or hide + */ + onchange?: (this: JQuery) => void; + + // endregion + + // region DOM Settings + + /** + * Object containing selectors used by module. + */ + selector?: { + /** + * @default '.dimmable' + */ + dimmable?: string; + /** + * @default '.ui.dimmer' + */ + dimmer?: string; + /** + * @default '.ui.dimmer > .content, .ui.dimmer > .content > .center' + */ + content?: string; + }; + /** + * Templates used to generate dimmer content + */ + template?: { + dimmer?: () => JQuery; + }; + /** + * Class names used to attach style to state + */ + className?: { + /** + * @default 'active' + */ + active?: string; + /** + * @default 'dimmable' + */ + dimmable?: string; + /** + * @default 'dimmed' + */ + dimmed?: string; + /** + * @default 'disabled' + */ + disabled?: string; + /** + * @default 'page' + */ + pageDimmer?: string; + /** + * @default 'hide' + */ + hide?: string; + /** + * @default 'show' + */ + show?: string; + /** + * @default 'transition' + */ + transition?: string; + }; + + // endregion + + // region Debug Settings + + /** + * Error messages displayed to console + */ + error?: { + /** + * @default 'The method you called is not defined.' + */ + method?: string; + }; + + // endregion + } + + // endregion + + // region Dropdown + + /** + * @see {@link http://semantic-ui.com/modules/dropdown.html#/settings} + */ + interface DropdownSettings extends ComponentSettings { + // TODO: Should 'value'/'values' parameters be of type 'string' instead of 'any'? + + // region Frequently Used Settings + + /** + * Event used to trigger dropdown (Hover, Click, Custom Event) + * + * @default 'click' + */ + on?: string; + /** + * When set to true will fire onChange even when the value a user select matches the currently selected value. + * + * @default false + */ + allowReselection?: boolean; + /** + * Whether search selection should allow users to add their own selections, works for single or multi-select. + * + * @default false + */ + allowAdditions?: boolean; + /** + * When disabled user additions will appear in the results menu using a specially formatted selection item formatted by templates.addition. + * + * @default true + */ + hideAdditions?: boolean; + /** + * Sets a default action to occur. (See usage guide) + * + * @default 'activate' + * @see {@link http://semantic-ui.com/modules/dropdown.html#/usage} + */ + action?: 'activate' | 'select' | 'combo' | 'nothing' | 'hide' | ((this: JQuery, text: string, value: string | false, element: JQuery) => void); + /** + * The minimum characters for a search to begin showing results + * + * @default 1 + */ + minCharacters?: number; + /** + * When using search selection specifies how to match values. + * + * @default 'both' + */ + match?: 'both' | 'value' | 'text'; + /** + * Whether dropdown should select new option when using keyboard shortcuts. Setting to false will require enter or left click to confirm a choice. + * + * @default true + */ + selectOnKeydown?: boolean; + /** + * Whether search selection will force currently selected choice when element is blurred. + * + * @default true + */ + forceSelection?: boolean; + /** + * Whether menu items with sub-menus (categories) should be selectable + * + * @default false + */ + allowCategorySelection?: boolean; + /** + * @default 'auto' + */ + placeholder?: 'auto' | 'value' | false; + + // endregion + + // region Remote Settings + + /** + * Can be set to an object to specify API settings for retrieving remote selection menu content from an API endpoint + * + * @default false + * @see {@link http://semantic-ui.com/behaviors/api.html} + */ + apiSettings?: false | ApiSettings; + /** + * List mapping dropdown content to JSON Property when using API + */ + fields?: { + /** + * grouping for api results + * + * @default 'results' + */ + remoteValues?: string; + /** + * grouping for all dropdown values + * + * @default 'values' + */ + values?: string; + /** + * displayed dropdown text + * + * @default 'name' + */ + name?: string; + /** + * actual dropdown value + * + * @default 'value' + */ + value?: string; + }; + /** + * When enabled will automatically store selected name/value pairs in sessionStorage to preserve user selection on page refresh. Disabling will clear remote dropdown values on refresh. + * + * @default true + */ + saveRemoteData?: boolean; + + // endregion + + // region Multiple Select Settings + + /** + * Whether multiselect should use labels. Must be set to true when allowAdditions is true + * + * @default true + */ + useLabels?: boolean; + /** + * When set to a number, sets the maximum number of selections + * + * @default false + */ + maxSelections?: boolean; + /** + * Maximum glyph width, used to calculate search size. This is usually size of a "W" in your font in em + * + * @default 1.0714 + */ + glyphWidth?: number; + /** + * Allows customization of multi-select labels + */ + label?: { + /** + * @default 'horizontal flip' + */ + transition?: string; + /** + * @default 200 + */ + duration?: number; + /** + * @default false + */ + variation?: false | string; + }; + + // endregion + + // region Additional Settings + + /** + * When set to auto determines direction based on whether dropdown can fit on screen. Set to upward or downward to always force a direction. + * + * @default 'auto' + */ + direction?: 'auto' | 'upward' | 'downward'; + /** + * Whether dropdown should try to keep itself on screen by checking whether menus display position in its context (Default context is page). + * + * @default true + */ + keepOnScreen?: boolean; + /** + * Element context to use when checking whether can show when keepOnScreen: true + * + * @default 'window' + */ + context?: Selector; + /** + * Specifying to "true" will use a fuzzy full text search, setting to "exact" will force the exact search to be matched somewhere in the string + * + * @default false + */ + fullTextSearch?: boolean | 'exact'; + /** + * Whether HTML included in dropdown values should be preserved. (Allows icons to show up in selected value) + * + * @default true + */ + preserveHTML?: boolean; + /** + * Whether to sort values when creating a dropdown automatically from a select element. + * + * @default false + */ + sortSelect?: boolean; + /** + * Whether to show dropdown menu automatically on element focus. + * + * @default true + */ + showOnFocus?: boolean; + /** + * Whether to allow the element to be navigable by keyboard, by automatically creating a tabindex + * + * @default true + */ + allowTab?: boolean; + /** + * Named transition to use when animating menu in and out. Defaults to slide down or slide up depending on dropdown direction. Fade and slide down are available without including ui transitions + * + * @default 'auto' + * @see {@link http://semantic-ui.com/modules/transition.html} + */ + transition?: 'auto' | string; + /** + * Duration of animation events + * + * @default 200 + */ + duration?: number; + /** + * The keycode used to represent keyboard shortcuts. To avoid issues with some foreign languages, you can pass false for comma delimiter's value + */ + keys?: { + /** + * @default 8 + */ + backspace?: number; + /** + * @default 188 + */ + delimiter?: number | false; + /** + * @default 46 + */ + deleteKey?: number; + /** + * @default 13 + */ + enter?: number; + /** + * @default 27 + */ + escape?: number; + /** + * @default 33 + */ + pageUp?: number; + /** + * @default 34 + */ + pageDown?: number; + /** + * @default 37 + */ + leftArrow?: number; + /** + * @default 38 + */ + upArrow?: number; + /** + * @default 39 + */ + rightArrow?: number; + /** + * @default 40 + */ + downArrow?: number; + }; + /** + * Time in milliseconds to debounce show or hide behavior when on: hover is used, or when touch is used. + */ + delay?: { + /** + * @default 300 + */ + hide?: number; + /** + * @default 200 + */ + show?: number; + /** + * @default 50 + */ + search?: number; + /** + * @default 50 + */ + touch?: number; + }; + + // endregion + + // region Callbacks + + /** + * Is called after a dropdown value changes. Receives the name and value of selection and the active menu element + */ + onChange?: (this: JQuery, value: any, text: string, $choice: JQuery) => void; + /** + * Is called after a dropdown selection is added using a multiple select dropdown, only receives the added value + */ + onAdd?: (this: JQuery, addedValue: any, addedText: string, $addedChoice: JQuery) => void; + /** + * Is called after a dropdown selection is removed using a multiple select dropdown, only receives the removed value + */ + onRemove?: (this: JQuery, removedValue: any, removedText: string, $removedChoice: JQuery) => void; + /** + * Allows you to modify a label before it is added. Expects the jQ DOM element for a label to be returned. + */ + onLabelCreate?: (this: JQuery, value: any, text: string) => JQuery; + /** + * Called when a label is remove, return false; will prevent the label from being removed. + */ + onLabelRemove?: (this: JQuery, value: any) => false | void; + /** + * Is called after a label is selected by a user + */ + onLabelSelect?: (this: JQuery, $selectedLabels: JQuery) => void; + /** + * Is called after a dropdown is searched with no matching values + */ + onNoResults?: (this: JQuery, searchValue: any) => void; + /** + * Is called before a dropdown is shown. If false is returned, dropdown will not be shown. + */ + onShow?: (this: JQuery) => false | void; + /** + * Is called before a dropdown is hidden. If false is returned, dropdown will not be hidden. + */ + onHide?: (this: JQuery) => false | void; + + // endregion + + // region DOM Settings + + /** + * You can specify site wide messages by modifying $.fn.dropdown.settings.message that will apply on any dropdown if it appears in the page. + */ + message?: { + /** + * @default 'Add {term}' + */ + addResult?: string; + /** + * @default '{count} selected' + */ + count?: string; + /** + * @default 'Max {maxCount} selections' + */ + maxSelections?: string; + /** + * 'No results found.' + */ + noResults?: string; + }; + selector?: { + /** + * @default '.addition' + */ + addition?: string; + /** + * @default '.ui.dropdown' + */ + dropdown?: string; + /** + * @default '> .dropdown.icon' + */ + icon?: string; + /** + * @default '> input[type="hidden"], > select' + */ + input?: string; + /** + * @default '.item' + */ + item?: string; + /** + * @default '> .label' + */ + label?: string; + /** + * @default '> .label > .delete.icon' + */ + remove?: string; + /** + * @default '.label' + */ + siblingLabel?: string; + /** + * @default '.menu' + */ + menu?: string; + /** + * @default '.message' + */ + message?: string; + /** + * @default '.dropdown.icon' + */ + menuIcon?: string; + /** + * @default 'input.search, .menu > .search > input' + */ + search?: string; + /** + * @default '> .text:not(.icon)' + */ + text?: string; + }; + regExp?: { + /** + * @default /[-[\]{}()*+?.,\\^$|#\s]/g + */ + escape?: RegExp; + }; + metadata?: { + /** + * @default 'defaultText' + */ + defaultText?: string; + /** + * @default 'defaultValue' + */ + defaultValue?: string; + /** + * @default 'placeholderText' + */ + placeholderText?: string; + /** + * @default 'text' + */ + text?: string; + /** + * @default 'value' + */ + value?: string; + }; + className?: { + /** + * @default 'active' + */ + active?: string; + /** + * @default 'addition' + */ + addition?: string; + /** + * @default 'animating' + */ + animating?: string; + /** + * @default 'disabled' + */ + disabled?: string; + /** + * @default 'ui dropdown' + */ + dropdown?: string; + /** + * @default 'filtered' + */ + filtered?: string; + /** + * @default 'hidden transition' + */ + hidden?: string; + /** + * @default 'item' + */ + item?: string; + /** + * @default 'ui label' + */ + label?: string; + /** + * @default 'loading' + */ + loading?: string; + /** + * @default 'menu' + */ + menu?: string; + /** + * @default 'message' + */ + message?: string; + /** + * @default 'multiple' + */ + multiple?: string; + /** + * @default 'default' + */ + placeholder?: string; + /** + * @default 'search' + */ + search?: string; + /** + * @default 'selected' + */ + selected?: string; + /** + * @default 'selection' + */ + selection?: string; + /** + * @default 'upward' + */ + upward?: string; + /** + * @default 'visible' + */ + visible?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'You called a dropdown action that was not defined' + */ + action?: string; + /** + * @default 'Once a select has been initialized behaviors must be called on the created ui dropdown' + */ + alreadySetup?: string; + /** + * @default 'Allowing user additions currently requires the use of labels.' + */ + labels?: string; + /** + * @default 'The method you called is not defined.' + */ + method?: string; + /** + * @default 'This module requires ui transitions ' + */ + noTransition?: string; + }; + + // endregion + } + + // endregion + + // region Embed + + /** + * @see {@link http://semantic-ui.com/modules/embed.html#/settings} + */ + interface EmbedSettings extends ComponentSettings { + /** + * Specifies a url to use for embed + * + * @default false + */ + url?: false | string; + + // region Embed Settings + + /** + * Specifies an icon to use with placeholder content + * + * @default false + */ + icon?: false | string; + /** + * Specifies a source to use, if no source is provided it will be determined from the domain of a specified url. + * + * @default false + */ + source?: false | string; + /** + * Specifies an id value to replace with the {id} value found in templated urls + * + * @default false + */ + id?: false | string; + /** + * Specify an object containing key/value pairs to add to the iframes GET parameters + * + * @default false + */ + parameters?: false | any; + + // endregion + + // region Video Settings + + /** + * Default setting auto will only autoplay content when a placeholder is specified. Setting to true or false will force autoplay. + * + * @default 'auto' + */ + autoplay?: 'auto' | boolean; + /** + * Specifies a default chrome color with Vimeo or YouTube. + * + * @default '#444444' + */ + color?: string; + /** + * Whether to prefer HD content + * + * @default true + */ + hd?: boolean; + /** + * Whether to show networks branded UI like title cards, or after video calls to action. + * + * @default false + */ + brandedUI?: boolean; + + // endregion + + // region Callbacks + + /** + * Callback when iframe is generated + */ + onCreate?: (this: JQuery, url: string) => void; + /** + * Whenever an iframe contents is shown + */ + onDisplay?: (this: JQuery) => void; + /** + * Callback immediately before Embed is removed from DOM + */ + onPlaceholderDisplay?: (this: JQuery) => void; + /** + * Callback when module parameters are determined. Allows you to adjust parameters at run time by returning a new parameters object. + */ + onEmbed?: (this: JQuery, parameters: any) => any; + + // endregion + + // region DOM Settings + + /** + * DOM Selectors used internally + */ + selector?: { + /** + * @default '.embed' + */ + embed?: string; + /** + * @default '.placeholder' + */ + placeholder?: string; + /** + * @default '.play' + */ + play?: string; + }; + /** + * HTML Data attributes used to store data + */ + metadata?: { + /** + * @default 'id' + */ + id?: string; + /** + * @default 'icon' + */ + icon?: string; + /** + * @default 'placeholder' + */ + placeholder?: string; + /** + * @default 'source' + */ + source?: string; + /** + * @default 'url' + */ + url?: string; + }; + /** + * Class names used to attach style to state + */ + className?: { + /** + * @default 'active' + */ + active?: string; + /** + * @default 'embed' + */ + embed?: string; + }; + templates?: { + /** + * returns html for iframe + */ + iframe?: (url: string, parameters: string) => string; + /** + * returns html for placeholder element + */ + placeholder?: (image: string, icon: string) => string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'No URL specified' + */ + noURL?: string; + /** + * @default 'The method you called is not defined' + */ + method?: string; + }; + + // endregion + } + + // endregion + + // region Modal + + /** + * @see {@link http://semantic-ui.com/modules/modal.html#/settings} + */ + interface ModalSettings extends ComponentSettings { + // region Modal Settings + + /** + * If set to false will prevent the modal from being moved to inside the dimmer + * + * @default true + */ + detachable?: boolean; + /** + * When true, the first form input inside the modal will receive focus when shown. Set this to false to prevent this behavior. + * + * @default true + */ + autofocus?: boolean; + /** + * Whether any change in modal DOM should automatically refresh cached positions + * + * @default false + */ + observeChanges?: boolean; + /** + * If set to true will not close other visible modals when opening a new one + * + * @default false + */ + allowMultiple?: boolean; + /** + * Whether to automatically bind keyboard shortcuts + * + * @default true + */ + keyboardShortcuts?: boolean; + /** + * A vertical offset to allow for content outside of modal, for example a close button, to be centered. + * + * @default 0 + */ + offset?: number; + /** + * Selector or jquery object specifying the area to dim + * + * @default 'body' + */ + context?: Selector; + /** + * Setting to false will not allow you to close the modal by clicking on the dimmer + * + * @default true + */ + closable?: boolean; + /** + * You can specify custom settings to extend UI dimmer + * + * @see {@link http://semantic-ui.com/modules/dimmer.html} + */ + dimmerSettings?: DimmerSettings; + /** + * Named transition to use when animating menu in and out, full list can be found in ui transitions docs. + * + * @default 'scale' + * @see {@link http://semantic-ui.com/modules/transition.html} + */ + transition?: string; + /** + * Duration of animation + * + * @default 400 + */ + duration?: number; + /** + * Whether additional animations should queue + * + * @default false + */ + queue?: boolean; + + // endregion + + // region Callbacks + + /** + * Is called when a modal starts to show. + */ + onShow?: (this: JQuery) => void; + /** + * Is called after a modal has finished showing animating. + */ + onVisible?: (this: JQuery) => void; + /** + * Is called after a modal starts to hide. If the function returns false, the modal will not hide. + */ + onHide?: (this: JQuery, $element: JQuery) => false | void; + /** + * Is called after a modal has finished hiding animation. + */ + onHidden?: (this: JQuery) => void; + /** + * Is called after a positive, approve or ok button is pressed. If the function returns false, the modal will not hide. + */ + onApprove?: (this: JQuery, $element: JQuery) => false | void; + /** + * Is called after a negative, deny or cancel button is pressed. If the function returns false the modal will not hide. + */ + onDeny?: (this: JQuery, $element: JQuery) => false | void; + + // endregion + + // region DOM Settings + + selector?: { + /** + * @default '.close, .actions .button' + */ + close?: string; + /** + * @default '.actions .positive, .actions .approve, .actions .ok' + */ + approve?: string; + /** + * @default '.actions .negative, .actions .deny, .actions .cancel' + */ + deny?: string; + }; + className?: { + /** + * @default 'active' + */ + active?: string; + /** + * @default 'scrolling' + */ + scrolling?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'The method you called is not defined.' + */ + method?: string; + }; + + // endregion + } + + // endregion + + // region Nag + + /** + * @see {@link http://semantic-ui.com/modules/nag.html} + */ + interface NagSettings extends ComponentSettings { + // region Behavior + + /** + * allows cookie to be overridden + * + * @default false + */ + persist?: boolean; + /** + * set to zero to require manually dismissal, otherwise hides on its own + * + * @default 0 + */ + displayTime?: number; + animation?: { + /** + * @default 'slide' + */ + show?: string; + /** + * @default 'slide' + */ + hide?: string; + }; + /** + * @default false + */ + context?: false | Selector; + /** + * @default false + */ + detachable?: boolean; + + /** + * @default 30 + */ + expires?: number; + /** + * @default false + */ + domain?: false | string; + /** + * @default '/' + */ + path?: string; + + /** + * type of storage to use + * + * @default 'cookie' + */ + storageMethod?: 'cookie' | 'localstorage' | 'sessionstorage'; + + /** + * @default 'nag' + */ + key?: any; + /** + * @default 'dismiss' + */ + value?: any; + + /** + * @default 500 + */ + speed?: number; + /** + * @default 'easeOutQuad' + */ + easing?: string; + + // endregion + + // region Callbacks + + onHide?: (this: JQuery) => void; + + // endregion + + // region DOM Settings + + className?: { + /** + * @default 'bottom' + */ + bottom?: string; + /** + * @default 'fixed' + */ + fixed?: string; + }; + selector?: { + /** + * @default '.close.icon' + */ + close?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default '$.cookie is not included. A storage solution is required.' + */ + noCookieStorage?: string; + /** + * @default 'Neither $.cookie or store is defined. A storage solution is required for storing state' + */ + noStorage?: string; + /** + * @default 'The method you called is not defined.' + */ + method?: string; + }; + + // endregion + } + + // endregion + + // region Popup + + /** + * @see {@link http://semantic-ui.com/modules/popup.html#/settings} + */ + interface PopupSettings extends ComponentSettings { + // region Popup Settings + + /** + * Can specify a DOM element that should be used as the popup. This is useful for including a pre-formatted popup. + * + * @default false + */ + popup?: false | Selector; + /** + * Whether all other popups should be hidden when this popup is opened + * + * @default false + */ + exclusive?: boolean; + /** + * Whether to move popup to same offset container as target element when popup already exists on the page. + * Using a popup inside of an element without overflow:visible, like a sidebar, may require you to set this to false + * + * @default true + */ + movePopup?: boolean; + /** + * Whether popup should attach mutationObservers to automatically run destroy when the element is removed from the page's DOM. + * + * @default true + */ + observeChanges?: boolean; + /** + * When the popup surpasses the boundary of this element, it will attempt to find another display position. + */ + boundary?: Selector; + /** + * Selector or jquery object specifying where the popup should be created. + * + * @default 'body' + */ + context?: Selector; + /** + * Will automatically hide a popup on scroll event in this context + */ + scrollContext?: Selector; + /** + * Number of pixels that a popup is allowed to appear outside the boundaries of its context. + * This allows for permissible rounding errors when an element is against the edge of its context. + * + * @default 2 + */ + jitter?: number; + /** + * Position that the popup should appear + * + * @default 'top left' + */ + position?: string; + /** + * If a popup is inline it will be created next to current element, allowing for local css rules to apply. + * It will not be removed from the DOM after being hidden. + * Otherwise popups will appended to body and removed after being hidden. + * + * @default false + */ + inline?: boolean; + /** + * Whether popup contents should be preserved in the page after being hidden, allowing it to re-appear slightly faster on subsequent loads. + * + * @default false + */ + preserve?: boolean; + /** + * Can be set to adjacent or opposite to prefer adjacent or opposite position if popup cannot fit on screen + * + * @default 'adjacent' + */ + prefer?: 'adjacent' | 'opposite'; + /** + * When set to false, a popup will not appear and produce an error message if it cannot entirely fit on page. + * Setting this to a position like, right center forces the popup to use this position as a last resort even if it is partially offstage. + * Setting this to true will use the last attempted position. + * + * @default false + */ + lastResort?: boolean | string; + /** + * Event used to trigger popup. Can be either focus, click, hover, or manual. Manual popups must be triggered with $('.element').popup('show'); + * + * @default 'hover' + */ + on?: 'focus' | 'click' | 'hover' | 'manual'; + /** + * Delay in milliseconds before showing or hiding a popup on hover or focus + */ + delay?: { + show?: number; + hide?: number; + }; + /** + * Named transition to use when animating menu in and out. Fade and slide down are available without including ui transitions + * + * @default 'slide down' + * @see {@link http://semantic-ui.com/modules/transition.html} + */ + transition?: string; + /** + * Duration of animation events + * + * @default 200 + */ + duration?: number; + /** + * Whether popup should set fluid popup variation width on load to avoid width: 100% including padding + * + * @default true + */ + setFluidWidth?: boolean; + /** + * Whether popup should not close on hover (useful for popup navigation menus) + * + * @default false + */ + hoverable?: boolean; + /** + * When using on: 'click' specifies whether clicking the page should close the popup + * + * @default true + */ + closable?: boolean; + /** + * When using on: 'hover' whether touchstart events should be added to allow the popup to be triggered + */ + addTouchEvents?: boolean; + /** + * Whether popup should hide on scroll or touchmove, auto only hides for popups without on: 'click'. + * Set this to false to prevent mobile browsers from closing popups when you tap inside input fields. + * + * @default 'auto' + */ + hideOnScroll?: 'auto' | false; + /** + * If a selector or jQuery object is specified this allows the popup to be positioned relative to that element. + * + * @default false + */ + target?: false | Selector; + /** + * Offset for distance of popup from element + * + * @default 0 + */ + distanceAway?: number; + /** + * Offset in pixels from calculated position + * + * @default 0 + */ + offset?: number; + /** + * Number of iterations before giving up search for popup position when a popup cannot fit on screen + * + * @default 10 + */ + maxSearchDepth?: number; + + // endregion + + // region Callbacks + + /** + * Callback on popup element creation, with created popup + */ + onCreate?: (this: JQuery, $module: JQuery) => void; + /** + * Callback immediately before Popup is removed from DOM + */ + onRemove?: (this: JQuery, $module: JQuery) => void; + /** + * Callback before popup is shown. Returning false from this callback will cancel the popup from showing. + */ + onShow?: (this: JQuery, $module: JQuery) => false | void; + /** + * Callback after popup is shown + */ + onVisible?: (this: JQuery, $module: JQuery) => void; + /** + * Callback before popup is hidden. Returning false from this callback will cancel the popup from hiding. + */ + onHide?: (this: JQuery, $module: JQuery) => false | void; + /** + * Callback after popup is hidden + */ + onHidden?: (this: JQuery, $module: JQuery) => void; + /** + * Callback after popup cannot be plaed on screen + */ + onUnplaceable?: (this: JQuery, $module: JQuery) => void; + + // endregion + + // region Content Settings + + /** + * Popup variation to use, can use multiple variations with a space delimiter + */ + variation?: string; + /** + * Content to display + */ + content?: string; + /** + * Title to display alongside content + */ + title?: string; + /** + * HTML content to display instead of preformatted title and content + */ + html?: string; + + // endregion + + // region DOM Settings + + /** + * DOM Selectors used internally + */ + selector?: { + /** + * @default '.ui.popup' + */ + popup?: string; + }; + /** + * HTML Data attributes used to store data + */ + metadata?: { + /** + * @default 'content' + */ + content?: string; + /** + * @default 'html' + */ + html?: string; + /** + * @default 'offset' + */ + offset?: string; + /** + * @default 'position' + */ + position?: string; + /** + * @default 'title' + */ + title?: string; + /** + * @default 'variation' + */ + variation?: string; + }; + /** + * Class names used to attach style to state + */ + className?: { + /** + * @default 'loading' + */ + loading?: string; + /** + * @default 'ui popup' + */ + popup?: string; + /** + * @default 'top left center bottom right' + */ + position?: string; + /** + * @default 'visible' + */ + visible?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'The position you specified is not a valid position' + */ + invalidPosition?: string; + /** + * @default 'Popup does not fit within the boundaries of the viewport' + */ + cannotPlace?: string; + /** + * @default 'The method you called is not defined.' + */ + method?: string; + /** + * @default 'This module requires ui transitions ' + */ + noTransition?: string; + /** + * @default 'The target or popup you specified does not exist on the page' + */ + notFound?: string; + }; + + // endregion + } + + // endregion + + // region Progress + + /** + * @see {@link http://semantic-ui.com/modules/progress.html#/settings} + */ + interface ProgressSettings extends ComponentSettings { + // region Progress Settings + + /** + * Whether success state should automatically trigger when progress completes + * + * @default true + */ + autoSuccess?: boolean; + /** + * Whether progress should automatically show activity when incremented + * + * @default true + */ + showActivity?: boolean; + /** + * When set to true, values that calculate to above 100% or below 0% will be adjusted. + * When set to false, inappropriate values will produce an error. + * + * @default true + */ + limitValues?: boolean; + /** + * Can be set to either to display progress as percent or ratio. Matches up to corresponding text template with the same name. + * + * @default 'percent' + */ + label?: 'percent' | 'ratio'; + /** + * When incrementing without value, sets range for random increment value + */ + random?: { + /** + * @default 2 + */ + min?: number; + /** + * @default 5 + */ + max?: number; + }; + /** + * Decimal point precision for calculated progress + * + * @default 1 + */ + precision?: number; + /** + * Setting a total value will make each call to increment get closer to this total (i.e. 1/20, 2/20 etc) + * + * @default false + */ + total?: false | number; + /** + * Sets current value, when total is specified, this is used to calculate a ratio of the total, with percent this should be the overall percent + * + * @default false + */ + value?: false | number; + + // endregion + + // region Callbacks + + /** + * Callback on percentage change + */ + onChange?: (this: JQuery, percent: number, value: number, total: number) => void; + /** + * Callback on success state + */ + onSuccess?: (this: JQuery, total: number) => void; + /** + * Callback on active state + */ + onActive?: (this: JQuery, value: number, total: number) => void; + /** + * Callback on error state + */ + onError?: (this: JQuery, value: number, total: number) => void; + /** + * Callback on warning state + */ + onWarning?: (this: JQuery, value: number, total: number) => void; + + // endregion + + // region DOM Settings + + /** + * Text content for each state, uses simple templating with {percent}, {value}, {total} + */ + text?: { + /** + * @default false + */ + active?: false | string; + /** + * @default false + */ + error?: false | string; + /** + * @default false + */ + success?: false | string; + /** + * @default false + */ + warning?: false | string; + /** + * @default '{percent}%' + */ + percent?: false | string; + /** + * @default '{value} of {total}' + */ + ratio?: false | string; + }; + /** + * Regular expressions used by module + */ + regExp?: { + /** + * @default /\{\$*[A-z0-9]+\}/g + */ + variable?: RegExp; + }; + /** + * Selectors used by module + */ + selector?: { + /** + * @default '> .bar + */ + bar?: string; + /** + * @default '> .label' + */ + label?: string; + /** + * @default '.bar > .progress' + */ + progress?: string; + }; + /** + * DOM metadata used by module + */ + metadata?: { + /** + * @default 'percent' + */ + percent?: string; + /** + * @default 'total' + */ + total?: string; + /** + * @default 'value' + */ + value?: string; + }; + /** + * Class names used to attach style to state + */ + className?: { + /** + * @default 'active' + */ + active?: string; + /** + * @default 'error' + */ + error?: string; + /** + * @default 'success' + */ + success?: string; + /** + * @default 'warning' + */ + warning?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'The method you called is not defined.' + */ + method?: string; + /** + * @default 'Progress value is non numeric' + */ + nonNumeric?: string; + }; + + // endregion + } + + // endregion + + // region Rating + + /** + * @see {@link http://semantic-ui.com/modules/rating.html#/settings} + */ + interface RatingSettings extends ComponentSettings { + // region Rating Settings + + /** + * A number representing the default rating to apply + * + * @default 0 + */ + initialRating?: number; + /** + * Whether callbacks like onRate should fire immediately after initializing with the current value. + * + * @default false + */ + fireOnInit?: boolean; + /** + * By default a rating will be only clearable if there is 1 icon. Setting to true/false will allow or disallow a user to clear their rating + * + * @default 'auto' + */ + clearable?: 'auto' | boolean; + /** + * Whether to enable user's ability to rate + * + * @default true + */ + interactive?: boolean; + + // endregion + + // region Callbacks + + /** + * Is called after user selects a new rating + */ + onRate?: (this: JQuery, value: number) => void; + + // endregion + + // region DOM Settings + + selector?: { + /** + * @default '.icon' + */ + icon?: string; + }; + className?: { + /** + * @default 'active' + */ + active?: string; + /** + * @default 'hover' + */ + hover?: string; + /** + * @default 'loading' + */ + loading?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'You called a rating action that was not defined' + */ + action?: string; + }; + + // endregion + } + + // endregion + + // region Search + + /** + * @see {@link http://semantic-ui.com/modules/search.html#/settings} + */ + interface SearchSettings extends ComponentSettings { + // region Behavior + + /** + * Settings for API call. + * + * @see {@link http://semantic-ui.com/behaviors/api.html#/usage} + */ + apiSettings?: ApiSettings; + /** + * Minimum characters to query for results + * + * @default 1 + */ + minCharacters?: number; + /** + * Named transition to use when animating menu in and out. Fade and slide down are available without including ui transitions + * + * @default 'fade' + * @see {@link http://semantic-ui.com/modules/transition.html} + */ + transition?: string; + /** + * Duration of animation events + * + * @default 300 + */ + duration?: number; + /** + * Maximum results to display when using local and simple search, maximum category count for category search + * + * @default 7 + */ + maxResults?: number; + /** + * Caches results locally to avoid requerying server + * + * @default true + */ + cache?: boolean; + /** + * Specify a Javascript object which will be searched locally + * + * @default false + */ + source?: false | any; + /** + * Whether the search should automatically select the first search result after searching + * + * @default false + */ + selectFirstResult?: boolean; + /** + * Whether a "no results" message should be shown if no results are found. (These messages can be modified using the template object specified below) + * + * @default false + */ + showNoResults?: boolean; + /** + * Return local results that match anywhere inside your content + * + * @default true + */ + searchFullText?: boolean; + /** + * List mapping display content to JSON property, either with API or source. + */ + fields?: { + /** + * array of categories (category view) + * + * @default 'results' + */ + categories?: string; + /** + * name of category (category view) + * + * @default 'name' + */ + categoryName?: string; + /** + * array of results (category view) + * + * @default 'results' + */ + categoryResults?: string; + /** + * result description + * + * @default 'description' + */ + description?: string; + /** + * result image + * + * @default 'image' + */ + image?: string; + /** + * result price + * + * @default 'price' + */ + price?: string; + /** + * array of results (standard) + * + * @default 'results' + */ + results?: string; + /** + * result title + * + * @default 'title' + */ + title?: string; + /** + * "view more" object name + * + * @default 'action' + */ + action?: string; + /** + * "view more" text + * + * @default 'text' + */ + actionText?: string; + /** + * "view more" url + * + * @default 'url' + */ + actionURL?: string; + }; + /** + * Specify object properties inside local source object which will be searched + */ + searchFields?: string[]; + /** + * Delay before hiding results after search blur + * + * @default 0 + */ + hideDelay?: number; + /** + * Delay before querying results on inputchange + * + * @default 100 + */ + searchDelay?: number; + /** + * Easing equation when using fallback Javascript animation + * + * @default 'easeOutExpo' + */ + easing?: string; + + // endregion + + // region Callbacks + + /** + * Callback on element selection by user. + * The first parameter includes the filtered response results for that element. + * The function should return false to prevent default action (closing search results and selecting value). + */ + onSelect?: (this: JQuery, result: any, response: any) => false | void; + /** + * Callback after processing element template to add HTML to results. Function should return false to prevent default actions. + */ + onResultsAdd?: (this: JQuery, html: string) => false | void; + /** + * Callback on search query + */ + onSearchQuery?: (this: JQuery, query: string) => void; + /** + * Callback on server response + */ + onResults?: (this: JQuery, response: any) => void; + /** + * Callback when results are opened + */ + onResultsOpen?: (this: JQuery) => void; + /** + * Callback when results are closed + */ + onResultsClose?: (this: JQuery) => void; + + // endregion + + // region Templates + + templates?: { + escape?: (string: string) => string; + message?: (message: string, type: string) => string; + category?: (response: any) => string; + standard?: (response: any) => string; + }; + + // endregion + + // region DOM Settings + + /** + * Regular expressions used for matching + */ + regExp?: { + /** + * @default /[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g + */ + escape?: RegExp; + /** + * @default '(?:\s|^)' + */ + beginsWith?: string; + }; + /** + * Selectors used to find parts of a module + */ + selector?: { + /** + * @default '.prompt' + */ + prompt?: string; + /** + * @default '.search.button' + */ + searchButton?: string; + /** + * @default '.results' + */ + results?: string; + /** + * @default '.category' + */ + category?: string; + /** + * @default '.result' + */ + result?: string; + }; + /** + * HTML5 metadata attributes used internally + */ + metadata?: { + /** + * @default 'cache' + */ + cache?: string; + /** + * @default 'results' + */ + results?: string; + }; + /** + * Class names used to determine element state + */ + className?: { + /** + * @default 'active' + */ + active?: string; + /** + * @default 'empty' + */ + empty?: string; + /** + * @default 'focus' + */ + focus?: string; + /** + * @default 'loading' + */ + loading?: string; + /** + * @default 'down' + */ + pressed?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'Cannot search. No source used, and Semantic API module was not included' + */ + source?: string; + /** + * @default 'Your search returned no results' + */ + noResults?: string; + /** + * @default 'Error in debug logging, exiting.' + */ + logging?: string; + /** + * @default 'A valid template name was not specified.' + */ + noTemplate?: string; + /** + * @default 'There was an issue with querying the server.' + */ + serverError?: string; + /** + * @default 'Results must be an array to use maxResults setting' + */ + maxResults?: string; + /** + * @default 'The method you called is not defined.' + */ + method?: string; + }; + + // endregion + } + + // endregion + + // region Shape + + /** + * @see {@link http://semantic-ui.com/modules/shape.html#/settings} + */ + interface ShapeSettings extends ComponentSettings { + // region Shape Settings + + /** + * Duration of side change animation + * + * @default 700 + */ + duration?: number; + /** + * When set to next will use the width of the next side during the shape's animation. + * When set to initial it will use the width of the shape at initialization. + * When set to a specific pixel height, will force the width to that height. + * + * @default 'initial' + * @since 2.2 + */ + width?: 'next' | 'initial' | number; + /** + * When set to next will use the height of the next side during the shape's animation. + * When set to initial it will use the height of the shape at initialization. + * When set to a specific pixel height, will force the height to that height. + * + * @default 'initial' + * @since 2.2 + */ + height?: 'next' | 'initial' | number; + + // endregion + + // region Callbacks + + /** + * Is called before side change + */ + beforeChange?: (this: JQuery) => void; + /** + * Is called after visible side change + */ + onChange?: (this: JQuery) => void; + + // endregion + + // region DOM Settings + + selector?: { + /** + * @default '.sides' + */ + sides?: string; + /** + * @default '.side' + */ + side?: string; + }; + className?: { + /** + * @default 'animating' + */ + animating?: string; + /** + * @default 'hidden' + */ + hidden?: string; + /** + * @default 'loading' + */ + loading?: string; + /** + * @default 'active' + */ + active?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'You tried to switch to a side that does not exist.' + */ + side?: string; + /** + * @default 'The method you called is not defined' + */ + method?: string; + }; + + // endregion + } + + interface Translation { + transform: string; + } + + // endregion + + // region Sidebar + + /** + * @see {@link http://semantic-ui.com/modules/sidebar.html#/settings} + */ + interface SidebarSettings extends ComponentSettings { + // region Behavior + + /** + * Context which sidebar will appear inside + * + * @default 'body' + */ + context?: Selector; + /** + * Whether multiple sidebars can be open at once + * + * @default false + */ + exclusive?: boolean; + /** + * Whether sidebar can be closed by clicking on page + * + * @default true + */ + closable?: boolean; + /** + * Whether to dim page contents when sidebar is visible + * + * @default true + */ + dimPage?: boolean; + /** + * Whether to lock page scroll when sidebar is visible + * + * @default false + */ + scrollLock?: boolean; + /** + * Whether to return to original scroll position when sidebar is hidden, automatically occurs with transition: scale + * + * @default false + */ + returnScroll?: boolean; + /** + * When sidebar is initialized without the proper HTML, using this option will defer creation of DOM to use requestAnimationFrame. + * + * @default false + */ + delaySetup?: boolean; + + // endregion + + // region Animation + + /** + * Named transition to use when animating sidebar. Defaults to 'auto' which selects transition from defaultTransition based on direction. + * + * @default 'auto' + */ + transition?: string; + /** + * Named transition to use when animating when detecting mobile device. Defaults to 'auto' which selects transition from defaultTransition based on direction. + * + * @default 'auto' + */ + mobileTransition?: string; + /** + * Default transitions for each direction and screen size, used with transition: auto + */ + defaultTransition?: { + computer?: { + /** + * @default 'uncover' + */ + left?: string; + /** + * @default 'uncover' + */ + right?: string; + /** + * @default 'overlay' + */ + top?: string; + /** + * @default 'overlay' + */ + bottom?: string; + }; + mobile?: { + /** + * @default 'uncover' + */ + left?: string; + /** + * @default 'uncover' + */ + right?: string; + /** + * @default 'overlay' + */ + top?: string; + /** + * @default 'overlay' + */ + bottom?: string; + }; + }; + /** + * Whether Javascript animations should be used. Defaults to false. Setting to auto will use legacy animations only for browsers that do not support CSS transforms + * + * @default false + */ + useLegacy?: 'auto' | boolean; + /** + * Duration of sidebar animation when using legacy Javascript animation + * + * @default 500 + */ + duration?: number; + /** + * Easing to use when using legacy Javascript animation + * + * @default 'easeInOutQuint' + */ + easing?: string; + + // endregion + + // region Callbacks + + /** + * Is called when a sidebar begins animating in. + */ + onVisible?: (this: JQuery) => void; + /** + * Is called when a sidebar has finished animating in. + */ + onShow?: (this: JQuery) => void; + /** + * Is called when a sidebar begins to hide or show + */ + onChange?: (this: JQuery) => void; + /** + * Is called before a sidebar begins to animate out. + */ + onHide?: (this: JQuery) => void; + /** + * Is called after a sidebar has finished animating out. + */ + onHidden?: (this: JQuery) => void; + + // endregion + + // region DOM Settings + + className?: { + /** + * @default 'active' + */ + active?: string; + /** + * @default 'animating' + */ + animating?: string; + /** + * @default 'dimmed' + */ + dimmed?: string; + /** + * @default 'ios' + */ + ios?: string; + /** + * @default 'pushable' + */ + pushable?: string; + /** + * @default 'pushed' + */ + pushed?: string; + /** + * @default 'right' + */ + right?: string; + /** + * @default 'top' + */ + top?: string; + /** + * @default 'left' + */ + left?: string; + /** + * @default 'bottom' + */ + bottom?: string; + /** + * @default 'visible' + */ + visible?: string; + }; + regExp?: { + /** + * @default /(iPad|iPhone|iPod)/g + */ + ios?: RegExp; + /** + * @default /Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g + */ + mobile?: RegExp; + }; + selector?: { + /** + * @default '.fixed' + */ + fixed?: string; + /** + * @default 'script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed' + */ + omitted?: string; + /** + * @default '.pusher' + */ + pusher?: string; + /** + * @default '.ui.sidebar' + */ + sidebar?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'The method you called is not defined.' + */ + method?: string; + /** + * @default 'Had to add pusher element. For optimal performance make sure body content is inside a pusher element' + */ + pusher?: string; + /** + * @default 'Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag' + */ + movedSidebar?: string; + /** + * @default 'The overlay setting is no longer supported, use animation: overlay' + */ + overlay?: string; + /** + * @default 'There were no elements that matched the specified selector' + */ + notFound?: string; + }; + + // endregion + } + + // endregion + + // region Sticky + + /** + * @see {@link http://semantic-ui.com/modules/sticky.html#/settings} + */ + interface StickySettings extends ComponentSettings { + // region Sticky Settings + + /** + * Whether element should be "pushed" by the viewport, attaching to the bottom of the screen when scrolling up + * + * @default false + */ + pushing?: boolean; + /** + * Sticky container height will only be set if the difference between heights of container and context is larger than this jitter value. + * + * @default 5 + */ + jitter?: number; + /** + * Whether any change in context DOM should automatically refresh cached sticky positions + * + * @default false + */ + observeChanges?: boolean; + /** + * Context which sticky element should stick to + * + * @default false + */ + context?: false | Selector; + /** + * Context which sticky should attach onscroll events. + * + * @default 'window' + */ + scrollContext?: Selector; + /** + * Offset in pixels from the top of the screen when fixing element to viewport + * + * @default 0 + */ + offset?: number; + /** + * Offset in pixels from the bottom of the screen when fixing element to viewport + * + * @default 0 + */ + bottomOffset?: number; + + // endregion + + // region Callbacks + + /** + * Callback when element is repositioned from layout change + */ + onReposition?: (this: JQuery) => void; + /** + * Callback when requestAnimationFrame fires from scroll handler. + */ + onScroll?: (this: JQuery) => void; + /** + * Callback when element is fixed to page + */ + onStick?: (this: JQuery) => void; + /** + * Callback when element is unfixed from page + */ + onUnstick?: (this: JQuery) => void; + /** + * Callback when element is bound to top of parent container + */ + onTop?: (this: JQuery) => void; + /** + * Callback when element is bound to bottom of parent container + */ + onBottom?: (this: JQuery) => void; + + // endregion + + // region DOM Settings + + /** + * Class names used to attach style to state + */ + className?: { + /** + * @default 'bound' + */ + bound?: string; + /** + * @default 'fixed' + */ + fixed?: string; + /** + * @default 'native' + */ + supported?: string; + /** + * @default 'top' + */ + top?: string; + /** + * @default 'bottom' + */ + bottom?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'Sticky element must be inside a relative container' + */ + container?: string; + /** + * @default 'Element is hidden, you must call refresh after element becomes visible' + */ + visible?: string; + /** + * @default 'The method you called is not defined.' + */ + method?: string; + /** + * @default 'Context specified does not exist' + */ + invalidContext?: string; + /** + * @default 'Sticky element is larger than its container, cannot create sticky.' + */ + elementSize?: string; + }; + + // endregion + } + + // endregion + + // region Tab + + /** + * @see {@link http://semantic-ui.com/modules/tab.html#/settings} + */ + interface TabSettings extends ComponentSettings { + // region Tab Settings + + /** + * Whether tab should load remote content as same url as history + * + * @default false + */ + auto?: boolean; + /** + * When set to siblings will only deactivate elements that are DOM siblings with the activated element. + * When set to all the component will deactivate all other elements initialized at the same time. + * + * @default 'siblings' + * @since 2.2 + */ + deactivate?: 'siblings' | 'all'; + /** + * Whether to record history events for tab changes + * + * @default false + */ + history?: boolean; + /** + * Do not load content remotely on first tab load. Useful when open tab is rendered on server. + * + * @default false + */ + ignoreFirstLoad?: boolean; + /** + * Whether inline scripts in tab HTML should be parsed on tab load. + * Defaults to once, parsing only on first load. + * Can also be set to true or false to always parse or never parse inline scripts. + * + * @default 'once' + */ + evaluateScripts?: 'once' | boolean; + /** + * Tab should reload content every time it is opened + */ + alwaysRefresh?: boolean; + /** + * Can be set to either response, DOM or html. + * Using DOM will cache the a clone of the DOM tree, preserving all events as they existed on render. + * response will cache the original response on load, this way callbacks always receive the same content. + * Using html will cache the resulting html after all callbacks, making sure any changes to content are preserved. + * + * @default 'response' + */ + cacheType?: 'response' | 'DOM' | 'html'; + /** + * Tab should cache content after loading locally to avoid server trip on second load + * + * @default true + */ + cache?: boolean; + /** + * Settings object for $.api call + * + * @default false + * @see {@link http://semantic-ui.com/behaviors/api.html} + */ + apiSettings?: ApiSettings; + /** + * Can be set to hash or state. + * Hash will use an in-page link to create history events. + * State will use DOM History and load pages from server on refresh. + * + * @default 'hash' + * @see {@link https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history} + */ + historyType?: 'hash' | 'state'; + /** + * When using historyType state you must specify the base URL for all internal links. + * + * @default false + */ + path?: false | string; + /** + * Tabs are limited to those found inside this context + * + * @default false + */ + context?: false | Selector; + /** + * If enabled limits tabs to children of passed context + * + * @default false + */ + childrenOnly?: boolean; + /** + * Maximum amount of nested tabs allowed (avoids recursion) + * + * @default 25 + */ + maxDepth?: number; + + // endregion + + // region Callbacks + + /** + * Callback only the first time a tab is loaded + */ + onFirstLoad?: (this: JQuery, tabPath: string, parameterArray: any[], historyEvent: any) => void; + /** + * Callback every time a tab is loaded + */ + onLoad?: (this: JQuery, tabPath: string, parameterArray: any[], historyEvent: any) => void; + /** + * Called when a tab begins loading remote content + */ + onRequest?: (this: JQuery, tabPath: string) => void; + /** + * Called after a tab becomes visible + */ + onVisible?: (this: JQuery, tabPath: string) => void; + + // endregion + + // region DOM Settings + + /** + * Functions used to return content + */ + templates?: { + /** + * returns page title + */ + determineTitle?: (tabArray: any[]) => string; + }; + /** + * Selectors used by module + */ + selector?: { + /** + * @default '.ui.tab' + */ + tabs?: string; + /** + * @default '.ui:not(.menu)' + */ + parent?: string; + }; + /** + * DOM metadata used by module + */ + metadata?: { + /** + * @default 'tab' + */ + tab?: string; + /** + * @default 'loaded' + */ + loaded?: string; + /** + * @default 'promise' + */ + promise?: string; + }; + /** + * Class names used to attach style to state + */ + className?: { + /** + * @default 'loading' + */ + loading?: string; + /** + * @default 'active' + */ + active?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'You attempted to load content without API module' + */ + api?: string; + /** + * @default 'The method you called is not defined' + */ + method?: string; + /** + * @default 'Activated tab cannot be found for this context.' + */ + missingTab?: string; + /** + * @default 'The tab you specified is missing a content url.' + */ + noContent?: string; + /** + * @default 'History enabled, but no path was specified' + */ + path?: string; + /** + * @default 'Max recursive depth reached' + */ + recursion?: string; + /** + * @default 'The state library has not been initialized' + */ + state?: string; + }; + + // endregion + } + + // endregion + + // region Transition + + /** + * @see {@link http://semantic-ui.com/modules/transition.html#/settings} + */ + interface TransitionSettings extends ComponentSettings { + // region Transition Settings + + /** + * Named animation event to used. Must be defined in CSS. + * + * @default 'fade' + */ + animation?: string; + /** + * Interval in MS between each elements transition + * + * @default 0 + */ + interval?: number; + /** + * When an interval is specified, sets order of animations. auto reverses only animations that are hiding. + * + * @default 'auto' + */ + reverse?: 'auto' | boolean; + /** + * Specify the final display type (block, inline-block etc) so that it doesn't have to be calculated. + * + * @default false + */ + displayType?: false | string; + /** + * Duration of the CSS transition animation + * + * @default 500 + */ + duration?: number; + /** + * If enabled a timeout will be added to ensure animationend callback occurs even if element is hidden + */ + useFailSafe?: boolean; + /** + * If enabled will allow same animation to be queued while it is already occurring + */ + allowRepeats?: boolean; + /** + * Whether to automatically queue animation if another is occurring + */ + queue?: boolean; + + // endregion + + // region Callbacks + + /** + * Callback on each transition that changes visibility to shown + */ + onShow?: (this: JQuery) => void; + /** + * Callback on each transition that changes visibility to hidden + */ + onHide?: (this: JQuery) => void; + /** + * Callback on animation start, useful for queued animations + */ + onStart?: (this: JQuery) => void; + /** + * Callback on each transition complete + */ + onComplete?: (this: JQuery) => void; + + // endregion + + // region DOM Settings + + /** + * Class names used to attach style to state + */ + className?: { + /** + * @default 'animating' + */ + animating?: string; + /** + * @default 'disabled' + */ + disabled?: string; + /** + * @default 'hidden' + */ + hidden?: string; + /** + * @default 'in' + */ + inward?: string; + /** + * @default 'loading' + */ + loading?: string; + /** + * @default 'looping' + */ + looping?: string; + /** + * @default 'out' + */ + outward?: string; + /** + * @default 'transition' + */ + transition?: string; + /** + * @default 'visible' + */ + visible?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'There is no CSS animation matching the one you specified.' + */ + noAnimation?: string; + /** + * @default 'The method you called is not defined' + */ + method?: string; + }; + + // endregion + } + + // endregion + + // endregion + + // region Behaviors + + // region API + + /** + * @see {@link http://semantic-ui.com/behaviors/api.html#/settings} + */ + interface ApiSettings extends ComponentSettings { + // region Behavior + + /** + * When API event should occur + * + * @default 'auto' + */ + on?: string; + /** + * Can be set to 'local' to cache successful returned AJAX responses when using a JSON API. + * This helps avoid server round trips when API endpoints will return the same results when accessed repeatedly. + * Setting to false, will add cache busting parameters to the URL. + * + * @default true + */ + cache?: 'local' | boolean; + /** + * UI state will be applied to this element, defaults to triggering element. + */ + stateContext?: Selector; + /** + * Whether to encode parameters with encodeURIComponent before adding into url string + * + * @default true + */ + encodeParameters?: boolean; + /** + * Whether to automatically include default data like {value} and {text} + * + * @default true + */ + defaultData?: boolean; + /** + * Whether to serialize closest form and include in request + * + * @default false + */ + serializeForm?: boolean; + /** + * How long to wait when a request is made before triggering request, useful for rate limiting oninput + * + * @default 0 + */ + throttle?: number; + /** + * When set to false will not delay the first request made, when no others are queued + * + * @default true + */ + throttleFirstRequest?: boolean; + /** + * Whether an API request can occur while another request is still pending + * + * @default false + */ + interruptRequests?: boolean; + /** + * Minimum duration to show loading indication + * + * @default 0 + */ + loadingDuration?: number; + /** + * The default auto will automatically remove error state after error duration, unless the element is a form + * + * @default 'auto' + */ + hideError?: 'auto' | boolean; + /** + * Setting to true, will not remove error. + * Setting to a duration in milliseconds to show error state after request error. + * + * @default 2000 + */ + errorDuration?: true | number; + + // endregion + + // region Request Settings + + /** + * Named API action for query, originally specified in $.fn.settings.api + */ + action?: string | false; + /** + * Templated URL for query, will override specified action + */ + url?: string | false; + /** + * Variables to use for replacement + */ + urlData?: any | false; + /** + * Can be set to a Javascript object which will be returned automatically instead of requesting JSON from server + */ + response?: any | false; + /** + * When specified, this function can be used to retrieve content from a server and return it asynchronously instead of a standard AJAX call. + * The callback function should return the server response. + * + * @default false + */ + responseAsync?: ((settings: ApiSettings, callback: (response: any) => void) => void) | false; + /** + * @see response + */ + mockResponse?: any | false; + /** + * @see responseAsync + */ + mockResponseAsync?: ((settings: ApiSettings, callback: (response: any) => void) => void) | false; + /** + * Method for transmitting request to server + */ + method?: 'post' | 'get'; + /** + * Expected data type of response + */ + dataType?: 'xml' | 'json' | 'jsonp' | 'script' | 'html' | 'text'; + /** + * POST/GET Data to Send with Request + */ + data?: any; + + // endregion + + // region Callbacks + + /** + * Allows modifying settings before request, or cancelling request + */ + beforeSend?: (settings: ApiSettings) => any; + /** + * Allows modifying XHR object for request + */ + beforeXHR?: (xhrObject: JQueryXHR) => any; + /** + * Callback that occurs when request is made. Receives both the API success promise and the XHR request promise. + */ + onRequest?: (promise: JQueryDeferred, xhr: JQueryXHR) => void; + /** + * Allows modifying the server's response before parsed by other callbacks to determine API event success + */ + onResponse?: (response: any) => void; + /** + * Determines whether completed JSON response should be treated as successful + * + * @see {@link http://semantic-ui.com/behaviors/api.html#determining-json-success} + */ + successTest?: (response: any) => boolean; + /** + * Callback after successful response, JSON response must pass successTest + */ + onSuccess?: (response: any, element: JQuery, xhr: JQueryXHR) => void; + /** + * Callback on request complete regardless of conditions + */ + onComplete?: (response: any, element: JQuery, xhr: JQueryXHR) => void; + /** + * Callback on failed response, or JSON response that fails successTest + */ + onFailure?: (response: any, element: JQuery) => void; + /** + * Callback on server error from returned status code, or XHR failure. + */ + onError?: (errorMessage: string, element: JQuery, xhr: JQueryXHR) => void; + /** + * Callback on abort caused by user clicking a link or manually cancelling request. + */ + onAbort?: (errorMessage: string, element: JQuery, xhr: JQueryXHR) => void; + + // endregion + + // region DOM Settings + + /** + * Regular expressions used for template matching + */ + regExp?: { + /** + * @default /\{\$*[A-z0-9]+\}/g + */ + required?: RegExp; + /** + * @default /\{\/\$*[A-z0-9]+\}/g + */ + optional?: RegExp; + }; + /** + * Selectors used to find parts of a module + */ + selector?: { + /** + * @default '.disabled' + */ + disabled?: string; + /** + * @default 'form' + */ + form?: string; + }; + /** + * Class names used to determine element state + */ + className?: { + /** + * @default 'loading' + */ + loading?: string; + /** + * @default 'error' + */ + error?: string; + }; + /** + * Metadata used to store XHR and response promise + */ + metadata?: { + /** + * @default 'action' + */ + action?: string; + /** + * @default 'url' + */ + url?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'The before send function has aborted the request' + */ + beforeSend?: string; + /** + * @default 'There was an error with your request' + */ + error?: string; + /** + * @default 'API Request Aborted. Exit conditions met' + */ + exitConditions?: string; + /** + * @default 'JSON could not be parsed during error handling' + */ + JSONParse?: string; + /** + * @default 'You are using legacy API success callback names' + */ + legacyParameters?: string; + /** + * @default 'API action used but no url was defined' + */ + missingAction?: string; + /** + * @default 'Required dependency jquery-serialize-object missing, using basic serialize' + */ + missingSerialize?: string; + /** + * @default 'No URL specified for API event' + */ + missingURL?: string; + /** + * @default 'The beforeSend callback must return a settings object, beforeSend ignored.' + */ + noReturnedValue?: string; + /** + * @default 'There was an error parsing your request' + */ + parseError?: string; + /** + * @default 'Missing a required URL parameter: ' + */ + requiredParameter?: string; + /** + * @default 'Server gave an error: ' + */ + statusMessage?: string; + /** + * @default 'Your request timed out' + */ + timeout?: string; + }; + + // endregion + } + + // endregion + + // region Form Validation + + /** + * @see {@link http://semantic-ui.com/behaviors/form.html#/settings} + */ + interface FormSettings extends ComponentSettings { + // region Form Settings + + /** + * Adds keyboard shortcuts for enter and escape keys to submit form and blur fields respectively + * + * @default true + */ + keyboardShortcuts?: boolean; + /** + * Event used to trigger validation. Can be either submit, blur or change. + * + * @default 'submit' + */ + on?: 'submit' | 'blur' | 'change'; + /** + * If set to true will revalidate fields with errors on input change + * + * @default true + */ + revalidate?: boolean; + /** + * Delay from last typed letter to validate a field when using on: change or when revalidating a field. + * + * @default true + */ + delay?: boolean; + /** + * Adds inline error on field validation error + * + * @default false + */ + inline?: boolean; + /** + * Named transition to use when animating validation errors. Fade and slide down are available without including ui transitions + * + * @default 'scale' + * @see {@link http://semantic-ui.com/modules/transition.html} + */ + transition?: string; + /** + * Animation speed for inline prompt + * + * @default 150 + */ + duration?: number; + + // endregion + + // region Form Prompts + + text?: { + /** + * @default 'Please enter a valid value' + */ + unspecifiedRule?: string; + /** + * @default 'This field' + */ + unspecifiedField?: string; + }; + prompt?: { + /** + * @default '{name} must have a value' + */ + empty?: string; + /** + * @default '{name} must be checked' + */ + checked?: string; + /** + * @default '{name} must be a valid e-mail' + */ + email?: string; + /** + * @default '{name} must be a valid url' + */ + url?: string; + /** + * @default '{name} is not formatted correctly' + */ + regExp?: string; + /** + * @default '{name} must be an integer' + */ + integer?: string; + /** + * @default '{name} must be a decimal number' + */ + decimal?: string; + /** + * @default '{name} must be set to a number' + */ + number?: string; + /** + * @default '{name} must be \'{ruleValue}\'' + */ + is?: string; + /** + * @default '{name} must be exactly \'{ruleValue}\'' + */ + isExactly?: string; + /** + * @default '{name} cannot be set to \'{ruleValue}\'' + */ + not?: string; + /** + * @default '{name} cannot be set to exactly \'{ruleValue}\'' + */ + notExactly?: string; + /** + * @default '{name} cannot contain \'{ruleValue}\'' + */ + contain?: string; + /** + * @default '{name} cannot contain exactly \'{ruleValue}\'' + */ + containExactly?: string; + /** + * @default '{name} must contain \'{ruleValue}\'' + */ + doesntContain?: string; + /** + * @default '{name} must contain exactly \'{ruleValue}\'' + */ + doesntContainExactly?: string; + /** + * @default '{name} must be at least {ruleValue} characters' + */ + minLength?: string; + /** + * @default '{name} must be at least {ruleValue} characters' + */ + length?: string; + /** + * @default '{name} must be exactly {ruleValue} characters' + */ + exactLength?: string; + /** + * @default '{name} cannot be longer than {ruleValue} characters' + */ + maxLength?: string; + /** + * @default '{name} must match {ruleValue} field' + */ + match?: string; + /** + * @default '{name} must have a different value than {ruleValue} field' + */ + different?: string; + /** + * @default '{name} must be a valid credit card number' + */ + creditCard?: string; + /** + * @default '{name} must have at least {ruleValue} choices' + */ + minCount?: string; + /** + * @default '{name} must have exactly {ruleValue} choices' + */ + exactCount?: string; + /** + * @default '{name} must have {ruleValue} or less choices' + */ + maxCount?: string; + }; + + // endregion + + // region Callbacks + + /** + * Callback on each valid field + */ + onValid?: (this: JQuery) => void; + /** + * Callback on each invalid field + */ + onInvalid?: (this: JQuery) => void; + /** + * Callback if a form is all valid + */ + onSuccess?: (this: JQuery, event: JQueryEventObject, fields: any) => void; + /** + * Callback if any form field is invalid + */ + onFailure?: (this: JQuery, formErrors: string[], fields: any) => void; + + // endregion + + // region DOM Settings + + /** + * Selectors used to match functionality to DOM + */ + selector?: { + /** + * @default '.error.message' + */ + message?: string; + /** + * @default 'input, textarea, select' + */ + field?: string; + /** + * @default '.field' + */ + group?: string; + /** + * @default 'input' + */ + input?: string; + /** + * @default '.prompt' + */ + prompt?: string; + /** + * @default '.submit' + */ + submit?: string; + }; + /** + * HTML5 metadata attributes + */ + metadata?: { + /** + * @default 'validate' + */ + validate?: string; + }; + /** + * Class names used to attach style to state + */ + className?: { + /** + * @default 'active' + */ + active?: string; + /** + * @default 'default' + */ + placeholder?: string; + /** + * @default 'disabled' + */ + disabled?: string; + /** + * @default 'visible' + */ + visible?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'The method you called is not defined.' + */ + method?: string; + }; + + // endregion + } + + // endregion + + // region Visibility + + /** + * @see {@link http://semantic-ui.com/behaviors/visibility.html#/settings} + */ + interface VisibilitySettings extends ComponentSettings { + // region Functionality + + /** + * When set to false a callback will occur each time an element passes the threshold for a condition. + * + * @default true + */ + once?: boolean; + /** + * When set to true a callback will occur anytime an element passes a condition not just immediately after the threshold is met. + * + * @default false + */ + continuous?: boolean; + /** + * Set to image to load images when on screen. Set to fixed to add class name fixed when passed. + * + * @default false + */ + type?: false | 'image' | 'fixed'; + /** + * Whether visibility conditions should be checked immediately on init + * + * @default true + */ + initialCheck?: boolean; + /** + * The scroll context visibility should use. + * + * @default 'window' + */ + context?: Selector; + /** + * Whether visibility conditions should be checked on window load. This ensures that after images load content positions will be updated correctly. + * + * @default true + */ + refreshOnLoad?: boolean; + /** + * Whether visibility conditions should be checked on window resize. Useful when content resizes causes continuous changes in position + * + * @default true + */ + refreshOnResize?: boolean; + /** + * Whether visibility conditions should be checked on calls to refresh. + * These calls can be triggered from either resize, load or manually calling $('.foo').visibility('refresh') + * + * @default true + */ + checkOnRefresh?: boolean; + /** + * Specify a z-index when using type: 'fixed'. + * + * @default 1 + * @since 2.2 + */ + zIndex?: number; + /** + * Value that context scrollTop should be adjusted in pixels. Useful for making content appear below content fixed to the page. + * + * @default 0 + */ + offset?: number; + /** + * Whether element calculations should include its margin + * + * @default false + */ + includeMargin?: boolean; + /** + * When set to an integer, scroll position will be debounced using this ms value. false will debounce with requestAnimationFrame. + * + * @default false + */ + throttle?: false | number; + /** + * Whether to automatically refresh content when changes are made to the element's DOM subtree + * + * @default true + */ + observeChanges?: boolean; + /** + * When using type: image allows you to specify transition when showing a loaded image + * + * @default false + */ + transition?: false | string; + /** + * When using type: image allows you to specify transition duration + * + * @default 1000 + */ + duration?: number; + + // endregion + + // region Visibility Callbacks + + /** + * Element's top edge has passed bottom of screen + */ + onTopVisible?: (this: JQuery) => void; + /** + * Element's top edge has passed top of the screen + */ + onTopPassed?: (this: JQuery) => void; + /** + * Element's bottom edge has passed bottom of screen + */ + onBottomVisible?: (this: JQuery) => void; + /** + * Any part of an element is visible on screen + */ + onPassing?: (this: JQuery) => void; + /** + * Element's bottom edge has passed top of screen + */ + onBottomPassed?: (this: JQuery) => void; + /** + * Element's top edge has not passed bottom of screen + */ + onTopVisibleReverse?: (this: JQuery) => void; + /** + * Element's top edge has not passed top of the screen + */ + onTopPassedReverse?: (this: JQuery) => void; + /** + * Element's bottom edge has not passed bottom of screen + */ + onBottomVisibleReverse?: (this: JQuery) => void; + /** + * Element's top has not passed top of screen but bottom has + */ + onPassingReverse?: (this: JQuery) => void; + /** + * Element's bottom edge has not passed top of screen + */ + onBottomPassedReverse?: (this: JQuery) => void; + + // endregion + + // region Image Callbacks + + /** + * Occurs after an image has completed loading + * + * @since 2.2 + */ + onLoad?: (this: JQuery) => void; + /** + * Occurs after all img initialized at the same time have loaded. + * + * @since 2.2 + */ + onAllLoaded?: (this: JQuery) => void; + + // endregion + + // region Fixed Callbacks + + /** + * Occurs after element has been assigned position fixed + * + * @since 2.2 + */ + onFixed?: (this: JQuery) => void; + /** + * Occurs after element has been removed from fixed position + * + * @since 2.2 + */ + onUnfixed?: (this: JQuery) => void; + + // endregion + + // region Utility Callbacks + + /** + * Occurs each time an elements calculations are updated + */ + onUpdate?: (this: JQuery, calculations: ElementCalculations) => void; + /** + * Occurs whenever element's visibility is refreshed + */ + onRefresh?: (this: JQuery) => void; + + // endregion + + // region DOM Settings + + /** + * Class names used to attach style to state + */ + className?: { + /** + * @default 'fixed' + */ + fixed?: string; + }; + + // endregion + + // region Debug Settings + + error?: { + /** + * @default 'The method you called is not defined.' + */ + method?: string; + }; + + // endregion + } + + interface ElementPosition { + fits: boolean; + offset: JQueryCoordinates; + width: number; + height: number; + } + + interface ElementCalculations extends ElementPosition { + margin?: { + top: number; + bottom: number; + }; + top: number; + bottom: number; + + topVisible: boolean; + topPassed: boolean; + bottomVisible: boolean; + bottomPassed: boolean; + pixelsPassed: number; + percentagePassed: number; + + onScreen: boolean; + passing: boolean; + offScreen: boolean; + } + + interface ScreenCalculations { + top: number; + bottom: number; + } + + interface ScreenSize { + height: number; + } + + // endregion + + // endregion +} diff --git a/semantic-ui/semantic-ui-tests.ts b/semantic-ui/semantic-ui-tests.ts new file mode 100644 index 0000000000..f116507459 --- /dev/null +++ b/semantic-ui/semantic-ui-tests.ts @@ -0,0 +1,140 @@ +function test_Accordion() { + const selector = '.ui.accordion'; + $(selector).accordion('refresh'); + $(selector).accordion('open', 0); + $(selector).accordion('close others'); + $(selector).accordion('close', 0); + $(selector).accordion('toggle', 0); + $(selector).accordion({ + selector: { + trigger: '.title .icon' + } + }); + $(selector).accordion(); +} +test_Accordion(); + +function test_Checkbox() { + const selector = '.ui.checkbox'; + $(selector).checkbox({}); + $(selector).checkbox(); +} +test_Checkbox(); + +function test_Dimmer() { + const selector = '.ui.dimmer'; + $(selector).dimmer({}); + $(selector).dimmer(); +} +test_Dimmer(); + +function test_Dropdown() { + const selector = '.ui.dropdown'; + $(selector).dropdown({}); + $(selector).dropdown(); +} +test_Dropdown(); + +function test_Embed() { + const selector = '.ui.embed'; + $(selector).embed({}); + $(selector).embed(); +} +test_Embed(); + +function test_Modal() { + const selector = '.ui.modal'; + $(selector).modal({}); + $(selector).modal(); +} +test_Modal(); + +function test_Nag() { + const selector = '.ui.nag'; + $(selector).nag({}); +} +test_Nag(); + +function test_Popup() { + const selector = '.ui.popup'; + $(selector).popup({}); + $(selector).popup(); +} +test_Popup(); + +function test_Progress() { + const selector = '.ui.progress'; + $(selector).progress({}); + $(selector).progress(); +} +test_Progress(); + +function test_Rating() { + const selector = '.ui.rating'; + $(selector).rating({}); + $(selector).rating(); +} +test_Rating(); + +function test_Search() { + const selector = '.ui.search'; + $(selector).search({}); + $(selector).search(); +} +test_Search(); + +function test_Shape() { + const selector = '.ui.shape'; + $(selector).shape({}); + $(selector).shape(); +} +test_Shape(); + +function test_Sidebar() { + const selector = '.ui.sidebar'; + $(selector).sidebar({}); + $(selector).sidebar(); +} +test_Sidebar(); + +function test_Sticky() { + const selector = '.ui.sticky'; + $(selector).sticky({}); + $(selector).sticky(); +} +test_Sticky(); + +function test_Tab() { + const selector = '.ui.tab'; + $(selector).tab({}); + $(selector).tab(); +} +test_Tab(); + +function test_Transition() { + const selector = '.ui.transition'; + $(selector).transition({}); + $(selector).transition(); +} +test_Transition(); + +function test_Api() { + const selector = '.ui.api'; + $(selector).api({}); + $(selector).api(); +} +test_Api(); + +function test_Form() { + const selector = '.ui.form'; + $(selector).form({}); + $(selector).form(); +} +test_Form(); + +function test_Visibility() { + const selector = '.ui.visibility'; + $(selector).visibility({}); + $(selector).visibility(); +} +test_Visibility(); diff --git a/semantic-ui/tsconfig.json b/semantic-ui/tsconfig.json new file mode 100644 index 0000000000..f57f321023 --- /dev/null +++ b/semantic-ui/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "semantic-ui-tests.ts" + ] +} diff --git a/semantic-ui/tslint.json b/semantic-ui/tslint.json new file mode 100644 index 0000000000..ec365f164b --- /dev/null +++ b/semantic-ui/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "../tslint.json" +} From 227e85833925be724fa847d1acc9ad1a75b2eac2 Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Fri, 20 Jan 2017 09:44:32 +0900 Subject: [PATCH 162/613] Fix typings that depend on old version --- react-i18next/tsconfig.json | 2 +- react-router/tsconfig.json | 4 +-- react-router/v2/tsconfig.json | 3 ++- redux-bootstrap/index.d.ts | 46 +++++++++++++++++------------------ redux-bootstrap/tsconfig.json | 3 --- 5 files changed, 27 insertions(+), 31 deletions(-) diff --git a/react-i18next/tsconfig.json b/react-i18next/tsconfig.json index 5936e04b91..c64579c2e8 100644 --- a/react-i18next/tsconfig.json +++ b/react-i18next/tsconfig.json @@ -12,7 +12,7 @@ "paths": { "history": ["history/v2"], "history/*": ["history/v2/*"], - "react-router": ["react-router/v2"], + "react-router": ["react-router/v2"] }, "typeRoots": [ "../" diff --git a/react-router/tsconfig.json b/react-router/tsconfig.json index c013e2c959..e2a4e054ad 100644 --- a/react-router/tsconfig.json +++ b/react-router/tsconfig.json @@ -10,9 +10,7 @@ "strictNullChecks": false, "jsx": "react", "baseUrl": "../", - "typeRoots": [ - "../" - ], + "typeRoots": ["../"], "types": [], "noEmit": true, "forceConsistentCasingInFileNames": true diff --git a/react-router/v2/tsconfig.json b/react-router/v2/tsconfig.json index c92402947c..d9c384bdcf 100644 --- a/react-router/v2/tsconfig.json +++ b/react-router/v2/tsconfig.json @@ -14,7 +14,8 @@ ], "paths": { "history": ["history/v2"], - "react-router": ["react-router/v2"] + "react-router": ["react-router/v2"], + "react-router/*": ["react-router/v2/*"] }, "types": [], "noEmit": true, diff --git a/redux-bootstrap/index.d.ts b/redux-bootstrap/index.d.ts index 6a539853b7..a4dc46fcfc 100644 --- a/redux-bootstrap/index.d.ts +++ b/redux-bootstrap/index.d.ts @@ -1,29 +1,29 @@ -// Type definitions for react-bootstrap v1.0.0 +// Type definitions for react-bootstrap 1.0 // Project: https://github.com/remojansen/redux-bootstrap // Definitions by: Remo H. Jansen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module "redux-bootstrap" { - import * as Redux from "redux"; - import ReactRouterRedux = require("react-router-redux"); +import * as React from "react"; +import { Middleware, Reducer, Store } from "redux"; +import { History } from "history"; - interface BootstrapOptions { - routes: JSX.Element; - reducers: ReducersOption; - middlewares?: Redux.Middleware[]; - initialState?: any; - container?: string; - } - - interface BootstrapResult { - store: Redux.Store; - history: ReactRouterRedux.ReactRouterReduxHistory; - root: JSX.Element; - } - - interface ReducersOption { - [index: string]: Redux.Reducer; - } - - export default function bootstrap(options: BootstrapOptions): BootstrapResult; +export interface BootstrapOptions { + routes: JSX.Element; + reducers: ReducersOption; + middlewares?: Middleware[]; + initialState?: any; + container?: string; } + +export interface BootstrapResult { + store: Store; + history: History; + root: JSX.Element; +} + +export interface ReducersOption { + [index: string]: Reducer; +} + +export default function bootstrap(options: BootstrapOptions): BootstrapResult; + diff --git a/redux-bootstrap/tsconfig.json b/redux-bootstrap/tsconfig.json index a5c0900ca4..cca0524f9c 100644 --- a/redux-bootstrap/tsconfig.json +++ b/redux-bootstrap/tsconfig.json @@ -9,9 +9,6 @@ "noImplicitThis": true, "strictNullChecks": false, "baseUrl": "../", - "paths": { - "history": ["history/v2"] - }, "typeRoots": [ "../" ], From dc81b9923420a2c2a34d42e68b2671c384950aac Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Thu, 26 Jan 2017 14:36:05 +0900 Subject: [PATCH 163/613] Add missing onClick property on on props --- react-bootstrap/index.d.ts | 5 +++-- react-bootstrap/react-bootstrap-tests.tsx | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/react-bootstrap/index.d.ts b/react-bootstrap/index.d.ts index 3e5c69c034..ee4bfd83e4 100644 --- a/react-bootstrap/index.d.ts +++ b/react-bootstrap/index.d.ts @@ -528,6 +528,7 @@ declare namespace ReactBootstrap { // interface NavbarToggleProps { + onClick?: React.MouseEventHandler<{}>; } type NavbarToggle = React.ClassicComponent; var NavbarToggle: React.ClassicComponentClass; @@ -614,7 +615,7 @@ declare namespace ReactBootstrap { interface TabProps extends React.HTMLProps { animation?: boolean; 'aria-labelledby'?:string; - bsClass?:string; + bsClass?:string; eventKey?: any; // TODO: Add more specific type onEnter?: Function; onEntered?: Function; @@ -765,7 +766,7 @@ declare namespace ReactBootstrap { interface GridProps extends React.HTMLProps { componentClass?: React.ReactType; fluid?: boolean; - bsClass?: string; + bsClass?: string; } type Grid = React.ClassicComponent; var Grid: React.ClassicComponentClass; diff --git a/react-bootstrap/react-bootstrap-tests.tsx b/react-bootstrap/react-bootstrap-tests.tsx index 00bfae517c..f3772d0fef 100644 --- a/react-bootstrap/react-bootstrap-tests.tsx +++ b/react-bootstrap/react-bootstrap-tests.tsx @@ -528,7 +528,7 @@ export class ReactBootstrapTest extends Component { React-Bootstrap - + {} } /> '; $(sideNavHtml).sideNav(); $(sideNavHtml).sideNav({}); $(sideNavHtml).sideNav({ menuWidth: 100 }); @@ -220,22 +224,23 @@ $(sideNavHtml).sideNav("hide"); // Tabs var tabsHtml = '
' + - '
' + - '' + - '
' + - '
Test 1
' + - '
Test 2
' + - '
Test 3
' + - '
Test 4
' + + '
' + + '' + + '
' + + '
Test 1
' + + '
Test 2
' + + '
Test 3
' + + '
Test 4
' + '
'; - $(tabsHtml).tabs(); - $(tabsHtml).tabs('select_tab', 'test1'); +$(tabsHtml).tabs(); +$(tabsHtml).tabs('select_tab', 'test1'); +$(tabsHtml).tabs({ onShow: (currentTab: any) => { console.log(currentTab) }, swipeable: false, responsiveThreshold: 5000 }); // Transitions Materialize.showStaggeredList('#staggered-test'); From 32b7b6cab7e3938ce7637201b76cefdea64ecf3c Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Mon, 30 Jan 2017 19:04:23 -0800 Subject: [PATCH 286/613] As per the documentation `findOr` methods return an array including the instance and a boolean. --- sequelize/v3/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sequelize/v3/index.d.ts b/sequelize/v3/index.d.ts index 81a4eab0ed..9142dc9a6c 100644 --- a/sequelize/v3/index.d.ts +++ b/sequelize/v3/index.d.ts @@ -3819,8 +3819,8 @@ declare namespace sequelize { * Find a row that matches the query, or build (but don't save) the row if none is found. * The successfull result of the promise will be (instance, initialized) - Make sure to use .spread() */ - findOrInitialize(options: FindOrInitializeOptions): Promise; - findOrBuild(options: FindOrInitializeOptions): Promise; + findOrInitialize(options: FindOrInitializeOptions): Promise<[TInstance, boolean]>; + findOrBuild(options: FindOrInitializeOptions): Promise<[TInstance, boolean]>; /** * Find a row that matches the query, or build and save the row if none is found @@ -3833,13 +3833,13 @@ declare namespace sequelize { * an instance of sequelize.TimeoutError will be thrown instead. If a transaction is created, a savepoint * will be created instead, and any unique constraint violation will be handled internally. */ - findOrCreate(options: FindOrInitializeOptions): Promise; + findOrCreate(options: FindOrInitializeOptions): Promise<[TInstance, boolean]>; /** * A more performant findOrCreate that will not work under a transaction (at least not in postgres) * Will execute a find call, if empty then attempt to create, if unique constraint then attempt to find again */ - findCreateFind(options: FindCreateFindOptions): Promise; + findCreateFind(options: FindCreateFindOptions): Promise<[TInstance, boolean]>; /** * Insert or update a single row. An update will be executed if a row which matches the supplied values on From 24c5a18d44b9811f74d2a2afb16fe5ade3258d41 Mon Sep 17 00:00:00 2001 From: Sukhdeep Singh Date: Mon, 30 Jan 2017 22:17:52 -0500 Subject: [PATCH 287/613] Chip Javascript plugin usage added --- materialize-css/index.d.ts | 45 +++++++++++++++++++++++- materialize-css/materialize-css-tests.ts | 32 ++++++++++++++++- 2 files changed, 75 insertions(+), 2 deletions(-) diff --git a/materialize-css/index.d.ts b/materialize-css/index.d.ts index 4d49ac38e7..8b4c610e13 100644 --- a/materialize-css/index.d.ts +++ b/materialize-css/index.d.ts @@ -70,7 +70,7 @@ declare namespace Materialize { */ outDuration?: number; - + /** * If true, constrainWidth to the size of the dropdown activator. * Default: true @@ -343,6 +343,35 @@ declare namespace Materialize { responsiveThreshold?: number; } + interface ChipDataObject { + tag: string, + image?: string, + id?: number + } + + interface ChipOptions { + /** + * Set the chip data + */ + data?: Materialize.ChipDataObject[]; + /** + * Set first placeholder when there are no tags + */ + placeholder?: string; + /** + * Set second placeholder when adding additional tags. + */ + secondaryPlaceholder?: string; + /** + * Set autocomplete data. + */ + autocompleteData?: any; + /** + * Set autocomplete limit. + */ + autocompleteLimit?: number; + } + /** * The Materialize object @@ -548,4 +577,18 @@ interface JQuery { * @name TabOptions options jQuery plugin options */ tabs(options?: Materialize.TabOptions): JQuery; + + /** + * Chip Initialization + * + * @name ChipOptions options Material chip options + */ + material_chip(options?: Materialize.ChipOptions): JQuery; + + /** + * To access chip data + * + * @name string method name of the method to invoke + */ + material_chip(method: string): Materialize.ChipDataObject[] | Materialize.ChipDataObject; } diff --git a/materialize-css/materialize-css-tests.ts b/materialize-css/materialize-css-tests.ts index 625d555398..9c7d7d1ea2 100644 --- a/materialize-css/materialize-css-tests.ts +++ b/materialize-css/materialize-css-tests.ts @@ -245,4 +245,34 @@ $(tabsHtml).tabs({ onShow: (currentTab: any) => { console.log(currentTab) }, swi // Transitions Materialize.showStaggeredList('#staggered-test'); -Materialize.updateTextFields(); \ No newline at end of file +Materialize.updateTextFields(); + +let chipsHTML = '
' + + '
' + + '
' + + '
'; + +$(chipsHTML).material_chip(); +$(chipsHTML).material_chip({ + data: [{ + tag: 'Apple', + }, { + tag: 'Microsoft', + }, { + tag: 'Google', + }], +}); + +$('.chips-placeholder').material_chip({ + placeholder: 'Enter a tag', + secondaryPlaceholder: '+Tag', +}); +$('.chips-autocomplete').material_chip({ + autocompleteData: { + 'Apple': null, + 'Microsoft': null, + 'Google': null + } +}); + +let chipData: Materialize.ChipDataObject | Materialize.ChipDataObject[] = $('.chips-initial').material_chip('data'); \ No newline at end of file From 0dc1c448ad6a3b165fbb8a5b903c225577089b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20Kov=C3=A1cs?= Date: Tue, 31 Jan 2017 09:44:42 +0100 Subject: [PATCH 288/613] Module declaration for dragster --- dragster/index.d.ts | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/dragster/index.d.ts b/dragster/index.d.ts index d60892244e..2aa82ddb8b 100644 --- a/dragster/index.d.ts +++ b/dragster/index.d.ts @@ -3,10 +3,32 @@ // Definitions by: Zsolt Kovacs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare class Dragster { - constructor(elem: HTMLElement); - removeListeners(): void; - reset(): void; +// Type definitions for dragster 0.1 +// Project: https://github.com/bensmithett/dragster +// Definitions by: Zsolt Kovacs +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare namespace Dragster { + interface Dragster { + removeListeners(): void; + reset(): void; + } + + interface DragsterStatic { + (elem: HTMLElement): Dragster; + new (elem: HTMLElement): Dragster; + } } -export = Dragster; \ No newline at end of file +// window.Dragster +declare var Dragster: Dragster.DragsterStatic; + +// import Dragster = require('dragster'); +declare module 'dragster' { + interface ExportedDragster extends Dragster.Dragster { + (elem: HTMLElement): Dragster.Dragster; + new (elem: HTMLElement): Dragster.Dragster; + } + var Dragster: ExportedDragster; + export = Dragster; +} \ No newline at end of file From 08870e953fdf89da51a8683546589e9efe0d24ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1mal=20Rasmussen?= Date: Tue, 31 Jan 2017 09:52:27 +0100 Subject: [PATCH 289/613] Move typescript version definition to the top of the file --- lodash-es/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lodash-es/index.d.ts b/lodash-es/index.d.ts index c49a824f4c..e344736795 100644 --- a/lodash-es/index.d.ts +++ b/lodash-es/index.d.ts @@ -2,6 +2,7 @@ // Project: http://lodash.com/ // Definitions by: Stephen Lautier // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 export { default as add } from './add'; export { default as after } from './after'; @@ -286,5 +287,3 @@ export { default as xorWith } from './xorWith'; export { default as zip } from './zip'; export { default as zipObject } from './zipObject'; export { default as zipWith } from './zipWith'; - -// TypeScript Version: 2.1 From dc2a51cbd5555de2c6a89a7356a9d79550c2b2bb Mon Sep 17 00:00:00 2001 From: 421p Date: Tue, 31 Jan 2017 10:53:01 +0200 Subject: [PATCH 290/613] update wampy.d.ts to work with in-browser typescript --- wampy/wampy.d.ts | 198 +++++++++++++++++++++++------------------------ 1 file changed, 99 insertions(+), 99 deletions(-) diff --git a/wampy/wampy.d.ts b/wampy/wampy.d.ts index e068b97a25..261c521aff 100644 --- a/wampy/wampy.d.ts +++ b/wampy/wampy.d.ts @@ -3,103 +3,103 @@ // Definitions by: Konstantin Burkalev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare module "wampy" { - - interface WampyOptions { - autoReconnect?: boolean; - reconnectInterval?: number; - maxRetries?: number; - transportEncoding?: string; - realm?: string; - helloCustomDetails?: any; - onChallenge?: (auth_method: string, challenge_details: string) => string; - authid?: string; - onConnect?: () => void; - onClose?: () => void; - onError?: () => void; - onReconnect?: () => void; - onReconnectSuccess?: () => void; - ws?: any; - msgpackCoder?: any; - } - - interface WampyOpStatus { - code: number; - description: string; - reqId?: number; - } - - interface SuccessErrorCallbacksHash { - onSuccess?: (data: any) => void; - onError?: (err: string) => void; - } - - interface SubscribeCallbacksHash extends SuccessErrorCallbacksHash { - onEvent: (data: any) => void; - } - - interface RegisterCallbacksHash extends SuccessErrorCallbacksHash { - rpc: (data: any, options: any) => any[]; - } - - interface CallSuccessErrorCallbacksHash { - onSuccess: (data: any) => any; - onError?: (err: string) => void; - } - - interface AdvancedOptions { - exclude?: number | number[]; - eligible?: number | number[]; - exclude_me?: boolean; - disclose_me?: boolean; - } - - interface PublishAdvancedOptions extends AdvancedOptions { - exclude_authid?: string | string[]; - exclude_authrole?: string | string[]; - eligible_authid?: string | string[]; - eligible_authrole?: string | string[]; - } - - interface CallAdvancedOptions { - disclose_me?: boolean; - receive_progress?: boolean; - timeout?: number; - } - - interface CancelAdvancedOptions { - mode?: "skip" | "kill" | "killnowait"; - } - - interface Wampy { - options(opts?: WampyOptions): WampyOptions | Wampy; - getOpStatus(): WampyOpStatus; - getSessionId(): number; - connect(url?: string): Wampy; - disconnect(): Wampy; - abort(): Wampy; - subscribe(topicURI: string, callbacks: (((data: any) => void) | SubscribeCallbacksHash)): Wampy; - unsubscribe(topicURI: string, callbacks?: (((data: any) => void) | SubscribeCallbacksHash)): Wampy; - publish(topicURI: string, - payload?: any, - callbacks?: SuccessErrorCallbacksHash, - advancedOptions?: PublishAdvancedOptions): Wampy; - call(topicURI: string, - payload?: any, - callbacks?: (((data: any) => void) | CallSuccessErrorCallbacksHash), - advancedOptions?: CallAdvancedOptions): Wampy; - cancel(reqId: number, - callbacks?: ((() => void) | SuccessErrorCallbacksHash), - advancedOptions?: CancelAdvancedOptions): Wampy; - register(topicURI: string, callbacks: (((data: any, options: any) => any[]) | RegisterCallbacksHash)): Wampy; - unregister(topicURI: string, callbacks?: ((() => void) | SuccessErrorCallbacksHash)): Wampy; - } - - interface WampyInstance { - new(url?: string, options?: WampyOptions): Wampy; - } - - var wampy: WampyInstance; - - export default wampy; +interface WampyOptions { + autoReconnect?: boolean; + reconnectInterval?: number; + maxRetries?: number; + transportEncoding?: string; + realm?: string; + helloCustomDetails?: any; + onChallenge?: (auth_method: string, challenge_details: string) => string; + authid?: string; + onConnect?: () => void; + onClose?: () => void; + onError?: () => void; + onReconnect?: () => void; + onReconnectSuccess?: () => void; + ws?: any; + msgpackCoder?: any; } + +interface WampyOpStatus { + code: number; + description: string; + reqId?: number; +} + +interface SuccessErrorCallbacksHash { + onSuccess?: (data: any) => void; + onError?: (err: string) => void; +} + +interface SubscribeCallbacksHash extends SuccessErrorCallbacksHash { + onEvent: (data: any) => void; +} + +interface RegisterCallbacksHash extends SuccessErrorCallbacksHash { + rpc: (data: any, options: any) => any[]; +} + +interface CallSuccessErrorCallbacksHash { + onSuccess: (data: any) => any; + onError?: (err: string) => void; +} + +interface AdvancedOptions { + exclude?: number | number[]; + eligible?: number | number[]; + exclude_me?: boolean; + disclose_me?: boolean; +} + +interface PublishAdvancedOptions extends AdvancedOptions { + exclude_authid?: string | string[]; + exclude_authrole?: string | string[]; + eligible_authid?: string | string[]; + eligible_authrole?: string | string[]; +} + +interface CallAdvancedOptions { + disclose_me?: boolean; + receive_progress?: boolean; + timeout?: number; +} + +interface CancelAdvancedOptions { + mode?: "skip" | "kill" | "killnowait"; +} + +interface Wampy { + new (url?: string, options?: WampyOptions): Wampy; + options(opts?: WampyOptions): WampyOptions | Wampy; + getOpStatus(): WampyOpStatus; + getSessionId(): number; + connect(url?: string): Wampy; + disconnect(): Wampy; + abort(): Wampy; + subscribe(topicURI: string, callbacks: (((data: any) => void) | SubscribeCallbacksHash)): Wampy; + unsubscribe(topicURI: string, callbacks?: (((data: any) => void) | SubscribeCallbacksHash)): Wampy; + publish(topicURI: string, + payload?: any, + callbacks?: SuccessErrorCallbacksHash, + advancedOptions?: PublishAdvancedOptions): Wampy; + call(topicURI: string, + payload?: any, + callbacks?: (((data: any) => void) | CallSuccessErrorCallbacksHash), + advancedOptions?: CallAdvancedOptions): Wampy; + cancel(reqId: number, + callbacks?: ((() => void) | SuccessErrorCallbacksHash), + advancedOptions?: CancelAdvancedOptions): Wampy; + register(topicURI: string, callbacks: (((data: any, options: any) => any[]) | RegisterCallbacksHash)): Wampy; + unregister(topicURI: string, callbacks?: ((() => void) | SuccessErrorCallbacksHash)): Wampy; +} + + +declare var wampy: Wampy; + +declare module 'wampy' +{ + export = wampy +} + + From 506ff3b5a0a525892ef05bbb9406a3855049aa17 Mon Sep 17 00:00:00 2001 From: daberni Date: Tue, 31 Jan 2017 10:11:19 +0100 Subject: [PATCH 291/613] added serialize to JSNLogOptions see http://jsnlog.com/Documentation/JSNLogJs/JL/SetOptions#serialize --- jsnlog/index.d.ts | 3 ++- jsnlog/jsnlog-tests.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jsnlog/index.d.ts b/jsnlog/index.d.ts index 4b525c75af..012534a7ac 100644 --- a/jsnlog/index.d.ts +++ b/jsnlog/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for JSNLog 2.17.3 +// Type definitions for JSNLog 2.17.4 // Project: https://github.com/mperdeck/jsnlog.js // Definitions by: Mattijs Perdeck // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -33,6 +33,7 @@ declare namespace JL { clientIP?: string; requestId?: string; defaultBeforeSend?: (xhr: XMLHttpRequest) => void; + serialize?: (obj: any) => string; } interface JSNLogFilterOptions { diff --git a/jsnlog/jsnlog-tests.ts b/jsnlog/jsnlog-tests.ts index db2b2a2523..64078fbd58 100644 --- a/jsnlog/jsnlog-tests.ts +++ b/jsnlog/jsnlog-tests.ts @@ -18,7 +18,8 @@ JL.setOptions({ defaultAjaxUrl: '/jsnlog.logger', clientIP: '0.0.0.0', requestId: 'a reuest id', - defaultBeforeSend: null + defaultBeforeSend: null, + serialize: (obj) => JSON.stringify(obj) }); // ---------------------------------------------------------- From ec9bf7f22990ed5c3d419356e263f595bef7eebb Mon Sep 17 00:00:00 2001 From: Patricio Zavolinsky Date: Mon, 23 Jan 2017 10:48:46 +0000 Subject: [PATCH 292/613] React: Constrain typed changed events to inputs, selects and textareas --- react/index.d.ts | 40 ++++++++++++++++++++++++---------------- react/test/index.ts | 15 +++++++++++++++ 2 files changed, 39 insertions(+), 16 deletions(-) diff --git a/react/index.d.ts b/react/index.d.ts index 61aa81ab01..f25e5c0afd 100644 --- a/react/index.d.ts +++ b/react/index.d.ts @@ -81,6 +81,9 @@ declare namespace React { interface HTMLFactory extends DOMFactory, T> { } + interface ChangeTargetHTMLFactory extends DOMFactory, T> { + } + interface SVGFactory extends DOMFactory, SVGElement> { } @@ -270,9 +273,10 @@ declare namespace React { // // Event System // ---------------------------------------------------------------------- - interface SyntheticEventBase { + + interface SyntheticEvent { bubbles: boolean; - currentTarget: EventTarget & CURRENT; + currentTarget: EventTarget & T; cancelable: boolean; defaultPrevented: boolean; eventPhase: number; @@ -283,16 +287,12 @@ declare namespace React { stopPropagation(): void; isPropagationStopped(): boolean; persist(): void; - target: EventTarget & TARGET; + // If you thought this should be `EventTarget & T`, see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12239 + target: EventTarget; timeStamp: Date; type: string; } - interface SyntheticEvent extends SyntheticEventBase { - // If you thought target should be `EventTarget & T`, - // see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12239 - } - interface ClipboardEvent extends SyntheticEvent { clipboardData: DataTransfer; } @@ -312,7 +312,8 @@ declare namespace React { interface FormEvent extends SyntheticEvent { } - interface ChangeEvent extends SyntheticEventBase { + interface ChangeEvent extends SyntheticEvent { + target: EventTarget & T; } interface KeyboardEvent extends SyntheticEvent { @@ -433,6 +434,9 @@ declare namespace React { interface HTMLProps extends HTMLAttributes, ClassAttributes { } + interface ChangeTargetHTMLProps extends ChangeTargetHTMLAttributes, ClassAttributes { + } + interface SVGProps extends SVGAttributes, ClassAttributes { } @@ -465,7 +469,7 @@ declare namespace React { onBlurCapture?: FocusEventHandler; // Form Events - onChange?: ChangeEventHandler; + onChange?: FormEventHandler; onChangeCapture?: FormEventHandler; onInput?: FormEventHandler; onInputCapture?: FormEventHandler; @@ -2149,6 +2153,10 @@ declare namespace React { unselectable?: boolean; } + interface ChangeTargetHTMLAttributes extends HTMLAttributes { + onChange?: ChangeEventHandler; + } + // this list is "complete" in that it contains every SVG attribute // that React supports, but the types can be improved. // Full list here: https://facebook.github.io/react/docs/dom-elements.html @@ -2459,7 +2467,7 @@ declare namespace React { i: HTMLFactory; iframe: HTMLFactory; img: HTMLFactory; - input: HTMLFactory; + input: ChangeTargetHTMLFactory; ins: HTMLFactory; kbd: HTMLFactory; keygen: HTMLFactory; @@ -2494,7 +2502,7 @@ declare namespace React { samp: HTMLFactory; script: HTMLFactory; section: HTMLFactory; - select: HTMLFactory; + select: ChangeTargetHTMLFactory; small: HTMLFactory; source: HTMLFactory; span: HTMLFactory; @@ -2506,7 +2514,7 @@ declare namespace React { table: HTMLFactory; tbody: HTMLFactory; td: HTMLFactory; - textarea: HTMLFactory; + textarea: ChangeTargetHTMLFactory; tfoot: HTMLFactory; th: HTMLFactory; thead: HTMLFactory; @@ -2686,7 +2694,7 @@ declare global { i: React.HTMLProps; iframe: React.HTMLProps; img: React.HTMLProps; - input: React.HTMLProps; + input: React.ChangeTargetHTMLProps; ins: React.HTMLProps; kbd: React.HTMLProps; keygen: React.HTMLProps; @@ -2722,7 +2730,7 @@ declare global { samp: React.HTMLProps; script: React.HTMLProps; section: React.HTMLProps; - select: React.HTMLProps; + select: React.ChangeTargetHTMLProps; small: React.HTMLProps; source: React.HTMLProps; span: React.HTMLProps; @@ -2734,7 +2742,7 @@ declare global { table: React.HTMLProps; tbody: React.HTMLProps; td: React.HTMLProps; - textarea: React.HTMLProps; + textarea: React.ChangeTargetHTMLProps; tfoot: React.HTMLProps; th: React.HTMLProps; thead: React.HTMLProps; diff --git a/react/test/index.ts b/react/test/index.ts index b575055514..38ad574aa4 100644 --- a/react/test/index.ts +++ b/react/test/index.ts @@ -674,3 +674,18 @@ class SyntheticEventTargetValue extends React.Component<{}, { value: string }> { }); } } + +React.DOM.input({ + onChange: event => { + // `event.target` is guaranteed to be HTMLInputElement + event.target.value; + } +}); + +// A ChangeEvent is a valid FormEvent (maintain compatibility with existing +// event handlers) + +type InputChangeEvent = React.ChangeEvent; +type InputFormEvent = React.FormEvent; +const changeEvent:InputChangeEvent = undefined as any; +const formEvent:InputFormEvent = changeEvent; From 94719585469e9cbdb9b2174851aaf97161c46676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20Kov=C3=A1cs?= Date: Tue, 31 Jan 2017 12:25:54 +0100 Subject: [PATCH 293/613] Remove tslinter --- dragster/tslint.json | 1 - 1 file changed, 1 deletion(-) delete mode 100644 dragster/tslint.json diff --git a/dragster/tslint.json b/dragster/tslint.json deleted file mode 100644 index 377cc837d4..0000000000 --- a/dragster/tslint.json +++ /dev/null @@ -1 +0,0 @@ -{ "extends": "../tslint.json" } From 4750cce5220c94b7ca3ed2c85636f5386cff3690 Mon Sep 17 00:00:00 2001 From: denis Date: Tue, 31 Jan 2017 12:31:18 +0100 Subject: [PATCH 294/613] Changes according to repo owner Truncate version number Add author name --- metismenu/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metismenu/index.d.ts b/metismenu/index.d.ts index 1816090f87..7b8a8eca19 100644 --- a/metismenu/index.d.ts +++ b/metismenu/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for metisMenu 2.6.1 +// Type definitions for metisMenu 2.6 // Project: http://github.com/onokumus/metisMenu -// Definitions by: onokums +// Definitions by: onokums , denis // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// From 8f873ba3566630dad1b62d080d93145de2dc5784 Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Tue, 31 Jan 2017 18:01:53 +0530 Subject: [PATCH 295/613] Add FusionCharts definition for Charts, Widgets, Maps, PowerCharts and themes - Also fixed the linting issue. --- fusioncharts/fusioncharts-tests.ts | 2 ++ fusioncharts/fusioncharts.charts.d.ts | 7 +++++++ fusioncharts/fusioncharts.gantt.d.ts | 7 +++++++ fusioncharts/fusioncharts.maps.d.ts | 7 +++++++ fusioncharts/fusioncharts.powercharts.d.ts | 7 +++++++ fusioncharts/fusioncharts.ssgrid.d.ts | 7 +++++++ fusioncharts/fusioncharts.treemap.d.ts | 7 +++++++ fusioncharts/fusioncharts.widgets.d.ts | 7 +++++++ fusioncharts/fusioncharts.zoomscatter.d.ts | 7 +++++++ fusioncharts/index.d.ts | 14 +++++++------- fusioncharts/maps/fusioncharts.usa.d.ts | 7 +++++++ fusioncharts/maps/fusioncharts.world.d.ts | 7 +++++++ fusioncharts/themes/fusioncharts.theme.carbon.d.ts | 7 +++++++ fusioncharts/themes/fusioncharts.theme.fint.d.ts | 7 +++++++ fusioncharts/themes/fusioncharts.theme.ocean.d.ts | 7 +++++++ fusioncharts/themes/fusioncharts.theme.zune.d.ts | 7 +++++++ fusioncharts/tsconfig.json | 14 ++++++++++++++ fusioncharts/tslint.json | 1 + 18 files changed, 122 insertions(+), 7 deletions(-) create mode 100644 fusioncharts/fusioncharts.charts.d.ts create mode 100644 fusioncharts/fusioncharts.gantt.d.ts create mode 100644 fusioncharts/fusioncharts.maps.d.ts create mode 100644 fusioncharts/fusioncharts.powercharts.d.ts create mode 100644 fusioncharts/fusioncharts.ssgrid.d.ts create mode 100644 fusioncharts/fusioncharts.treemap.d.ts create mode 100644 fusioncharts/fusioncharts.widgets.d.ts create mode 100644 fusioncharts/fusioncharts.zoomscatter.d.ts create mode 100644 fusioncharts/maps/fusioncharts.usa.d.ts create mode 100644 fusioncharts/maps/fusioncharts.world.d.ts create mode 100644 fusioncharts/themes/fusioncharts.theme.carbon.d.ts create mode 100644 fusioncharts/themes/fusioncharts.theme.fint.d.ts create mode 100644 fusioncharts/themes/fusioncharts.theme.ocean.d.ts create mode 100644 fusioncharts/themes/fusioncharts.theme.zune.d.ts create mode 100644 fusioncharts/tslint.json diff --git a/fusioncharts/fusioncharts-tests.ts b/fusioncharts/fusioncharts-tests.ts index 9bbf640225..77b912ba18 100644 --- a/fusioncharts/fusioncharts-tests.ts +++ b/fusioncharts/fusioncharts-tests.ts @@ -1,3 +1,5 @@ +import * as FusionCharts from "fusioncharts"; + FusionCharts.addEventListener('ready',(eventObject)=>{ eventObject.stopPropagation(); }); diff --git a/fusioncharts/fusioncharts.charts.d.ts b/fusioncharts/fusioncharts.charts.d.ts new file mode 100644 index 0000000000..214f9d79c2 --- /dev/null +++ b/fusioncharts/fusioncharts.charts.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var charts: (H: FusionCharts) => FusionCharts; +export = charts; +export as namespace charts; diff --git a/fusioncharts/fusioncharts.gantt.d.ts b/fusioncharts/fusioncharts.gantt.d.ts new file mode 100644 index 0000000000..7af79ff354 --- /dev/null +++ b/fusioncharts/fusioncharts.gantt.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var gantt: (H: FusionCharts) => FusionCharts; +export = gantt; +export as namespace gantt; diff --git a/fusioncharts/fusioncharts.maps.d.ts b/fusioncharts/fusioncharts.maps.d.ts new file mode 100644 index 0000000000..8610b8405f --- /dev/null +++ b/fusioncharts/fusioncharts.maps.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var maps: (H: FusionCharts) => FusionCharts; +export = maps; +export as namespace maps; diff --git a/fusioncharts/fusioncharts.powercharts.d.ts b/fusioncharts/fusioncharts.powercharts.d.ts new file mode 100644 index 0000000000..432cc4ce24 --- /dev/null +++ b/fusioncharts/fusioncharts.powercharts.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var powercharts: (H: FusionCharts) => FusionCharts; +export = powercharts; +export as namespace powercharts; diff --git a/fusioncharts/fusioncharts.ssgrid.d.ts b/fusioncharts/fusioncharts.ssgrid.d.ts new file mode 100644 index 0000000000..f74376410d --- /dev/null +++ b/fusioncharts/fusioncharts.ssgrid.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var ssgrid: (H: FusionCharts) => FusionCharts; +export = ssgrid; +export as namespace ssgrid; diff --git a/fusioncharts/fusioncharts.treemap.d.ts b/fusioncharts/fusioncharts.treemap.d.ts new file mode 100644 index 0000000000..f8f80059ed --- /dev/null +++ b/fusioncharts/fusioncharts.treemap.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var treemap: (H: FusionCharts) => FusionCharts; +export = treemap; +export as namespace treemap; diff --git a/fusioncharts/fusioncharts.widgets.d.ts b/fusioncharts/fusioncharts.widgets.d.ts new file mode 100644 index 0000000000..052216721d --- /dev/null +++ b/fusioncharts/fusioncharts.widgets.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var widgets: (H: FusionCharts) => FusionCharts; +export = widgets; +export as namespace widgets; diff --git a/fusioncharts/fusioncharts.zoomscatter.d.ts b/fusioncharts/fusioncharts.zoomscatter.d.ts new file mode 100644 index 0000000000..07e58585bb --- /dev/null +++ b/fusioncharts/fusioncharts.zoomscatter.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var zoomscatter: (H: FusionCharts) => FusionCharts; +export = zoomscatter; +export as namespace zoomscatter; diff --git a/fusioncharts/index.d.ts b/fusioncharts/index.d.ts index dc053859b9..9c46955075 100644 --- a/fusioncharts/index.d.ts +++ b/fusioncharts/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for FusionCharts 3.11.2 +// Type definitions for fusioncharts 3.11 // Project: http://www.fusioncharts.com -// Definitions by: Shivaraj KV +// Definitions by: Rohit Kumar , Shivaraj KV // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -136,9 +136,9 @@ declare namespace FusionCharts { outputTo(callback: (message: any) => any): void; - enable(state:any,outputTo?:(message: any) =>any,outputFormat?:any):void + enable(state: any, outputTo?: (message: any) => any, outputFormat?: any): void; - enableFirebugLite():any; + enableFirebugLite(): any; } interface FusionCharts { @@ -154,7 +154,7 @@ declare namespace FusionCharts { configureLink(param: {} | any[], level?: number): void; - setChartAttribute(attributes: ChartObject | String, value?: string): void; + setChartAttribute(attributes: ChartObject | string, value?: string): void; getChartAttribute(attribute?: string | string[]): ChartObject; @@ -273,7 +273,7 @@ declare namespace FusionCharts { formatNumber(num: number, type?: string, config?: {}): Element; - setCurrentRenderer(name: string): void + setCurrentRenderer(name: string): void; getCurrentRenderer(): string; @@ -285,7 +285,7 @@ declare namespace FusionCharts { options: {}; - debugger:Debugger; + debugger: Debugger; } diff --git a/fusioncharts/maps/fusioncharts.usa.d.ts b/fusioncharts/maps/fusioncharts.usa.d.ts new file mode 100644 index 0000000000..159ad8ab80 --- /dev/null +++ b/fusioncharts/maps/fusioncharts.usa.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var usa: (H: FusionCharts) => FusionCharts; +export = usa; +export as namespace usa; diff --git a/fusioncharts/maps/fusioncharts.world.d.ts b/fusioncharts/maps/fusioncharts.world.d.ts new file mode 100644 index 0000000000..889afc5a7d --- /dev/null +++ b/fusioncharts/maps/fusioncharts.world.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var world: (H: FusionCharts) => FusionCharts; +export = world; +export as namespace world; diff --git a/fusioncharts/themes/fusioncharts.theme.carbon.d.ts b/fusioncharts/themes/fusioncharts.theme.carbon.d.ts new file mode 100644 index 0000000000..0be2ca7334 --- /dev/null +++ b/fusioncharts/themes/fusioncharts.theme.carbon.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var carbon: (H: FusionCharts) => FusionCharts; +export = carbon; +export as namespace carbon; diff --git a/fusioncharts/themes/fusioncharts.theme.fint.d.ts b/fusioncharts/themes/fusioncharts.theme.fint.d.ts new file mode 100644 index 0000000000..8c76253ee6 --- /dev/null +++ b/fusioncharts/themes/fusioncharts.theme.fint.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var fint: (H: FusionCharts) => FusionCharts; +export = fint; +export as namespace fint; diff --git a/fusioncharts/themes/fusioncharts.theme.ocean.d.ts b/fusioncharts/themes/fusioncharts.theme.ocean.d.ts new file mode 100644 index 0000000000..f0dd57aa03 --- /dev/null +++ b/fusioncharts/themes/fusioncharts.theme.ocean.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var ocean: (H: FusionCharts) => FusionCharts; +export = ocean; +export as namespace ocean; diff --git a/fusioncharts/themes/fusioncharts.theme.zune.d.ts b/fusioncharts/themes/fusioncharts.theme.zune.d.ts new file mode 100644 index 0000000000..23c04014c7 --- /dev/null +++ b/fusioncharts/themes/fusioncharts.theme.zune.d.ts @@ -0,0 +1,7 @@ +interface FusionCharts { + type: string; +} + +declare var zune: (H: FusionCharts) => FusionCharts; +export = zune; +export as namespace zune; diff --git a/fusioncharts/tsconfig.json b/fusioncharts/tsconfig.json index dc4436d64c..970238d9a8 100644 --- a/fusioncharts/tsconfig.json +++ b/fusioncharts/tsconfig.json @@ -18,6 +18,20 @@ }, "files": [ "index.d.ts", + "fusioncharts.charts.d.ts", + "fusioncharts.powercharts.d.ts", + "fusioncharts.widgets.d.ts", + "fusioncharts.maps.d.ts", + "fusioncharts.zoomscatter.d.ts", + "fusioncharts.ssgrid.d.ts", + "fusioncharts.gantt.d.ts", + "fusioncharts.treemap.d.ts", + "maps/fusioncharts.usa.d.ts", + "maps/fusioncharts.world.d.ts", + "themes/fusioncharts.theme.carbon.d.ts", + "themes/fusioncharts.theme.fint.d.ts", + "themes/fusioncharts.theme.ocean.d.ts", + "themes/fusioncharts.theme.zune.d.ts", "fusioncharts-tests.ts" ] } \ No newline at end of file diff --git a/fusioncharts/tslint.json b/fusioncharts/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/fusioncharts/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 173cf1510a61e2c9b83ddc95ba69cf3d410733d1 Mon Sep 17 00:00:00 2001 From: Patrick Niemann Date: Tue, 31 Jan 2017 16:35:52 +0100 Subject: [PATCH 296/613] Added two missing functions: renderEvents and updateEvents https://fullcalendar.io/docs/event_rendering/renderEvents/ https://fullcalendar.io/docs/event_data/updateEvents/ --- fullcalendar/index.d.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/fullcalendar/index.d.ts b/fullcalendar/index.d.ts index 0c55872014..7d0945bb4c 100644 --- a/fullcalendar/index.d.ts +++ b/fullcalendar/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for FullCalendar 2.7.2 // Project: http://fullcalendar.io/ -// Definitions by: Neil Stalker , Marcelo Camargo +// Definitions by: Neil Stalker , Marcelo Camargo , Patrick Niemann // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -363,6 +363,11 @@ declare global { */ fullCalendar(method: 'updateEvent', event: EventObject): void; + /** + * Reports changes for multiple events and renders them on the calendar. + */ + fullCalendar(method: 'updateEvents', events: Array): void; + /** * Retrieves events that FullCalendar has in memory. */ @@ -402,6 +407,11 @@ declare global { * Renders a new event on the calendar. */ fullCalendar(method: 'renderEvent', event: EventObject, stick?: boolean): void; + + /** + * Renders new events on the calendar. + */ + fullCalendar(method: 'renderEvents', events: Array, stick?: boolean): void; /** * Rerenders all events on the calendar. From edf5bfa360d33f6ab4dfa8e259e21c22bed6f2dc Mon Sep 17 00:00:00 2001 From: John Date: Tue, 31 Jan 2017 12:38:05 -0600 Subject: [PATCH 297/613] Added missing prop --- react-dropzone/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/react-dropzone/index.d.ts b/react-dropzone/index.d.ts index b4ed4ded43..1e5a62af1b 100644 --- a/react-dropzone/index.d.ts +++ b/react-dropzone/index.d.ts @@ -33,6 +33,8 @@ declare module "react-dropzone" { name?: string, // name attribute for the input tag maxSize?: number, minSize?: number + + onFileDialogCancel?: () => void; } let Dropzone: React.ClassicComponentClass; From e4d1e2176b0888a73b389ebeddd271c4ff123a50 Mon Sep 17 00:00:00 2001 From: bkim54 Date: Tue, 31 Jan 2017 10:40:16 -0800 Subject: [PATCH 298/613] updating kafka-node typings to have ConsumerGroup --- kafka-node/index.d.ts | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/kafka-node/index.d.ts b/kafka-node/index.d.ts index b3a67c4b9a..d77b180ef3 100644 --- a/kafka-node/index.d.ts +++ b/kafka-node/index.d.ts @@ -59,6 +59,13 @@ export declare class HighLevelConsumer { close(force: boolean, cb: () => any): void; } +export declare class ConsumerGroup { + constructor(options: ConsumerGroupOptions, topics: string[]); + on(eventName: string, cb: (message: string) => any): void; + on(eventName: string, cb: (error: any) => any): void; + close(force: boolean, cb: (error: any) => any): void; +} + export declare class Offset { constructor(client: Client); on(eventName: string, cb: () => any): Offset; @@ -66,6 +73,7 @@ export declare class Offset { commit(groupId: string, payloads: Array, cb: (error: any, data: any) => any): void; fetchCommits(groupId: string, payloads: Array, cb: (error: any, data: any) => any): void; fetchLatestOffsets(topics: Array, cb: (error: any, data: any) => any): void; + fetchEarliestOffsets(topics: Array, cb: (error: any, data: any) => any): void; on(eventName: string, cb: (error: any) => any): Offset; } @@ -74,6 +82,11 @@ export declare class KeyedMessage { } // # Interfaces +export interface AckBatchOptions { + noAckBatchSize: number | null, + noAckBatchAge: number | null +} + export interface ZKOptions { sessionTimeout?: number; spinDelay?: number; @@ -99,6 +112,27 @@ export interface ConsumerOptions { encoding?: string; } +export interface CustomPartitionAssignmentProtocol { + name: string; + version: number; + userData: {}; + assign: (topicPattern: any, groupMembers: any, callback: (error: any, result: any) => void) => void; +} + +export interface ConsumerGroupOptions { + host: string; + zk?: ZKOptions; + batch?: AckBatchOptions; + ssl?: boolean; + id: string; + groupId: string; + sessionTimeout: number; + protocol: Array<"roundrobin" | "range" | CustomPartitionAssignmentProtocol>; + fromOffset: "earliest" | "latest" | "none"; + migrateHLC: false; + migrateRolling: true; +} + export interface Topic { topic: string; offset?: number; @@ -129,4 +163,3 @@ export interface FetchRequest { topic: string; offset?: number; } - From cf8502eea5b3802a6b8ef095341f2aa8e97a057c Mon Sep 17 00:00:00 2001 From: bkim54 Date: Tue, 31 Jan 2017 10:42:50 -0800 Subject: [PATCH 299/613] updated return types to void of event listeners --- kafka-node/index.d.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/kafka-node/index.d.ts b/kafka-node/index.d.ts index d77b180ef3..87a28f0ee7 100644 --- a/kafka-node/index.d.ts +++ b/kafka-node/index.d.ts @@ -13,24 +13,24 @@ export declare class Client { export declare class Producer { constructor(client: Client); - on(eventName: string, cb: () => any): Producer; - on(eventName: string, cb: (error: any) => any): Producer; + on(eventName: string, cb: () => any): void; + on(eventName: string, cb: (error: any) => any): void; send(payloads: Array, cb: (error: any, data: any) => any): void; createTopics(topics: Array, async: boolean, cb?: (error: any, data: any) => any): void; } export declare class HighLevelProducer { constructor(client: Client); - on(eventName: string, cb: () => any): HighLevelProducer; - on(eventName: string, cb: (error: any) => any): HighLevelProducer; + on(eventName: string, cb: () => any): void; + on(eventName: string, cb: (error: any) => any): void; send(payloads: Array, cb: (error: any, data: any) => any): void; createTopics(topics: Array, async: boolean, cb?: (error: any, data: any) => any): void; } export declare class Consumer { constructor(client: Client, fetchRequests: Array, options: ConsumerOptions); - on(eventName: string, cb: (message: string) => any): Consumer; - on(eventName: string, cb: (error: any) => any): Consumer; + on(eventName: string, cb: (message: string) => any): void; + on(eventName: string, cb: (error: any) => any): void; addTopics(topics: Array, cb: (error: any, added: boolean) => any): void; addTopics(topics: Array, cb: (error: any, added: boolean) => any, fromOffset: boolean): void; removeTopics(topics: Array, cb: (error: any, removed: boolean) => any): void; @@ -45,8 +45,8 @@ export declare class Consumer { export declare class HighLevelConsumer { constructor(client: Client, payloads: Array, options: ConsumerOptions); - on(eventName: string, cb: (message: string) => any): HighLevelConsumer; - on(eventName: string, cb: (error: any) => any): HighLevelConsumer; + on(eventName: string, cb: (message: string) => any): void; + on(eventName: string, cb: (error: any) => any): void; addTopics(topics: Array, cb: (error: any, added: boolean) => any): void; addTopics(topics: Array, cb: (error: any, added: boolean) => any, fromOffset: boolean): void; removeTopics(topics: Array, cb: (error: any, removed: boolean) => any): void; @@ -68,13 +68,13 @@ export declare class ConsumerGroup { export declare class Offset { constructor(client: Client); - on(eventName: string, cb: () => any): Offset; + on(eventName: string, cb: () => any): void; fetch(payloads: Array, cb: (error: any, data: any) => any): void; commit(groupId: string, payloads: Array, cb: (error: any, data: any) => any): void; fetchCommits(groupId: string, payloads: Array, cb: (error: any, data: any) => any): void; fetchLatestOffsets(topics: Array, cb: (error: any, data: any) => any): void; fetchEarliestOffsets(topics: Array, cb: (error: any, data: any) => any): void; - on(eventName: string, cb: (error: any) => any): Offset; + on(eventName: string, cb: (error: any) => any): void; } export declare class KeyedMessage { From 0142723d38c506d3030636c1bafdd3d466b16916 Mon Sep 17 00:00:00 2001 From: bkim54 Date: Tue, 31 Jan 2017 10:46:45 -0800 Subject: [PATCH 300/613] updated constructors --- kafka-node/index.d.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/kafka-node/index.d.ts b/kafka-node/index.d.ts index 87a28f0ee7..c4b51741df 100644 --- a/kafka-node/index.d.ts +++ b/kafka-node/index.d.ts @@ -20,7 +20,7 @@ export declare class Producer { } export declare class HighLevelProducer { - constructor(client: Client); + constructor(client: Client, options: any); on(eventName: string, cb: () => any): void; on(eventName: string, cb: (error: any) => any): void; send(payloads: Array, cb: (error: any, data: any) => any): void; @@ -28,7 +28,7 @@ export declare class HighLevelProducer { } export declare class Consumer { - constructor(client: Client, fetchRequests: Array, options: ConsumerOptions); + constructor(client: Client, fetchRequests: Array, options: ConsumerOptions); on(eventName: string, cb: (message: string) => any): void; on(eventName: string, cb: (error: any) => any): void; addTopics(topics: Array, cb: (error: any, added: boolean) => any): void; @@ -157,9 +157,5 @@ export interface OffsetCommitRequest { export interface OffsetFetchRequest { topic: string; partition?: number; -} - -export interface FetchRequest { - topic: string; offset?: number; } From 7469b11708a1032296a608c7de24660e50dc0195 Mon Sep 17 00:00:00 2001 From: bkim54 Date: Tue, 31 Jan 2017 10:48:19 -0800 Subject: [PATCH 301/613] added id to consumerOptions --- kafka-node/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/kafka-node/index.d.ts b/kafka-node/index.d.ts index c4b51741df..ae9235d2e9 100644 --- a/kafka-node/index.d.ts +++ b/kafka-node/index.d.ts @@ -103,6 +103,7 @@ export interface ProduceRequest { export interface ConsumerOptions { groupId?: string; + id?: string; autoCommit?: boolean; autoCommitIntervalMs?: number; fetchMaxWaitMs?: number; From 48d061a1a5359f6bde13aa1260c96c2b2798e8ba Mon Sep 17 00:00:00 2001 From: bkim54 Date: Tue, 31 Jan 2017 12:01:32 -0800 Subject: [PATCH 302/613] making options in HLP constructor optional --- kafka-node/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kafka-node/index.d.ts b/kafka-node/index.d.ts index ae9235d2e9..8f51b3dfb0 100644 --- a/kafka-node/index.d.ts +++ b/kafka-node/index.d.ts @@ -20,7 +20,7 @@ export declare class Producer { } export declare class HighLevelProducer { - constructor(client: Client, options: any); + constructor(client: Client, options?: any); on(eventName: string, cb: () => any): void; on(eventName: string, cb: (error: any) => any): void; send(payloads: Array, cb: (error: any, data: any) => any): void; From 9dfd9d9860172c7a70c9a3c8108152f69f39a6f0 Mon Sep 17 00:00:00 2001 From: bkim54 Date: Tue, 31 Jan 2017 14:27:31 -0800 Subject: [PATCH 303/613] added tests for ConsumerGroup and offsets --- kafka-node/kafka-node-tests.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/kafka-node/kafka-node-tests.ts b/kafka-node/kafka-node-tests.ts index a5b9e9ca3e..65ca7abb81 100644 --- a/kafka-node/kafka-node-tests.ts +++ b/kafka-node/kafka-node-tests.ts @@ -138,6 +138,24 @@ hlConsumer.resumeTopics([ hlConsumer.close(true, function () {}); +var ackBatchOptions = {'noAckBatchSize': 1024, 'noAckBatchAge': 10}; +var cgOptions: kafka.ConsumerGroupOptions = { + host: 'localhost:2181/', + batch: ackBatchOptions, + groupId: 'groupID', + id: 'consumerID', + sessionTimeout: 15000, + protocol: ["roundrobin"], + fromOffset: "latest", + migrateHLC: false, + migrateRolling: true +}; + +var consumerGroup = new kafka.ConsumerGroup( cgOptions, ['topic1']); +consumerGroup.on('error', (err) => {}); +consumerGroup.on('message', (msg) => {}); +consumerGroup.close(true, () => {}); + var offset = new kafka.Offset(basicClient); offset.on('ready', function(){}); @@ -154,3 +172,6 @@ offset.commit('groupId', [ offset.fetchCommits('groupId', [ { topic: 't', partition: 0 } ], function (err, data) {}); + +offset.fetchLatestOffsets(['t'], (err, offsets) => {}) +offset.fetchEarliestOffsets(['t'], (err, offsets) => {}) From c4ed2ff42e43da783d3e248cc04a35800e2a33e0 Mon Sep 17 00:00:00 2001 From: bkim54 Date: Tue, 31 Jan 2017 14:33:02 -0800 Subject: [PATCH 304/613] updating comment, type definitions for kafka-node 1.3.3 --- kafka-node/index.d.ts | 2 +- kafka-node/kafka-node-tests.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kafka-node/index.d.ts b/kafka-node/index.d.ts index 8f51b3dfb0..018b1a6f9e 100644 --- a/kafka-node/index.d.ts +++ b/kafka-node/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for kafka-node 0.2.22 +// Type definitions for kafka-node 1.3.3 // Project: https://github.com/SOHU-Co/kafka-node/ // Definitions by: Daniel Imrie-Situnayake // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/kafka-node/kafka-node-tests.ts b/kafka-node/kafka-node-tests.ts index 65ca7abb81..557c40de8c 100644 --- a/kafka-node/kafka-node-tests.ts +++ b/kafka-node/kafka-node-tests.ts @@ -1,4 +1,3 @@ - import kafka = require('kafka-node'); var basicClient = new kafka.Client('localhost:2181/', 'sendMessage'); From c1d3c066bf68a9b0fe357800e424df5ece7e4eee Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Tue, 31 Jan 2017 22:46:21 +0000 Subject: [PATCH 305/613] Consistent delimiters. --- react-modal/index.d.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/react-modal/index.d.ts b/react-modal/index.d.ts index e5db7d66f0..80958ae918 100644 --- a/react-modal/index.d.ts +++ b/react-modal/index.d.ts @@ -12,20 +12,20 @@ declare module "react-modal" { style?: { content?: { [key: string]: any; - }, + }; overlay?: { [key: string]: any; - } - }, - appElement?: HTMLElement | {}, - onAfterOpen?: Function, - onRequestClose?: Function, - closeTimeoutMS?: number, - ariaHideApp?: boolean, - shouldCloseOnOverlayClick?: boolean, - overlayClassName?: string, - className?: string - contentLabel?: string + }; + }; + appElement?: HTMLElement | {}; + onAfterOpen?: Function; + onRequestClose?: Function; + closeTimeoutMS?: number; + ariaHideApp?: boolean; + shouldCloseOnOverlayClick?: boolean; + overlayClassName?: string; + className?: string; + contentLabel?: string; } let ReactModal: React.ClassicComponentClass; export = ReactModal; From d998af2ff33295d7bc63644086646ba1300f2ad7 Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Tue, 31 Jan 2017 22:47:04 +0000 Subject: [PATCH 306/613] Specify function type. --- react-modal/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-modal/index.d.ts b/react-modal/index.d.ts index 80958ae918..13e4a94a0c 100644 --- a/react-modal/index.d.ts +++ b/react-modal/index.d.ts @@ -18,8 +18,8 @@ declare module "react-modal" { }; }; appElement?: HTMLElement | {}; - onAfterOpen?: Function; - onRequestClose?: Function; + onAfterOpen?: () => void; + onRequestClose?: () => void; closeTimeoutMS?: number; ariaHideApp?: boolean; shouldCloseOnOverlayClick?: boolean; From e20443bdf764432446cdae94347359dab22e1ace Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Tue, 31 Jan 2017 22:49:32 +0000 Subject: [PATCH 307/613] Add documentation. --- react-modal/index.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/react-modal/index.d.ts b/react-modal/index.d.ts index 13e4a94a0c..1a3826004a 100644 --- a/react-modal/index.d.ts +++ b/react-modal/index.d.ts @@ -8,7 +8,9 @@ declare module "react-modal" { interface ReactModal { + /* Boolean describing if the modal should be shown or not. Defaults to false. */ isOpen: boolean; + /* Object indicating styles to be used for the modal, divided into overlay and content styles. */ style?: { content?: { [key: string]: any; @@ -17,14 +19,23 @@ declare module "react-modal" { [key: string]: any; }; }; + /* Set this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ appElement?: HTMLElement | {}; + /* Function that will be run after the modal has opened. */ onAfterOpen?: () => void; + /* Function that will be run when the modal is requested to be closed, prior to actually closing. */ onRequestClose?: () => void; + /* Number indicating the milliseconds to wait before closing the modal. Defaults to zero (no timeout). */ closeTimeoutMS?: number; + /* Boolean indicating if the appElement should be hidden. Defaults to true. */ ariaHideApp?: boolean; + /* Boolean indicating if the overlay should close the modal. Defaults to true. */ shouldCloseOnOverlayClick?: boolean; + /* String className to be applied to the overlay. */ overlayClassName?: string; + /* String className to be applied to the modal content. */ className?: string; + /* String indicating how the content container should be announced to screenreaders. */ contentLabel?: string; } let ReactModal: React.ClassicComponentClass; From ae31538dc212e9a37c3463c091b37f328d9935ab Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Tue, 31 Jan 2017 22:51:06 +0000 Subject: [PATCH 308/613] Add static members. --- react-modal/index.d.ts | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/react-modal/index.d.ts b/react-modal/index.d.ts index 1a3826004a..7dc83f7d79 100644 --- a/react-modal/index.d.ts +++ b/react-modal/index.d.ts @@ -7,10 +7,7 @@ /// declare module "react-modal" { - interface ReactModal { - /* Boolean describing if the modal should be shown or not. Defaults to false. */ - isOpen: boolean; - /* Object indicating styles to be used for the modal, divided into overlay and content styles. */ + interface Styles { style?: { content?: { [key: string]: any; @@ -19,6 +16,12 @@ declare module "react-modal" { [key: string]: any; }; }; + } + interface ReactModal { + /* Boolean describing if the modal should be shown or not. Defaults to false. */ + isOpen: boolean; + /* Object indicating styles to be used for the modal, divided into overlay and content styles. */ + style?: Styles; /* Set this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ appElement?: HTMLElement | {}; /* Function that will be run after the modal has opened. */ @@ -38,6 +41,11 @@ declare module "react-modal" { /* String indicating how the content container should be announced to screenreaders. */ contentLabel?: string; } - let ReactModal: React.ClassicComponentClass; + let ReactModal: React.ClassicComponentClass & { + /* Override styles for all modals. */ + defaultStyles: Styles; + /* Call this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ + setAppElement(appElement: HTMLElement): void; + }; export = ReactModal; } From c6e9076a946fb67ce462ffea6c4e9bd1bc16eadb Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Tue, 31 Jan 2017 22:52:13 +0000 Subject: [PATCH 309/613] Add missing members. --- react-modal/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/react-modal/index.d.ts b/react-modal/index.d.ts index 7dc83f7d79..1d24ebc85b 100644 --- a/react-modal/index.d.ts +++ b/react-modal/index.d.ts @@ -34,12 +34,18 @@ declare module "react-modal" { ariaHideApp?: boolean; /* Boolean indicating if the overlay should close the modal. Defaults to true. */ shouldCloseOnOverlayClick?: boolean; + /* String className to be applied to the portal. Defaults to "ReactModalPortal". */ + portalClassName?: string; /* String className to be applied to the overlay. */ overlayClassName?: string; /* String className to be applied to the modal content. */ className?: string; /* String indicating how the content container should be announced to screenreaders. */ contentLabel?: string; + /* String indicating the role of the modal, allowing the 'dialog' role to be applied if desired. */ + role?: string; + /* Function that will be called to get the parent element that the modal will be attached to. */ + parentSelector?: () => HTMLElement; } let ReactModal: React.ClassicComponentClass & { /* Override styles for all modals. */ From e4bf1668726965be0860a89ede5667ace3240e1b Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Tue, 31 Jan 2017 22:52:28 +0000 Subject: [PATCH 310/613] Bump react-modal version to 1.6.5. --- react-modal/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react-modal/index.d.ts b/react-modal/index.d.ts index 1d24ebc85b..115e36730b 100644 --- a/react-modal/index.d.ts +++ b/react-modal/index.d.ts @@ -1,6 +1,7 @@ -// Type definitions for react-modal v1.6.1 +// Type definitions for react-modal v1.6.5 // Project: https://github.com/reactjs/react-modal // Definitions by: Rajab Shakirov +// Definitions by: Drew Noakes // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 From 1ace18d67a990bd2c8f6e53ffd4fa88560f39171 Mon Sep 17 00:00:00 2001 From: Alexey Svetliakov Date: Tue, 31 Jan 2017 23:53:42 +0100 Subject: [PATCH 311/613] Fix mocked type --- jest/index.d.ts | 12 ++++++------ jest/jest-tests.ts | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/jest/index.d.ts b/jest/index.d.ts index b0b53625bb..9f945ba426 100644 --- a/jest/index.d.ts +++ b/jest/index.d.ts @@ -109,7 +109,7 @@ declare namespace jest { interface It { /** * Creates a test closure. - * + * * @param {string} name The name of your test * @param {fn?} ProvidesCallback The function for your test */ @@ -152,9 +152,9 @@ declare namespace jest { /** The `expect` function is used every time you want to test a value. You will rarely call `expect` by itself. */ interface Expect { - /** - * The `expect` function is used every time you want to test a value. You will rarely call `expect` by itself. - * + /** + * The `expect` function is used every time you want to test a value. You will rarely call `expect` by itself. + * * @param {any} actual The value to apply matchers against. */ (actual: any): Matchers; @@ -255,8 +255,8 @@ declare namespace jest { * myApi.myApiMethod.mockImplementation(() => "test"); */ type Mocked = { - [P in keyof T]: T[P] & MockInstance; - }; + [P in keyof T]: T[P] & MockInstance; + } & T; interface MockInstance { mock: MockContext; diff --git a/jest/jest-tests.ts b/jest/jest-tests.ts index 6b2124a6bd..a3d84a09e3 100644 --- a/jest/jest-tests.ts +++ b/jest/jest-tests.ts @@ -433,6 +433,7 @@ describe('strictNullChecks', function () { class TestApi { constructor() { }; testProp: boolean; + private anotherProp: string; testMethod(a: number): string { return ""; } } From 05478eb92a04b36ea25246d0806b4ff2fd04b415 Mon Sep 17 00:00:00 2001 From: Jakub Pistek Date: Tue, 31 Jan 2017 19:51:29 +0100 Subject: [PATCH 312/613] Update ngStorage to latest version --- ngstorage/index.d.ts | 34 ++++++++---------- ngstorage/ngstorage-tests.ts | 68 ++++++++++++++++++------------------ ngstorage/tsconfig.json | 2 +- 3 files changed, 50 insertions(+), 54 deletions(-) diff --git a/ngstorage/index.d.ts b/ngstorage/index.d.ts index b8fcf023c8..15fb3c0481 100644 --- a/ngstorage/index.d.ts +++ b/ngstorage/index.d.ts @@ -1,29 +1,25 @@ -// Type definitions for ngstorage 0.3.10 +// Type definitions for ngstorage 0.3.11 // Project: https://github.com/gsklee/ngStorage // Definitions by: Jakub Pistek // Definitions: https://github.com/kubiq/DefinitelyTyped -import * as angular from 'angular'; +declare module 'ngstorage' { -declare module 'angular' { - export namespace storage { + interface IStorageService { + $default(items: {}): IStorageService; + $reset(items?: {}): IStorageService; + $apply(): void; + $sync(): void; + get(key: string): T; + } - export interface IStorageService { - $default(items: {}): IStorageService; - $reset(items?: {}): IStorageService; - $apply(): void; - $sync(): void; - get(key: string): T; - } + interface IStorageProvider extends angular.IServiceProvider { - export interface IStorageProvider extends angular.IServiceProvider { + get(key: string): T; + set(key: string, value: T): T; - get(key: string): T; - set(key: string, value: T): T; - - setKeyPrefix(prefix: string): void; - setSerializer(serializer: (value: any) => string): void; - setDeserializer(deserializer: (value: string) => any): void; - } + setKeyPrefix(prefix: string): void; + setSerializer(serializer: (value: any) => string): void; + setDeserializer(deserializer: (value: string) => any): void; } } diff --git a/ngstorage/ngstorage-tests.ts b/ngstorage/ngstorage-tests.ts index 924d017a66..abddf19bb7 100644 --- a/ngstorage/ngstorage-tests.ts +++ b/ngstorage/ngstorage-tests.ts @@ -1,9 +1,9 @@ -/// +/// +import {IStorageService, IStorageProvider} from "ngstorage"; var app: any; - -app.controller('LocalCtrl', function ($localStorage: angular.storage.IStorageService) { +app.controller('LocalCtrl', function ($localStorage: IStorageService) { $localStorage.$default({ counter: 1 @@ -12,15 +12,15 @@ app.controller('LocalCtrl', function ($localStorage: angular.storage.IStorageSer $localStorage.$reset({ counter: 1 }); - + $localStorage.$reset(); $localStorage.$apply(); - + $localStorage.$sync(); }); -app.controller('SessionCtrl', function ($sessionStorage: angular.storage.IStorageService) { +app.controller('SessionCtrl', function ($sessionStorage: IStorageService) { $sessionStorage.$default({ counter: 1 @@ -29,50 +29,50 @@ app.controller('SessionCtrl', function ($sessionStorage: angular.storage.IStorag $sessionStorage.$reset({ counter: 1 }); - + $sessionStorage.$reset(); $sessionStorage.$apply(); - + $sessionStorage.$sync(); }); -app.config(['$localStorageProvider', function ($localStorageProvider: angular.storage.IStorageProvider) { +app.config(['$localStorageProvider', function ($localStorageProvider: IStorageProvider) { - $localStorageProvider.setKeyPrefix('NewPrefix'); + $localStorageProvider.setKeyPrefix('NewPrefix'); - $localStorageProvider.get('MyKey'); + $localStorageProvider.get('MyKey'); - $localStorageProvider.set('MyKey', { counter: 'value' }); + $localStorageProvider.set('MyKey', {counter: 'value'}); - var mySerializer = function (value:any):string { - return value.toString(); - }; + var mySerializer = function (value: any): string { + return value.toString(); + }; - var myDeserializer = function (value:string):any { - return value; - }; + var myDeserializer = function (value: string): any { + return value; + }; - $localStorageProvider.setSerializer(mySerializer); - $localStorageProvider.setDeserializer(myDeserializer); - } -]).config(['$sessionStorageProvider', function ($sessionStorageProvider: angular.storage.IStorageProvider) { + $localStorageProvider.setSerializer(mySerializer); + $localStorageProvider.setDeserializer(myDeserializer); +} +]).config(['$sessionStorageProvider', function ($sessionStorageProvider: IStorageProvider) { - $sessionStorageProvider.setKeyPrefix('NewPrefix'); + $sessionStorageProvider.setKeyPrefix('NewPrefix'); - $sessionStorageProvider.get('MyKey'); + $sessionStorageProvider.get('MyKey'); - $sessionStorageProvider.set('MyKey', { counter: 'value' }); + $sessionStorageProvider.set('MyKey', {counter: 'value'}); - var mySerializer = function (value:any):string { - return value.toString(); - }; + var mySerializer = function (value: any): string { + return value.toString(); + }; - var myDeserializer = function (value:string):any { - return value; - }; + var myDeserializer = function (value: string): any { + return value; + }; - $sessionStorageProvider.setSerializer(mySerializer); - $sessionStorageProvider.setDeserializer(myDeserializer); - } + $sessionStorageProvider.setSerializer(mySerializer); + $sessionStorageProvider.setDeserializer(myDeserializer); +} ]); diff --git a/ngstorage/tsconfig.json b/ngstorage/tsconfig.json index 691875db20..a3cdb4a204 100644 --- a/ngstorage/tsconfig.json +++ b/ngstorage/tsconfig.json @@ -20,4 +20,4 @@ "index.d.ts", "ngstorage-tests.ts" ] -} \ No newline at end of file +} From e3ebe62f617c68deae6b50f4f982d7c62b542a9b Mon Sep 17 00:00:00 2001 From: Tong Shen Date: Tue, 31 Jan 2017 18:30:11 -0500 Subject: [PATCH 313/613] Add missing `noCache` function for restify --- restify/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/restify/index.d.ts b/restify/index.d.ts index f53aa0eba9..72b8ab6646 100644 --- a/restify/index.d.ts +++ b/restify/index.d.ts @@ -300,6 +300,7 @@ interface HandlerTiming { interface Response extends http.ServerResponse { header: (key: string, value?: any) => any; cache: (type?: any, options?: Object) => any; + noCache: () => any; status: (code: number) => any; send: (status?: any, body?: any, headers?: { [header: string]: string }) => any; json: (status?: any, body?: any, headers?: { [header: string]: string }) => any; From a11c85f84befec97d0dde961cbdbdec99720d223 Mon Sep 17 00:00:00 2001 From: JulienDuf Date: Tue, 31 Jan 2017 19:05:12 -0500 Subject: [PATCH 314/613] Fix wit message --- node-wit/index.d.ts | 7 ++++--- node-wit/node-wit-tests.ts | 4 +--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/node-wit/index.d.ts b/node-wit/index.d.ts index 33f0bd8cb9..decfebe3aa 100644 --- a/node-wit/index.d.ts +++ b/node-wit/index.d.ts @@ -51,14 +51,15 @@ export interface WitOption { } export interface MessageResponseEntity { - confidence: number; - value: string; + confidence?: number; + value?: string; + type?: string; } export interface MessageResponse { msg_id: string; _text: string; - entities: MessageResponseEntity[]; + entities: any; } export declare class Wit { diff --git a/node-wit/node-wit-tests.ts b/node-wit/node-wit-tests.ts index d71c1d0cad..2181383672 100644 --- a/node-wit/node-wit-tests.ts +++ b/node-wit/node-wit-tests.ts @@ -23,9 +23,7 @@ var wit = new Wit({ wit.message("what is the weather in London?", {}).then((res) => { console.log(res._text); - for (let entity of res.entities) { - console.log(entity.value + ": " + entity.confidence * 100 + "%"); - } + console.log(res.entities); }).catch((err) => { console.log(err); From 877d3861dedbeee12e8d9d4a0dbbdc286dccab84 Mon Sep 17 00:00:00 2001 From: Calvin Jeong Date: Wed, 1 Feb 2017 14:44:58 +1300 Subject: [PATCH 315/613] Updated three/index.d.ts Added extra properties for `Spherical` class. --- three/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/three/index.d.ts b/three/index.d.ts index 36263993c7..b4b4995ee8 100644 --- a/three/index.d.ts +++ b/three/index.d.ts @@ -3586,6 +3586,10 @@ declare namespace THREE { export class Spherical { constructor(radius?: number, phi?: number, theta?: number); + radius: number; + phi: number; + theta: number; + set(radius: number, phi: number, theta: number): Spherical; clone(): this; copy(other: this): this; From 72698b1b117efb129f80964393ed39ed69009ac2 Mon Sep 17 00:00:00 2001 From: Ryan Gomoto Date: Tue, 31 Jan 2017 19:04:52 -0800 Subject: [PATCH 316/613] Fix bintrees callback signature --- bintrees/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bintrees/index.d.ts b/bintrees/index.d.ts index 9853be67dc..7a7b2c233e 100644 --- a/bintrees/index.d.ts +++ b/bintrees/index.d.ts @@ -5,7 +5,7 @@ declare module 'bintrees' { - type Callback = (err: Error, item: T) => void; + type Callback = (item: T) => void; type Comparator = (a: T, b: T) => number; class Iterator { From b1a2640f60981fa575b6b8339ce385003117404d Mon Sep 17 00:00:00 2001 From: bglee Date: Wed, 1 Feb 2017 13:44:48 +0900 Subject: [PATCH 317/613] add 4 props accessibility?: boolean nextArrow?: HTMLElement | any prevArrow?: HTMLElement | any pauseOnHover?: boolean --- react-slick/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/react-slick/index.d.ts b/react-slick/index.d.ts index 9bd267cad1..0f8c770ee2 100644 --- a/react-slick/index.d.ts +++ b/react-slick/index.d.ts @@ -6,6 +6,10 @@ /// interface __config { + accessibility?: boolean + nextArrow?: HTMLElement | any + prevArrow?: HTMLElement | any + pauseOnHover?: boolean className?: string adaptiveHeight?: boolean arrows?: boolean From 96996eebbdd326f6925e6da9360e4566e80e882a Mon Sep 17 00:00:00 2001 From: bglee Date: Wed, 1 Feb 2017 13:44:48 +0900 Subject: [PATCH 318/613] add 4 props accessibility?: boolean nextArrow?: HTMLElement | any prevArrow?: HTMLElement | any pauseOnHover?: boolean --- react-slick/index.d.ts | 4 ++++ react-slick/react-slick-tests.tsx | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/react-slick/index.d.ts b/react-slick/index.d.ts index 9bd267cad1..0f8c770ee2 100644 --- a/react-slick/index.d.ts +++ b/react-slick/index.d.ts @@ -6,6 +6,10 @@ /// interface __config { + accessibility?: boolean + nextArrow?: HTMLElement | any + prevArrow?: HTMLElement | any + pauseOnHover?: boolean className?: string adaptiveHeight?: boolean arrows?: boolean diff --git a/react-slick/react-slick-tests.tsx b/react-slick/react-slick-tests.tsx index 7b51dbdf3a..2d26b0dcf1 100644 --- a/react-slick/react-slick-tests.tsx +++ b/react-slick/react-slick-tests.tsx @@ -10,7 +10,8 @@ class SliderTest extends React.Component, {}> { slidesToShow: 8, slidesToScroll: 1, draggable: false, - infinite: false + infinite: false, + prevArrow: link }; return ( From df23346707493018518e7c8cd04d7e6e7dce1f05 Mon Sep 17 00:00:00 2001 From: sreimer15 Date: Tue, 31 Jan 2017 23:05:21 -0800 Subject: [PATCH 319/613] Fixed Type of webNavigation.webnavigationEventFilter --- chrome/index.d.ts | 12 ++++++------ chrome/test/index.ts | 23 +++++++++++++++++++++++ 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/chrome/index.d.ts b/chrome/index.d.ts index 2822dd421e..cf6c93ec8f 100644 --- a/chrome/index.d.ts +++ b/chrome/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Chrome extension development // Project: http://developer.chrome.com/extensions/ -// Definitions by: Matthew Kimber , otiai10 , couven92 , RReverser +// Definitions by: Matthew Kimber , otiai10 , couven92 , RReverser , sreimer15 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -7062,13 +7062,12 @@ declare namespace chrome.webNavigation { transitionQualifiers: string[]; } - interface WebNavigationEventFilter { - /** Conditions that the URL being navigated to must satisfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event. */ - url: chrome.events.UrlFilter[]; + interface WebNavigationRequestFilter extends chrome.webRequest.RequestFilter { + /** fulfills the webRequest.RequestFilter interface even though it is under web navigation **/ } interface WebNavigationEvent extends chrome.events.Event<(details: T) => void> { - addListener(callback: (details: T) => void, filters?: WebNavigationEventFilter): void; + addListener(callback: (details: T) => void, filters?: WebNavigationRequestFilter): void; } interface WebNavigationFramedEvent extends WebNavigationEvent {} @@ -7178,7 +7177,8 @@ declare namespace chrome.webRequest { */ types?: string[]; /** A list of URLs or URL patterns. Requests that cannot match any of the URLs will be filtered out. */ - urls: string[]; + urls: string[] | RegExp[] | ""; + /** Optional. */ windowId?: number; } diff --git a/chrome/test/index.ts b/chrome/test/index.ts index 7788397a4c..3074b8a0c3 100644 --- a/chrome/test/index.ts +++ b/chrome/test/index.ts @@ -171,6 +171,29 @@ function catBlock () { ["blocking"]); } +// webNavigation.onBeforeNavigate.addListener example similar api to onBeforeRequest but without extra spec +function beforeRedditNavigation() { + chrome.webNavigation.onBeforeNavigate.addListener(function (requestDetails) { + console.log("URL we want to redirect to: " + requestDetails.url); + // NOTE: This will search for top level frames with the value -1. + if (requestDetails.parentFrameId != -1) { + return; + } + + let url = new URL(requestDetails.url); + let splitUrl = url.hostname.split('.'); + //` Note: Does not cover the XX.co.uk type edge case + let host = (splitUrl[(splitUrl.length -1) - 1]); + + if (host === null) { + return; + } else if (host === "reddit") { + alert("Were you trying to go on reddit, during working hours? :(") + return; + } + },{urls: ["http://*/*"], types: ["image"]}); +} + // contrived settings example function proxySettings() { chrome.proxy.settings.get({ incognito: true }, (details) => { From 9dfd75eb9b212299f397214549b98e3dfe2c7232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20Kov=C3=A1cs?= Date: Wed, 1 Feb 2017 09:15:53 +0100 Subject: [PATCH 320/613] Improve exports, fix header duplication --- dragster/index.d.ts | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/dragster/index.d.ts b/dragster/index.d.ts index 2aa82ddb8b..c02f510084 100644 --- a/dragster/index.d.ts +++ b/dragster/index.d.ts @@ -3,11 +3,6 @@ // Definitions by: Zsolt Kovacs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// Type definitions for dragster 0.1 -// Project: https://github.com/bensmithett/dragster -// Definitions by: Zsolt Kovacs -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - declare namespace Dragster { interface Dragster { removeListeners(): void; @@ -20,15 +15,9 @@ declare namespace Dragster { } } -// window.Dragster +// Support through imports. declare var Dragster: Dragster.DragsterStatic; +export = Dragster; -// import Dragster = require('dragster'); -declare module 'dragster' { - interface ExportedDragster extends Dragster.Dragster { - (elem: HTMLElement): Dragster.Dragster; - new (elem: HTMLElement): Dragster.Dragster; - } - var Dragster: ExportedDragster; - export = Dragster; -} \ No newline at end of file +// Support as a global +export as namespace Dragster; \ No newline at end of file From 863829da136054d403b1d5383d46828f4e729f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=9D=EB=9E=98?= Date: Wed, 1 Feb 2017 17:23:44 +0900 Subject: [PATCH 321/613] add Request.buffer() --- chai-http/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/chai-http/index.d.ts b/chai-http/index.d.ts index 567f13e4e7..2e619b6166 100644 --- a/chai-http/index.d.ts +++ b/chai-http/index.d.ts @@ -55,6 +55,7 @@ declare namespace ChaiHttp { send(data: Object): Request; auth(user: string, name: string): Request; field(name: string, val: string): Request; + buffer(): Request; end(callback?: (err: any, res: Response) => void): FinishedRequest; } From c401e51c1ff6a2bb982323da5cc94903e5702166 Mon Sep 17 00:00:00 2001 From: Bernhard Danecker Date: Wed, 1 Feb 2017 11:42:25 +0100 Subject: [PATCH 322/613] changes according to comment --- jsnlog/index.d.ts | 2 +- jsnlog/tslint.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 jsnlog/tslint.json diff --git a/jsnlog/index.d.ts b/jsnlog/index.d.ts index 012534a7ac..dcf6d10c74 100644 --- a/jsnlog/index.d.ts +++ b/jsnlog/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for JSNLog 2.17.4 +// Type definitions for JSNLog 2.17 // Project: https://github.com/mperdeck/jsnlog.js // Definitions by: Mattijs Perdeck // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/jsnlog/tslint.json b/jsnlog/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/jsnlog/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From fa1585f9a3f7da71b79ff78929f65d88fad2cc08 Mon Sep 17 00:00:00 2001 From: Giedrius Grabauskas Date: Wed, 1 Feb 2017 19:58:01 +0200 Subject: [PATCH 323/613] Fixed ConfigMap object hierarchy Read more here: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/9744 --- systemjs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemjs/index.d.ts b/systemjs/index.d.ts index 428e303442..f759ba3f91 100644 --- a/systemjs/index.d.ts +++ b/systemjs/index.d.ts @@ -29,7 +29,7 @@ declare namespace SystemJSLoader { */ type Transpiler = "plugin-traceur" | "plugin-babel" | "plugin-typescript" | "traceur" | "babel" | "typescript" | boolean; - type ConfigMap = PackageList; + type ConfigMap = PackageList>; type ConfigMeta = PackageList; From c514652a56e9a3bd85ee7dd49a43625240bfc8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20J=C3=A1come?= Date: Wed, 1 Feb 2017 15:58:29 -0200 Subject: [PATCH 324/613] RethinkDB - Fixed UpdateOptions - Ref: https://www.rethinkdb.com/api/javascript/update/ --- rethinkdb/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rethinkdb/index.d.ts b/rethinkdb/index.d.ts index b07a4e27c6..25c8a182f8 100644 --- a/rethinkdb/index.d.ts +++ b/rethinkdb/index.d.ts @@ -310,9 +310,9 @@ declare module "rethinkdb" { } interface UpdateOptions { - non_atomic: boolean; - durability: string; // 'soft' - return_vals: boolean; // false + nonAtomic: boolean | false; + durability?: 'hard' | 'soft'; + returnChanges?: boolean | false; } interface WriteResult { From 8f90dd420a0a8a55261180cac0606975907f346b Mon Sep 17 00:00:00 2001 From: Giedrius Grabauskas Date: Wed, 1 Feb 2017 20:00:49 +0200 Subject: [PATCH 325/613] Updated systemjs tests Updated SystemJS naming. Added test with ConfigMap hierarchy. --- systemjs/systemjs-tests.ts | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/systemjs/systemjs-tests.ts b/systemjs/systemjs-tests.ts index 3c2f8ebadc..f24c01b537 100644 --- a/systemjs/systemjs-tests.ts +++ b/systemjs/systemjs-tests.ts @@ -1,14 +1,12 @@ +import SystemJS = require('SystemJSjs'); - -import System = require('systemjs'); - -System.config({ +SystemJS.config({ baseURL: '/app' }); -System.import('main.js'); +SystemJS.import('main.js'); -System.config({ +SystemJS.config({ // or 'traceur' or 'typescript' transpiler: 'babel', // or traceurOptions or typescriptOptions @@ -18,22 +16,33 @@ System.config({ }); -System.config({ +SystemJS.config({ map: { traceur: 'path/to/traceur.js' } }); -System.transpiler = 'traceur'; +SystemJS.config({ + map: { + 'local/package': { + x: 'vendor/x.js' + }, + 'another/package': { + x: 'vendor/y.js' + } + } +}); + +SystemJS.transpiler = 'traceur'; // loads './app.js' from the current directory -System.import('./app.js').then(function (m) { +SystemJS.import('./app.js').then(function (m) { console.log(m); }); -System.import('lodash').then(function (_) { +SystemJS.import('lodash').then(function (_) { console.log(_); }); -const clonedSystemJS = new System.constructor(); +const clonedSystemJSJS = new SystemJS.constructor(); From a05407ca53469224037a2218c10c6ceb01b2a509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20J=C3=A1come?= Date: Wed, 1 Feb 2017 16:04:36 -0200 Subject: [PATCH 326/613] Revert "RethinkDB - Fixed UpdateOptions - Ref: https://www.rethinkdb.com/api/javascript/update/" This reverts commit c514652a56e9a3bd85ee7dd49a43625240bfc8e4. --- rethinkdb/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rethinkdb/index.d.ts b/rethinkdb/index.d.ts index 25c8a182f8..b07a4e27c6 100644 --- a/rethinkdb/index.d.ts +++ b/rethinkdb/index.d.ts @@ -310,9 +310,9 @@ declare module "rethinkdb" { } interface UpdateOptions { - nonAtomic: boolean | false; - durability?: 'hard' | 'soft'; - returnChanges?: boolean | false; + non_atomic: boolean; + durability: string; // 'soft' + return_vals: boolean; // false } interface WriteResult { From 0dad7332d148b137d467747d5a0098410a036780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20J=C3=A1come?= Date: Wed, 1 Feb 2017 16:05:07 -0200 Subject: [PATCH 327/613] RethinkDB - Fixed UpdateOptions - Ref: https://www.rethinkdb.com/api/javascript/update/ --- rethinkdb/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rethinkdb/index.d.ts b/rethinkdb/index.d.ts index b07a4e27c6..f01d749c14 100644 --- a/rethinkdb/index.d.ts +++ b/rethinkdb/index.d.ts @@ -310,9 +310,9 @@ declare module "rethinkdb" { } interface UpdateOptions { - non_atomic: boolean; - durability: string; // 'soft' - return_vals: boolean; // false + nonAtomic?: boolean | false; + durability?: 'hard' | 'soft'; + returnChanges?: boolean | false; } interface WriteResult { From 0455fb3c6d3c75981db3c0acdee2e594e106cc7b Mon Sep 17 00:00:00 2001 From: Giedrius Grabauskas Date: Wed, 1 Feb 2017 20:25:38 +0200 Subject: [PATCH 328/613] Fixed refactoring. --- systemjs/systemjs-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemjs/systemjs-tests.ts b/systemjs/systemjs-tests.ts index f24c01b537..53eeba8a2a 100644 --- a/systemjs/systemjs-tests.ts +++ b/systemjs/systemjs-tests.ts @@ -1,4 +1,4 @@ -import SystemJS = require('SystemJSjs'); +import SystemJS = require('Systemjs'); SystemJS.config({ baseURL: '/app' From 16ce688ad7b110afc2ec765f6c264a208bd25a02 Mon Sep 17 00:00:00 2001 From: Giedrius Grabauskas Date: Wed, 1 Feb 2017 20:26:18 +0200 Subject: [PATCH 329/613] Fixed import. --- systemjs/systemjs-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemjs/systemjs-tests.ts b/systemjs/systemjs-tests.ts index 53eeba8a2a..fa0ddbedaf 100644 --- a/systemjs/systemjs-tests.ts +++ b/systemjs/systemjs-tests.ts @@ -1,4 +1,4 @@ -import SystemJS = require('Systemjs'); +import SystemJS = require('systemjs'); SystemJS.config({ baseURL: '/app' From f1b881f1b6688ef4e6dc76f7f2b40d3a0fce579e Mon Sep 17 00:00:00 2001 From: Bernhard Danecker Date: Wed, 1 Feb 2017 19:28:34 +0100 Subject: [PATCH 330/613] allow empty interfaces --- jsnlog/index.d.ts | 4 ++-- jsnlog/tslint.json | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/jsnlog/index.d.ts b/jsnlog/index.d.ts index dcf6d10c74..e252d5cf36 100644 --- a/jsnlog/index.d.ts +++ b/jsnlog/index.d.ts @@ -8,7 +8,7 @@ // http://jsnlog.com // ------------------------------- -/** +/** * Copyright 2016 Mattijs Perdeck. * * This project is licensed under the MIT license. @@ -88,7 +88,7 @@ declare namespace JL { declare function __jsnlog_configure(jsnlog: any): void; - + // Ambient declaration of the JL function itself declare function JL(loggerName?: string): JL.JSNLogLogger; diff --git a/jsnlog/tslint.json b/jsnlog/tslint.json index 377cc837d4..9bc375c06b 100644 --- a/jsnlog/tslint.json +++ b/jsnlog/tslint.json @@ -1 +1,6 @@ -{ "extends": "../tslint.json" } +{ + "extends": "../tslint.json", + "rules": { + "no-empty-interface": false + } +} \ No newline at end of file From a3c4c02787097041774a122029f0a096ed371598 Mon Sep 17 00:00:00 2001 From: M0ns1gn0r Date: Wed, 1 Feb 2017 20:26:14 +0100 Subject: [PATCH 331/613] Export "videojs" as module. --- videojs/index.d.ts | 111 +++++++++++++++++++++------------------ videojs/videojs-tests.ts | 5 +- 2 files changed, 62 insertions(+), 54 deletions(-) diff --git a/videojs/index.d.ts b/videojs/index.d.ts index 9e4156ece6..4249d0d9b9 100644 --- a/videojs/index.d.ts +++ b/videojs/index.d.ts @@ -3,61 +3,68 @@ // Definitions by: Vincent Bortone // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// The Video.js API allows you to interact with the video through Javascript, whether the browser is playing the video through HTML5 video, Flash, or any other supported playback technologies. +// The Video.js API allows you to interact with the video through +// Javascript, whether the browser is playing the video through HTML5 +// video, Flash, or any other supported playback technologies. -interface VideoJSOptions { - techOrder?: string[]; - html5?: Object; - width?: number; - height?: number; - defaultVolume?: number; - children?: Object; - controls?: boolean; - src?: string; - autoplay?: boolean; - preload?: string; +declare var videojs: videojs; +export = videojs; +export as namespace videojs; + +interface videojs { + (id: any, options?: videojs.PlayerOptions, ready?: () => void): videojs.Player; } -interface VideoJSSource { - type: string; - src: string; -} +declare namespace videojs { -interface VideoJSPlayer { - play(): VideoJSPlayer; - pause(): VideoJSPlayer; - paused(): boolean; - src(newSource: string): VideoJSPlayer; - src(newSource: VideoJSSource): VideoJSPlayer; - src(newSource: VideoJSSource[]): VideoJSPlayer; - currentTime(seconds: number): VideoJSPlayer; - currentTime(): number; - duration(): number; - buffered(): TimeRanges; - bufferedPercent(): number; - volume(percentAsDecimal: number): TimeRanges; - volume(): number; - width(): number; - width(pixels: number): VideoJSPlayer; - height(): number; - height(pixels: number): VideoJSPlayer; - size(width: number, height: number): VideoJSPlayer; - requestFullScreen(): VideoJSPlayer; - cancelFullScreen(): VideoJSPlayer; - ready(callback: () => void ): VideoJSPlayer; - on(eventName: string, callback: (eventObject: Event) => void ): void; - off(eventName: string, callback: () => void ): void; - off(eventName: string): void; - off(): void; - dispose(): void; - addRemoteTextTrack(options : {}) : HTMLTrackElement; - removeRemoteTextTrack(track : HTMLTrackElement) : void; - poster(val?: string) : string|VideoJSPlayer; - playbackRate(rate?: number) : number; -} + interface PlayerOptions { + techOrder?: string[]; + html5?: Object; + width?: number; + height?: number; + defaultVolume?: number; + children?: Object; + controls?: boolean; + src?: string; + autoplay?: boolean; + preload?: string; + } -interface VideoJSStatic { - (id: any, options?: VideoJSOptions, ready?: () => void): VideoJSPlayer; -} + interface Source { + type: string; + src: string; + } -declare var videojs:VideoJSStatic; + interface Player { + play(): Player; + pause(): Player; + paused(): boolean; + src(newSource: string): Player; + src(newSource: Source): Player; + src(newSource: Source[]): Player; + currentTime(seconds: number): Player; + currentTime(): number; + duration(): number; + buffered(): TimeRanges; + bufferedPercent(): number; + volume(percentAsDecimal: number): TimeRanges; + volume(): number; + width(): number; + width(pixels: number): Player; + height(): number; + height(pixels: number): Player; + size(width: number, height: number): Player; + requestFullScreen(): Player; + cancelFullScreen(): Player; + ready(callback: () => void ): Player; + on(eventName: string, callback: (eventObject: Event) => void ): void; + off(eventName: string, callback: () => void ): void; + off(eventName: string): void; + off(): void; + dispose(): void; + addRemoteTextTrack(options : {}) : HTMLTrackElement; + removeRemoteTextTrack(track : HTMLTrackElement) : void; + poster(val?: string) : string|Player; + playbackRate(rate?: number) : number; + } +} diff --git a/videojs/videojs-tests.ts b/videojs/videojs-tests.ts index 6b2c90184e..58300ac97a 100644 --- a/videojs/videojs-tests.ts +++ b/videojs/videojs-tests.ts @@ -1,9 +1,10 @@ // Tests for Video.js API +import * as videojs from 'videojs'; videojs("example_video_1").ready(function(){ - var myPlayer:VideoJSPlayer = this; + var myPlayer: videojs.Player = this; // EXAMPLE: Start playing the video. myPlayer.play(); @@ -65,7 +66,7 @@ videojs("example_video_1").ready(function(){ var myFunc = function(){ - var myPlayer: VideoJSPlayer = this; + var myPlayer: videojs.Player = this; // Do something when the event is fired }; //myPlayer.addEvent("volumechange", myFunc); From 941054480048dd5e2ffd7e0f9190ec00b32bb167 Mon Sep 17 00:00:00 2001 From: Dave Alden Date: Wed, 1 Feb 2017 19:34:58 +0000 Subject: [PATCH 332/613] Update with new methods for cordova.plugins.diagnostic@3.4 --- .../cordova.plugins.diagnostic-tests.ts | 52 +++++++++++ cordova.plugins.diagnostic/index.d.ts | 93 ++++++++++++++++++- 2 files changed, 142 insertions(+), 3 deletions(-) diff --git a/cordova.plugins.diagnostic/cordova.plugins.diagnostic-tests.ts b/cordova.plugins.diagnostic/cordova.plugins.diagnostic-tests.ts index 29451c4753..35c1e03d58 100644 --- a/cordova.plugins.diagnostic/cordova.plugins.diagnostic-tests.ts +++ b/cordova.plugins.diagnostic/cordova.plugins.diagnostic-tests.ts @@ -529,4 +529,56 @@ cordova.plugins.diagnostic.requestAndCheckMotionAuthorization(function(status){ console.log("Motion authorization is " +status); }, function(error){ console.error(error); +}); + +cordova.plugins.diagnostic.isExternalStorageAuthorized(function(authorized){ + console.log("Location authorization is " + (authorized ? "authorized" : "unauthorized")); +}, function(error){ + console.error("The following error occurred: "+error); +}); + +cordova.plugins.diagnostic.getExternalStorageAuthorizationStatus(function(status){ + if(status === cordova.plugins.diagnostic.permissionStatus.GRANTED){ + console.log("External storage authorization allowed"); + } +}, function(error){ + console.error("The following error occurred: "+error); +}); + +cordova.plugins.diagnostic.requestExternalStorageAuthorization(function(status){ + if(status === cordova.plugins.diagnostic.permissionStatus.GRANTED){ + console.log("External storage authorization allowed"); + } +}, function(error){ + console.error(error); +}); + +cordova.plugins.diagnostic.getExternalSdCardDetails(function(details){ + console.log("External SD card details: " + JSON.stringify(details)); +}, function(error){ + console.error(error); +}); + +cordova.plugins.diagnostic.isNFCPresent(function(present){ + console.log("NFC hardware is " + (present ? "present" : "absent")); +}, function(error){ + console.error("The following error occurred: "+error); +}); + +cordova.plugins.diagnostic.isNFCEnabled(function(enabled){ + console.log("NFC is " + (enabled ? "enabled" : "disabled")); +}, function(error){ + console.error("The following error occurred: "+error); +}); + +cordova.plugins.diagnostic.isNFCAvailable(function(available){ + console.log("NFC is " + (available ? "available" : "not available")); +}, function(error){ + console.error("The following error occurred: "+error); +}); + +cordova.plugins.diagnostic.registerNFCStateChangeHandler(function(state){ + if(state === cordova.plugins.diagnostic.NFCState.POWERED_ON){ + console.log("NFC is ready to use"); + } }); \ No newline at end of file diff --git a/cordova.plugins.diagnostic/index.d.ts b/cordova.plugins.diagnostic/index.d.ts index 381b61562e..c4d2daedd9 100644 --- a/cordova.plugins.diagnostic/index.d.ts +++ b/cordova.plugins.diagnostic/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for cordova.plugins.diagnostic v3.3.0 +// Type definitions for cordova.plugins.diagnostic v3.4.x // Project: https://github.com/dpa99c/cordova-diagnostic-plugin // Definitions by: Dave Alden // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -164,8 +164,8 @@ interface Diagnostic { /** * ANDROID and iOS ONLY - * Returns true if the device setting for location is on. - * On Android this returns true if Location Mode is switched on. + * Returns true if the device setting for location is on. + * On Android this returns true if Location Mode is switched on. * On iOS this returns true if Location Services is switched on. * @param successCallback * @param errorCallback @@ -567,6 +567,93 @@ interface Diagnostic { errorCallback: (error: string) => void ) => void; + /** + * ANDROID ONLY + * Checks if the application is authorized to use external storage. + * @param successCallback + * @param errorCallback + */ + isExternalStorageAuthorized?: ( + successCallback: (authorized: boolean) => void, + errorCallback: (error: string) => void + ) => void; + + /** + * ANDROID ONLY + * Returns the authorisation status for runtime permission to use the external storage. + * @param successCallback + * @param errorCallback + */ + getExternalStorageAuthorizationStatus?: ( + successCallback: (status: string) => void, + errorCallback: (error: string) => void + ) => void; + + /** + * ANDROID ONLY + * Requests authorisation for runtime permission to use the external storage. + * @param successCallback + * @param errorCallback + */ + requestExternalStorageAuthorization?: ( + successCallback: (status: string) => void, + errorCallback: (error: string) => void + ) => void; + + /** + * ANDROID ONLY + * Returns details of external SD card(s): absolute path, is writable, free space + * @param successCallback + * @param errorCallback + */ + getExternalSdCardDetails?: ( + successCallback: (status: any) => void, + errorCallback: (error: string) => void + ) => void; + + /** + * ANDROID ONLY + * Checks if NFC hardware is present on device. + * @param successCallback + * @param errorCallback + */ + isNFCPresent?: ( + successCallback: (present: boolean) => void, + errorCallback: (error: string) => void + ) => void; + + /** + * ANDROID ONLY + * Checks if the device setting for NFC is switched on. + * @param successCallback + * @param errorCallback + */ + isNFCEnabled?: ( + successCallback: (present: boolean) => void, + errorCallback: (error: string) => void + ) => void; + + /** + * ANDROID ONLY + * Checks if NFC is available to the app. + * @param successCallback + * @param errorCallback + */ + isNFCAvailable?: ( + successCallback: (present: boolean) => void, + errorCallback: (error: string) => void + ) => void; + + /** + * ANDROID ONLY + * Registers a function to be called when a change in NFC state occurs. + * Pass in a falsey value to de-register the currently registered function. + * @param successCallback + */ + registerNFCStateChangeHandler?: ( + successCallback: (state: string) => void + ) => void; + /** * iOS ONLY * Checks if the application is authorized to use the Camera Roll in Photos app. From 3983f5b72865a8266fe94d5c62b3b30c8bcbeb78 Mon Sep 17 00:00:00 2001 From: M0ns1gn0r Date: Wed, 1 Feb 2017 20:39:59 +0100 Subject: [PATCH 333/613] Add tslint.json to "videojs". * Fix all the issues the linting uncovered. * Extend the tests for on() / off() functions. --- videojs/index.d.ts | 29 ++++++++++++----------------- videojs/tslint.json | 1 + videojs/videojs-tests.ts | 30 ++++++++++++++++++++++++------ 3 files changed, 37 insertions(+), 23 deletions(-) create mode 100644 videojs/tslint.json diff --git a/videojs/index.d.ts b/videojs/index.d.ts index 4249d0d9b9..23fcfcddb2 100644 --- a/videojs/index.d.ts +++ b/videojs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Video.js +// Type definitions for Video.js 5.16 // Project: https://github.com/zencoder/video-js // Definitions by: Vincent Bortone // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -7,23 +7,22 @@ // Javascript, whether the browser is playing the video through HTML5 // video, Flash, or any other supported playback technologies. -declare var videojs: videojs; +declare var videojs: videojsStatic; export = videojs; export as namespace videojs; -interface videojs { - (id: any, options?: videojs.PlayerOptions, ready?: () => void): videojs.Player; -} +type videojsStatic = + (id: any, options?: videojs.PlayerOptions, ready?: () => void) => videojs.Player; declare namespace videojs { interface PlayerOptions { techOrder?: string[]; - html5?: Object; + html5?: any; width?: number; height?: number; defaultVolume?: number; - children?: Object; + children?: string[]; controls?: boolean; src?: string; autoplay?: boolean; @@ -39,9 +38,7 @@ declare namespace videojs { play(): Player; pause(): Player; paused(): boolean; - src(newSource: string): Player; - src(newSource: Source): Player; - src(newSource: Source[]): Player; + src(newSource: string | Source | Source[]): Player; currentTime(seconds: number): Player; currentTime(): number; duration(): number; @@ -58,13 +55,11 @@ declare namespace videojs { cancelFullScreen(): Player; ready(callback: () => void ): Player; on(eventName: string, callback: (eventObject: Event) => void ): void; - off(eventName: string, callback: () => void ): void; - off(eventName: string): void; - off(): void; + off(eventName?: string, callback?: (eventObject: Event) => void ): void; dispose(): void; - addRemoteTextTrack(options : {}) : HTMLTrackElement; - removeRemoteTextTrack(track : HTMLTrackElement) : void; - poster(val?: string) : string|Player; - playbackRate(rate?: number) : number; + addRemoteTextTrack(options: {}): HTMLTrackElement; + removeRemoteTextTrack(track: HTMLTrackElement): void; + poster(val?: string): string | Player; + playbackRate(rate?: number): number; } } diff --git a/videojs/tslint.json b/videojs/tslint.json new file mode 100644 index 0000000000..2221e40e4a --- /dev/null +++ b/videojs/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } \ No newline at end of file diff --git a/videojs/videojs-tests.ts b/videojs/videojs-tests.ts index 58300ac97a..82161f9119 100644 --- a/videojs/videojs-tests.ts +++ b/videojs/videojs-tests.ts @@ -58,17 +58,35 @@ videojs("example_video_1").ready(function(){ myPlayer.height(480); - myPlayer.size(640,480); + myPlayer.size(640, 480); myPlayer.requestFullScreen(); myPlayer.cancelFullScreen(); + testEvents(myPlayer); +}); - var myFunc = function(){ - var myPlayer: videojs.Player = this; +function testEvents(myPlayer: videojs.Player) { + const myFunc = function() { + const myPlayer: videojs.Player = this; // Do something when the event is fired }; - //myPlayer.addEvent("volumechange", myFunc); - //myPlayer.removeEvent("volumechange", myFunc); -}); + myPlayer.on("error", myFunc); + // Removes the specified listener only. + myPlayer.off("error", myFunc); + + + const myFuncWithArg = function(e: Event) { + const myPlayer: videojs.Player = this; + // Do something when the event is fired + }; + myPlayer.on("volumechange", myFuncWithArg); + // Removes all listeners for the given event type. + myPlayer.off("volumechange"); + + + myPlayer.on("loadeddata", function() { /* Some handler. */ }); + // Removes all listeners. + myPlayer.off(); +} From 1d9b2876045925ae1996866b2c088275734440ee Mon Sep 17 00:00:00 2001 From: Dave Alden Date: Wed, 1 Feb 2017 19:42:45 +0000 Subject: [PATCH 334/613] Add missing NFC state constant --- cordova.plugins.diagnostic/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cordova.plugins.diagnostic/index.d.ts b/cordova.plugins.diagnostic/index.d.ts index c4d2daedd9..5952b41851 100644 --- a/cordova.plugins.diagnostic/index.d.ts +++ b/cordova.plugins.diagnostic/index.d.ts @@ -56,6 +56,14 @@ interface Diagnostic { bluetoothState?: any; + /** + * ANDROID ONLY + * Constants for the various NFC power states. + * @type {Object} + */ + NFCState?: any; + + /** * Checks if app is able to access device location. * @param successCallback From 746b1b660ec4283b1698d25a3f55ec4bf77884ff Mon Sep 17 00:00:00 2001 From: Chad Auld Date: Wed, 1 Feb 2017 13:29:24 -0700 Subject: [PATCH 335/613] Adding buttonStyle to the material-ui Tab property list --- material-ui/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/material-ui/index.d.ts b/material-ui/index.d.ts index 665cdc6a24..59d92bdd3a 100644 --- a/material-ui/index.d.ts +++ b/material-ui/index.d.ts @@ -1735,6 +1735,7 @@ declare namespace __MaterialUI { } interface TabProps extends SharedEnhancedButtonProps { + buttonStyle?: React.CSSProperties; className?: string; icon?: React.ReactNode; label?: React.ReactNode; From ff38bd198b87ba02101af481d5eac8aba3da4bed Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Wed, 1 Feb 2017 21:39:47 +0000 Subject: [PATCH 336/613] Fix tslint errors 'dt-header' - Expected: foo MAJOR.MINOR (patch version not allowed) - Expected: foo MAJOR.MINOR ('v' not allowed) --- react-modal/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-modal/index.d.ts b/react-modal/index.d.ts index 115e36730b..20c8d08f27 100644 --- a/react-modal/index.d.ts +++ b/react-modal/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for react-modal v1.6.5 +// Type definitions for react-modal 1.6 // Project: https://github.com/reactjs/react-modal // Definitions by: Rajab Shakirov // Definitions by: Drew Noakes From fb1f121c408488d14764ad99041267c9d35e876f Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Wed, 1 Feb 2017 21:40:18 +0000 Subject: [PATCH 337/613] Fix tslint errors 'dt-header' Expected: one of /(, )|(,?\r?\n\/\/\s\s+)/ /\r?\n\/\/ Definitions by: / --- react-modal/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/react-modal/index.d.ts b/react-modal/index.d.ts index 20c8d08f27..30db228f59 100644 --- a/react-modal/index.d.ts +++ b/react-modal/index.d.ts @@ -1,7 +1,6 @@ // Type definitions for react-modal 1.6 // Project: https://github.com/reactjs/react-modal -// Definitions by: Rajab Shakirov -// Definitions by: Drew Noakes +// Definitions by: Rajab Shakirov , Drew Noakes // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 From 34c28a11da363a27d5de601b666c2feca176aa9a Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Wed, 1 Feb 2017 21:41:16 +0000 Subject: [PATCH 338/613] Fix tslint error 'no-single-declare-module ' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit File has only 1 module declaration — write it as an external module. --- react-modal/index.d.ts | 93 +++++++++++++++++++++--------------------- 1 file changed, 47 insertions(+), 46 deletions(-) diff --git a/react-modal/index.d.ts b/react-modal/index.d.ts index 30db228f59..68e6f1e2bc 100644 --- a/react-modal/index.d.ts +++ b/react-modal/index.d.ts @@ -6,52 +6,53 @@ /// -declare module "react-modal" { - interface Styles { - style?: { - content?: { - [key: string]: any; - }; - overlay?: { - [key: string]: any; - }; +interface Styles { + style?: { + content?: { + [key: string]: any; + }; + overlay?: { + [key: string]: any; }; - } - interface ReactModal { - /* Boolean describing if the modal should be shown or not. Defaults to false. */ - isOpen: boolean; - /* Object indicating styles to be used for the modal, divided into overlay and content styles. */ - style?: Styles; - /* Set this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ - appElement?: HTMLElement | {}; - /* Function that will be run after the modal has opened. */ - onAfterOpen?: () => void; - /* Function that will be run when the modal is requested to be closed, prior to actually closing. */ - onRequestClose?: () => void; - /* Number indicating the milliseconds to wait before closing the modal. Defaults to zero (no timeout). */ - closeTimeoutMS?: number; - /* Boolean indicating if the appElement should be hidden. Defaults to true. */ - ariaHideApp?: boolean; - /* Boolean indicating if the overlay should close the modal. Defaults to true. */ - shouldCloseOnOverlayClick?: boolean; - /* String className to be applied to the portal. Defaults to "ReactModalPortal". */ - portalClassName?: string; - /* String className to be applied to the overlay. */ - overlayClassName?: string; - /* String className to be applied to the modal content. */ - className?: string; - /* String indicating how the content container should be announced to screenreaders. */ - contentLabel?: string; - /* String indicating the role of the modal, allowing the 'dialog' role to be applied if desired. */ - role?: string; - /* Function that will be called to get the parent element that the modal will be attached to. */ - parentSelector?: () => HTMLElement; - } - let ReactModal: React.ClassicComponentClass & { - /* Override styles for all modals. */ - defaultStyles: Styles; - /* Call this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ - setAppElement(appElement: HTMLElement): void; }; - export = ReactModal; } + +interface ReactModal { + /* Boolean describing if the modal should be shown or not. Defaults to false. */ + isOpen: boolean; + /* Object indicating styles to be used for the modal, divided into overlay and content styles. */ + style?: Styles; + /* Set this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ + appElement?: HTMLElement | {}; + /* Function that will be run after the modal has opened. */ + onAfterOpen?: () => void; + /* Function that will be run when the modal is requested to be closed, prior to actually closing. */ + onRequestClose?: () => void; + /* Number indicating the milliseconds to wait before closing the modal. Defaults to zero (no timeout). */ + closeTimeoutMS?: number; + /* Boolean indicating if the appElement should be hidden. Defaults to true. */ + ariaHideApp?: boolean; + /* Boolean indicating if the overlay should close the modal. Defaults to true. */ + shouldCloseOnOverlayClick?: boolean; + /* String className to be applied to the portal. Defaults to "ReactModalPortal". */ + portalClassName?: string; + /* String className to be applied to the overlay. */ + overlayClassName?: string; + /* String className to be applied to the modal content. */ + className?: string; + /* String indicating how the content container should be announced to screenreaders. */ + contentLabel?: string; + /* String indicating the role of the modal, allowing the 'dialog' role to be applied if desired. */ + role?: string; + /* Function that will be called to get the parent element that the modal will be attached to. */ + parentSelector?: () => HTMLElement; +} + +declare const ReactModal: React.ClassicComponentClass & { + /* Override styles for all modals. */ + defaultStyles: Styles; + /* Call this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ + setAppElement(appElement: HTMLElement): void; +}; + +export = ReactModal; From 6c1d88d6a9f3d81c993c17333bb04926051442be Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Wed, 1 Feb 2017 21:42:48 +0000 Subject: [PATCH 339/613] Use 'import' over ' +import * as React from "react"; interface Styles { style?: { From c834c31b814c751322150cb272167e2ac504f946 Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Wed, 1 Feb 2017 21:41:29 +0000 Subject: [PATCH 340/613] Add tslint file. --- react-modal/tslint.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 react-modal/tslint.json diff --git a/react-modal/tslint.json b/react-modal/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/react-modal/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 70520cc92389c48b24ee7d51ea3a5362712a5eec Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Wed, 1 Feb 2017 22:03:12 +0000 Subject: [PATCH 341/613] Declare as class and namespace. --- react-modal/index.d.ts | 100 +++++++++++++++++++++-------------------- 1 file changed, 52 insertions(+), 48 deletions(-) diff --git a/react-modal/index.d.ts b/react-modal/index.d.ts index c26442aa76..4e038b416c 100644 --- a/react-modal/index.d.ts +++ b/react-modal/index.d.ts @@ -6,53 +6,57 @@ import * as React from "react"; -interface Styles { - style?: { - content?: { - [key: string]: any; - }; - overlay?: { - [key: string]: any; - }; - }; -} - -interface ReactModal { - /* Boolean describing if the modal should be shown or not. Defaults to false. */ - isOpen: boolean; - /* Object indicating styles to be used for the modal, divided into overlay and content styles. */ - style?: Styles; - /* Set this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ - appElement?: HTMLElement | {}; - /* Function that will be run after the modal has opened. */ - onAfterOpen?: () => void; - /* Function that will be run when the modal is requested to be closed, prior to actually closing. */ - onRequestClose?: () => void; - /* Number indicating the milliseconds to wait before closing the modal. Defaults to zero (no timeout). */ - closeTimeoutMS?: number; - /* Boolean indicating if the appElement should be hidden. Defaults to true. */ - ariaHideApp?: boolean; - /* Boolean indicating if the overlay should close the modal. Defaults to true. */ - shouldCloseOnOverlayClick?: boolean; - /* String className to be applied to the portal. Defaults to "ReactModalPortal". */ - portalClassName?: string; - /* String className to be applied to the overlay. */ - overlayClassName?: string; - /* String className to be applied to the modal content. */ - className?: string; - /* String indicating how the content container should be announced to screenreaders. */ - contentLabel?: string; - /* String indicating the role of the modal, allowing the 'dialog' role to be applied if desired. */ - role?: string; - /* Function that will be called to get the parent element that the modal will be attached to. */ - parentSelector?: () => HTMLElement; -} - -declare const ReactModal: React.ClassicComponentClass & { - /* Override styles for all modals. */ - defaultStyles: Styles; - /* Call this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ - setAppElement(appElement: HTMLElement): void; -}; +export as namespace ReactModal; export = ReactModal; + +declare namespace ReactModal { + export interface Styles { + style?: { + content?: { + [key: string]: any; + }; + overlay?: { + [key: string]: any; + }; + }; + } + + export interface Props { + /* Boolean describing if the modal should be shown or not. Defaults to false. */ + isOpen: boolean; + /* Object indicating styles to be used for the modal, divided into overlay and content styles. */ + style?: Styles; + /* Set this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ + appElement?: HTMLElement | {}; + /* Function that will be run after the modal has opened. */ + onAfterOpen?: () => void; + /* Function that will be run when the modal is requested to be closed, prior to actually closing. */ + onRequestClose?: () => void; + /* Number indicating the milliseconds to wait before closing the modal. Defaults to zero (no timeout). */ + closeTimeoutMS?: number; + /* Boolean indicating if the appElement should be hidden. Defaults to true. */ + ariaHideApp?: boolean; + /* Boolean indicating if the overlay should close the modal. Defaults to true. */ + shouldCloseOnOverlayClick?: boolean; + /* String className to be applied to the portal. Defaults to "ReactModalPortal". */ + portalClassName?: string; + /* String className to be applied to the overlay. */ + overlayClassName?: string; + /* String className to be applied to the modal content. */ + className?: string; + /* String indicating how the content container should be announced to screenreaders. */ + contentLabel?: string; + /* String indicating the role of the modal, allowing the 'dialog' role to be applied if desired. */ + role?: string; + /* Function that will be called to get the parent element that the modal will be attached to. */ + parentSelector?: () => HTMLElement; + } +} + +declare class ReactModal extends React.Component { + /* Override base styles for all instances of this component. */ + static defaultStyles: ReactModal.Styles; + /* Call this to properly hide your application from assistive screenreaders and other assistive technologies while the modal is open. */ + static setAppElement(appElement: HTMLElement): void; +} From e56981db5b421bf383e28554ade722901d5a72cf Mon Sep 17 00:00:00 2001 From: Andrew Zheng Date: Wed, 1 Feb 2017 15:56:56 -0800 Subject: [PATCH 342/613] Update comment, fix typo --- angular-mocks/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angular-mocks/index.d.ts b/angular-mocks/index.d.ts index 767eb65f04..8b94fab445 100644 --- a/angular-mocks/index.d.ts +++ b/angular-mocks/index.d.ts @@ -132,7 +132,7 @@ declare module 'angular' { /** * Verifies that all of the requests defined via the expect api were made. If any of the requests were not made, verifyNoOutstandingExpectation throws an exception. - * @param digest Do digest before checking expectation. Pass anything expect false to trigger digest. + * @param digest Do digest before checking expectation. Pass anything except false to trigger digest. NOTE this flag is purposely undocumented by Angular, which means it's not to be used in normal client code. */ verifyNoOutstandingExpectation(digest?: boolean): void; From cdfe492a002ca86840f926c44f93aeaa33e88f50 Mon Sep 17 00:00:00 2001 From: Homa Wong Date: Wed, 1 Feb 2017 15:57:03 -0800 Subject: [PATCH 343/613] Update index.d.ts --- systemjs/index.d.ts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/systemjs/index.d.ts b/systemjs/index.d.ts index 428e303442..4dc975ced7 100644 --- a/systemjs/index.d.ts +++ b/systemjs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for SystemJS 0.19.29 +// Type definitions for SystemJS 0.20.5 // Project: https://github.com/systemjs/systemjs // Definitions by: Ludovic HENIN , Nathan Walker , Giedrius Grabauskas // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -257,7 +257,7 @@ declare namespace SystemJSLoader { /** * This represents the System base class, which can be extended or reinstantiated to create a custom System instance. */ - constructor: new () => System; + constructor: new() => System; /** * Deletes a module from the registry by normalized name. @@ -270,6 +270,11 @@ declare namespace SystemJSLoader { get(moduleName: string): any; get(moduleName: string): TModule; + /** + * Returns a clone of the internal SystemJS configuration in use. + */ + getConfig(): Config + /** * Returns whether a given module exists in the registry by normalized module name. */ @@ -282,6 +287,12 @@ declare namespace SystemJSLoader { import(moduleName: string, normalizedParentName?: string): Promise; import(moduleName: string, normalizedParentName?: string): Promise; + /** + * Given any object, returns true if the object is either a SystemJS module or native JavaScript module object, and false otherwise. + * Useful for interop scenarios. + */ + isModule(object: any): boolean; + /** * Given a plain JavaScript object, return an equivalent Module object. * Useful when writing a custom instantiate hook or using System.set. @@ -320,7 +331,6 @@ declare namespace SystemJSLoader { */ loads: PackageList; } - } declare var SystemJS: SystemJSLoader.System; From 5d8c46b9b96b9740b8f60d8f63ac6669e3299a2c Mon Sep 17 00:00:00 2001 From: Andrew Harward Date: Thu, 2 Feb 2017 11:50:16 +1100 Subject: [PATCH 344/613] Add missing property 'reversedStacks' to Highcharts.AxisOptions --- highcharts/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/highcharts/index.d.ts b/highcharts/index.d.ts index 60a9fa15cb..58f2a97a5e 100644 --- a/highcharts/index.d.ts +++ b/highcharts/index.d.ts @@ -701,6 +701,13 @@ declare namespace Highcharts { * @default false */ reversed?: boolean; + /** + * If true, the first series in a stack will be drawn on top in a positive, non-reversed Y axis. If false, the first series is in the base of the stack. + * Only used for yAxis + * @default true + * @since 3.0.10 + */ + reversedStacks?: boolean; /** * Whether to show the axis line and title when the axis has no data. * @default true From bf557832e7a8a776d4979150ebd9ac826f761d9a Mon Sep 17 00:00:00 2001 From: bydooweedoo Date: Thu, 2 Feb 2017 09:15:29 +0800 Subject: [PATCH 345/613] Add key option to watch --- consul/index.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/consul/index.d.ts b/consul/index.d.ts index b154eeccb3..4d577cd2a1 100644 --- a/consul/index.d.ts +++ b/consul/index.d.ts @@ -951,10 +951,14 @@ declare namespace Consul { } namespace Watch { + + interface WatchOptions { + key?: string; + } interface Options { method: Function; - options?: CommonOptions; + options?: CommonOptions & WatchOptions; } } From a047ca1d6dbbb05f286ec8b8a533ee84ed293a00 Mon Sep 17 00:00:00 2001 From: Conrad Chan Date: Wed, 1 Feb 2017 19:50:03 -0800 Subject: [PATCH 346/613] add onInputKeyDown to react-select --- react-select/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/react-select/index.d.ts b/react-select/index.d.ts index e59322d0dc..a7c0f2f17a 100644 --- a/react-select/index.d.ts +++ b/react-select/index.d.ts @@ -246,6 +246,10 @@ declare namespace ReactSelectClass { * onInputChange handler: function (inputValue) {} */ onInputChange?: (inputValue: string) => void; + /** + * onInputKeyDown handler: function (keyboardEvent) {} + */ + onInputKeyDown?: (event: KeyboardEvent) => void; /** * fires when the menu is scrolled to the bottom; can be used to paginate options */ From 89a1058d4d959568763dd284681cdb5297cdea37 Mon Sep 17 00:00:00 2001 From: Martin Zagora Date: Thu, 2 Feb 2017 14:58:19 +1100 Subject: [PATCH 347/613] add getConfigSources method --- config/config-tests.ts | 5 +++++ config/index.d.ts | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/config/config-tests.ts b/config/config-tests.ts index 1dab917d84..507ecc463c 100644 --- a/config/config-tests.ts +++ b/config/config-tests.ts @@ -29,3 +29,8 @@ var hidden1: any = config.util.makeHidden({}, ""); var hidden2: any = config.util.makeHidden({}, "", ""); var env: string = config.util.getEnv(""); + +var configSources: config.IConfigSource[] = config.util.getConfigSources(); +var configSource: config.IConfigSource = configSources[0]; +var configSourceName: string = configSource.name; +var configSourceOriginal: string | undefined = configSource.original; diff --git a/config/index.d.ts b/config/index.d.ts index 98dda3448a..2f7ee3eaf1 100644 --- a/config/index.d.ts +++ b/config/index.d.ts @@ -34,6 +34,9 @@ declare namespace c { // Return the config for the project based on directory param if not directory then return default one (config). loadFileConfigs(configDir: string): any; + + // Return the sources for the configurations + getConfigSources(): IConfigSource[]; } interface IConfig { @@ -41,6 +44,12 @@ declare namespace c { has(setting: string): boolean; util: IUtil; } + + interface IConfigSource { + name: string; + original?: string; + parsed: any; + } } export = c; From d095c67aa93626f02bf72bd5b8a2886870496fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20SIMOND?= Date: Thu, 2 Feb 2017 13:40:29 +0100 Subject: [PATCH 348/613] Add missing property 'noData' to HighChartsNGConfig HighChartsNGConfig is missing noData property implemented since highcharts-ng#0.0.6 : https://github.com/pablojim/highcharts-ng#version-006 --- highcharts-ng/highcharts-ng-tests.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/highcharts-ng/highcharts-ng-tests.ts b/highcharts-ng/highcharts-ng-tests.ts index 0bf559061b..6f79d6e79a 100644 --- a/highcharts-ng/highcharts-ng-tests.ts +++ b/highcharts-ng/highcharts-ng-tests.ts @@ -33,7 +33,8 @@ class AppController { title: { text: 'My Awesome Chart' }, - loading: true + loading: true, + noData: 'No data here' }; constructor($timeout: ng.ITimeoutService) { var vm = this; From 0d9808c65180cd9ce6b12194064f9cc3fd03f66f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20SIMOND?= Date: Thu, 2 Feb 2017 13:46:24 +0100 Subject: [PATCH 349/613] Add missing property 'noData' to HighChartsNGConfig --- highcharts-ng/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/highcharts-ng/index.d.ts b/highcharts-ng/index.d.ts index 123799e76c..639d21d88e 100644 --- a/highcharts-ng/index.d.ts +++ b/highcharts-ng/index.d.ts @@ -35,6 +35,8 @@ declare global { }; //function (optional) - setup some logic for the chart func?: (chart: ChartObject) => void; + //no data text (optional) to show if all series are empty + noData?: string; } //Instantiated Chart From 8978f926e21860801db49d1fd9d3448b121b11e9 Mon Sep 17 00:00:00 2001 From: rhysd Date: Thu, 2 Feb 2017 23:13:10 +0900 Subject: [PATCH 350/613] electron: fix case of property (fix #14407) --- electron/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/index.d.ts b/electron/index.d.ts index 1812c1cc7a..448df1915f 100644 --- a/electron/index.d.ts +++ b/electron/index.d.ts @@ -2779,7 +2779,7 @@ declare namespace Electron { * The protocol scheme in the form ‘scheme:’. Currently supported values are ‘http:’ or ‘https:’. * Defaults to ‘http:’. */ - Protocol?: 'http:' | 'https:'; + protocol?: 'http:' | 'https:'; /** * The server host provided as a concatenation of the hostname and the port number ‘hostname:port’. */ From f3c1ece3d9a1b7ce2daf020c1d54ce30a527647d Mon Sep 17 00:00:00 2001 From: Rodrigo Cabello Date: Thu, 2 Feb 2017 15:39:11 +0100 Subject: [PATCH 351/613] creating hyco-ws definition type file --- hyco-ws/hyco-ws-tests.ts | 20 ++++++++++++++++++++ hyco-ws/index.d.ts | 39 +++++++++++++++++++++++++++++++++++++++ hyco-ws/tsconfig.json | 23 +++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 hyco-ws/hyco-ws-tests.ts create mode 100644 hyco-ws/index.d.ts create mode 100644 hyco-ws/tsconfig.json diff --git a/hyco-ws/hyco-ws-tests.ts b/hyco-ws/hyco-ws-tests.ts new file mode 100644 index 0000000000..c44632f784 --- /dev/null +++ b/hyco-ws/hyco-ws-tests.ts @@ -0,0 +1,20 @@ +import * as WebSocketRelay from 'hyco-ws'; + +let wss = WebSocketRelay.createRelayedServer( + { + server: WebSocketRelay.createRelayListenUri('uri_namespace', 'uri_path'), + token: WebSocketRelay.createRelayToken( + 'http://exampleurl.com}', + 'key_rule', + 'key') + }, + (ws: WebSocket) => { + console.log('New connection accepted'); + ws.onmessage = function (event) { + console.log('New message!!'); + }; + }); + +wss.on('error', function (err) { + console.log('error' + err); +}); \ No newline at end of file diff --git a/hyco-ws/index.d.ts b/hyco-ws/index.d.ts new file mode 100644 index 0000000000..0155ea557c --- /dev/null +++ b/hyco-ws/index.d.ts @@ -0,0 +1,39 @@ +// Type definitions for hyco-ws +// Project: https://github.com/Azure/azure-relay-node +// Definitions by: Manuel Rodrigo Cabello +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// +/// + +declare module 'hyco-ws' { + + namespace WebSocketRelay { + + class HybridConnectionWebSocketServer extends NodeJS.EventEmitter { + constructor(options: Object); + close(callback: () => void): void; + listenUri: string; + closeRequested: boolean; + options: Object; + path: string; + clients: Array; + controlChannel: WebSocket; + } + + interface RealyConnection { + + createRelayedServer(options: Object, fn: (ws: WebSocket) => void): HybridConnectionWebSocketServer; + relayedConnect(address: string, fn: () => void): WebSocket; + createRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; + appendRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; + createRelayBaseUri(serviceBusNamespace: string, path: string): string; + createRelaySendUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; + createRelayListenUri(serviceBusNamespace: string, path: string, token?: any, id?: any); + } + } + + var RelayConnection: WebSocketRelay.RealyConnection; + + export = RelayConnection; +} \ No newline at end of file diff --git a/hyco-ws/tsconfig.json b/hyco-ws/tsconfig.json new file mode 100644 index 0000000000..0d67bbf8da --- /dev/null +++ b/hyco-ws/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "experimentalDecorators": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "hyco-ws-tests.ts" + ] +} \ No newline at end of file From f777faceb46611006e3022e72e84945f95875b18 Mon Sep 17 00:00:00 2001 From: Rodrigo Cabello Date: Thu, 2 Feb 2017 16:03:29 +0100 Subject: [PATCH 352/613] fixing typings --- hyco-ws/hyco-ws-tests.ts | 7 ++++--- hyco-ws/index.d.ts | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hyco-ws/hyco-ws-tests.ts b/hyco-ws/hyco-ws-tests.ts index c44632f784..d24aa85c2c 100644 --- a/hyco-ws/hyco-ws-tests.ts +++ b/hyco-ws/hyco-ws-tests.ts @@ -1,6 +1,7 @@ import * as WebSocketRelay from 'hyco-ws'; +import * as WebSocket from 'ws'; -let wss = WebSocketRelay.createRelayedServer( +const wss: any = WebSocketRelay.createRelayedServer( { server: WebSocketRelay.createRelayListenUri('uri_namespace', 'uri_path'), token: WebSocketRelay.createRelayToken( @@ -10,11 +11,11 @@ let wss = WebSocketRelay.createRelayedServer( }, (ws: WebSocket) => { console.log('New connection accepted'); - ws.onmessage = function (event) { + ws.onmessage = (event: any) => { console.log('New message!!'); }; }); -wss.on('error', function (err) { +wss.on('error', (err: any) => { console.log('error' + err); }); \ No newline at end of file diff --git a/hyco-ws/index.d.ts b/hyco-ws/index.d.ts index 0155ea557c..413f883c1e 100644 --- a/hyco-ws/index.d.ts +++ b/hyco-ws/index.d.ts @@ -29,7 +29,7 @@ declare module 'hyco-ws' { appendRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; createRelayBaseUri(serviceBusNamespace: string, path: string): string; createRelaySendUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; - createRelayListenUri(serviceBusNamespace: string, path: string, token?: any, id?: any); + createRelayListenUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; } } From 350f4ef001a722315ed4d6cc354bb9a8d7f05605 Mon Sep 17 00:00:00 2001 From: denis Date: Thu, 2 Feb 2017 17:04:55 +0100 Subject: [PATCH 353/613] Remove double tap property The property `doubleTapToGo` was deprecated and is gone in 2.6.2. As 2.6.2 is not backward compatible with previous versions, I set back exact version number in header. --- metismenu/index.d.ts | 3 +-- metismenu/metismenu-tests.ts | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/metismenu/index.d.ts b/metismenu/index.d.ts index 7b8a8eca19..bdd500041f 100644 --- a/metismenu/index.d.ts +++ b/metismenu/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for metisMenu 2.6 +// Type definitions for metisMenu 2.6.2 // Project: http://github.com/onokumus/metisMenu // Definitions by: onokums , denis // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -7,7 +7,6 @@ interface MetisMenuOptions { toggle?: boolean; - doubleTapToGo?: boolean; activeClass?: string; collapseClass?: string; collapseInClass?: string; diff --git a/metismenu/metismenu-tests.ts b/metismenu/metismenu-tests.ts index 625a4877ab..eb17270021 100644 --- a/metismenu/metismenu-tests.ts +++ b/metismenu/metismenu-tests.ts @@ -6,7 +6,6 @@ $('.metismenu').metisMenu({toggle: false}); $('.test').metisMenu({ toggle: false, - doubleTapToGo: true, activeClass: 'active', collapseClass: 'collapse', collapseInClass: 'in', From c1be6557513d67857fa4de171944b2ff84f837d1 Mon Sep 17 00:00:00 2001 From: Ant Kennedy Date: Thu, 2 Feb 2017 16:41:23 +0000 Subject: [PATCH 354/613] bugfix: WebResponseHeadersDetails missing method WebResponseHeadersDetails interface missing the method field defined in the documentation. https://developer.chrome.com/extensions/webRequest#event-onHeadersReceived --- chrome/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/index.d.ts b/chrome/index.d.ts index 2822dd421e..cd6922f5fb 100644 --- a/chrome/index.d.ts +++ b/chrome/index.d.ts @@ -7267,6 +7267,7 @@ declare namespace chrome.webRequest { interface WebResponseHeadersDetails extends WebResponseDetails { /** Optional. The HTTP response headers that have been received with this response. */ responseHeaders?: HttpHeader[]; + method: string; /** standard HTTP method i.e. GET, POST, PUT, etc. */ } interface WebResponseCacheDetails extends WebResponseHeadersDetails { From 06c9f9019023f3348de341b36af823e69ba1e58a Mon Sep 17 00:00:00 2001 From: Jeff Kenney Date: Thu, 26 Jan 2017 16:16:33 -0800 Subject: [PATCH 355/613] yargs: standardize tests as 4 spaces --- yargs/yargs-tests.ts | 720 +++++++++++++++++++++---------------------- 1 file changed, 360 insertions(+), 360 deletions(-) diff --git a/yargs/yargs-tests.ts b/yargs/yargs-tests.ts index f44e38b545..ae5871f2a3 100644 --- a/yargs/yargs-tests.ts +++ b/yargs/yargs-tests.ts @@ -12,539 +12,539 @@ const stringVal = 'string'; // With yargs, the options be just a hash! function xup() { - var argv = yargs.argv; + var argv = yargs.argv; - if (argv.rif - 5 * argv.xup > 7.138) { - console.log('Plunder more riffiwobbles!'); - } - else { - console.log('Drop the xupptumblers!'); - } + if (argv.rif - 5 * argv.xup > 7.138) { + console.log('Plunder more riffiwobbles!'); + } + else { + console.log('Drop the xupptumblers!'); + } } // And non-hyphenated options too! Just use argv._! function nonopt() { - var argv = yargs.argv; - console.log('(%d,%d)', argv.x, argv.y); - console.log(argv._); + var argv = yargs.argv; + console.log('(%d,%d)', argv.x, argv.y); + console.log(argv._); } // Yargs even counts your booleans! function count() { - var argv = yargs - .count('verbose') - .alias('v', 'verbose') - .argv; + var argv = yargs + .count('verbose') + .alias('v', 'verbose') + .argv; - var VERBOSE_LEVEL: number = argv.verbose; + var VERBOSE_LEVEL: number = argv.verbose; - function WARN() { VERBOSE_LEVEL >= 0 && console.log.apply(console, arguments); } - function INFO() { VERBOSE_LEVEL >= 1 && console.log.apply(console, arguments); } - function DEBUG() { VERBOSE_LEVEL >= 2 && console.log.apply(console, arguments); } + function WARN() { VERBOSE_LEVEL >= 0 && console.log.apply(console, arguments); } + function INFO() { VERBOSE_LEVEL >= 1 && console.log.apply(console, arguments); } + function DEBUG() { VERBOSE_LEVEL >= 2 && console.log.apply(console, arguments); } } // Tell users how to use yer options and make demands. function divide() { - var argv = yargs - .usage('Usage: $0 -x [num] -y [num]') - .demand(['x', 'y']) - .argv; + var argv = yargs + .usage('Usage: $0 -x [num] -y [num]') + .demand(['x', 'y']) + .argv; - console.log(argv.x / argv.y); + console.log(argv.x / argv.y); } // After yer demands have been met, demand more! Ask for non-hypenated arguments! function demand_count() { - var argv = yargs - .demand(2) - .demand(2, false) - .demand(2, 2) - .demand(2, 2, "message") - .argv; - console.dir(argv); + var argv = yargs + .demand(2) + .demand(2, false) + .demand(2, 2) + .demand(2, 2, "message") + .argv; + console.dir(argv); } // EVEN MORE SHIVER ME TIMBERS! function default_singles() { - var argv = yargs - .default('x', 10) - .default('y', 10) - .argv - ; - console.log(argv.x + argv.y); + var argv = yargs + .default('x', 10) + .default('y', 10) + .argv + ; + console.log(argv.x + argv.y); } function default_hash() { - var argv = yargs - .default({ x: 10, y: 10 }) - .argv - ; - console.log(argv.x + argv.y); + var argv = yargs + .default({ x: 10, y: 10 }) + .argv + ; + console.log(argv.x + argv.y); } // And if you really want to get all descriptive about it... function boolean_single() { - var argv = yargs - .boolean('v') - .argv - ; - console.dir(argv.v); - console.dir(argv._); + var argv = yargs + .boolean('v') + .argv + ; + console.dir(argv.v); + console.dir(argv._); } function boolean_double() { - var argv = yargs - .boolean(['x', 'y', 'z']) - .argv - ; - console.dir([argv.x, argv.y, argv.z]); - console.dir(argv._); + var argv = yargs + .boolean(['x', 'y', 'z']) + .argv + ; + console.dir([argv.x, argv.y, argv.z]); + console.dir(argv._); } // Yargs is here to help you... function line_count() { - var argv = yargs - .usage('Count the lines in a file.\nUsage: $0') - .example('$0 -f', 'count the lines in the given file') - .demand('f') - .alias('f', 'file') - .describe('f', 'Load a file') - .argv - ; + var argv = yargs + .usage('Count the lines in a file.\nUsage: $0') + .example('$0 -f', 'count the lines in the given file') + .demand('f') + .alias('f', 'file') + .describe('f', 'Load a file') + .argv + ; } // Below are tests for individual methods. // Not all methods are covered yet, and neither are all possible invocations of methods. function Argv_parsing() { - var argv1 = yargs.argv; - var argv2 = yargs(['-x', '1', '-y', '2']).argv; - var argv3 = yargs.parse(['-x', '1', '-y', '2']); - console.log(argv1.x, argv2.x, argv3.x); + var argv1 = yargs.argv; + var argv2 = yargs(['-x', '1', '-y', '2']).argv; + var argv3 = yargs.parse(['-x', '1', '-y', '2']); + console.log(argv1.x, argv2.x, argv3.x); } function Argv$options() { - var argv1 = yargs - .options('f', { - alias: 'file', - default: '/etc/passwd', - defaultDescription: 'The /etc/passwd file', - group: 'files', - normalize: true, - global: false, - array: true, - nargs: 3 - }) - .argv - ; + var argv1 = yargs + .options('f', { + alias: 'file', + default: '/etc/passwd', + defaultDescription: 'The /etc/passwd file', + group: 'files', + normalize: true, + global: false, + array: true, + nargs: 3 + }) + .argv + ; - var argv2 = yargs - .alias('f', 'file') - .default('f', '/etc/passwd') - .argv - ; + var argv2 = yargs + .alias('f', 'file') + .default('f', '/etc/passwd') + .argv + ; } function Argv$global() { - var argv = yargs - .global('foo') - .global(['bar', 'baz', 'fizz', 'buzz']) + var argv = yargs + .global('foo') + .global(['bar', 'baz', 'fizz', 'buzz']) } function Argv$group() { - var argv = yargs - .group('foo', 'foogroup') - .group(['bing', 'bang', 'buzz'], 'onomatopoeia') + var argv = yargs + .group('foo', 'foogroup') + .group(['bing', 'bang', 'buzz'], 'onomatopoeia') } function Argv$env() { - var argv = yargs - .env('YARGS_PREFIX_') - .env() - .env(true); + var argv = yargs + .env('YARGS_PREFIX_') + .env() + .env(true); } function Argv$array() { - var argv = yargs - .array('foo') - .array(['bar', 'baz']) + var argv = yargs + .array('foo') + .array(['bar', 'baz']) } function Argv$nargs() { - var argv = yargs - .nargs('foo', 12) - .nargs({ 'bing': 3, 'bang': 2, 'buzz': 4 }) + var argv = yargs + .nargs('foo', 12) + .nargs({ 'bing': 3, 'bang': 2, 'buzz': 4 }) } function Argv$choices() { - // example from documentation - var argv = yargs - .alias('i', 'ingredient') - .describe('i', 'choose your sandwich ingredients') - .choices('i', ['peanut-butter', 'jelly', 'banana', 'pickles']) - .help('help') - .argv + // example from documentation + var argv = yargs + .alias('i', 'ingredient') + .describe('i', 'choose your sandwich ingredients') + .choices('i', ['peanut-butter', 'jelly', 'banana', 'pickles']) + .help('help') + .argv } function command() { - var argv = yargs - .usage('npm ') - .command('install', 'tis a mighty fine package to install') - .command('publish', 'shiver me timbers, should you be sharing all that', yargs => - yargs.option('f', { - alias: 'force', - description: 'yar, it usually be a bad idea' - }) - .help('help') - ) - .command("build", "arghh, build it mate", { - tag: { - default: true, - demand: true, - description: "Tag the build, mate!" - }, - publish: { - default: false, - description:"Should i publish?" - } - }) - .command({ - command: "test", - describe: "test package", - builder: { - mateys: { - demand: false - } - }, - handler: (args: any) => { - /* handle me mateys! */ - } - }) - .command("test", "test mateys", { - handler: (args: any) => { - /* handle me mateys! */ - } - }) - .help('help') - .argv; + var argv = yargs + .usage('npm ') + .command('install', 'tis a mighty fine package to install') + .command('publish', 'shiver me timbers, should you be sharing all that', yargs => + yargs.option('f', { + alias: 'force', + description: 'yar, it usually be a bad idea' + }) + .help('help') + ) + .command("build", "arghh, build it mate", { + tag: { + default: true, + demand: true, + description: "Tag the build, mate!" + }, + publish: { + default: false, + description:"Should i publish?" + } + }) + .command({ + command: "test", + describe: "test package", + builder: { + mateys: { + demand: false + } + }, + handler: (args: any) => { + /* handle me mateys! */ + } + }) + .command("test", "test mateys", { + handler: (args: any) => { + /* handle me mateys! */ + } + }) + .help('help') + .argv; - yargs - .command('get', 'make a get HTTP request', function (yargs) { - return yargs.option('url', { - alias: 'u', - default: 'http://yargs.js.org/' - }) - }) - .help() - .argv + yargs + .command('get', 'make a get HTTP request', function (yargs) { + return yargs.option('url', { + alias: 'u', + default: 'http://yargs.js.org/' + }) + }) + .help() + .argv - yargs - .command( - 'get', - 'make a get HTTP request', - function (yargs) { - return yargs.option('u', { - alias: 'url', - describe: 'the URL to make an HTTP request to' - }) - }, - function (argv: { url: string }) { - console.dir(argv.url) - } - ) - .help() - .argv + yargs + .command( + 'get', + 'make a get HTTP request', + function (yargs) { + return yargs.option('u', { + alias: 'url', + describe: 'the URL to make an HTTP request to' + }) + }, + function (argv: { url: string }) { + console.dir(argv.url) + } + ) + .help() + .argv } function completion_sync() { - var argv = yargs - .completion('completion', (current, argv) => { - // 'current' is the current command being completed. - // 'argv' is the parsed arguments so far. - // simply return an array of completions. - return [ - 'foo', - 'bar' - ]; - }) - .argv; + var argv = yargs + .completion('completion', (current, argv) => { + // 'current' is the current command being completed. + // 'argv' is the parsed arguments so far. + // simply return an array of completions. + return [ + 'foo', + 'bar' + ]; + }) + .argv; } function completion_async() { - var argv = yargs - .completion('completion', (current: string, argv: any, done: (completion: string[]) => void) => { - setTimeout(function () { - done([ - 'apple', - 'banana' - ]); - }, 500); - }) - .argv; + var argv = yargs + .completion('completion', (current: string, argv: any, done: (completion: string[]) => void) => { + setTimeout(function () { + done([ + 'apple', + 'banana' + ]); + }, 500); + }) + .argv; } function Argv$help() { - var argv = yargs - .usage("$0 -operand1 number -operand2 number -operation [add|subtract]") - .help() - .argv; + var argv = yargs + .usage("$0 -operand1 number -operand2 number -operation [add|subtract]") + .help() + .argv; } function Argv$showHelpOnFail() { - var argv = yargs - .usage('Count the lines in a file.\nUsage: $0') - .demand('f') - .alias('f', 'file') - .describe('f', 'Load a file') - .showHelpOnFail(false, "Specify --help for available options") - .argv; + var argv = yargs + .usage('Count the lines in a file.\nUsage: $0') + .demand('f') + .alias('f', 'file') + .describe('f', 'Load a file') + .showHelpOnFail(false, "Specify --help for available options") + .argv; } function Argv$showHelp() { - var yargs1 = yargs - .usage("$0 -operand1 number -operand2 number -operation [add|subtract]"); - yargs1.showHelp(); + var yargs1 = yargs + .usage("$0 -operand1 number -operand2 number -operation [add|subtract]"); + yargs1.showHelp(); } function Argv$version() { - var argv1 = yargs - .version(); + var argv1 = yargs + .version(); - var argv2 = yargs - .version('1.0.0'); + var argv2 = yargs + .version('1.0.0'); - var argv3 = yargs - .version('1.0.0', '--version'); + var argv3 = yargs + .version('1.0.0', '--version'); - var argv4 = yargs - .version('1.0.0', '--version', 'description'); + var argv4 = yargs + .version('1.0.0', '--version', 'description'); - var argv5 = yargs - .version(function () { return '1.0.0'; }, '--version', 'description'); + var argv5 = yargs + .version(function () { return '1.0.0'; }, '--version', 'description'); } function Argv$wrap() { - var argv1 = yargs - .wrap(null); + var argv1 = yargs + .wrap(null); - var argv2 = yargs - .wrap(yargs.terminalWidth()); + var argv2 = yargs + .wrap(yargs.terminalWidth()); } function Argv$locale() { - var argv = yargs - .usage('./$0 - follow ye instructions true') - .option('option', { - alias: 'o', - describe: "'tis a mighty fine option", - demand: true - }) - .command('run', "Arrr, ya best be knowin' what yer doin'") - .example('$0 run foo', "shiver me timbers, here's an example for ye") - .help('help') - .wrap(70) - .locale('pirate') - .argv + var argv = yargs + .usage('./$0 - follow ye instructions true') + .option('option', { + alias: 'o', + describe: "'tis a mighty fine option", + demand: true + }) + .command('run', "Arrr, ya best be knowin' what yer doin'") + .example('$0 run foo', "shiver me timbers, here's an example for ye") + .help('help') + .wrap(70) + .locale('pirate') + .argv } function Argv$epilogue() { - var argv = yargs - .epilogue('for more information, find our manual at http://example.com'); + var argv = yargs + .epilogue('for more information, find our manual at http://example.com'); } function Argv$reset() { - var ya = yargs - .usage('$0 command') - .command('hello', 'hello command') - .command('world', 'world command') - .demand(1, 'must provide a valid command'), - argv = yargs.argv, - command = argv._[0]; + var ya = yargs + .usage('$0 command') + .command('hello', 'hello command') + .command('world', 'world command') + .demand(1, 'must provide a valid command'), + argv = yargs.argv, + command = argv._[0]; - if (command === 'hello') { - ya.reset() - .usage('$0 hello') - .help('h') - .example('$0 hello', 'print the hello message!') - .argv + if (command === 'hello') { + ya.reset() + .usage('$0 hello') + .help('h') + .example('$0 hello', 'print the hello message!') + .argv - console.log('hello!'); - } else if (command === 'world') { - ya.reset() - .usage('$0 world') - .help('h') - .example('$0 world', 'print the world message!') - .argv + console.log('hello!'); + } else if (command === 'world') { + ya.reset() + .usage('$0 world') + .help('h') + .example('$0 world', 'print the world message!') + .argv - console.log('world!'); - } else { - ya.showHelp(); - } + console.log('world!'); + } else { + ya.showHelp(); + } } // http://yargs.js.org/docs/#methods-commanddirdirectory-opts function Argv$commandDir() { - var ya = yargs - .commandDir('.') - .argv + var ya = yargs + .commandDir('.') + .argv } // http://yargs.js.org/docs/#methods-commanddirdirectory-opts function Argv$commandDirWithOptions() { - var ya = yargs - .commandDir('.', { - recurse: false, - extensions: ['js'], - visit: (commandObject: any, pathToFile: string, filename: string) => { }, - include: /.*\.js$/, - exclude: /.*\.spec.js$/, - }) - .argv + var ya = yargs + .commandDir('.', { + recurse: false, + extensions: ['js'], + visit: (commandObject: any, pathToFile: string, filename: string) => { }, + include: /.*\.js$/, + exclude: /.*\.spec.js$/, + }) + .argv } function Argv$normalize() { - var ya = yargs - .normalize('path') - .normalize(['user', 'group']) - .argv + var ya = yargs + .normalize('path') + .normalize(['user', 'group']) + .argv } // From http://yargs.js.org/docs/#methods-coercekey-fn function Argv$coerce() { - var ya = yargs - .coerce('file', function (arg: string) { - return fs.readFileSync(arg, 'utf8'); - }) - .argv + var ya = yargs + .coerce('file', function (arg: string) { + return fs.readFileSync(arg, 'utf8'); + }) + .argv } function Argv$coerces() { - var ya = yargs - .coerce({ - date: Date.parse, - json: JSON.parse - }) - .argv + var ya = yargs + .coerce({ + date: Date.parse, + json: JSON.parse + }) + .argv } function Argv$coerceWithKeys() { - var ya = yargs - .coerce(['src', 'dest'], path.resolve) - .argv + var ya = yargs + .coerce(['src', 'dest'], path.resolve) + .argv } // From http://yargs.js.org/docs/#methods-failfn function Argv$fail() { - var ya = yargs - .fail(function (msg, err) { - if (err) throw err // preserve stack - console.error('You broke it!') - console.error(msg) - process.exit(1) - }) - .argv + var ya = yargs + .fail(function (msg, err) { + if (err) throw err // preserve stack + console.error('You broke it!') + console.error(msg) + process.exit(1) + }) + .argv } function Argv$implies() { - var ya = yargs - .implies('foo', 'snuh') - .implies({ - x: 'y' - }) - .argv + var ya = yargs + .implies('foo', 'snuh') + .implies({ + x: 'y' + }) + .argv } function Argv$count() { - var ya = yargs - .count('size') - .count(['w', 'h']) - .argv + var ya = yargs + .count('size') + .count(['w', 'h']) + .argv } function Argv$number() { - var ya = yargs - .number('n') - .number(['width', 'height']) - .argv + var ya = yargs + .number('n') + .number(['width', 'height']) + .argv } function Argv$updateStrings() { - var ya = yargs - .command('run', 'the run command') - .help('help') - .updateStrings({ - 'Commands:': 'My Commands -->\n' - }) - .wrap(null) - .argv + var ya = yargs + .command('run', 'the run command') + .help('help') + .updateStrings({ + 'Commands:': 'My Commands -->\n' + }) + .wrap(null) + .argv } function Argv$default() { - var ya = yargs - .default('random', function randomValue() { - return Math.random() * 256; - }) - .argv + var ya = yargs + .default('random', function randomValue() { + return Math.random() * 256; + }) + .argv } function Argv$configObject() { - var ya = yargs - .config({foo: 1, bar: 2}) - .argv + var ya = yargs + .config({foo: 1, bar: 2}) + .argv } function Argv$configParseFunction() { - var ya = yargs - .config('settings', function (configPath) { - return JSON.parse(fs.readFileSync(configPath, 'utf-8')) - }) - .config('settings', 'description', function (configPath) { - return JSON.parse(fs.readFileSync(configPath, 'utf-8')) - }) - .argv + var ya = yargs + .config('settings', function (configPath) { + return JSON.parse(fs.readFileSync(configPath, 'utf-8')) + }) + .config('settings', 'description', function (configPath) { + return JSON.parse(fs.readFileSync(configPath, 'utf-8')) + }) + .argv } function Argv$helpDescriptionExplicit() { - var ya = yargs - .help('help', 'description', true) - .argv + var ya = yargs + .help('help', 'description', true) + .argv } function Argv$showHelpConsoleLevel() { - yargs.showHelp("log"); //prints to stdout using console.log() + yargs.showHelp("log"); //prints to stdout using console.log() } function Argv$getCompletion() { - var ya = yargs - .option('foobar', {}) - .option('foobaz', {}) - .completion() - .getCompletion(['./test.js', '--foo'], function (completions) { - console.log(completions) - }) - .argv + var ya = yargs + .option('foobar', {}) + .option('foobaz', {}) + .completion() + .getCompletion(['./test.js', '--foo'], function (completions) { + console.log(completions) + }) + .argv } function Argv$pkgConf() { - var ya = yargs - .pkgConf(['key1', 'key2'], 'configFile.json') - .argv + var ya = yargs + .pkgConf(['key1', 'key2'], 'configFile.json') + .argv } function Argv$recommendCommands() { - var ya = yargs - .recommendCommands() - .argv + var ya = yargs + .recommendCommands() + .argv } function Argv$showCompletionScript() { - var ya = yargs - .showCompletionScript() - .argv + var ya = yargs + .showCompletionScript() + .argv } function Argv$skipValidation() { - var ya = yargs - .skipValidation('arg1') - .skipValidation(['arg2', 'arg3']) - .argv + var ya = yargs + .skipValidation('arg1') + .skipValidation(['arg2', 'arg3']) + .argv } function Argv$commandObject() { From 975b1a68393eb8e3748d7cc732de4fd96c8dfdb7 Mon Sep 17 00:00:00 2001 From: Jeff Kenney Date: Thu, 26 Jan 2017 16:17:30 -0800 Subject: [PATCH 356/613] yargs: add demandCommand() and demandOption() --- yargs/index.d.ts | 7 +++++++ yargs/yargs-tests.ts | 22 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/yargs/index.d.ts b/yargs/index.d.ts index da23a91f7f..bd512a7773 100644 --- a/yargs/index.d.ts +++ b/yargs/index.d.ts @@ -36,6 +36,12 @@ declare namespace yargs { demand(positionals: number, msg: string): Argv; demand(positionals: number, max: number, msg?: string): Argv; + demandCommand(min: number, minMsg?: string): Argv; + demandCommand(min: number, max?: number, minMsg?: string, maxMsg?: string): Argv; + + demandOption(key: string|string[], msg?: string): Argv; + demandOption(key: string|string[], demand?: boolean): Argv; + require(key: string, msg: string): Argv; require(key: string, required: boolean): Argv; require(keys: number[], msg: string): Argv; @@ -187,6 +193,7 @@ declare namespace yargs { default?: any; defaultDescription?: string; demand?: boolean | string; + demandOption?: boolean | string; desc?: string; describe?: string; description?: string; diff --git a/yargs/yargs-tests.ts b/yargs/yargs-tests.ts index ae5871f2a3..90448bce77 100644 --- a/yargs/yargs-tests.ts +++ b/yargs/yargs-tests.ts @@ -562,6 +562,7 @@ function Argv$commandObject() { default: "myvalue", defaultDescription: "description", demand: true, + demandOption: true, desc: "desc", describe: "describe", description: "description", @@ -577,3 +578,24 @@ function Argv$commandObject() { } }) } + +function Argv$demandCommand() { + var ya = yargs + .demandCommand(1) + .demandCommand(1, 'at least 1 command required') + .demandCommand(1, 2) + .demandCommand(1, 2, 'at least 1 command required') + .demandCommand(1, 2, 'at least 1 command required', 'at most 2 commands required') + .argv; +} + +function Argv$demandOption() { + var ya = yargs + .demandOption('a') + .demandOption('a', 'a is required') + .demandOption('a', true) + .demandOption(['a', 'b']) + .demandOption(['a', 'b'], 'a and b are required') + .demandOption(['a', 'b'], true) + .argv; +} From bb4107dc401097d8143c642b56a4d1228bdca5ee Mon Sep 17 00:00:00 2001 From: Jeff Kenney Date: Thu, 26 Jan 2017 16:01:19 -0800 Subject: [PATCH 357/613] yargs: add conflicts() --- yargs/index.d.ts | 3 +++ yargs/yargs-tests.ts | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/yargs/index.d.ts b/yargs/index.d.ts index bd512a7773..1cd96e68e1 100644 --- a/yargs/index.d.ts +++ b/yargs/index.d.ts @@ -109,6 +109,9 @@ declare namespace yargs { config(key: string, parseFn: (configPath: string) => Object): Argv; config(keys: string[], parseFn: (configPath: string) => Object): Argv; + conflicts(key: string, value: string): Argv; + conflicts(conflicts: { [key: string]: string }): Argv; + wrap(columns: number): Argv; strict(): Argv; diff --git a/yargs/yargs-tests.ts b/yargs/yargs-tests.ts index 90448bce77..f68c1113e9 100644 --- a/yargs/yargs-tests.ts +++ b/yargs/yargs-tests.ts @@ -599,3 +599,12 @@ function Argv$demandOption() { .demandOption(['a', 'b'], true) .argv; } + +function Argv$conflicts() { + var ya = yargs + .conflicts('a', 'b') + .conflicts({ + a: 'b' + }) + .argv; +} From 01790850765886569e4c5bf35546ce498240762d Mon Sep 17 00:00:00 2001 From: Jeff Kenney Date: Thu, 26 Jan 2017 16:04:55 -0800 Subject: [PATCH 358/613] yargs: increment version number to v6.6.0, update authors --- yargs/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yargs/index.d.ts b/yargs/index.d.ts index 1cd96e68e1..db205efc09 100644 --- a/yargs/index.d.ts +++ b/yargs/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for yargs 6.5.0 +// Type definitions for yargs 6.6.0 // Project: https://github.com/chevex/yargs -// Definitions by: Martin Poelstra , Mizunashi Mana , Jeffery Grajkowski +// Definitions by: Martin Poelstra , Mizunashi Mana , Jeffery Grajkowski , Jeff Kenney // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace yargs { From 9e263a8d9f5468da2cea5a789c58bf42fc610974 Mon Sep 17 00:00:00 2001 From: Jeff Kenney Date: Fri, 27 Jan 2017 09:32:24 -0800 Subject: [PATCH 359/613] yargs: standardize spaces around union operator --- yargs/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yargs/index.d.ts b/yargs/index.d.ts index db205efc09..a704afec94 100644 --- a/yargs/index.d.ts +++ b/yargs/index.d.ts @@ -39,8 +39,8 @@ declare namespace yargs { demandCommand(min: number, minMsg?: string): Argv; demandCommand(min: number, max?: number, minMsg?: string, maxMsg?: string): Argv; - demandOption(key: string|string[], msg?: string): Argv; - demandOption(key: string|string[], demand?: boolean): Argv; + demandOption(key: string | string[], msg?: string): Argv; + demandOption(key: string | string[], demand?: boolean): Argv; require(key: string, msg: string): Argv; require(key: string, required: boolean): Argv; @@ -156,7 +156,7 @@ declare namespace yargs { fail(func: (msg: string, err: Error) => any): Argv; - coerce(key: string|string[], func: (arg: T) => U): Argv; + coerce(key: string | string[], func: (arg: T) => U): Argv; coerce(opts: { [key: string]: (arg: T) => U; }): Argv; getCompletion(args: string[], done: (completions: string[]) => void): Argv; From 2d3c8e8e4481771de2e4feeb9b5ef96f6d162232 Mon Sep 17 00:00:00 2001 From: Jeff Kenney Date: Fri, 27 Jan 2017 09:35:34 -0800 Subject: [PATCH 360/613] yargs: add .editorconfig --- yargs/.editorconfig | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 yargs/.editorconfig diff --git a/yargs/.editorconfig b/yargs/.editorconfig new file mode 100644 index 0000000000..db9b917e06 --- /dev/null +++ b/yargs/.editorconfig @@ -0,0 +1,5 @@ +[*.ts] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 From e535a5dfa000f29fd907b9c702b061e8fc0c557f Mon Sep 17 00:00:00 2001 From: Jeff Kenney Date: Fri, 27 Jan 2017 10:17:26 -0800 Subject: [PATCH 361/613] yargs: add deprecated annotation for demand() --- yargs/index.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/yargs/index.d.ts b/yargs/index.d.ts index a704afec94..9c581611db 100644 --- a/yargs/index.d.ts +++ b/yargs/index.d.ts @@ -28,6 +28,9 @@ declare namespace yargs { default(key: string, value: any, description?: string): Argv; default(defaults: { [key: string]: any }, description?: string): Argv; + /** + * @deprecated since version 6.6.0 + */ demand(key: string, msg: string): Argv; demand(key: string, required?: boolean): Argv; demand(keys: string[], msg: string): Argv; @@ -42,6 +45,9 @@ declare namespace yargs { demandOption(key: string | string[], msg?: string): Argv; demandOption(key: string | string[], demand?: boolean): Argv; + /** + * @deprecated since version 6.6.0 + */ require(key: string, msg: string): Argv; require(key: string, required: boolean): Argv; require(keys: number[], msg: string): Argv; @@ -49,6 +55,9 @@ declare namespace yargs { require(positionals: number, required: boolean): Argv; require(positionals: number, msg: string): Argv; + /** + * @deprecated since version 6.6.0 + */ required(key: string, msg: string): Argv; required(key: string, required: boolean): Argv; required(keys: number[], msg: string): Argv; @@ -195,6 +204,7 @@ declare namespace yargs { count?: boolean; default?: any; defaultDescription?: string; + /** @deprecated since version 6.6.0 */ demand?: boolean | string; demandOption?: boolean | string; desc?: string; From a6cdd96ada223dfe8d6fc859148682467e48191a Mon Sep 17 00:00:00 2001 From: Rodrigo Cabello Date: Thu, 2 Feb 2017 18:59:49 +0100 Subject: [PATCH 362/613] adding web sockets definitions --- hyco-ws/hyco-ws-tests.ts | 8 ++++---- hyco-ws/index.d.ts | 30 ++++++++++++------------------ 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/hyco-ws/hyco-ws-tests.ts b/hyco-ws/hyco-ws-tests.ts index d24aa85c2c..05b500d81c 100644 --- a/hyco-ws/hyco-ws-tests.ts +++ b/hyco-ws/hyco-ws-tests.ts @@ -1,10 +1,10 @@ -import * as WebSocketRelay from 'hyco-ws'; import * as WebSocket from 'ws'; +import * as AzureRelay from 'hyco-ws'; -const wss: any = WebSocketRelay.createRelayedServer( +const wss = AzureRelay.createRelayedServer( { - server: WebSocketRelay.createRelayListenUri('uri_namespace', 'uri_path'), - token: WebSocketRelay.createRelayToken( + server: AzureRelay.createRelayListenUri('uri_namespace', 'uri_path'), + token: AzureRelay.createRelayToken( 'http://exampleurl.com}', 'key_rule', 'key') diff --git a/hyco-ws/index.d.ts b/hyco-ws/index.d.ts index 413f883c1e..d6b07d4422 100644 --- a/hyco-ws/index.d.ts +++ b/hyco-ws/index.d.ts @@ -3,12 +3,12 @@ // Definitions by: Manuel Rodrigo Cabello // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// /// -declare module 'hyco-ws' { - namespace WebSocketRelay { +import * as WebSocket from 'ws'; + +declare namespace hycows { class HybridConnectionWebSocketServer extends NodeJS.EventEmitter { constructor(options: Object); @@ -21,19 +21,13 @@ declare module 'hyco-ws' { controlChannel: WebSocket; } - interface RealyConnection { + export function createRelayedServer(options: Object, fn: (ws: WebSocket) => void): HybridConnectionWebSocketServer; + export function relayedConnect(address: string, fn: () => void): WebSocket; + export function createRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; + export function appendRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; + export function createRelayBaseUri(serviceBusNamespace: string, path: string): string; + export function createRelaySendUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; + export function createRelayListenUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; +} - createRelayedServer(options: Object, fn: (ws: WebSocket) => void): HybridConnectionWebSocketServer; - relayedConnect(address: string, fn: () => void): WebSocket; - createRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; - appendRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; - createRelayBaseUri(serviceBusNamespace: string, path: string): string; - createRelaySendUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; - createRelayListenUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; - } - } - - var RelayConnection: WebSocketRelay.RealyConnection; - - export = RelayConnection; -} \ No newline at end of file +export = hycows; \ No newline at end of file From b58c9581930779aac4b04133fadf29ad4555f652 Mon Sep 17 00:00:00 2001 From: Marco Ramos Date: Thu, 2 Feb 2017 08:55:22 -0500 Subject: [PATCH 363/613] Add missing method 'dropIndex' to Knex --- knex/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/knex/index.d.ts b/knex/index.d.ts index 5196f47eb0..3e7dc595f4 100644 --- a/knex/index.d.ts +++ b/knex/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/tgriesser/knex // Definitions by: Qubo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// /// @@ -383,6 +384,7 @@ declare namespace Knex { dropForeign(columnNames: string[], foreignKeyName?: string): TableBuilder; dropUnique(columnNames: string[], indexName?: string): TableBuilder; dropPrimary(constraintName?: string): TableBuilder; + dropIndex(columnNames: string[], indexName?: string): TableBuilder; } interface CreateTableBuilder extends TableBuilder { From 7078614fc5d6a55447ed9971c7c36d2b354dd60f Mon Sep 17 00:00:00 2001 From: 421p Date: Thu, 2 Feb 2017 22:19:06 +0200 Subject: [PATCH 364/613] fix arguments in callbacks --- wampy/wampy.d.ts | 49 +++++++++++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 19 deletions(-) diff --git a/wampy/wampy.d.ts b/wampy/wampy.d.ts index 261c521aff..357591acf9 100644 --- a/wampy/wampy.d.ts +++ b/wampy/wampy.d.ts @@ -3,7 +3,8 @@ // Definitions by: Konstantin Burkalev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -interface WampyOptions { +interface WampyOptions +{ autoReconnect?: boolean; reconnectInterval?: number; maxRetries?: number; @@ -21,55 +22,65 @@ interface WampyOptions { msgpackCoder?: any; } -interface WampyOpStatus { +interface WampyOpStatus +{ code: number; description: string; reqId?: number; } -interface SuccessErrorCallbacksHash { +interface SuccessErrorCallbacksHash +{ onSuccess?: (data: any) => void; - onError?: (err: string) => void; + onError?: (err: string, details: any) => void; } -interface SubscribeCallbacksHash extends SuccessErrorCallbacksHash { - onEvent: (data: any) => void; +interface SubscribeCallbacksHash extends SuccessErrorCallbacksHash +{ + onEvent: (args: any[], kwargs: any) => void; } -interface RegisterCallbacksHash extends SuccessErrorCallbacksHash { +interface RegisterCallbacksHash extends SuccessErrorCallbacksHash +{ rpc: (data: any, options: any) => any[]; } -interface CallSuccessErrorCallbacksHash { - onSuccess: (data: any) => any; - onError?: (err: string) => void; +interface CallSuccessErrorCallbacksHash +{ + onSuccess: (args: any[], kwargs: any) => any; + onError?: (err: string, details: any, args: any[], kwargs: any) => void; } -interface AdvancedOptions { +interface AdvancedOptions +{ exclude?: number | number[]; eligible?: number | number[]; exclude_me?: boolean; disclose_me?: boolean; } -interface PublishAdvancedOptions extends AdvancedOptions { +interface PublishAdvancedOptions extends AdvancedOptions +{ exclude_authid?: string | string[]; exclude_authrole?: string | string[]; eligible_authid?: string | string[]; eligible_authrole?: string | string[]; } -interface CallAdvancedOptions { +interface CallAdvancedOptions +{ disclose_me?: boolean; receive_progress?: boolean; timeout?: number; } -interface CancelAdvancedOptions { +interface CancelAdvancedOptions +{ mode?: "skip" | "kill" | "killnowait"; } -interface Wampy { +interface Wampy +{ new (url?: string, options?: WampyOptions): Wampy; options(opts?: WampyOptions): WampyOptions | Wampy; getOpStatus(): WampyOpStatus; @@ -77,15 +88,15 @@ interface Wampy { connect(url?: string): Wampy; disconnect(): Wampy; abort(): Wampy; - subscribe(topicURI: string, callbacks: (((data: any) => void) | SubscribeCallbacksHash)): Wampy; - unsubscribe(topicURI: string, callbacks?: (((data: any) => void) | SubscribeCallbacksHash)): Wampy; + subscribe(topicURI: string, callbacks: (((args: any[], kwargs: any) => void) | SubscribeCallbacksHash)): Wampy; + unsubscribe(topicURI: string, callbacks?: (((args: any[], kwargs: any) => void) | SubscribeCallbacksHash)): Wampy; publish(topicURI: string, payload?: any, callbacks?: SuccessErrorCallbacksHash, advancedOptions?: PublishAdvancedOptions): Wampy; call(topicURI: string, payload?: any, - callbacks?: (((data: any) => void) | CallSuccessErrorCallbacksHash), + callbacks?: (((args: any[], kwargs: any) => void) | CallSuccessErrorCallbacksHash), advancedOptions?: CallAdvancedOptions): Wampy; cancel(reqId: number, callbacks?: ((() => void) | SuccessErrorCallbacksHash), @@ -94,7 +105,6 @@ interface Wampy { unregister(topicURI: string, callbacks?: ((() => void) | SuccessErrorCallbacksHash)): Wampy; } - declare var wampy: Wampy; declare module 'wampy' @@ -103,3 +113,4 @@ declare module 'wampy' } + From c830955033d20715f6e9c3a4754dc1138f88243b Mon Sep 17 00:00:00 2001 From: Alexandre Pare Date: Thu, 2 Feb 2017 14:44:13 -0800 Subject: [PATCH 365/613] add typescript version on all files --- react-icon-base/index.d.ts | 1 + react-icons/fa/500px.d.ts | 2 ++ react-icons/fa/adjust.d.ts | 2 ++ react-icons/fa/adn.d.ts | 2 ++ react-icons/fa/align-center.d.ts | 2 ++ react-icons/fa/align-justify.d.ts | 2 ++ react-icons/fa/align-left.d.ts | 2 ++ react-icons/fa/align-right.d.ts | 2 ++ react-icons/fa/amazon.d.ts | 2 ++ react-icons/fa/ambulance.d.ts | 2 ++ react-icons/fa/american-sign-language-interpreting.d.ts | 2 ++ react-icons/fa/anchor.d.ts | 2 ++ react-icons/fa/android.d.ts | 2 ++ react-icons/fa/angellist.d.ts | 2 ++ react-icons/fa/angle-double-down.d.ts | 2 ++ react-icons/fa/angle-double-left.d.ts | 2 ++ react-icons/fa/angle-double-right.d.ts | 2 ++ react-icons/fa/angle-double-up.d.ts | 2 ++ react-icons/fa/angle-down.d.ts | 2 ++ react-icons/fa/angle-left.d.ts | 2 ++ react-icons/fa/angle-right.d.ts | 2 ++ react-icons/fa/angle-up.d.ts | 2 ++ react-icons/fa/apple.d.ts | 2 ++ react-icons/fa/archive.d.ts | 2 ++ react-icons/fa/area-chart.d.ts | 2 ++ react-icons/fa/arrow-circle-down.d.ts | 2 ++ react-icons/fa/arrow-circle-left.d.ts | 2 ++ react-icons/fa/arrow-circle-o-down.d.ts | 2 ++ react-icons/fa/arrow-circle-o-left.d.ts | 2 ++ react-icons/fa/arrow-circle-o-right.d.ts | 2 ++ react-icons/fa/arrow-circle-o-up.d.ts | 2 ++ react-icons/fa/arrow-circle-right.d.ts | 2 ++ react-icons/fa/arrow-circle-up.d.ts | 2 ++ react-icons/fa/arrow-down.d.ts | 2 ++ react-icons/fa/arrow-left.d.ts | 2 ++ react-icons/fa/arrow-right.d.ts | 2 ++ react-icons/fa/arrow-up.d.ts | 2 ++ react-icons/fa/arrows-alt.d.ts | 2 ++ react-icons/fa/arrows-h.d.ts | 2 ++ react-icons/fa/arrows-v.d.ts | 2 ++ react-icons/fa/arrows.d.ts | 2 ++ react-icons/fa/assistive-listening-systems.d.ts | 2 ++ react-icons/fa/asterisk.d.ts | 2 ++ react-icons/fa/at.d.ts | 2 ++ react-icons/fa/audio-description.d.ts | 2 ++ react-icons/fa/automobile.d.ts | 2 ++ react-icons/fa/backward.d.ts | 2 ++ react-icons/fa/balance-scale.d.ts | 2 ++ react-icons/fa/ban.d.ts | 2 ++ react-icons/fa/bank.d.ts | 2 ++ react-icons/fa/bar-chart.d.ts | 2 ++ react-icons/fa/barcode.d.ts | 2 ++ react-icons/fa/bars.d.ts | 2 ++ react-icons/fa/battery-0.d.ts | 2 ++ react-icons/fa/battery-1.d.ts | 2 ++ react-icons/fa/battery-2.d.ts | 2 ++ react-icons/fa/battery-3.d.ts | 2 ++ react-icons/fa/battery-4.d.ts | 2 ++ react-icons/fa/bed.d.ts | 2 ++ react-icons/fa/beer.d.ts | 2 ++ react-icons/fa/behance-square.d.ts | 2 ++ react-icons/fa/behance.d.ts | 2 ++ react-icons/fa/bell-o.d.ts | 2 ++ react-icons/fa/bell-slash-o.d.ts | 2 ++ react-icons/fa/bell-slash.d.ts | 2 ++ react-icons/fa/bell.d.ts | 2 ++ react-icons/fa/bicycle.d.ts | 2 ++ react-icons/fa/binoculars.d.ts | 2 ++ react-icons/fa/birthday-cake.d.ts | 2 ++ react-icons/fa/bitbucket-square.d.ts | 2 ++ react-icons/fa/bitbucket.d.ts | 2 ++ react-icons/fa/bitcoin.d.ts | 2 ++ react-icons/fa/black-tie.d.ts | 2 ++ react-icons/fa/blind.d.ts | 2 ++ react-icons/fa/bluetooth-b.d.ts | 2 ++ react-icons/fa/bluetooth.d.ts | 2 ++ react-icons/fa/bold.d.ts | 2 ++ react-icons/fa/bolt.d.ts | 2 ++ react-icons/fa/bomb.d.ts | 2 ++ react-icons/fa/book.d.ts | 2 ++ react-icons/fa/bookmark-o.d.ts | 2 ++ react-icons/fa/bookmark.d.ts | 2 ++ react-icons/fa/braille.d.ts | 2 ++ react-icons/fa/briefcase.d.ts | 2 ++ react-icons/fa/bug.d.ts | 2 ++ react-icons/fa/building-o.d.ts | 2 ++ react-icons/fa/building.d.ts | 2 ++ react-icons/fa/bullhorn.d.ts | 2 ++ react-icons/fa/bullseye.d.ts | 2 ++ react-icons/fa/bus.d.ts | 2 ++ react-icons/fa/buysellads.d.ts | 2 ++ react-icons/fa/cab.d.ts | 2 ++ react-icons/fa/calculator.d.ts | 2 ++ react-icons/fa/calendar-check-o.d.ts | 2 ++ react-icons/fa/calendar-minus-o.d.ts | 2 ++ react-icons/fa/calendar-o.d.ts | 2 ++ react-icons/fa/calendar-plus-o.d.ts | 2 ++ react-icons/fa/calendar-times-o.d.ts | 2 ++ react-icons/fa/calendar.d.ts | 2 ++ react-icons/fa/camera-retro.d.ts | 2 ++ react-icons/fa/camera.d.ts | 2 ++ react-icons/fa/caret-down.d.ts | 2 ++ react-icons/fa/caret-left.d.ts | 2 ++ react-icons/fa/caret-right.d.ts | 2 ++ react-icons/fa/caret-square-o-down.d.ts | 2 ++ react-icons/fa/caret-square-o-left.d.ts | 2 ++ react-icons/fa/caret-square-o-right.d.ts | 2 ++ react-icons/fa/caret-square-o-up.d.ts | 2 ++ react-icons/fa/caret-up.d.ts | 2 ++ react-icons/fa/cart-arrow-down.d.ts | 2 ++ react-icons/fa/cart-plus.d.ts | 2 ++ react-icons/fa/cc-amex.d.ts | 2 ++ react-icons/fa/cc-diners-club.d.ts | 2 ++ react-icons/fa/cc-discover.d.ts | 2 ++ react-icons/fa/cc-jcb.d.ts | 2 ++ react-icons/fa/cc-mastercard.d.ts | 2 ++ react-icons/fa/cc-paypal.d.ts | 2 ++ react-icons/fa/cc-stripe.d.ts | 2 ++ react-icons/fa/cc-visa.d.ts | 2 ++ react-icons/fa/cc.d.ts | 2 ++ react-icons/fa/certificate.d.ts | 2 ++ react-icons/fa/chain-broken.d.ts | 2 ++ react-icons/fa/chain.d.ts | 2 ++ react-icons/fa/check-circle-o.d.ts | 2 ++ react-icons/fa/check-circle.d.ts | 2 ++ react-icons/fa/check-square-o.d.ts | 2 ++ react-icons/fa/check-square.d.ts | 2 ++ react-icons/fa/check.d.ts | 2 ++ react-icons/fa/chevron-circle-down.d.ts | 2 ++ react-icons/fa/chevron-circle-left.d.ts | 2 ++ react-icons/fa/chevron-circle-right.d.ts | 2 ++ react-icons/fa/chevron-circle-up.d.ts | 2 ++ react-icons/fa/chevron-down.d.ts | 2 ++ react-icons/fa/chevron-left.d.ts | 2 ++ react-icons/fa/chevron-right.d.ts | 2 ++ react-icons/fa/chevron-up.d.ts | 2 ++ react-icons/fa/child.d.ts | 2 ++ react-icons/fa/chrome.d.ts | 2 ++ react-icons/fa/circle-o-notch.d.ts | 2 ++ react-icons/fa/circle-o.d.ts | 2 ++ react-icons/fa/circle-thin.d.ts | 2 ++ react-icons/fa/circle.d.ts | 2 ++ react-icons/fa/clipboard.d.ts | 2 ++ react-icons/fa/clock-o.d.ts | 2 ++ react-icons/fa/clone.d.ts | 2 ++ react-icons/fa/close.d.ts | 2 ++ react-icons/fa/cloud-download.d.ts | 2 ++ react-icons/fa/cloud-upload.d.ts | 2 ++ react-icons/fa/cloud.d.ts | 2 ++ react-icons/fa/cny.d.ts | 2 ++ react-icons/fa/code-fork.d.ts | 2 ++ react-icons/fa/code.d.ts | 2 ++ react-icons/fa/codepen.d.ts | 2 ++ react-icons/fa/codiepie.d.ts | 2 ++ react-icons/fa/coffee.d.ts | 2 ++ react-icons/fa/cog.d.ts | 2 ++ react-icons/fa/cogs.d.ts | 2 ++ react-icons/fa/columns.d.ts | 2 ++ react-icons/fa/comment-o.d.ts | 2 ++ react-icons/fa/comment.d.ts | 2 ++ react-icons/fa/commenting-o.d.ts | 2 ++ react-icons/fa/commenting.d.ts | 2 ++ react-icons/fa/comments-o.d.ts | 2 ++ react-icons/fa/comments.d.ts | 2 ++ react-icons/fa/compass.d.ts | 2 ++ react-icons/fa/compress.d.ts | 2 ++ react-icons/fa/connectdevelop.d.ts | 2 ++ react-icons/fa/contao.d.ts | 2 ++ react-icons/fa/copy.d.ts | 2 ++ react-icons/fa/copyright.d.ts | 2 ++ react-icons/fa/creative-commons.d.ts | 2 ++ react-icons/fa/credit-card-alt.d.ts | 2 ++ react-icons/fa/credit-card.d.ts | 2 ++ react-icons/fa/crop.d.ts | 2 ++ react-icons/fa/crosshairs.d.ts | 2 ++ react-icons/fa/css3.d.ts | 2 ++ react-icons/fa/cube.d.ts | 2 ++ react-icons/fa/cubes.d.ts | 2 ++ react-icons/fa/cut.d.ts | 2 ++ react-icons/fa/cutlery.d.ts | 2 ++ react-icons/fa/dashboard.d.ts | 2 ++ react-icons/fa/dashcube.d.ts | 2 ++ react-icons/fa/database.d.ts | 2 ++ react-icons/fa/deaf.d.ts | 2 ++ react-icons/fa/dedent.d.ts | 2 ++ react-icons/fa/delicious.d.ts | 2 ++ react-icons/fa/desktop.d.ts | 2 ++ react-icons/fa/deviantart.d.ts | 2 ++ react-icons/fa/diamond.d.ts | 2 ++ react-icons/fa/digg.d.ts | 2 ++ react-icons/fa/dollar.d.ts | 2 ++ react-icons/fa/dot-circle-o.d.ts | 2 ++ react-icons/fa/download.d.ts | 2 ++ react-icons/fa/dribbble.d.ts | 2 ++ react-icons/fa/dropbox.d.ts | 2 ++ react-icons/fa/drupal.d.ts | 2 ++ react-icons/fa/edge.d.ts | 2 ++ react-icons/fa/edit.d.ts | 2 ++ react-icons/fa/eject.d.ts | 2 ++ react-icons/fa/ellipsis-h.d.ts | 2 ++ react-icons/fa/ellipsis-v.d.ts | 2 ++ react-icons/fa/empire.d.ts | 2 ++ react-icons/fa/envelope-o.d.ts | 2 ++ react-icons/fa/envelope-square.d.ts | 2 ++ react-icons/fa/envelope.d.ts | 2 ++ react-icons/fa/envira.d.ts | 2 ++ react-icons/fa/eraser.d.ts | 2 ++ react-icons/fa/eur.d.ts | 2 ++ react-icons/fa/exchange.d.ts | 2 ++ react-icons/fa/exclamation-circle.d.ts | 2 ++ react-icons/fa/exclamation-triangle.d.ts | 2 ++ react-icons/fa/exclamation.d.ts | 2 ++ react-icons/fa/expand.d.ts | 2 ++ react-icons/fa/expeditedssl.d.ts | 2 ++ react-icons/fa/external-link-square.d.ts | 2 ++ react-icons/fa/external-link.d.ts | 2 ++ react-icons/fa/eye-slash.d.ts | 2 ++ react-icons/fa/eye.d.ts | 2 ++ react-icons/fa/eyedropper.d.ts | 2 ++ react-icons/fa/facebook-official.d.ts | 2 ++ react-icons/fa/facebook-square.d.ts | 2 ++ react-icons/fa/facebook.d.ts | 2 ++ react-icons/fa/fast-backward.d.ts | 2 ++ react-icons/fa/fast-forward.d.ts | 2 ++ react-icons/fa/fax.d.ts | 2 ++ react-icons/fa/feed.d.ts | 2 ++ react-icons/fa/female.d.ts | 2 ++ react-icons/fa/fighter-jet.d.ts | 2 ++ react-icons/fa/file-archive-o.d.ts | 2 ++ react-icons/fa/file-audio-o.d.ts | 2 ++ react-icons/fa/file-code-o.d.ts | 2 ++ react-icons/fa/file-excel-o.d.ts | 2 ++ react-icons/fa/file-image-o.d.ts | 2 ++ react-icons/fa/file-movie-o.d.ts | 2 ++ react-icons/fa/file-o.d.ts | 2 ++ react-icons/fa/file-pdf-o.d.ts | 2 ++ react-icons/fa/file-powerpoint-o.d.ts | 2 ++ react-icons/fa/file-text-o.d.ts | 2 ++ react-icons/fa/file-text.d.ts | 2 ++ react-icons/fa/file-word-o.d.ts | 2 ++ react-icons/fa/file.d.ts | 2 ++ react-icons/fa/film.d.ts | 2 ++ react-icons/fa/filter.d.ts | 2 ++ react-icons/fa/fire-extinguisher.d.ts | 2 ++ react-icons/fa/fire.d.ts | 2 ++ react-icons/fa/firefox.d.ts | 2 ++ react-icons/fa/flag-checkered.d.ts | 2 ++ react-icons/fa/flag-o.d.ts | 2 ++ react-icons/fa/flag.d.ts | 2 ++ react-icons/fa/flask.d.ts | 2 ++ react-icons/fa/flickr.d.ts | 2 ++ react-icons/fa/floppy-o.d.ts | 2 ++ react-icons/fa/folder-o.d.ts | 2 ++ react-icons/fa/folder-open-o.d.ts | 2 ++ react-icons/fa/folder-open.d.ts | 2 ++ react-icons/fa/folder.d.ts | 2 ++ react-icons/fa/font.d.ts | 2 ++ react-icons/fa/fonticons.d.ts | 2 ++ react-icons/fa/fort-awesome.d.ts | 2 ++ react-icons/fa/forumbee.d.ts | 2 ++ react-icons/fa/forward.d.ts | 2 ++ react-icons/fa/foursquare.d.ts | 2 ++ react-icons/fa/frown-o.d.ts | 2 ++ react-icons/fa/futbol-o.d.ts | 2 ++ react-icons/fa/gamepad.d.ts | 2 ++ react-icons/fa/gavel.d.ts | 2 ++ react-icons/fa/gbp.d.ts | 2 ++ react-icons/fa/genderless.d.ts | 2 ++ react-icons/fa/get-pocket.d.ts | 2 ++ react-icons/fa/gg-circle.d.ts | 2 ++ react-icons/fa/gg.d.ts | 2 ++ react-icons/fa/gift.d.ts | 2 ++ react-icons/fa/git-square.d.ts | 2 ++ react-icons/fa/git.d.ts | 2 ++ react-icons/fa/github-alt.d.ts | 2 ++ react-icons/fa/github-square.d.ts | 2 ++ react-icons/fa/github.d.ts | 2 ++ react-icons/fa/gitlab.d.ts | 2 ++ react-icons/fa/gittip.d.ts | 2 ++ react-icons/fa/glass.d.ts | 2 ++ react-icons/fa/glide-g.d.ts | 2 ++ react-icons/fa/glide.d.ts | 2 ++ react-icons/fa/globe.d.ts | 2 ++ react-icons/fa/google-plus-square.d.ts | 2 ++ react-icons/fa/google-plus.d.ts | 2 ++ react-icons/fa/google-wallet.d.ts | 2 ++ react-icons/fa/google.d.ts | 2 ++ react-icons/fa/graduation-cap.d.ts | 2 ++ react-icons/fa/group.d.ts | 2 ++ react-icons/fa/h-square.d.ts | 2 ++ react-icons/fa/hacker-news.d.ts | 2 ++ react-icons/fa/hand-grab-o.d.ts | 2 ++ react-icons/fa/hand-lizard-o.d.ts | 2 ++ react-icons/fa/hand-o-down.d.ts | 2 ++ react-icons/fa/hand-o-left.d.ts | 2 ++ react-icons/fa/hand-o-right.d.ts | 2 ++ react-icons/fa/hand-o-up.d.ts | 2 ++ react-icons/fa/hand-paper-o.d.ts | 2 ++ react-icons/fa/hand-peace-o.d.ts | 2 ++ react-icons/fa/hand-pointer-o.d.ts | 2 ++ react-icons/fa/hand-scissors-o.d.ts | 2 ++ react-icons/fa/hand-spock-o.d.ts | 2 ++ react-icons/fa/hashtag.d.ts | 2 ++ react-icons/fa/hdd-o.d.ts | 2 ++ react-icons/fa/header.d.ts | 2 ++ react-icons/fa/headphones.d.ts | 2 ++ react-icons/fa/heart-o.d.ts | 2 ++ react-icons/fa/heart.d.ts | 2 ++ react-icons/fa/heartbeat.d.ts | 2 ++ react-icons/fa/history.d.ts | 2 ++ react-icons/fa/home.d.ts | 2 ++ react-icons/fa/hospital-o.d.ts | 2 ++ react-icons/fa/hourglass-1.d.ts | 2 ++ react-icons/fa/hourglass-2.d.ts | 2 ++ react-icons/fa/hourglass-3.d.ts | 2 ++ react-icons/fa/hourglass-o.d.ts | 2 ++ react-icons/fa/hourglass.d.ts | 2 ++ react-icons/fa/houzz.d.ts | 2 ++ react-icons/fa/html5.d.ts | 2 ++ react-icons/fa/i-cursor.d.ts | 2 ++ react-icons/fa/ils.d.ts | 2 ++ react-icons/fa/image.d.ts | 2 ++ react-icons/fa/inbox.d.ts | 2 ++ react-icons/fa/indent.d.ts | 2 ++ react-icons/fa/index.d.ts | 1 + react-icons/fa/industry.d.ts | 2 ++ react-icons/fa/info-circle.d.ts | 2 ++ react-icons/fa/info.d.ts | 2 ++ react-icons/fa/inr.d.ts | 2 ++ react-icons/fa/instagram.d.ts | 2 ++ react-icons/fa/internet-explorer.d.ts | 2 ++ react-icons/fa/intersex.d.ts | 2 ++ react-icons/fa/ioxhost.d.ts | 2 ++ react-icons/fa/italic.d.ts | 2 ++ react-icons/fa/joomla.d.ts | 2 ++ react-icons/fa/jsfiddle.d.ts | 2 ++ react-icons/fa/key.d.ts | 2 ++ react-icons/fa/keyboard-o.d.ts | 2 ++ react-icons/fa/krw.d.ts | 2 ++ react-icons/fa/language.d.ts | 2 ++ react-icons/fa/laptop.d.ts | 2 ++ react-icons/fa/lastfm-square.d.ts | 2 ++ react-icons/fa/lastfm.d.ts | 2 ++ react-icons/fa/leaf.d.ts | 2 ++ react-icons/fa/leanpub.d.ts | 2 ++ react-icons/fa/lemon-o.d.ts | 2 ++ react-icons/fa/level-down.d.ts | 2 ++ react-icons/fa/level-up.d.ts | 2 ++ react-icons/fa/life-bouy.d.ts | 2 ++ react-icons/fa/lightbulb-o.d.ts | 2 ++ react-icons/fa/line-chart.d.ts | 2 ++ react-icons/fa/linkedin-square.d.ts | 2 ++ react-icons/fa/linkedin.d.ts | 2 ++ react-icons/fa/linux.d.ts | 2 ++ react-icons/fa/list-alt.d.ts | 2 ++ react-icons/fa/list-ol.d.ts | 2 ++ react-icons/fa/list-ul.d.ts | 2 ++ react-icons/fa/list.d.ts | 2 ++ react-icons/fa/location-arrow.d.ts | 2 ++ react-icons/fa/lock.d.ts | 2 ++ react-icons/fa/long-arrow-down.d.ts | 2 ++ react-icons/fa/long-arrow-left.d.ts | 2 ++ react-icons/fa/long-arrow-right.d.ts | 2 ++ react-icons/fa/long-arrow-up.d.ts | 2 ++ react-icons/fa/low-vision.d.ts | 2 ++ react-icons/fa/magic.d.ts | 2 ++ react-icons/fa/magnet.d.ts | 2 ++ react-icons/fa/mail-forward.d.ts | 2 ++ react-icons/fa/mail-reply-all.d.ts | 2 ++ react-icons/fa/mail-reply.d.ts | 2 ++ react-icons/fa/male.d.ts | 2 ++ react-icons/fa/map-marker.d.ts | 2 ++ react-icons/fa/map-o.d.ts | 2 ++ react-icons/fa/map-pin.d.ts | 2 ++ react-icons/fa/map-signs.d.ts | 2 ++ react-icons/fa/map.d.ts | 2 ++ react-icons/fa/mars-double.d.ts | 2 ++ react-icons/fa/mars-stroke-h.d.ts | 2 ++ react-icons/fa/mars-stroke-v.d.ts | 2 ++ react-icons/fa/mars-stroke.d.ts | 2 ++ react-icons/fa/mars.d.ts | 2 ++ react-icons/fa/maxcdn.d.ts | 2 ++ react-icons/fa/meanpath.d.ts | 2 ++ react-icons/fa/medium.d.ts | 2 ++ react-icons/fa/medkit.d.ts | 2 ++ react-icons/fa/meh-o.d.ts | 2 ++ react-icons/fa/mercury.d.ts | 2 ++ react-icons/fa/microphone-slash.d.ts | 2 ++ react-icons/fa/microphone.d.ts | 2 ++ react-icons/fa/minus-circle.d.ts | 2 ++ react-icons/fa/minus-square-o.d.ts | 2 ++ react-icons/fa/minus-square.d.ts | 2 ++ react-icons/fa/minus.d.ts | 2 ++ react-icons/fa/mixcloud.d.ts | 2 ++ react-icons/fa/mobile.d.ts | 2 ++ react-icons/fa/modx.d.ts | 2 ++ react-icons/fa/money.d.ts | 2 ++ react-icons/fa/moon-o.d.ts | 2 ++ react-icons/fa/motorcycle.d.ts | 2 ++ react-icons/fa/mouse-pointer.d.ts | 2 ++ react-icons/fa/music.d.ts | 2 ++ react-icons/fa/neuter.d.ts | 2 ++ react-icons/fa/newspaper-o.d.ts | 2 ++ react-icons/fa/object-group.d.ts | 2 ++ react-icons/fa/object-ungroup.d.ts | 2 ++ react-icons/fa/odnoklassniki-square.d.ts | 2 ++ react-icons/fa/odnoklassniki.d.ts | 2 ++ react-icons/fa/opencart.d.ts | 2 ++ react-icons/fa/openid.d.ts | 2 ++ react-icons/fa/opera.d.ts | 2 ++ react-icons/fa/optin-monster.d.ts | 2 ++ react-icons/fa/pagelines.d.ts | 2 ++ react-icons/fa/paint-brush.d.ts | 2 ++ react-icons/fa/paper-plane-o.d.ts | 2 ++ react-icons/fa/paper-plane.d.ts | 2 ++ react-icons/fa/paperclip.d.ts | 2 ++ react-icons/fa/paragraph.d.ts | 2 ++ react-icons/fa/pause-circle-o.d.ts | 2 ++ react-icons/fa/pause-circle.d.ts | 2 ++ react-icons/fa/pause.d.ts | 2 ++ react-icons/fa/paw.d.ts | 2 ++ react-icons/fa/paypal.d.ts | 2 ++ react-icons/fa/pencil-square.d.ts | 2 ++ react-icons/fa/pencil.d.ts | 2 ++ react-icons/fa/percent.d.ts | 2 ++ react-icons/fa/phone-square.d.ts | 2 ++ react-icons/fa/phone.d.ts | 2 ++ react-icons/fa/pie-chart.d.ts | 2 ++ react-icons/fa/pied-piper-alt.d.ts | 2 ++ react-icons/fa/pied-piper.d.ts | 2 ++ react-icons/fa/pinterest-p.d.ts | 2 ++ react-icons/fa/pinterest-square.d.ts | 2 ++ react-icons/fa/pinterest.d.ts | 2 ++ react-icons/fa/plane.d.ts | 2 ++ react-icons/fa/play-circle-o.d.ts | 2 ++ react-icons/fa/play-circle.d.ts | 2 ++ react-icons/fa/play.d.ts | 2 ++ react-icons/fa/plug.d.ts | 2 ++ react-icons/fa/plus-circle.d.ts | 2 ++ react-icons/fa/plus-square-o.d.ts | 2 ++ react-icons/fa/plus-square.d.ts | 2 ++ react-icons/fa/plus.d.ts | 2 ++ react-icons/fa/power-off.d.ts | 2 ++ react-icons/fa/print.d.ts | 2 ++ react-icons/fa/product-hunt.d.ts | 2 ++ react-icons/fa/puzzle-piece.d.ts | 2 ++ react-icons/fa/qq.d.ts | 2 ++ react-icons/fa/qrcode.d.ts | 2 ++ react-icons/fa/question-circle-o.d.ts | 2 ++ react-icons/fa/question-circle.d.ts | 2 ++ react-icons/fa/question.d.ts | 2 ++ react-icons/fa/quote-left.d.ts | 2 ++ react-icons/fa/quote-right.d.ts | 2 ++ react-icons/fa/ra.d.ts | 2 ++ react-icons/fa/random.d.ts | 2 ++ react-icons/fa/recycle.d.ts | 2 ++ react-icons/fa/reddit-alien.d.ts | 2 ++ react-icons/fa/reddit-square.d.ts | 2 ++ react-icons/fa/reddit.d.ts | 2 ++ react-icons/fa/refresh.d.ts | 2 ++ react-icons/fa/registered.d.ts | 2 ++ react-icons/fa/renren.d.ts | 2 ++ react-icons/fa/repeat.d.ts | 2 ++ react-icons/fa/retweet.d.ts | 2 ++ react-icons/fa/road.d.ts | 2 ++ react-icons/fa/rocket.d.ts | 2 ++ react-icons/fa/rotate-left.d.ts | 2 ++ react-icons/fa/rouble.d.ts | 2 ++ react-icons/fa/rss-square.d.ts | 2 ++ react-icons/fa/safari.d.ts | 2 ++ react-icons/fa/scribd.d.ts | 2 ++ react-icons/fa/search-minus.d.ts | 2 ++ react-icons/fa/search-plus.d.ts | 2 ++ react-icons/fa/search.d.ts | 2 ++ react-icons/fa/sellsy.d.ts | 2 ++ react-icons/fa/server.d.ts | 2 ++ react-icons/fa/share-alt-square.d.ts | 2 ++ react-icons/fa/share-alt.d.ts | 2 ++ react-icons/fa/share-square-o.d.ts | 2 ++ react-icons/fa/share-square.d.ts | 2 ++ react-icons/fa/shield.d.ts | 2 ++ react-icons/fa/ship.d.ts | 2 ++ react-icons/fa/shirtsinbulk.d.ts | 2 ++ react-icons/fa/shopping-bag.d.ts | 2 ++ react-icons/fa/shopping-basket.d.ts | 2 ++ react-icons/fa/shopping-cart.d.ts | 2 ++ react-icons/fa/sign-in.d.ts | 2 ++ react-icons/fa/sign-language.d.ts | 2 ++ react-icons/fa/sign-out.d.ts | 2 ++ react-icons/fa/signal.d.ts | 2 ++ react-icons/fa/simplybuilt.d.ts | 2 ++ react-icons/fa/sitemap.d.ts | 2 ++ react-icons/fa/skyatlas.d.ts | 2 ++ react-icons/fa/skype.d.ts | 2 ++ react-icons/fa/slack.d.ts | 2 ++ react-icons/fa/sliders.d.ts | 2 ++ react-icons/fa/slideshare.d.ts | 2 ++ react-icons/fa/smile-o.d.ts | 2 ++ react-icons/fa/snapchat-ghost.d.ts | 2 ++ react-icons/fa/snapchat-square.d.ts | 2 ++ react-icons/fa/snapchat.d.ts | 2 ++ react-icons/fa/sort-alpha-asc.d.ts | 2 ++ react-icons/fa/sort-alpha-desc.d.ts | 2 ++ react-icons/fa/sort-amount-asc.d.ts | 2 ++ react-icons/fa/sort-amount-desc.d.ts | 2 ++ react-icons/fa/sort-asc.d.ts | 2 ++ react-icons/fa/sort-desc.d.ts | 2 ++ react-icons/fa/sort-numeric-asc.d.ts | 2 ++ react-icons/fa/sort-numeric-desc.d.ts | 2 ++ react-icons/fa/sort.d.ts | 2 ++ react-icons/fa/soundcloud.d.ts | 2 ++ react-icons/fa/space-shuttle.d.ts | 2 ++ react-icons/fa/spinner.d.ts | 2 ++ react-icons/fa/spoon.d.ts | 2 ++ react-icons/fa/spotify.d.ts | 2 ++ react-icons/fa/square-o.d.ts | 2 ++ react-icons/fa/square.d.ts | 2 ++ react-icons/fa/stack-exchange.d.ts | 2 ++ react-icons/fa/stack-overflow.d.ts | 2 ++ react-icons/fa/star-half-empty.d.ts | 2 ++ react-icons/fa/star-half.d.ts | 2 ++ react-icons/fa/star-o.d.ts | 2 ++ react-icons/fa/star.d.ts | 2 ++ react-icons/fa/steam-square.d.ts | 2 ++ react-icons/fa/steam.d.ts | 2 ++ react-icons/fa/step-backward.d.ts | 2 ++ react-icons/fa/step-forward.d.ts | 2 ++ react-icons/fa/stethoscope.d.ts | 2 ++ react-icons/fa/sticky-note-o.d.ts | 2 ++ react-icons/fa/sticky-note.d.ts | 2 ++ react-icons/fa/stop-circle-o.d.ts | 2 ++ react-icons/fa/stop-circle.d.ts | 2 ++ react-icons/fa/stop.d.ts | 2 ++ react-icons/fa/street-view.d.ts | 2 ++ react-icons/fa/strikethrough.d.ts | 2 ++ react-icons/fa/stumbleupon-circle.d.ts | 2 ++ react-icons/fa/stumbleupon.d.ts | 2 ++ react-icons/fa/subscript.d.ts | 2 ++ react-icons/fa/subway.d.ts | 2 ++ react-icons/fa/suitcase.d.ts | 2 ++ react-icons/fa/sun-o.d.ts | 2 ++ react-icons/fa/superscript.d.ts | 2 ++ react-icons/fa/table.d.ts | 2 ++ react-icons/fa/tablet.d.ts | 2 ++ react-icons/fa/tag.d.ts | 2 ++ react-icons/fa/tags.d.ts | 2 ++ react-icons/fa/tasks.d.ts | 2 ++ react-icons/fa/television.d.ts | 2 ++ react-icons/fa/tencent-weibo.d.ts | 2 ++ react-icons/fa/terminal.d.ts | 2 ++ react-icons/fa/text-height.d.ts | 2 ++ react-icons/fa/text-width.d.ts | 2 ++ react-icons/fa/th-large.d.ts | 2 ++ react-icons/fa/th-list.d.ts | 2 ++ react-icons/fa/th.d.ts | 2 ++ react-icons/fa/thumb-tack.d.ts | 2 ++ react-icons/fa/thumbs-down.d.ts | 2 ++ react-icons/fa/thumbs-o-down.d.ts | 2 ++ react-icons/fa/thumbs-o-up.d.ts | 2 ++ react-icons/fa/thumbs-up.d.ts | 2 ++ react-icons/fa/ticket.d.ts | 2 ++ react-icons/fa/times-circle-o.d.ts | 2 ++ react-icons/fa/times-circle.d.ts | 2 ++ react-icons/fa/tint.d.ts | 2 ++ react-icons/fa/toggle-off.d.ts | 2 ++ react-icons/fa/toggle-on.d.ts | 2 ++ react-icons/fa/trademark.d.ts | 2 ++ react-icons/fa/train.d.ts | 2 ++ react-icons/fa/transgender-alt.d.ts | 2 ++ react-icons/fa/trash-o.d.ts | 2 ++ react-icons/fa/trash.d.ts | 2 ++ react-icons/fa/tree.d.ts | 2 ++ react-icons/fa/trello.d.ts | 2 ++ react-icons/fa/tripadvisor.d.ts | 2 ++ react-icons/fa/trophy.d.ts | 2 ++ react-icons/fa/truck.d.ts | 2 ++ react-icons/fa/try.d.ts | 2 ++ react-icons/fa/tty.d.ts | 2 ++ react-icons/fa/tumblr-square.d.ts | 2 ++ react-icons/fa/tumblr.d.ts | 2 ++ react-icons/fa/twitch.d.ts | 2 ++ react-icons/fa/twitter-square.d.ts | 2 ++ react-icons/fa/twitter.d.ts | 2 ++ react-icons/fa/umbrella.d.ts | 2 ++ react-icons/fa/underline.d.ts | 2 ++ react-icons/fa/universal-access.d.ts | 2 ++ react-icons/fa/unlock-alt.d.ts | 2 ++ react-icons/fa/unlock.d.ts | 2 ++ react-icons/fa/upload.d.ts | 2 ++ react-icons/fa/usb.d.ts | 2 ++ react-icons/fa/user-md.d.ts | 2 ++ react-icons/fa/user-plus.d.ts | 2 ++ react-icons/fa/user-secret.d.ts | 2 ++ react-icons/fa/user-times.d.ts | 2 ++ react-icons/fa/user.d.ts | 2 ++ react-icons/fa/venus-double.d.ts | 2 ++ react-icons/fa/venus-mars.d.ts | 2 ++ react-icons/fa/venus.d.ts | 2 ++ react-icons/fa/viacoin.d.ts | 2 ++ react-icons/fa/viadeo-square.d.ts | 2 ++ react-icons/fa/viadeo.d.ts | 2 ++ react-icons/fa/video-camera.d.ts | 2 ++ react-icons/fa/vimeo-square.d.ts | 2 ++ react-icons/fa/vimeo.d.ts | 2 ++ react-icons/fa/vine.d.ts | 2 ++ react-icons/fa/vk.d.ts | 2 ++ react-icons/fa/volume-control-phone.d.ts | 2 ++ react-icons/fa/volume-down.d.ts | 2 ++ react-icons/fa/volume-off.d.ts | 2 ++ react-icons/fa/volume-up.d.ts | 2 ++ react-icons/fa/wechat.d.ts | 2 ++ react-icons/fa/weibo.d.ts | 2 ++ react-icons/fa/whatsapp.d.ts | 2 ++ react-icons/fa/wheelchair-alt.d.ts | 2 ++ react-icons/fa/wheelchair.d.ts | 2 ++ react-icons/fa/wifi.d.ts | 2 ++ react-icons/fa/wikipedia-w.d.ts | 2 ++ react-icons/fa/windows.d.ts | 2 ++ react-icons/fa/wordpress.d.ts | 2 ++ react-icons/fa/wpbeginner.d.ts | 2 ++ react-icons/fa/wpforms.d.ts | 2 ++ react-icons/fa/wrench.d.ts | 2 ++ react-icons/fa/xing-square.d.ts | 2 ++ react-icons/fa/xing.d.ts | 2 ++ react-icons/fa/y-combinator.d.ts | 2 ++ react-icons/fa/yahoo.d.ts | 2 ++ react-icons/fa/yelp.d.ts | 2 ++ react-icons/fa/youtube-play.d.ts | 2 ++ react-icons/fa/youtube-square.d.ts | 2 ++ react-icons/fa/youtube.d.ts | 2 ++ react-icons/go/alert.d.ts | 2 ++ react-icons/go/alignment-align.d.ts | 2 ++ react-icons/go/alignment-aligned-to.d.ts | 2 ++ react-icons/go/alignment-unalign.d.ts | 2 ++ react-icons/go/arrow-down.d.ts | 2 ++ react-icons/go/arrow-left.d.ts | 2 ++ react-icons/go/arrow-right.d.ts | 2 ++ react-icons/go/arrow-small-down.d.ts | 2 ++ react-icons/go/arrow-small-left.d.ts | 2 ++ react-icons/go/arrow-small-right.d.ts | 2 ++ react-icons/go/arrow-small-up.d.ts | 2 ++ react-icons/go/arrow-up.d.ts | 2 ++ react-icons/go/beer.d.ts | 2 ++ react-icons/go/book.d.ts | 2 ++ react-icons/go/bookmark.d.ts | 2 ++ react-icons/go/briefcase.d.ts | 2 ++ react-icons/go/broadcast.d.ts | 2 ++ react-icons/go/browser.d.ts | 2 ++ react-icons/go/bug.d.ts | 2 ++ react-icons/go/calendar.d.ts | 2 ++ react-icons/go/check.d.ts | 2 ++ react-icons/go/checklist.d.ts | 2 ++ react-icons/go/chevron-down.d.ts | 2 ++ react-icons/go/chevron-left.d.ts | 2 ++ react-icons/go/chevron-right.d.ts | 2 ++ react-icons/go/chevron-up.d.ts | 2 ++ react-icons/go/circle-slash.d.ts | 2 ++ react-icons/go/circuit-board.d.ts | 2 ++ react-icons/go/clippy.d.ts | 2 ++ react-icons/go/clock.d.ts | 2 ++ react-icons/go/cloud-download.d.ts | 2 ++ react-icons/go/cloud-upload.d.ts | 2 ++ react-icons/go/code.d.ts | 2 ++ react-icons/go/color-mode.d.ts | 2 ++ react-icons/go/comment-discussion.d.ts | 2 ++ react-icons/go/comment.d.ts | 2 ++ react-icons/go/credit-card.d.ts | 2 ++ react-icons/go/dash.d.ts | 2 ++ react-icons/go/dashboard.d.ts | 2 ++ react-icons/go/database.d.ts | 2 ++ react-icons/go/device-camera-video.d.ts | 2 ++ react-icons/go/device-camera.d.ts | 2 ++ react-icons/go/device-desktop.d.ts | 2 ++ react-icons/go/device-mobile.d.ts | 2 ++ react-icons/go/diff-added.d.ts | 2 ++ react-icons/go/diff-ignored.d.ts | 2 ++ react-icons/go/diff-modified.d.ts | 2 ++ react-icons/go/diff-removed.d.ts | 2 ++ react-icons/go/diff-renamed.d.ts | 2 ++ react-icons/go/diff.d.ts | 2 ++ react-icons/go/ellipsis.d.ts | 2 ++ react-icons/go/eye.d.ts | 2 ++ react-icons/go/file-binary.d.ts | 2 ++ react-icons/go/file-code.d.ts | 2 ++ react-icons/go/file-directory.d.ts | 2 ++ react-icons/go/file-media.d.ts | 2 ++ react-icons/go/file-pdf.d.ts | 2 ++ react-icons/go/file-submodule.d.ts | 2 ++ react-icons/go/file-symlink-directory.d.ts | 2 ++ react-icons/go/file-symlink-file.d.ts | 2 ++ react-icons/go/file-text.d.ts | 2 ++ react-icons/go/file-zip.d.ts | 2 ++ react-icons/go/flame.d.ts | 2 ++ react-icons/go/fold.d.ts | 2 ++ react-icons/go/gear.d.ts | 2 ++ react-icons/go/gift.d.ts | 2 ++ react-icons/go/gist-secret.d.ts | 2 ++ react-icons/go/gist.d.ts | 2 ++ react-icons/go/git-branch.d.ts | 2 ++ react-icons/go/git-commit.d.ts | 2 ++ react-icons/go/git-compare.d.ts | 2 ++ react-icons/go/git-merge.d.ts | 2 ++ react-icons/go/git-pull-request.d.ts | 2 ++ react-icons/go/globe.d.ts | 2 ++ react-icons/go/graph.d.ts | 2 ++ react-icons/go/heart.d.ts | 2 ++ react-icons/go/history.d.ts | 2 ++ react-icons/go/home.d.ts | 2 ++ react-icons/go/horizontal-rule.d.ts | 2 ++ react-icons/go/hourglass.d.ts | 2 ++ react-icons/go/hubot.d.ts | 2 ++ react-icons/go/inbox.d.ts | 2 ++ react-icons/go/index.d.ts | 1 + react-icons/go/info.d.ts | 2 ++ react-icons/go/issue-closed.d.ts | 2 ++ react-icons/go/issue-opened.d.ts | 2 ++ react-icons/go/issue-reopened.d.ts | 2 ++ react-icons/go/jersey.d.ts | 2 ++ react-icons/go/jump-down.d.ts | 2 ++ react-icons/go/jump-left.d.ts | 2 ++ react-icons/go/jump-right.d.ts | 2 ++ react-icons/go/jump-up.d.ts | 2 ++ react-icons/go/key.d.ts | 2 ++ react-icons/go/keyboard.d.ts | 2 ++ react-icons/go/law.d.ts | 2 ++ react-icons/go/light-bulb.d.ts | 2 ++ react-icons/go/link-external.d.ts | 2 ++ react-icons/go/link.d.ts | 2 ++ react-icons/go/list-ordered.d.ts | 2 ++ react-icons/go/list-unordered.d.ts | 2 ++ react-icons/go/location.d.ts | 2 ++ react-icons/go/lock.d.ts | 2 ++ react-icons/go/logo-github.d.ts | 2 ++ react-icons/go/mail-read.d.ts | 2 ++ react-icons/go/mail-reply.d.ts | 2 ++ react-icons/go/mail.d.ts | 2 ++ react-icons/go/mark-github.d.ts | 2 ++ react-icons/go/markdown.d.ts | 2 ++ react-icons/go/megaphone.d.ts | 2 ++ react-icons/go/mention.d.ts | 2 ++ react-icons/go/microscope.d.ts | 2 ++ react-icons/go/milestone.d.ts | 2 ++ react-icons/go/mirror.d.ts | 2 ++ react-icons/go/mortar-board.d.ts | 2 ++ react-icons/go/move-down.d.ts | 2 ++ react-icons/go/move-left.d.ts | 2 ++ react-icons/go/move-right.d.ts | 2 ++ react-icons/go/move-up.d.ts | 2 ++ react-icons/go/mute.d.ts | 2 ++ react-icons/go/no-newline.d.ts | 2 ++ react-icons/go/octoface.d.ts | 2 ++ react-icons/go/organization.d.ts | 2 ++ react-icons/go/package.d.ts | 2 ++ react-icons/go/paintcan.d.ts | 2 ++ react-icons/go/pencil.d.ts | 2 ++ react-icons/go/person.d.ts | 2 ++ react-icons/go/pin.d.ts | 2 ++ react-icons/go/playback-fast-forward.d.ts | 2 ++ react-icons/go/playback-pause.d.ts | 2 ++ react-icons/go/playback-play.d.ts | 2 ++ react-icons/go/playback-rewind.d.ts | 2 ++ react-icons/go/plug.d.ts | 2 ++ react-icons/go/plus.d.ts | 2 ++ react-icons/go/podium.d.ts | 2 ++ react-icons/go/primitive-dot.d.ts | 2 ++ react-icons/go/primitive-square.d.ts | 2 ++ react-icons/go/pulse.d.ts | 2 ++ react-icons/go/puzzle.d.ts | 2 ++ react-icons/go/question.d.ts | 2 ++ react-icons/go/quote.d.ts | 2 ++ react-icons/go/radio-tower.d.ts | 2 ++ react-icons/go/repo-clone.d.ts | 2 ++ react-icons/go/repo-force-push.d.ts | 2 ++ react-icons/go/repo-forked.d.ts | 2 ++ react-icons/go/repo-pull.d.ts | 2 ++ react-icons/go/repo-push.d.ts | 2 ++ react-icons/go/repo.d.ts | 2 ++ react-icons/go/rocket.d.ts | 2 ++ react-icons/go/rss.d.ts | 2 ++ react-icons/go/ruby.d.ts | 2 ++ react-icons/go/screen-full.d.ts | 2 ++ react-icons/go/screen-normal.d.ts | 2 ++ react-icons/go/search.d.ts | 2 ++ react-icons/go/server.d.ts | 2 ++ react-icons/go/settings.d.ts | 2 ++ react-icons/go/sign-in.d.ts | 2 ++ react-icons/go/sign-out.d.ts | 2 ++ react-icons/go/split.d.ts | 2 ++ react-icons/go/squirrel.d.ts | 2 ++ react-icons/go/star.d.ts | 2 ++ react-icons/go/steps.d.ts | 2 ++ react-icons/go/stop.d.ts | 2 ++ react-icons/go/sync.d.ts | 2 ++ react-icons/go/tag.d.ts | 2 ++ react-icons/go/telescope.d.ts | 2 ++ react-icons/go/terminal.d.ts | 2 ++ react-icons/go/three-bars.d.ts | 2 ++ react-icons/go/tools.d.ts | 2 ++ react-icons/go/trashcan.d.ts | 2 ++ react-icons/go/triangle-down.d.ts | 2 ++ react-icons/go/triangle-left.d.ts | 2 ++ react-icons/go/triangle-right.d.ts | 2 ++ react-icons/go/triangle-up.d.ts | 2 ++ react-icons/go/unfold.d.ts | 2 ++ react-icons/go/unmute.d.ts | 2 ++ react-icons/go/versions.d.ts | 2 ++ react-icons/go/x.d.ts | 2 ++ react-icons/go/zap.d.ts | 2 ++ react-icons/index.d.ts | 3 ++- react-icons/io/alert-circled.d.ts | 2 ++ react-icons/io/alert.d.ts | 2 ++ react-icons/io/android-add-circle.d.ts | 2 ++ react-icons/io/android-add.d.ts | 2 ++ react-icons/io/android-alarm-clock.d.ts | 2 ++ react-icons/io/android-alert.d.ts | 2 ++ react-icons/io/android-apps.d.ts | 2 ++ react-icons/io/android-archive.d.ts | 2 ++ react-icons/io/android-arrow-back.d.ts | 2 ++ react-icons/io/android-arrow-down.d.ts | 2 ++ react-icons/io/android-arrow-dropdown-circle.d.ts | 2 ++ react-icons/io/android-arrow-dropdown.d.ts | 2 ++ react-icons/io/android-arrow-dropleft-circle.d.ts | 2 ++ react-icons/io/android-arrow-dropleft.d.ts | 2 ++ react-icons/io/android-arrow-dropright-circle.d.ts | 2 ++ react-icons/io/android-arrow-dropright.d.ts | 2 ++ react-icons/io/android-arrow-dropup-circle.d.ts | 2 ++ react-icons/io/android-arrow-dropup.d.ts | 2 ++ react-icons/io/android-arrow-forward.d.ts | 2 ++ react-icons/io/android-arrow-up.d.ts | 2 ++ react-icons/io/android-attach.d.ts | 2 ++ react-icons/io/android-bar.d.ts | 2 ++ react-icons/io/android-bicycle.d.ts | 2 ++ react-icons/io/android-boat.d.ts | 2 ++ react-icons/io/android-bookmark.d.ts | 2 ++ react-icons/io/android-bulb.d.ts | 2 ++ react-icons/io/android-bus.d.ts | 2 ++ react-icons/io/android-calendar.d.ts | 2 ++ react-icons/io/android-call.d.ts | 2 ++ react-icons/io/android-camera.d.ts | 2 ++ react-icons/io/android-cancel.d.ts | 2 ++ react-icons/io/android-car.d.ts | 2 ++ react-icons/io/android-cart.d.ts | 2 ++ react-icons/io/android-chat.d.ts | 2 ++ react-icons/io/android-checkbox-blank.d.ts | 2 ++ react-icons/io/android-checkbox-outline-blank.d.ts | 2 ++ react-icons/io/android-checkbox-outline.d.ts | 2 ++ react-icons/io/android-checkbox.d.ts | 2 ++ react-icons/io/android-checkmark-circle.d.ts | 2 ++ react-icons/io/android-clipboard.d.ts | 2 ++ react-icons/io/android-close.d.ts | 2 ++ react-icons/io/android-cloud-circle.d.ts | 2 ++ react-icons/io/android-cloud-done.d.ts | 2 ++ react-icons/io/android-cloud-outline.d.ts | 2 ++ react-icons/io/android-cloud.d.ts | 2 ++ react-icons/io/android-color-palette.d.ts | 2 ++ react-icons/io/android-compass.d.ts | 2 ++ react-icons/io/android-contact.d.ts | 2 ++ react-icons/io/android-contacts.d.ts | 2 ++ react-icons/io/android-contract.d.ts | 2 ++ react-icons/io/android-create.d.ts | 2 ++ react-icons/io/android-delete.d.ts | 2 ++ react-icons/io/android-desktop.d.ts | 2 ++ react-icons/io/android-document.d.ts | 2 ++ react-icons/io/android-done-all.d.ts | 2 ++ react-icons/io/android-done.d.ts | 2 ++ react-icons/io/android-download.d.ts | 2 ++ react-icons/io/android-drafts.d.ts | 2 ++ react-icons/io/android-exit.d.ts | 2 ++ react-icons/io/android-expand.d.ts | 2 ++ react-icons/io/android-favorite-outline.d.ts | 2 ++ react-icons/io/android-favorite.d.ts | 2 ++ react-icons/io/android-film.d.ts | 2 ++ react-icons/io/android-folder-open.d.ts | 2 ++ react-icons/io/android-folder.d.ts | 2 ++ react-icons/io/android-funnel.d.ts | 2 ++ react-icons/io/android-globe.d.ts | 2 ++ react-icons/io/android-hand.d.ts | 2 ++ react-icons/io/android-hangout.d.ts | 2 ++ react-icons/io/android-happy.d.ts | 2 ++ react-icons/io/android-home.d.ts | 2 ++ react-icons/io/android-image.d.ts | 2 ++ react-icons/io/android-laptop.d.ts | 2 ++ react-icons/io/android-list.d.ts | 2 ++ react-icons/io/android-locate.d.ts | 2 ++ react-icons/io/android-lock.d.ts | 2 ++ react-icons/io/android-mail.d.ts | 2 ++ react-icons/io/android-map.d.ts | 2 ++ react-icons/io/android-menu.d.ts | 2 ++ react-icons/io/android-microphone-off.d.ts | 2 ++ react-icons/io/android-microphone.d.ts | 2 ++ react-icons/io/android-more-horizontal.d.ts | 2 ++ react-icons/io/android-more-vertical.d.ts | 2 ++ react-icons/io/android-navigate.d.ts | 2 ++ react-icons/io/android-notifications-none.d.ts | 2 ++ react-icons/io/android-notifications-off.d.ts | 2 ++ react-icons/io/android-notifications.d.ts | 2 ++ react-icons/io/android-open.d.ts | 2 ++ react-icons/io/android-options.d.ts | 2 ++ react-icons/io/android-people.d.ts | 2 ++ react-icons/io/android-person-add.d.ts | 2 ++ react-icons/io/android-person.d.ts | 2 ++ react-icons/io/android-phone-landscape.d.ts | 2 ++ react-icons/io/android-phone-portrait.d.ts | 2 ++ react-icons/io/android-pin.d.ts | 2 ++ react-icons/io/android-plane.d.ts | 2 ++ react-icons/io/android-playstore.d.ts | 2 ++ react-icons/io/android-print.d.ts | 2 ++ react-icons/io/android-radio-button-off.d.ts | 2 ++ react-icons/io/android-radio-button-on.d.ts | 2 ++ react-icons/io/android-refresh.d.ts | 2 ++ react-icons/io/android-remove-circle.d.ts | 2 ++ react-icons/io/android-remove.d.ts | 2 ++ react-icons/io/android-restaurant.d.ts | 2 ++ react-icons/io/android-sad.d.ts | 2 ++ react-icons/io/android-search.d.ts | 2 ++ react-icons/io/android-send.d.ts | 2 ++ react-icons/io/android-settings.d.ts | 2 ++ react-icons/io/android-share-alt.d.ts | 2 ++ react-icons/io/android-share.d.ts | 2 ++ react-icons/io/android-star-half.d.ts | 2 ++ react-icons/io/android-star-outline.d.ts | 2 ++ react-icons/io/android-star.d.ts | 2 ++ react-icons/io/android-stopwatch.d.ts | 2 ++ react-icons/io/android-subway.d.ts | 2 ++ react-icons/io/android-sunny.d.ts | 2 ++ react-icons/io/android-sync.d.ts | 2 ++ react-icons/io/android-textsms.d.ts | 2 ++ react-icons/io/android-time.d.ts | 2 ++ react-icons/io/android-train.d.ts | 2 ++ react-icons/io/android-unlock.d.ts | 2 ++ react-icons/io/android-upload.d.ts | 2 ++ react-icons/io/android-volume-down.d.ts | 2 ++ react-icons/io/android-volume-mute.d.ts | 2 ++ react-icons/io/android-volume-off.d.ts | 2 ++ react-icons/io/android-volume-up.d.ts | 2 ++ react-icons/io/android-walk.d.ts | 2 ++ react-icons/io/android-warning.d.ts | 2 ++ react-icons/io/android-watch.d.ts | 2 ++ react-icons/io/android-wifi.d.ts | 2 ++ react-icons/io/aperture.d.ts | 2 ++ react-icons/io/archive.d.ts | 2 ++ react-icons/io/arrow-down-a.d.ts | 2 ++ react-icons/io/arrow-down-b.d.ts | 2 ++ react-icons/io/arrow-down-c.d.ts | 2 ++ react-icons/io/arrow-expand.d.ts | 2 ++ react-icons/io/arrow-graph-down-left.d.ts | 2 ++ react-icons/io/arrow-graph-down-right.d.ts | 2 ++ react-icons/io/arrow-graph-up-left.d.ts | 2 ++ react-icons/io/arrow-graph-up-right.d.ts | 2 ++ react-icons/io/arrow-left-a.d.ts | 2 ++ react-icons/io/arrow-left-b.d.ts | 2 ++ react-icons/io/arrow-left-c.d.ts | 2 ++ react-icons/io/arrow-move.d.ts | 2 ++ react-icons/io/arrow-resize.d.ts | 2 ++ react-icons/io/arrow-return-left.d.ts | 2 ++ react-icons/io/arrow-return-right.d.ts | 2 ++ react-icons/io/arrow-right-a.d.ts | 2 ++ react-icons/io/arrow-right-b.d.ts | 2 ++ react-icons/io/arrow-right-c.d.ts | 2 ++ react-icons/io/arrow-shrink.d.ts | 2 ++ react-icons/io/arrow-swap.d.ts | 2 ++ react-icons/io/arrow-up-a.d.ts | 2 ++ react-icons/io/arrow-up-b.d.ts | 2 ++ react-icons/io/arrow-up-c.d.ts | 2 ++ react-icons/io/asterisk.d.ts | 2 ++ react-icons/io/at.d.ts | 2 ++ react-icons/io/backspace-outline.d.ts | 2 ++ react-icons/io/backspace.d.ts | 2 ++ react-icons/io/bag.d.ts | 2 ++ react-icons/io/battery-charging.d.ts | 2 ++ react-icons/io/battery-empty.d.ts | 2 ++ react-icons/io/battery-full.d.ts | 2 ++ react-icons/io/battery-half.d.ts | 2 ++ react-icons/io/battery-low.d.ts | 2 ++ react-icons/io/beaker.d.ts | 2 ++ react-icons/io/beer.d.ts | 2 ++ react-icons/io/bluetooth.d.ts | 2 ++ react-icons/io/bonfire.d.ts | 2 ++ react-icons/io/bookmark.d.ts | 2 ++ react-icons/io/bowtie.d.ts | 2 ++ react-icons/io/briefcase.d.ts | 2 ++ react-icons/io/bug.d.ts | 2 ++ react-icons/io/calculator.d.ts | 2 ++ react-icons/io/calendar.d.ts | 2 ++ react-icons/io/camera.d.ts | 2 ++ react-icons/io/card.d.ts | 2 ++ react-icons/io/cash.d.ts | 2 ++ react-icons/io/chatbox-working.d.ts | 2 ++ react-icons/io/chatbox.d.ts | 2 ++ react-icons/io/chatboxes.d.ts | 2 ++ react-icons/io/chatbubble-working.d.ts | 2 ++ react-icons/io/chatbubble.d.ts | 2 ++ react-icons/io/chatbubbles.d.ts | 2 ++ react-icons/io/checkmark-circled.d.ts | 2 ++ react-icons/io/checkmark-round.d.ts | 2 ++ react-icons/io/checkmark.d.ts | 2 ++ react-icons/io/chevron-down.d.ts | 2 ++ react-icons/io/chevron-left.d.ts | 2 ++ react-icons/io/chevron-right.d.ts | 2 ++ react-icons/io/chevron-up.d.ts | 2 ++ react-icons/io/clipboard.d.ts | 2 ++ react-icons/io/clock.d.ts | 2 ++ react-icons/io/close-circled.d.ts | 2 ++ react-icons/io/close-round.d.ts | 2 ++ react-icons/io/close.d.ts | 2 ++ react-icons/io/closed-captioning.d.ts | 2 ++ react-icons/io/cloud.d.ts | 2 ++ react-icons/io/code-download.d.ts | 2 ++ react-icons/io/code-working.d.ts | 2 ++ react-icons/io/code.d.ts | 2 ++ react-icons/io/coffee.d.ts | 2 ++ react-icons/io/compass.d.ts | 2 ++ react-icons/io/compose.d.ts | 2 ++ react-icons/io/connectbars.d.ts | 2 ++ react-icons/io/contrast.d.ts | 2 ++ react-icons/io/crop.d.ts | 2 ++ react-icons/io/cube.d.ts | 2 ++ react-icons/io/disc.d.ts | 2 ++ react-icons/io/document-text.d.ts | 2 ++ react-icons/io/document.d.ts | 2 ++ react-icons/io/drag.d.ts | 2 ++ react-icons/io/earth.d.ts | 2 ++ react-icons/io/easel.d.ts | 2 ++ react-icons/io/edit.d.ts | 2 ++ react-icons/io/egg.d.ts | 2 ++ react-icons/io/eject.d.ts | 2 ++ react-icons/io/email-unread.d.ts | 2 ++ react-icons/io/email.d.ts | 2 ++ react-icons/io/erlenmeyer-flask-bubbles.d.ts | 2 ++ react-icons/io/erlenmeyer-flask.d.ts | 2 ++ react-icons/io/eye-disabled.d.ts | 2 ++ react-icons/io/eye.d.ts | 2 ++ react-icons/io/female.d.ts | 2 ++ react-icons/io/filing.d.ts | 2 ++ react-icons/io/film-marker.d.ts | 2 ++ react-icons/io/fireball.d.ts | 2 ++ react-icons/io/flag.d.ts | 2 ++ react-icons/io/flame.d.ts | 2 ++ react-icons/io/flash-off.d.ts | 2 ++ react-icons/io/flash.d.ts | 2 ++ react-icons/io/folder.d.ts | 2 ++ react-icons/io/fork-repo.d.ts | 2 ++ react-icons/io/fork.d.ts | 2 ++ react-icons/io/forward.d.ts | 2 ++ react-icons/io/funnel.d.ts | 2 ++ react-icons/io/gear-a.d.ts | 2 ++ react-icons/io/gear-b.d.ts | 2 ++ react-icons/io/grid.d.ts | 2 ++ react-icons/io/hammer.d.ts | 2 ++ react-icons/io/happy-outline.d.ts | 2 ++ react-icons/io/happy.d.ts | 2 ++ react-icons/io/headphone.d.ts | 2 ++ react-icons/io/heart-broken.d.ts | 2 ++ react-icons/io/heart.d.ts | 2 ++ react-icons/io/help-buoy.d.ts | 2 ++ react-icons/io/help-circled.d.ts | 2 ++ react-icons/io/help.d.ts | 2 ++ react-icons/io/home.d.ts | 2 ++ react-icons/io/icecream.d.ts | 2 ++ react-icons/io/image.d.ts | 2 ++ react-icons/io/images.d.ts | 2 ++ react-icons/io/index.d.ts | 1 + react-icons/io/informatcircled.d.ts | 2 ++ react-icons/io/information.d.ts | 2 ++ react-icons/io/ionic.d.ts | 2 ++ react-icons/io/ios-alarm-outline.d.ts | 2 ++ react-icons/io/ios-alarm.d.ts | 2 ++ react-icons/io/ios-albums-outline.d.ts | 2 ++ react-icons/io/ios-albums.d.ts | 2 ++ react-icons/io/ios-americanfootball-outline.d.ts | 2 ++ react-icons/io/ios-americanfootball.d.ts | 2 ++ react-icons/io/ios-analytics-outline.d.ts | 2 ++ react-icons/io/ios-analytics.d.ts | 2 ++ react-icons/io/ios-arrow-back.d.ts | 2 ++ react-icons/io/ios-arrow-down.d.ts | 2 ++ react-icons/io/ios-arrow-forward.d.ts | 2 ++ react-icons/io/ios-arrow-left.d.ts | 2 ++ react-icons/io/ios-arrow-right.d.ts | 2 ++ react-icons/io/ios-arrow-thin-down.d.ts | 2 ++ react-icons/io/ios-arrow-thin-left.d.ts | 2 ++ react-icons/io/ios-arrow-thin-right.d.ts | 2 ++ react-icons/io/ios-arrow-thin-up.d.ts | 2 ++ react-icons/io/ios-arrow-up.d.ts | 2 ++ react-icons/io/ios-at-outline.d.ts | 2 ++ react-icons/io/ios-at.d.ts | 2 ++ react-icons/io/ios-barcode-outline.d.ts | 2 ++ react-icons/io/ios-barcode.d.ts | 2 ++ react-icons/io/ios-baseball-outline.d.ts | 2 ++ react-icons/io/ios-baseball.d.ts | 2 ++ react-icons/io/ios-basketball-outline.d.ts | 2 ++ react-icons/io/ios-basketball.d.ts | 2 ++ react-icons/io/ios-bell-outline.d.ts | 2 ++ react-icons/io/ios-bell.d.ts | 2 ++ react-icons/io/ios-body-outline.d.ts | 2 ++ react-icons/io/ios-body.d.ts | 2 ++ react-icons/io/ios-bolt-outline.d.ts | 2 ++ react-icons/io/ios-bolt.d.ts | 2 ++ react-icons/io/ios-book-outline.d.ts | 2 ++ react-icons/io/ios-book.d.ts | 2 ++ react-icons/io/ios-bookmarks-outline.d.ts | 2 ++ react-icons/io/ios-bookmarks.d.ts | 2 ++ react-icons/io/ios-box-outline.d.ts | 2 ++ react-icons/io/ios-box.d.ts | 2 ++ react-icons/io/ios-briefcase-outline.d.ts | 2 ++ react-icons/io/ios-briefcase.d.ts | 2 ++ react-icons/io/ios-browsers-outline.d.ts | 2 ++ react-icons/io/ios-browsers.d.ts | 2 ++ react-icons/io/ios-calculator-outline.d.ts | 2 ++ react-icons/io/ios-calculator.d.ts | 2 ++ react-icons/io/ios-calendar-outline.d.ts | 2 ++ react-icons/io/ios-calendar.d.ts | 2 ++ react-icons/io/ios-camera-outline.d.ts | 2 ++ react-icons/io/ios-camera.d.ts | 2 ++ react-icons/io/ios-cart-outline.d.ts | 2 ++ react-icons/io/ios-cart.d.ts | 2 ++ react-icons/io/ios-chatboxes-outline.d.ts | 2 ++ react-icons/io/ios-chatboxes.d.ts | 2 ++ react-icons/io/ios-chatbubble-outline.d.ts | 2 ++ react-icons/io/ios-chatbubble.d.ts | 2 ++ react-icons/io/ios-checkmark-empty.d.ts | 2 ++ react-icons/io/ios-checkmark-outline.d.ts | 2 ++ react-icons/io/ios-checkmark.d.ts | 2 ++ react-icons/io/ios-circle-filled.d.ts | 2 ++ react-icons/io/ios-circle-outline.d.ts | 2 ++ react-icons/io/ios-clock-outline.d.ts | 2 ++ react-icons/io/ios-clock.d.ts | 2 ++ react-icons/io/ios-close-empty.d.ts | 2 ++ react-icons/io/ios-close-outline.d.ts | 2 ++ react-icons/io/ios-close.d.ts | 2 ++ react-icons/io/ios-cloud-download-outline.d.ts | 2 ++ react-icons/io/ios-cloud-download.d.ts | 2 ++ react-icons/io/ios-cloud-outline.d.ts | 2 ++ react-icons/io/ios-cloud-upload-outline.d.ts | 2 ++ react-icons/io/ios-cloud-upload.d.ts | 2 ++ react-icons/io/ios-cloud.d.ts | 2 ++ react-icons/io/ios-cloudy-night-outline.d.ts | 2 ++ react-icons/io/ios-cloudy-night.d.ts | 2 ++ react-icons/io/ios-cloudy-outline.d.ts | 2 ++ react-icons/io/ios-cloudy.d.ts | 2 ++ react-icons/io/ios-cog-outline.d.ts | 2 ++ react-icons/io/ios-cog.d.ts | 2 ++ react-icons/io/ios-color-filter-outline.d.ts | 2 ++ react-icons/io/ios-color-filter.d.ts | 2 ++ react-icons/io/ios-color-wand-outline.d.ts | 2 ++ react-icons/io/ios-color-wand.d.ts | 2 ++ react-icons/io/ios-compose-outline.d.ts | 2 ++ react-icons/io/ios-compose.d.ts | 2 ++ react-icons/io/ios-contact-outline.d.ts | 2 ++ react-icons/io/ios-contact.d.ts | 2 ++ react-icons/io/ios-copy-outline.d.ts | 2 ++ react-icons/io/ios-copy.d.ts | 2 ++ react-icons/io/ios-crop-strong.d.ts | 2 ++ react-icons/io/ios-crop.d.ts | 2 ++ react-icons/io/ios-download-outline.d.ts | 2 ++ react-icons/io/ios-download.d.ts | 2 ++ react-icons/io/ios-drag.d.ts | 2 ++ react-icons/io/ios-email-outline.d.ts | 2 ++ react-icons/io/ios-email.d.ts | 2 ++ react-icons/io/ios-eye-outline.d.ts | 2 ++ react-icons/io/ios-eye.d.ts | 2 ++ react-icons/io/ios-fastforward-outline.d.ts | 2 ++ react-icons/io/ios-fastforward.d.ts | 2 ++ react-icons/io/ios-filing-outline.d.ts | 2 ++ react-icons/io/ios-filing.d.ts | 2 ++ react-icons/io/ios-film-outline.d.ts | 2 ++ react-icons/io/ios-film.d.ts | 2 ++ react-icons/io/ios-flag-outline.d.ts | 2 ++ react-icons/io/ios-flag.d.ts | 2 ++ react-icons/io/ios-flame-outline.d.ts | 2 ++ react-icons/io/ios-flame.d.ts | 2 ++ react-icons/io/ios-flask-outline.d.ts | 2 ++ react-icons/io/ios-flask.d.ts | 2 ++ react-icons/io/ios-flower-outline.d.ts | 2 ++ react-icons/io/ios-flower.d.ts | 2 ++ react-icons/io/ios-folder-outline.d.ts | 2 ++ react-icons/io/ios-folder.d.ts | 2 ++ react-icons/io/ios-football-outline.d.ts | 2 ++ react-icons/io/ios-football.d.ts | 2 ++ react-icons/io/ios-game-controller-a-outline.d.ts | 2 ++ react-icons/io/ios-game-controller-a.d.ts | 2 ++ react-icons/io/ios-game-controller-b-outline.d.ts | 2 ++ react-icons/io/ios-game-controller-b.d.ts | 2 ++ react-icons/io/ios-gear-outline.d.ts | 2 ++ react-icons/io/ios-gear.d.ts | 2 ++ react-icons/io/ios-glasses-outline.d.ts | 2 ++ react-icons/io/ios-glasses.d.ts | 2 ++ react-icons/io/ios-grid-view-outline.d.ts | 2 ++ react-icons/io/ios-grid-view.d.ts | 2 ++ react-icons/io/ios-heart-outline.d.ts | 2 ++ react-icons/io/ios-heart.d.ts | 2 ++ react-icons/io/ios-help-empty.d.ts | 2 ++ react-icons/io/ios-help-outline.d.ts | 2 ++ react-icons/io/ios-help.d.ts | 2 ++ react-icons/io/ios-home-outline.d.ts | 2 ++ react-icons/io/ios-home.d.ts | 2 ++ react-icons/io/ios-infinite-outline.d.ts | 2 ++ react-icons/io/ios-infinite.d.ts | 2 ++ react-icons/io/ios-informatempty.d.ts | 2 ++ react-icons/io/ios-information.d.ts | 2 ++ react-icons/io/ios-informatoutline.d.ts | 2 ++ react-icons/io/ios-ionic-outline.d.ts | 2 ++ react-icons/io/ios-keypad-outline.d.ts | 2 ++ react-icons/io/ios-keypad.d.ts | 2 ++ react-icons/io/ios-lightbulb-outline.d.ts | 2 ++ react-icons/io/ios-lightbulb.d.ts | 2 ++ react-icons/io/ios-list-outline.d.ts | 2 ++ react-icons/io/ios-list.d.ts | 2 ++ react-icons/io/ios-location.d.ts | 2 ++ react-icons/io/ios-locatoutline.d.ts | 2 ++ react-icons/io/ios-locked-outline.d.ts | 2 ++ react-icons/io/ios-locked.d.ts | 2 ++ react-icons/io/ios-loop-strong.d.ts | 2 ++ react-icons/io/ios-loop.d.ts | 2 ++ react-icons/io/ios-medical-outline.d.ts | 2 ++ react-icons/io/ios-medical.d.ts | 2 ++ react-icons/io/ios-medkit-outline.d.ts | 2 ++ react-icons/io/ios-medkit.d.ts | 2 ++ react-icons/io/ios-mic-off.d.ts | 2 ++ react-icons/io/ios-mic-outline.d.ts | 2 ++ react-icons/io/ios-mic.d.ts | 2 ++ react-icons/io/ios-minus-empty.d.ts | 2 ++ react-icons/io/ios-minus-outline.d.ts | 2 ++ react-icons/io/ios-minus.d.ts | 2 ++ react-icons/io/ios-monitor-outline.d.ts | 2 ++ react-icons/io/ios-monitor.d.ts | 2 ++ react-icons/io/ios-moon-outline.d.ts | 2 ++ react-icons/io/ios-moon.d.ts | 2 ++ react-icons/io/ios-more-outline.d.ts | 2 ++ react-icons/io/ios-more.d.ts | 2 ++ react-icons/io/ios-musical-note.d.ts | 2 ++ react-icons/io/ios-musical-notes.d.ts | 2 ++ react-icons/io/ios-navigate-outline.d.ts | 2 ++ react-icons/io/ios-navigate.d.ts | 2 ++ react-icons/io/ios-nutrition.d.ts | 2 ++ react-icons/io/ios-nutritoutline.d.ts | 2 ++ react-icons/io/ios-paper-outline.d.ts | 2 ++ react-icons/io/ios-paper.d.ts | 2 ++ react-icons/io/ios-paperplane-outline.d.ts | 2 ++ react-icons/io/ios-paperplane.d.ts | 2 ++ react-icons/io/ios-partlysunny-outline.d.ts | 2 ++ react-icons/io/ios-partlysunny.d.ts | 2 ++ react-icons/io/ios-pause-outline.d.ts | 2 ++ react-icons/io/ios-pause.d.ts | 2 ++ react-icons/io/ios-paw-outline.d.ts | 2 ++ react-icons/io/ios-paw.d.ts | 2 ++ react-icons/io/ios-people-outline.d.ts | 2 ++ react-icons/io/ios-people.d.ts | 2 ++ react-icons/io/ios-person-outline.d.ts | 2 ++ react-icons/io/ios-person.d.ts | 2 ++ react-icons/io/ios-personadd-outline.d.ts | 2 ++ react-icons/io/ios-personadd.d.ts | 2 ++ react-icons/io/ios-photos-outline.d.ts | 2 ++ react-icons/io/ios-photos.d.ts | 2 ++ react-icons/io/ios-pie-outline.d.ts | 2 ++ react-icons/io/ios-pie.d.ts | 2 ++ react-icons/io/ios-pint-outline.d.ts | 2 ++ react-icons/io/ios-pint.d.ts | 2 ++ react-icons/io/ios-play-outline.d.ts | 2 ++ react-icons/io/ios-play.d.ts | 2 ++ react-icons/io/ios-plus-empty.d.ts | 2 ++ react-icons/io/ios-plus-outline.d.ts | 2 ++ react-icons/io/ios-plus.d.ts | 2 ++ react-icons/io/ios-pricetag-outline.d.ts | 2 ++ react-icons/io/ios-pricetag.d.ts | 2 ++ react-icons/io/ios-pricetags-outline.d.ts | 2 ++ react-icons/io/ios-pricetags.d.ts | 2 ++ react-icons/io/ios-printer-outline.d.ts | 2 ++ react-icons/io/ios-printer.d.ts | 2 ++ react-icons/io/ios-pulse-strong.d.ts | 2 ++ react-icons/io/ios-pulse.d.ts | 2 ++ react-icons/io/ios-rainy-outline.d.ts | 2 ++ react-icons/io/ios-rainy.d.ts | 2 ++ react-icons/io/ios-recording-outline.d.ts | 2 ++ react-icons/io/ios-recording.d.ts | 2 ++ react-icons/io/ios-redo-outline.d.ts | 2 ++ react-icons/io/ios-redo.d.ts | 2 ++ react-icons/io/ios-refresh-empty.d.ts | 2 ++ react-icons/io/ios-refresh-outline.d.ts | 2 ++ react-icons/io/ios-refresh.d.ts | 2 ++ react-icons/io/ios-reload.d.ts | 2 ++ react-icons/io/ios-reverse-camera-outline.d.ts | 2 ++ react-icons/io/ios-reverse-camera.d.ts | 2 ++ react-icons/io/ios-rewind-outline.d.ts | 2 ++ react-icons/io/ios-rewind.d.ts | 2 ++ react-icons/io/ios-rose-outline.d.ts | 2 ++ react-icons/io/ios-rose.d.ts | 2 ++ react-icons/io/ios-search-strong.d.ts | 2 ++ react-icons/io/ios-search.d.ts | 2 ++ react-icons/io/ios-settings-strong.d.ts | 2 ++ react-icons/io/ios-settings.d.ts | 2 ++ react-icons/io/ios-shuffle-strong.d.ts | 2 ++ react-icons/io/ios-shuffle.d.ts | 2 ++ react-icons/io/ios-skipbackward-outline.d.ts | 2 ++ react-icons/io/ios-skipbackward.d.ts | 2 ++ react-icons/io/ios-skipforward-outline.d.ts | 2 ++ react-icons/io/ios-skipforward.d.ts | 2 ++ react-icons/io/ios-snowy.d.ts | 2 ++ react-icons/io/ios-speedometer-outline.d.ts | 2 ++ react-icons/io/ios-speedometer.d.ts | 2 ++ react-icons/io/ios-star-half.d.ts | 2 ++ react-icons/io/ios-star-outline.d.ts | 2 ++ react-icons/io/ios-star.d.ts | 2 ++ react-icons/io/ios-stopwatch-outline.d.ts | 2 ++ react-icons/io/ios-stopwatch.d.ts | 2 ++ react-icons/io/ios-sunny-outline.d.ts | 2 ++ react-icons/io/ios-sunny.d.ts | 2 ++ react-icons/io/ios-telephone-outline.d.ts | 2 ++ react-icons/io/ios-telephone.d.ts | 2 ++ react-icons/io/ios-tennisball-outline.d.ts | 2 ++ react-icons/io/ios-tennisball.d.ts | 2 ++ react-icons/io/ios-thunderstorm-outline.d.ts | 2 ++ react-icons/io/ios-thunderstorm.d.ts | 2 ++ react-icons/io/ios-time-outline.d.ts | 2 ++ react-icons/io/ios-time.d.ts | 2 ++ react-icons/io/ios-timer-outline.d.ts | 2 ++ react-icons/io/ios-timer.d.ts | 2 ++ react-icons/io/ios-toggle-outline.d.ts | 2 ++ react-icons/io/ios-toggle.d.ts | 2 ++ react-icons/io/ios-trash-outline.d.ts | 2 ++ react-icons/io/ios-trash.d.ts | 2 ++ react-icons/io/ios-undo-outline.d.ts | 2 ++ react-icons/io/ios-undo.d.ts | 2 ++ react-icons/io/ios-unlocked-outline.d.ts | 2 ++ react-icons/io/ios-unlocked.d.ts | 2 ++ react-icons/io/ios-upload-outline.d.ts | 2 ++ react-icons/io/ios-upload.d.ts | 2 ++ react-icons/io/ios-videocam-outline.d.ts | 2 ++ react-icons/io/ios-videocam.d.ts | 2 ++ react-icons/io/ios-volume-high.d.ts | 2 ++ react-icons/io/ios-volume-low.d.ts | 2 ++ react-icons/io/ios-wineglass-outline.d.ts | 2 ++ react-icons/io/ios-wineglass.d.ts | 2 ++ react-icons/io/ios-world-outline.d.ts | 2 ++ react-icons/io/ios-world.d.ts | 2 ++ react-icons/io/ipad.d.ts | 2 ++ react-icons/io/iphone.d.ts | 2 ++ react-icons/io/ipod.d.ts | 2 ++ react-icons/io/jet.d.ts | 2 ++ react-icons/io/key.d.ts | 2 ++ react-icons/io/knife.d.ts | 2 ++ react-icons/io/laptop.d.ts | 2 ++ react-icons/io/leaf.d.ts | 2 ++ react-icons/io/levels.d.ts | 2 ++ react-icons/io/lightbulb.d.ts | 2 ++ react-icons/io/link.d.ts | 2 ++ react-icons/io/load-a.d.ts | 2 ++ react-icons/io/load-b.d.ts | 2 ++ react-icons/io/load-c.d.ts | 2 ++ react-icons/io/load-d.d.ts | 2 ++ react-icons/io/location.d.ts | 2 ++ react-icons/io/lock-combination.d.ts | 2 ++ react-icons/io/locked.d.ts | 2 ++ react-icons/io/log-in.d.ts | 2 ++ react-icons/io/log-out.d.ts | 2 ++ react-icons/io/loop.d.ts | 2 ++ react-icons/io/magnet.d.ts | 2 ++ react-icons/io/male.d.ts | 2 ++ react-icons/io/man.d.ts | 2 ++ react-icons/io/map.d.ts | 2 ++ react-icons/io/medkit.d.ts | 2 ++ react-icons/io/merge.d.ts | 2 ++ react-icons/io/mic-a.d.ts | 2 ++ react-icons/io/mic-b.d.ts | 2 ++ react-icons/io/mic-c.d.ts | 2 ++ react-icons/io/minus-circled.d.ts | 2 ++ react-icons/io/minus-round.d.ts | 2 ++ react-icons/io/minus.d.ts | 2 ++ react-icons/io/model-s.d.ts | 2 ++ react-icons/io/monitor.d.ts | 2 ++ react-icons/io/more.d.ts | 2 ++ react-icons/io/mouse.d.ts | 2 ++ react-icons/io/music-note.d.ts | 2 ++ react-icons/io/navicon-round.d.ts | 2 ++ react-icons/io/navicon.d.ts | 2 ++ react-icons/io/navigate.d.ts | 2 ++ react-icons/io/network.d.ts | 2 ++ react-icons/io/no-smoking.d.ts | 2 ++ react-icons/io/nuclear.d.ts | 2 ++ react-icons/io/outlet.d.ts | 2 ++ react-icons/io/paintbrush.d.ts | 2 ++ react-icons/io/paintbucket.d.ts | 2 ++ react-icons/io/paper-airplane.d.ts | 2 ++ react-icons/io/paperclip.d.ts | 2 ++ react-icons/io/pause.d.ts | 2 ++ react-icons/io/person-add.d.ts | 2 ++ react-icons/io/person-stalker.d.ts | 2 ++ react-icons/io/person.d.ts | 2 ++ react-icons/io/pie-graph.d.ts | 2 ++ react-icons/io/pin.d.ts | 2 ++ react-icons/io/pinpoint.d.ts | 2 ++ react-icons/io/pizza.d.ts | 2 ++ react-icons/io/plane.d.ts | 2 ++ react-icons/io/planet.d.ts | 2 ++ react-icons/io/play.d.ts | 2 ++ react-icons/io/playstation.d.ts | 2 ++ react-icons/io/plus-circled.d.ts | 2 ++ react-icons/io/plus-round.d.ts | 2 ++ react-icons/io/plus.d.ts | 2 ++ react-icons/io/podium.d.ts | 2 ++ react-icons/io/pound.d.ts | 2 ++ react-icons/io/power.d.ts | 2 ++ react-icons/io/pricetag.d.ts | 2 ++ react-icons/io/pricetags.d.ts | 2 ++ react-icons/io/printer.d.ts | 2 ++ react-icons/io/pull-request.d.ts | 2 ++ react-icons/io/qr-scanner.d.ts | 2 ++ react-icons/io/quote.d.ts | 2 ++ react-icons/io/radio-waves.d.ts | 2 ++ react-icons/io/record.d.ts | 2 ++ react-icons/io/refresh.d.ts | 2 ++ react-icons/io/reply-all.d.ts | 2 ++ react-icons/io/reply.d.ts | 2 ++ react-icons/io/ribbon-a.d.ts | 2 ++ react-icons/io/ribbon-b.d.ts | 2 ++ react-icons/io/sad-outline.d.ts | 2 ++ react-icons/io/sad.d.ts | 2 ++ react-icons/io/scissors.d.ts | 2 ++ react-icons/io/search.d.ts | 2 ++ react-icons/io/settings.d.ts | 2 ++ react-icons/io/share.d.ts | 2 ++ react-icons/io/shuffle.d.ts | 2 ++ react-icons/io/skip-backward.d.ts | 2 ++ react-icons/io/skip-forward.d.ts | 2 ++ react-icons/io/social-android-outline.d.ts | 2 ++ react-icons/io/social-android.d.ts | 2 ++ react-icons/io/social-angular-outline.d.ts | 2 ++ react-icons/io/social-angular.d.ts | 2 ++ react-icons/io/social-apple-outline.d.ts | 2 ++ react-icons/io/social-apple.d.ts | 2 ++ react-icons/io/social-bitcoin-outline.d.ts | 2 ++ react-icons/io/social-bitcoin.d.ts | 2 ++ react-icons/io/social-buffer-outline.d.ts | 2 ++ react-icons/io/social-buffer.d.ts | 2 ++ react-icons/io/social-chrome-outline.d.ts | 2 ++ react-icons/io/social-chrome.d.ts | 2 ++ react-icons/io/social-codepen-outline.d.ts | 2 ++ react-icons/io/social-codepen.d.ts | 2 ++ react-icons/io/social-css3-outline.d.ts | 2 ++ react-icons/io/social-css3.d.ts | 2 ++ react-icons/io/social-designernews-outline.d.ts | 2 ++ react-icons/io/social-designernews.d.ts | 2 ++ react-icons/io/social-dribbble-outline.d.ts | 2 ++ react-icons/io/social-dribbble.d.ts | 2 ++ react-icons/io/social-dropbox-outline.d.ts | 2 ++ react-icons/io/social-dropbox.d.ts | 2 ++ react-icons/io/social-euro-outline.d.ts | 2 ++ react-icons/io/social-euro.d.ts | 2 ++ react-icons/io/social-facebook-outline.d.ts | 2 ++ react-icons/io/social-facebook.d.ts | 2 ++ react-icons/io/social-foursquare-outline.d.ts | 2 ++ react-icons/io/social-foursquare.d.ts | 2 ++ react-icons/io/social-freebsd-devil.d.ts | 2 ++ react-icons/io/social-github-outline.d.ts | 2 ++ react-icons/io/social-github.d.ts | 2 ++ react-icons/io/social-google-outline.d.ts | 2 ++ react-icons/io/social-google.d.ts | 2 ++ react-icons/io/social-googleplus-outline.d.ts | 2 ++ react-icons/io/social-googleplus.d.ts | 2 ++ react-icons/io/social-hackernews-outline.d.ts | 2 ++ react-icons/io/social-hackernews.d.ts | 2 ++ react-icons/io/social-html5-outline.d.ts | 2 ++ react-icons/io/social-html5.d.ts | 2 ++ react-icons/io/social-instagram-outline.d.ts | 2 ++ react-icons/io/social-instagram.d.ts | 2 ++ react-icons/io/social-javascript-outline.d.ts | 2 ++ react-icons/io/social-javascript.d.ts | 2 ++ react-icons/io/social-linkedin-outline.d.ts | 2 ++ react-icons/io/social-linkedin.d.ts | 2 ++ react-icons/io/social-markdown.d.ts | 2 ++ react-icons/io/social-nodejs.d.ts | 2 ++ react-icons/io/social-octocat.d.ts | 2 ++ react-icons/io/social-pinterest-outline.d.ts | 2 ++ react-icons/io/social-pinterest.d.ts | 2 ++ react-icons/io/social-python.d.ts | 2 ++ react-icons/io/social-reddit-outline.d.ts | 2 ++ react-icons/io/social-reddit.d.ts | 2 ++ react-icons/io/social-rss-outline.d.ts | 2 ++ react-icons/io/social-rss.d.ts | 2 ++ react-icons/io/social-sass.d.ts | 2 ++ react-icons/io/social-skype-outline.d.ts | 2 ++ react-icons/io/social-skype.d.ts | 2 ++ react-icons/io/social-snapchat-outline.d.ts | 2 ++ react-icons/io/social-snapchat.d.ts | 2 ++ react-icons/io/social-tumblr-outline.d.ts | 2 ++ react-icons/io/social-tumblr.d.ts | 2 ++ react-icons/io/social-tux.d.ts | 2 ++ react-icons/io/social-twitch-outline.d.ts | 2 ++ react-icons/io/social-twitch.d.ts | 2 ++ react-icons/io/social-twitter-outline.d.ts | 2 ++ react-icons/io/social-twitter.d.ts | 2 ++ react-icons/io/social-usd-outline.d.ts | 2 ++ react-icons/io/social-usd.d.ts | 2 ++ react-icons/io/social-vimeo-outline.d.ts | 2 ++ react-icons/io/social-vimeo.d.ts | 2 ++ react-icons/io/social-whatsapp-outline.d.ts | 2 ++ react-icons/io/social-whatsapp.d.ts | 2 ++ react-icons/io/social-windows-outline.d.ts | 2 ++ react-icons/io/social-windows.d.ts | 2 ++ react-icons/io/social-wordpress-outline.d.ts | 2 ++ react-icons/io/social-wordpress.d.ts | 2 ++ react-icons/io/social-yahoo-outline.d.ts | 2 ++ react-icons/io/social-yahoo.d.ts | 2 ++ react-icons/io/social-yen-outline.d.ts | 2 ++ react-icons/io/social-yen.d.ts | 2 ++ react-icons/io/social-youtube-outline.d.ts | 2 ++ react-icons/io/social-youtube.d.ts | 2 ++ react-icons/io/soup-can-outline.d.ts | 2 ++ react-icons/io/soup-can.d.ts | 2 ++ react-icons/io/speakerphone.d.ts | 2 ++ react-icons/io/speedometer.d.ts | 2 ++ react-icons/io/spoon.d.ts | 2 ++ react-icons/io/star.d.ts | 2 ++ react-icons/io/stats-bars.d.ts | 2 ++ react-icons/io/steam.d.ts | 2 ++ react-icons/io/stop.d.ts | 2 ++ react-icons/io/thermometer.d.ts | 2 ++ react-icons/io/thumbsdown.d.ts | 2 ++ react-icons/io/thumbsup.d.ts | 2 ++ react-icons/io/toggle-filled.d.ts | 2 ++ react-icons/io/toggle.d.ts | 2 ++ react-icons/io/transgender.d.ts | 2 ++ react-icons/io/trash-a.d.ts | 2 ++ react-icons/io/trash-b.d.ts | 2 ++ react-icons/io/trophy.d.ts | 2 ++ react-icons/io/tshirt-outline.d.ts | 2 ++ react-icons/io/tshirt.d.ts | 2 ++ react-icons/io/umbrella.d.ts | 2 ++ react-icons/io/university.d.ts | 2 ++ react-icons/io/unlocked.d.ts | 2 ++ react-icons/io/upload.d.ts | 2 ++ react-icons/io/usb.d.ts | 2 ++ react-icons/io/videocamera.d.ts | 2 ++ react-icons/io/volume-high.d.ts | 2 ++ react-icons/io/volume-low.d.ts | 2 ++ react-icons/io/volume-medium.d.ts | 2 ++ react-icons/io/volume-mute.d.ts | 2 ++ react-icons/io/wand.d.ts | 2 ++ react-icons/io/waterdrop.d.ts | 2 ++ react-icons/io/wifi.d.ts | 2 ++ react-icons/io/wineglass.d.ts | 2 ++ react-icons/io/woman.d.ts | 2 ++ react-icons/io/wrench.d.ts | 2 ++ react-icons/io/xbox.d.ts | 2 ++ react-icons/md/3d-rotation.d.ts | 2 ++ react-icons/md/ac-unit.d.ts | 2 ++ react-icons/md/access-alarm.d.ts | 2 ++ react-icons/md/access-alarms.d.ts | 2 ++ react-icons/md/access-time.d.ts | 2 ++ react-icons/md/accessibility.d.ts | 2 ++ react-icons/md/accessible.d.ts | 2 ++ react-icons/md/account-balance-wallet.d.ts | 2 ++ react-icons/md/account-balance.d.ts | 2 ++ react-icons/md/account-box.d.ts | 2 ++ react-icons/md/account-circle.d.ts | 2 ++ react-icons/md/adb.d.ts | 2 ++ react-icons/md/add-a-photo.d.ts | 2 ++ react-icons/md/add-alarm.d.ts | 2 ++ react-icons/md/add-alert.d.ts | 2 ++ react-icons/md/add-box.d.ts | 2 ++ react-icons/md/add-circle-outline.d.ts | 2 ++ react-icons/md/add-circle.d.ts | 2 ++ react-icons/md/add-location.d.ts | 2 ++ react-icons/md/add-shopping-cart.d.ts | 2 ++ react-icons/md/add-to-photos.d.ts | 2 ++ react-icons/md/add-to-queue.d.ts | 2 ++ react-icons/md/add.d.ts | 2 ++ react-icons/md/adjust.d.ts | 2 ++ react-icons/md/airline-seat-flat-angled.d.ts | 2 ++ react-icons/md/airline-seat-flat.d.ts | 2 ++ react-icons/md/airline-seat-individual-suite.d.ts | 2 ++ react-icons/md/airline-seat-legroom-extra.d.ts | 2 ++ react-icons/md/airline-seat-legroom-normal.d.ts | 2 ++ react-icons/md/airline-seat-legroom-reduced.d.ts | 2 ++ react-icons/md/airline-seat-recline-extra.d.ts | 2 ++ react-icons/md/airline-seat-recline-normal.d.ts | 2 ++ react-icons/md/airplanemode-active.d.ts | 2 ++ react-icons/md/airplanemode-inactive.d.ts | 2 ++ react-icons/md/airplay.d.ts | 2 ++ react-icons/md/airport-shuttle.d.ts | 2 ++ react-icons/md/alarm-add.d.ts | 2 ++ react-icons/md/alarm-off.d.ts | 2 ++ react-icons/md/alarm-on.d.ts | 2 ++ react-icons/md/alarm.d.ts | 2 ++ react-icons/md/album.d.ts | 2 ++ react-icons/md/all-inclusive.d.ts | 2 ++ react-icons/md/all-out.d.ts | 2 ++ react-icons/md/android.d.ts | 2 ++ react-icons/md/announcement.d.ts | 2 ++ react-icons/md/apps.d.ts | 2 ++ react-icons/md/archive.d.ts | 2 ++ react-icons/md/arrow-back.d.ts | 2 ++ react-icons/md/arrow-downward.d.ts | 2 ++ react-icons/md/arrow-drop-down-circle.d.ts | 2 ++ react-icons/md/arrow-drop-down.d.ts | 2 ++ react-icons/md/arrow-drop-up.d.ts | 2 ++ react-icons/md/arrow-forward.d.ts | 2 ++ react-icons/md/arrow-upward.d.ts | 2 ++ react-icons/md/art-track.d.ts | 2 ++ react-icons/md/aspect-ratio.d.ts | 2 ++ react-icons/md/assessment.d.ts | 2 ++ react-icons/md/assignment-ind.d.ts | 2 ++ react-icons/md/assignment-late.d.ts | 2 ++ react-icons/md/assignment-return.d.ts | 2 ++ react-icons/md/assignment-returned.d.ts | 2 ++ react-icons/md/assignment-turned-in.d.ts | 2 ++ react-icons/md/assignment.d.ts | 2 ++ react-icons/md/assistant-photo.d.ts | 2 ++ react-icons/md/assistant.d.ts | 2 ++ react-icons/md/attach-file.d.ts | 2 ++ react-icons/md/attach-money.d.ts | 2 ++ react-icons/md/attachment.d.ts | 2 ++ react-icons/md/audiotrack.d.ts | 2 ++ react-icons/md/autorenew.d.ts | 2 ++ react-icons/md/av-timer.d.ts | 2 ++ react-icons/md/backspace.d.ts | 2 ++ react-icons/md/backup.d.ts | 2 ++ react-icons/md/battery-alert.d.ts | 2 ++ react-icons/md/battery-charging-full.d.ts | 2 ++ react-icons/md/battery-full.d.ts | 2 ++ react-icons/md/battery-std.d.ts | 2 ++ react-icons/md/battery-unknown.d.ts | 2 ++ react-icons/md/beach-access.d.ts | 2 ++ react-icons/md/beenhere.d.ts | 2 ++ react-icons/md/block.d.ts | 2 ++ react-icons/md/bluetooth-audio.d.ts | 2 ++ react-icons/md/bluetooth-connected.d.ts | 2 ++ react-icons/md/bluetooth-disabled.d.ts | 2 ++ react-icons/md/bluetooth-searching.d.ts | 2 ++ react-icons/md/bluetooth.d.ts | 2 ++ react-icons/md/blur-circular.d.ts | 2 ++ react-icons/md/blur-linear.d.ts | 2 ++ react-icons/md/blur-off.d.ts | 2 ++ react-icons/md/blur-on.d.ts | 2 ++ react-icons/md/book.d.ts | 2 ++ react-icons/md/bookmark-outline.d.ts | 2 ++ react-icons/md/bookmark.d.ts | 2 ++ react-icons/md/border-all.d.ts | 2 ++ react-icons/md/border-bottom.d.ts | 2 ++ react-icons/md/border-clear.d.ts | 2 ++ react-icons/md/border-color.d.ts | 2 ++ react-icons/md/border-horizontal.d.ts | 2 ++ react-icons/md/border-inner.d.ts | 2 ++ react-icons/md/border-left.d.ts | 2 ++ react-icons/md/border-outer.d.ts | 2 ++ react-icons/md/border-right.d.ts | 2 ++ react-icons/md/border-style.d.ts | 2 ++ react-icons/md/border-top.d.ts | 2 ++ react-icons/md/border-vertical.d.ts | 2 ++ react-icons/md/branding-watermark.d.ts | 2 ++ react-icons/md/brightness-1.d.ts | 2 ++ react-icons/md/brightness-2.d.ts | 2 ++ react-icons/md/brightness-3.d.ts | 2 ++ react-icons/md/brightness-4.d.ts | 2 ++ react-icons/md/brightness-5.d.ts | 2 ++ react-icons/md/brightness-6.d.ts | 2 ++ react-icons/md/brightness-7.d.ts | 2 ++ react-icons/md/brightness-auto.d.ts | 2 ++ react-icons/md/brightness-high.d.ts | 2 ++ react-icons/md/brightness-low.d.ts | 2 ++ react-icons/md/brightness-medium.d.ts | 2 ++ react-icons/md/broken-image.d.ts | 2 ++ react-icons/md/brush.d.ts | 2 ++ react-icons/md/bubble-chart.d.ts | 2 ++ react-icons/md/bug-report.d.ts | 2 ++ react-icons/md/build.d.ts | 2 ++ react-icons/md/burst-mode.d.ts | 2 ++ react-icons/md/business-center.d.ts | 2 ++ react-icons/md/business.d.ts | 2 ++ react-icons/md/cached.d.ts | 2 ++ react-icons/md/cake.d.ts | 2 ++ react-icons/md/call-end.d.ts | 2 ++ react-icons/md/call-made.d.ts | 2 ++ react-icons/md/call-merge.d.ts | 2 ++ react-icons/md/call-missed-outgoing.d.ts | 2 ++ react-icons/md/call-missed.d.ts | 2 ++ react-icons/md/call-received.d.ts | 2 ++ react-icons/md/call-split.d.ts | 2 ++ react-icons/md/call-to-action.d.ts | 2 ++ react-icons/md/call.d.ts | 2 ++ react-icons/md/camera-alt.d.ts | 2 ++ react-icons/md/camera-enhance.d.ts | 2 ++ react-icons/md/camera-front.d.ts | 2 ++ react-icons/md/camera-rear.d.ts | 2 ++ react-icons/md/camera-roll.d.ts | 2 ++ react-icons/md/camera.d.ts | 2 ++ react-icons/md/cancel.d.ts | 2 ++ react-icons/md/card-giftcard.d.ts | 2 ++ react-icons/md/card-membership.d.ts | 2 ++ react-icons/md/card-travel.d.ts | 2 ++ react-icons/md/casino.d.ts | 2 ++ react-icons/md/cast-connected.d.ts | 2 ++ react-icons/md/cast.d.ts | 2 ++ react-icons/md/center-focus-strong.d.ts | 2 ++ react-icons/md/center-focus-weak.d.ts | 2 ++ react-icons/md/change-history.d.ts | 2 ++ react-icons/md/chat-bubble-outline.d.ts | 2 ++ react-icons/md/chat-bubble.d.ts | 2 ++ react-icons/md/chat.d.ts | 2 ++ react-icons/md/check-box-outline-blank.d.ts | 2 ++ react-icons/md/check-box.d.ts | 2 ++ react-icons/md/check-circle.d.ts | 2 ++ react-icons/md/check.d.ts | 2 ++ react-icons/md/chevron-left.d.ts | 2 ++ react-icons/md/chevron-right.d.ts | 2 ++ react-icons/md/child-care.d.ts | 2 ++ react-icons/md/child-friendly.d.ts | 2 ++ react-icons/md/chrome-reader-mode.d.ts | 2 ++ react-icons/md/class.d.ts | 2 ++ react-icons/md/clear-all.d.ts | 2 ++ react-icons/md/clear.d.ts | 2 ++ react-icons/md/close.d.ts | 2 ++ react-icons/md/closed-caption.d.ts | 2 ++ react-icons/md/cloud-circle.d.ts | 2 ++ react-icons/md/cloud-done.d.ts | 2 ++ react-icons/md/cloud-download.d.ts | 2 ++ react-icons/md/cloud-off.d.ts | 2 ++ react-icons/md/cloud-queue.d.ts | 2 ++ react-icons/md/cloud-upload.d.ts | 2 ++ react-icons/md/cloud.d.ts | 2 ++ react-icons/md/code.d.ts | 2 ++ react-icons/md/collections-bookmark.d.ts | 2 ++ react-icons/md/collections.d.ts | 2 ++ react-icons/md/color-lens.d.ts | 2 ++ react-icons/md/colorize.d.ts | 2 ++ react-icons/md/comment.d.ts | 2 ++ react-icons/md/compare-arrows.d.ts | 2 ++ react-icons/md/compare.d.ts | 2 ++ react-icons/md/computer.d.ts | 2 ++ react-icons/md/confirmation-number.d.ts | 2 ++ react-icons/md/contact-mail.d.ts | 2 ++ react-icons/md/contact-phone.d.ts | 2 ++ react-icons/md/contacts.d.ts | 2 ++ react-icons/md/content-copy.d.ts | 2 ++ react-icons/md/content-cut.d.ts | 2 ++ react-icons/md/content-paste.d.ts | 2 ++ react-icons/md/control-point-duplicate.d.ts | 2 ++ react-icons/md/control-point.d.ts | 2 ++ react-icons/md/copyright.d.ts | 2 ++ react-icons/md/create-new-folder.d.ts | 2 ++ react-icons/md/create.d.ts | 2 ++ react-icons/md/credit-card.d.ts | 2 ++ react-icons/md/crop-16-9.d.ts | 2 ++ react-icons/md/crop-3-2.d.ts | 2 ++ react-icons/md/crop-5-4.d.ts | 2 ++ react-icons/md/crop-7-5.d.ts | 2 ++ react-icons/md/crop-din.d.ts | 2 ++ react-icons/md/crop-free.d.ts | 2 ++ react-icons/md/crop-landscape.d.ts | 2 ++ react-icons/md/crop-original.d.ts | 2 ++ react-icons/md/crop-portrait.d.ts | 2 ++ react-icons/md/crop-rotate.d.ts | 2 ++ react-icons/md/crop-square.d.ts | 2 ++ react-icons/md/crop.d.ts | 2 ++ react-icons/md/dashboard.d.ts | 2 ++ react-icons/md/data-usage.d.ts | 2 ++ react-icons/md/date-range.d.ts | 2 ++ react-icons/md/dehaze.d.ts | 2 ++ react-icons/md/delete-forever.d.ts | 2 ++ react-icons/md/delete-sweep.d.ts | 2 ++ react-icons/md/delete.d.ts | 2 ++ react-icons/md/description.d.ts | 2 ++ react-icons/md/desktop-mac.d.ts | 2 ++ react-icons/md/desktop-windows.d.ts | 2 ++ react-icons/md/details.d.ts | 2 ++ react-icons/md/developer-board.d.ts | 2 ++ react-icons/md/developer-mode.d.ts | 2 ++ react-icons/md/device-hub.d.ts | 2 ++ react-icons/md/devices-other.d.ts | 2 ++ react-icons/md/devices.d.ts | 2 ++ react-icons/md/dialer-sip.d.ts | 2 ++ react-icons/md/dialpad.d.ts | 2 ++ react-icons/md/directions-bike.d.ts | 2 ++ react-icons/md/directions-boat.d.ts | 2 ++ react-icons/md/directions-bus.d.ts | 2 ++ react-icons/md/directions-car.d.ts | 2 ++ react-icons/md/directions-ferry.d.ts | 2 ++ react-icons/md/directions-railway.d.ts | 2 ++ react-icons/md/directions-run.d.ts | 2 ++ react-icons/md/directions-subway.d.ts | 2 ++ react-icons/md/directions-transit.d.ts | 2 ++ react-icons/md/directions-walk.d.ts | 2 ++ react-icons/md/directions.d.ts | 2 ++ react-icons/md/disc-full.d.ts | 2 ++ react-icons/md/dns.d.ts | 2 ++ react-icons/md/do-not-disturb-alt.d.ts | 2 ++ react-icons/md/do-not-disturb-off.d.ts | 2 ++ react-icons/md/do-not-disturb.d.ts | 2 ++ react-icons/md/dock.d.ts | 2 ++ react-icons/md/domain.d.ts | 2 ++ react-icons/md/done-all.d.ts | 2 ++ react-icons/md/done.d.ts | 2 ++ react-icons/md/donut-large.d.ts | 2 ++ react-icons/md/donut-small.d.ts | 2 ++ react-icons/md/drafts.d.ts | 2 ++ react-icons/md/drag-handle.d.ts | 2 ++ react-icons/md/drive-eta.d.ts | 2 ++ react-icons/md/dvr.d.ts | 2 ++ react-icons/md/edit-location.d.ts | 2 ++ react-icons/md/edit.d.ts | 2 ++ react-icons/md/eject.d.ts | 2 ++ react-icons/md/email.d.ts | 2 ++ react-icons/md/enhanced-encryption.d.ts | 2 ++ react-icons/md/equalizer.d.ts | 2 ++ react-icons/md/error-outline.d.ts | 2 ++ react-icons/md/error.d.ts | 2 ++ react-icons/md/euro-symbol.d.ts | 2 ++ react-icons/md/ev-station.d.ts | 2 ++ react-icons/md/event-available.d.ts | 2 ++ react-icons/md/event-busy.d.ts | 2 ++ react-icons/md/event-note.d.ts | 2 ++ react-icons/md/event-seat.d.ts | 2 ++ react-icons/md/event.d.ts | 2 ++ react-icons/md/exit-to-app.d.ts | 2 ++ react-icons/md/expand-less.d.ts | 2 ++ react-icons/md/expand-more.d.ts | 2 ++ react-icons/md/explicit.d.ts | 2 ++ react-icons/md/explore.d.ts | 2 ++ react-icons/md/exposure-minus-1.d.ts | 2 ++ react-icons/md/exposure-minus-2.d.ts | 2 ++ react-icons/md/exposure-neg-1.d.ts | 2 ++ react-icons/md/exposure-neg-2.d.ts | 2 ++ react-icons/md/exposure-plus-1.d.ts | 2 ++ react-icons/md/exposure-plus-2.d.ts | 2 ++ react-icons/md/exposure-zero.d.ts | 2 ++ react-icons/md/exposure.d.ts | 2 ++ react-icons/md/extension.d.ts | 2 ++ react-icons/md/face.d.ts | 2 ++ react-icons/md/fast-forward.d.ts | 2 ++ react-icons/md/fast-rewind.d.ts | 2 ++ react-icons/md/favorite-border.d.ts | 2 ++ react-icons/md/favorite-outline.d.ts | 2 ++ react-icons/md/favorite.d.ts | 2 ++ react-icons/md/featured-play-list.d.ts | 2 ++ react-icons/md/featured-video.d.ts | 2 ++ react-icons/md/feedback.d.ts | 2 ++ react-icons/md/fiber-dvr.d.ts | 2 ++ react-icons/md/fiber-manual-record.d.ts | 2 ++ react-icons/md/fiber-new.d.ts | 2 ++ react-icons/md/fiber-pin.d.ts | 2 ++ react-icons/md/fiber-smart-record.d.ts | 2 ++ react-icons/md/file-download.d.ts | 2 ++ react-icons/md/file-upload.d.ts | 2 ++ react-icons/md/filter-1.d.ts | 2 ++ react-icons/md/filter-2.d.ts | 2 ++ react-icons/md/filter-3.d.ts | 2 ++ react-icons/md/filter-4.d.ts | 2 ++ react-icons/md/filter-5.d.ts | 2 ++ react-icons/md/filter-6.d.ts | 2 ++ react-icons/md/filter-7.d.ts | 2 ++ react-icons/md/filter-8.d.ts | 2 ++ react-icons/md/filter-9-plus.d.ts | 2 ++ react-icons/md/filter-9.d.ts | 2 ++ react-icons/md/filter-b-and-w.d.ts | 2 ++ react-icons/md/filter-center-focus.d.ts | 2 ++ react-icons/md/filter-drama.d.ts | 2 ++ react-icons/md/filter-frames.d.ts | 2 ++ react-icons/md/filter-hdr.d.ts | 2 ++ react-icons/md/filter-list.d.ts | 2 ++ react-icons/md/filter-none.d.ts | 2 ++ react-icons/md/filter-tilt-shift.d.ts | 2 ++ react-icons/md/filter-vintage.d.ts | 2 ++ react-icons/md/filter.d.ts | 2 ++ react-icons/md/find-in-page.d.ts | 2 ++ react-icons/md/find-replace.d.ts | 2 ++ react-icons/md/fingerprint.d.ts | 2 ++ react-icons/md/first-page.d.ts | 2 ++ react-icons/md/fitness-center.d.ts | 2 ++ react-icons/md/flag.d.ts | 2 ++ react-icons/md/flare.d.ts | 2 ++ react-icons/md/flash-auto.d.ts | 2 ++ react-icons/md/flash-off.d.ts | 2 ++ react-icons/md/flash-on.d.ts | 2 ++ react-icons/md/flight-land.d.ts | 2 ++ react-icons/md/flight-takeoff.d.ts | 2 ++ react-icons/md/flight.d.ts | 2 ++ react-icons/md/flip-to-back.d.ts | 2 ++ react-icons/md/flip-to-front.d.ts | 2 ++ react-icons/md/flip.d.ts | 2 ++ react-icons/md/folder-open.d.ts | 2 ++ react-icons/md/folder-shared.d.ts | 2 ++ react-icons/md/folder-special.d.ts | 2 ++ react-icons/md/folder.d.ts | 2 ++ react-icons/md/font-download.d.ts | 2 ++ react-icons/md/format-align-center.d.ts | 2 ++ react-icons/md/format-align-justify.d.ts | 2 ++ react-icons/md/format-align-left.d.ts | 2 ++ react-icons/md/format-align-right.d.ts | 2 ++ react-icons/md/format-bold.d.ts | 2 ++ react-icons/md/format-clear.d.ts | 2 ++ react-icons/md/format-color-fill.d.ts | 2 ++ react-icons/md/format-color-reset.d.ts | 2 ++ react-icons/md/format-color-text.d.ts | 2 ++ react-icons/md/format-indent-decrease.d.ts | 2 ++ react-icons/md/format-indent-increase.d.ts | 2 ++ react-icons/md/format-italic.d.ts | 2 ++ react-icons/md/format-line-spacing.d.ts | 2 ++ react-icons/md/format-list-bulleted.d.ts | 2 ++ react-icons/md/format-list-numbered.d.ts | 2 ++ react-icons/md/format-paint.d.ts | 2 ++ react-icons/md/format-quote.d.ts | 2 ++ react-icons/md/format-shapes.d.ts | 2 ++ react-icons/md/format-size.d.ts | 2 ++ react-icons/md/format-strikethrough.d.ts | 2 ++ react-icons/md/format-textdirection-l-to-r.d.ts | 2 ++ react-icons/md/format-textdirection-r-to-l.d.ts | 2 ++ react-icons/md/format-underlined.d.ts | 2 ++ react-icons/md/forum.d.ts | 2 ++ react-icons/md/forward-10.d.ts | 2 ++ react-icons/md/forward-30.d.ts | 2 ++ react-icons/md/forward-5.d.ts | 2 ++ react-icons/md/forward.d.ts | 2 ++ react-icons/md/free-breakfast.d.ts | 2 ++ react-icons/md/fullscreen-exit.d.ts | 2 ++ react-icons/md/fullscreen.d.ts | 2 ++ react-icons/md/functions.d.ts | 2 ++ react-icons/md/g-translate.d.ts | 2 ++ react-icons/md/gamepad.d.ts | 2 ++ react-icons/md/games.d.ts | 2 ++ react-icons/md/gavel.d.ts | 2 ++ react-icons/md/gesture.d.ts | 2 ++ react-icons/md/get-app.d.ts | 2 ++ react-icons/md/gif.d.ts | 2 ++ react-icons/md/goat.d.ts | 2 ++ react-icons/md/golf-course.d.ts | 2 ++ react-icons/md/gps-fixed.d.ts | 2 ++ react-icons/md/gps-not-fixed.d.ts | 2 ++ react-icons/md/gps-off.d.ts | 2 ++ react-icons/md/grade.d.ts | 2 ++ react-icons/md/gradient.d.ts | 2 ++ react-icons/md/grain.d.ts | 2 ++ react-icons/md/graphic-eq.d.ts | 2 ++ react-icons/md/grid-off.d.ts | 2 ++ react-icons/md/grid-on.d.ts | 2 ++ react-icons/md/group-add.d.ts | 2 ++ react-icons/md/group-work.d.ts | 2 ++ react-icons/md/group.d.ts | 2 ++ react-icons/md/hd.d.ts | 2 ++ react-icons/md/hdr-off.d.ts | 2 ++ react-icons/md/hdr-on.d.ts | 2 ++ react-icons/md/hdr-strong.d.ts | 2 ++ react-icons/md/hdr-weak.d.ts | 2 ++ react-icons/md/headset-mic.d.ts | 2 ++ react-icons/md/headset.d.ts | 2 ++ react-icons/md/healing.d.ts | 2 ++ react-icons/md/hearing.d.ts | 2 ++ react-icons/md/help-outline.d.ts | 2 ++ react-icons/md/help.d.ts | 2 ++ react-icons/md/high-quality.d.ts | 2 ++ react-icons/md/highlight-off.d.ts | 2 ++ react-icons/md/highlight-remove.d.ts | 2 ++ react-icons/md/highlight.d.ts | 2 ++ react-icons/md/history.d.ts | 2 ++ react-icons/md/home.d.ts | 2 ++ react-icons/md/hot-tub.d.ts | 2 ++ react-icons/md/hotel.d.ts | 2 ++ react-icons/md/hourglass-empty.d.ts | 2 ++ react-icons/md/hourglass-full.d.ts | 2 ++ react-icons/md/http.d.ts | 2 ++ react-icons/md/https.d.ts | 2 ++ react-icons/md/image-aspect-ratio.d.ts | 2 ++ react-icons/md/image.d.ts | 2 ++ react-icons/md/import-contacts.d.ts | 2 ++ react-icons/md/import-export.d.ts | 2 ++ react-icons/md/important-devices.d.ts | 2 ++ react-icons/md/inbox.d.ts | 2 ++ react-icons/md/indeterminate-check-box.d.ts | 2 ++ react-icons/md/index.d.ts | 1 + react-icons/md/info-outline.d.ts | 2 ++ react-icons/md/info.d.ts | 2 ++ react-icons/md/input.d.ts | 2 ++ react-icons/md/insert-chart.d.ts | 2 ++ react-icons/md/insert-comment.d.ts | 2 ++ react-icons/md/insert-drive-file.d.ts | 2 ++ react-icons/md/insert-emoticon.d.ts | 2 ++ react-icons/md/insert-invitation.d.ts | 2 ++ react-icons/md/insert-link.d.ts | 2 ++ react-icons/md/insert-photo.d.ts | 2 ++ react-icons/md/invert-colors-off.d.ts | 2 ++ react-icons/md/invert-colors-on.d.ts | 2 ++ react-icons/md/invert-colors.d.ts | 2 ++ react-icons/md/iso.d.ts | 2 ++ react-icons/md/keyboard-arrow-down.d.ts | 2 ++ react-icons/md/keyboard-arrow-left.d.ts | 2 ++ react-icons/md/keyboard-arrow-right.d.ts | 2 ++ react-icons/md/keyboard-arrow-up.d.ts | 2 ++ react-icons/md/keyboard-backspace.d.ts | 2 ++ react-icons/md/keyboard-capslock.d.ts | 2 ++ react-icons/md/keyboard-control.d.ts | 2 ++ react-icons/md/keyboard-hide.d.ts | 2 ++ react-icons/md/keyboard-return.d.ts | 2 ++ react-icons/md/keyboard-tab.d.ts | 2 ++ react-icons/md/keyboard-voice.d.ts | 2 ++ react-icons/md/keyboard.d.ts | 2 ++ react-icons/md/kitchen.d.ts | 2 ++ react-icons/md/label-outline.d.ts | 2 ++ react-icons/md/label.d.ts | 2 ++ react-icons/md/landscape.d.ts | 2 ++ react-icons/md/language.d.ts | 2 ++ react-icons/md/laptop-chromebook.d.ts | 2 ++ react-icons/md/laptop-mac.d.ts | 2 ++ react-icons/md/laptop-windows.d.ts | 2 ++ react-icons/md/laptop.d.ts | 2 ++ react-icons/md/last-page.d.ts | 2 ++ react-icons/md/launch.d.ts | 2 ++ react-icons/md/layers-clear.d.ts | 2 ++ react-icons/md/layers.d.ts | 2 ++ react-icons/md/leak-add.d.ts | 2 ++ react-icons/md/leak-remove.d.ts | 2 ++ react-icons/md/lens.d.ts | 2 ++ react-icons/md/library-add.d.ts | 2 ++ react-icons/md/library-books.d.ts | 2 ++ react-icons/md/library-music.d.ts | 2 ++ react-icons/md/lightbulb-outline.d.ts | 2 ++ react-icons/md/line-style.d.ts | 2 ++ react-icons/md/line-weight.d.ts | 2 ++ react-icons/md/linear-scale.d.ts | 2 ++ react-icons/md/link.d.ts | 2 ++ react-icons/md/linked-camera.d.ts | 2 ++ react-icons/md/list.d.ts | 2 ++ react-icons/md/live-help.d.ts | 2 ++ react-icons/md/live-tv.d.ts | 2 ++ react-icons/md/local-airport.d.ts | 2 ++ react-icons/md/local-atm.d.ts | 2 ++ react-icons/md/local-attraction.d.ts | 2 ++ react-icons/md/local-bar.d.ts | 2 ++ react-icons/md/local-cafe.d.ts | 2 ++ react-icons/md/local-car-wash.d.ts | 2 ++ react-icons/md/local-convenience-store.d.ts | 2 ++ react-icons/md/local-drink.d.ts | 2 ++ react-icons/md/local-florist.d.ts | 2 ++ react-icons/md/local-gas-station.d.ts | 2 ++ react-icons/md/local-grocery-store.d.ts | 2 ++ react-icons/md/local-hospital.d.ts | 2 ++ react-icons/md/local-hotel.d.ts | 2 ++ react-icons/md/local-laundry-service.d.ts | 2 ++ react-icons/md/local-library.d.ts | 2 ++ react-icons/md/local-mall.d.ts | 2 ++ react-icons/md/local-movies.d.ts | 2 ++ react-icons/md/local-offer.d.ts | 2 ++ react-icons/md/local-parking.d.ts | 2 ++ react-icons/md/local-pharmacy.d.ts | 2 ++ react-icons/md/local-phone.d.ts | 2 ++ react-icons/md/local-pizza.d.ts | 2 ++ react-icons/md/local-play.d.ts | 2 ++ react-icons/md/local-post-office.d.ts | 2 ++ react-icons/md/local-print-shop.d.ts | 2 ++ react-icons/md/local-restaurant.d.ts | 2 ++ react-icons/md/local-see.d.ts | 2 ++ react-icons/md/local-shipping.d.ts | 2 ++ react-icons/md/local-taxi.d.ts | 2 ++ react-icons/md/location-city.d.ts | 2 ++ react-icons/md/location-disabled.d.ts | 2 ++ react-icons/md/location-history.d.ts | 2 ++ react-icons/md/location-off.d.ts | 2 ++ react-icons/md/location-on.d.ts | 2 ++ react-icons/md/location-searching.d.ts | 2 ++ react-icons/md/lock-open.d.ts | 2 ++ react-icons/md/lock-outline.d.ts | 2 ++ react-icons/md/lock.d.ts | 2 ++ react-icons/md/looks-3.d.ts | 2 ++ react-icons/md/looks-4.d.ts | 2 ++ react-icons/md/looks-5.d.ts | 2 ++ react-icons/md/looks-6.d.ts | 2 ++ react-icons/md/looks-one.d.ts | 2 ++ react-icons/md/looks-two.d.ts | 2 ++ react-icons/md/looks.d.ts | 2 ++ react-icons/md/loop.d.ts | 2 ++ react-icons/md/loupe.d.ts | 2 ++ react-icons/md/low-priority.d.ts | 2 ++ react-icons/md/loyalty.d.ts | 2 ++ react-icons/md/mail-outline.d.ts | 2 ++ react-icons/md/mail.d.ts | 2 ++ react-icons/md/map.d.ts | 2 ++ react-icons/md/markunread-mailbox.d.ts | 2 ++ react-icons/md/markunread.d.ts | 2 ++ react-icons/md/memory.d.ts | 2 ++ react-icons/md/menu.d.ts | 2 ++ react-icons/md/merge-type.d.ts | 2 ++ react-icons/md/message.d.ts | 2 ++ react-icons/md/mic-none.d.ts | 2 ++ react-icons/md/mic-off.d.ts | 2 ++ react-icons/md/mic.d.ts | 2 ++ react-icons/md/mms.d.ts | 2 ++ react-icons/md/mode-comment.d.ts | 2 ++ react-icons/md/mode-edit.d.ts | 2 ++ react-icons/md/monetization-on.d.ts | 2 ++ react-icons/md/money-off.d.ts | 2 ++ react-icons/md/monochrome-photos.d.ts | 2 ++ react-icons/md/mood-bad.d.ts | 2 ++ react-icons/md/mood.d.ts | 2 ++ react-icons/md/more-horiz.d.ts | 2 ++ react-icons/md/more-vert.d.ts | 2 ++ react-icons/md/more.d.ts | 2 ++ react-icons/md/motorcycle.d.ts | 2 ++ react-icons/md/mouse.d.ts | 2 ++ react-icons/md/move-to-inbox.d.ts | 2 ++ react-icons/md/movie-creation.d.ts | 2 ++ react-icons/md/movie-filter.d.ts | 2 ++ react-icons/md/movie.d.ts | 2 ++ react-icons/md/multiline-chart.d.ts | 2 ++ react-icons/md/music-note.d.ts | 2 ++ react-icons/md/music-video.d.ts | 2 ++ react-icons/md/my-location.d.ts | 2 ++ react-icons/md/nature-people.d.ts | 2 ++ react-icons/md/nature.d.ts | 2 ++ react-icons/md/navigate-before.d.ts | 2 ++ react-icons/md/navigate-next.d.ts | 2 ++ react-icons/md/navigation.d.ts | 2 ++ react-icons/md/near-me.d.ts | 2 ++ react-icons/md/network-cell.d.ts | 2 ++ react-icons/md/network-check.d.ts | 2 ++ react-icons/md/network-locked.d.ts | 2 ++ react-icons/md/network-wifi.d.ts | 2 ++ react-icons/md/new-releases.d.ts | 2 ++ react-icons/md/next-week.d.ts | 2 ++ react-icons/md/nfc.d.ts | 2 ++ react-icons/md/no-encryption.d.ts | 2 ++ react-icons/md/no-sim.d.ts | 2 ++ react-icons/md/not-interested.d.ts | 2 ++ react-icons/md/note-add.d.ts | 2 ++ react-icons/md/note.d.ts | 2 ++ react-icons/md/notifications-active.d.ts | 2 ++ react-icons/md/notifications-none.d.ts | 2 ++ react-icons/md/notifications-off.d.ts | 2 ++ react-icons/md/notifications-paused.d.ts | 2 ++ react-icons/md/notifications.d.ts | 2 ++ react-icons/md/now-wallpaper.d.ts | 2 ++ react-icons/md/now-widgets.d.ts | 2 ++ react-icons/md/offline-pin.d.ts | 2 ++ react-icons/md/ondemand-video.d.ts | 2 ++ react-icons/md/opacity.d.ts | 2 ++ react-icons/md/open-in-browser.d.ts | 2 ++ react-icons/md/open-in-new.d.ts | 2 ++ react-icons/md/open-with.d.ts | 2 ++ react-icons/md/pages.d.ts | 2 ++ react-icons/md/pageview.d.ts | 2 ++ react-icons/md/palette.d.ts | 2 ++ react-icons/md/pan-tool.d.ts | 2 ++ react-icons/md/panorama-fish-eye.d.ts | 2 ++ react-icons/md/panorama-horizontal.d.ts | 2 ++ react-icons/md/panorama-vertical.d.ts | 2 ++ react-icons/md/panorama-wide-angle.d.ts | 2 ++ react-icons/md/panorama.d.ts | 2 ++ react-icons/md/party-mode.d.ts | 2 ++ react-icons/md/pause-circle-filled.d.ts | 2 ++ react-icons/md/pause-circle-outline.d.ts | 2 ++ react-icons/md/pause.d.ts | 2 ++ react-icons/md/payment.d.ts | 2 ++ react-icons/md/people-outline.d.ts | 2 ++ react-icons/md/people.d.ts | 2 ++ react-icons/md/perm-camera-mic.d.ts | 2 ++ react-icons/md/perm-contact-calendar.d.ts | 2 ++ react-icons/md/perm-data-setting.d.ts | 2 ++ react-icons/md/perm-device-information.d.ts | 2 ++ react-icons/md/perm-identity.d.ts | 2 ++ react-icons/md/perm-media.d.ts | 2 ++ react-icons/md/perm-phone-msg.d.ts | 2 ++ react-icons/md/perm-scan-wifi.d.ts | 2 ++ react-icons/md/person-add.d.ts | 2 ++ react-icons/md/person-outline.d.ts | 2 ++ react-icons/md/person-pin-circle.d.ts | 2 ++ react-icons/md/person-pin.d.ts | 2 ++ react-icons/md/person.d.ts | 2 ++ react-icons/md/personal-video.d.ts | 2 ++ react-icons/md/pets.d.ts | 2 ++ react-icons/md/phone-android.d.ts | 2 ++ react-icons/md/phone-bluetooth-speaker.d.ts | 2 ++ react-icons/md/phone-forwarded.d.ts | 2 ++ react-icons/md/phone-in-talk.d.ts | 2 ++ react-icons/md/phone-iphone.d.ts | 2 ++ react-icons/md/phone-locked.d.ts | 2 ++ react-icons/md/phone-missed.d.ts | 2 ++ react-icons/md/phone-paused.d.ts | 2 ++ react-icons/md/phone.d.ts | 2 ++ react-icons/md/phonelink-erase.d.ts | 2 ++ react-icons/md/phonelink-lock.d.ts | 2 ++ react-icons/md/phonelink-off.d.ts | 2 ++ react-icons/md/phonelink-ring.d.ts | 2 ++ react-icons/md/phonelink-setup.d.ts | 2 ++ react-icons/md/phonelink.d.ts | 2 ++ react-icons/md/photo-album.d.ts | 2 ++ react-icons/md/photo-camera.d.ts | 2 ++ react-icons/md/photo-filter.d.ts | 2 ++ react-icons/md/photo-library.d.ts | 2 ++ react-icons/md/photo-size-select-actual.d.ts | 2 ++ react-icons/md/photo-size-select-large.d.ts | 2 ++ react-icons/md/photo-size-select-small.d.ts | 2 ++ react-icons/md/photo.d.ts | 2 ++ react-icons/md/picture-as-pdf.d.ts | 2 ++ react-icons/md/picture-in-picture-alt.d.ts | 2 ++ react-icons/md/picture-in-picture.d.ts | 2 ++ react-icons/md/pie-chart-outlined.d.ts | 2 ++ react-icons/md/pie-chart.d.ts | 2 ++ react-icons/md/pin-drop.d.ts | 2 ++ react-icons/md/place.d.ts | 2 ++ react-icons/md/play-arrow.d.ts | 2 ++ react-icons/md/play-circle-filled.d.ts | 2 ++ react-icons/md/play-circle-outline.d.ts | 2 ++ react-icons/md/play-for-work.d.ts | 2 ++ react-icons/md/playlist-add-check.d.ts | 2 ++ react-icons/md/playlist-add.d.ts | 2 ++ react-icons/md/playlist-play.d.ts | 2 ++ react-icons/md/plus-one.d.ts | 2 ++ react-icons/md/poll.d.ts | 2 ++ react-icons/md/polymer.d.ts | 2 ++ react-icons/md/pool.d.ts | 2 ++ react-icons/md/portable-wifi-off.d.ts | 2 ++ react-icons/md/portrait.d.ts | 2 ++ react-icons/md/power-input.d.ts | 2 ++ react-icons/md/power-settings-new.d.ts | 2 ++ react-icons/md/power.d.ts | 2 ++ react-icons/md/pregnant-woman.d.ts | 2 ++ react-icons/md/present-to-all.d.ts | 2 ++ react-icons/md/print.d.ts | 2 ++ react-icons/md/priority-high.d.ts | 2 ++ react-icons/md/public.d.ts | 2 ++ react-icons/md/publish.d.ts | 2 ++ react-icons/md/query-builder.d.ts | 2 ++ react-icons/md/question-answer.d.ts | 2 ++ react-icons/md/queue-music.d.ts | 2 ++ react-icons/md/queue-play-next.d.ts | 2 ++ react-icons/md/queue.d.ts | 2 ++ react-icons/md/radio-button-checked.d.ts | 2 ++ react-icons/md/radio-button-unchecked.d.ts | 2 ++ react-icons/md/radio.d.ts | 2 ++ react-icons/md/rate-review.d.ts | 2 ++ react-icons/md/receipt.d.ts | 2 ++ react-icons/md/recent-actors.d.ts | 2 ++ react-icons/md/record-voice-over.d.ts | 2 ++ react-icons/md/redeem.d.ts | 2 ++ react-icons/md/redo.d.ts | 2 ++ react-icons/md/refresh.d.ts | 2 ++ react-icons/md/remove-circle-outline.d.ts | 2 ++ react-icons/md/remove-circle.d.ts | 2 ++ react-icons/md/remove-from-queue.d.ts | 2 ++ react-icons/md/remove-red-eye.d.ts | 2 ++ react-icons/md/remove-shopping-cart.d.ts | 2 ++ react-icons/md/remove.d.ts | 2 ++ react-icons/md/reorder.d.ts | 2 ++ react-icons/md/repeat-one.d.ts | 2 ++ react-icons/md/repeat.d.ts | 2 ++ react-icons/md/replay-10.d.ts | 2 ++ react-icons/md/replay-30.d.ts | 2 ++ react-icons/md/replay-5.d.ts | 2 ++ react-icons/md/replay.d.ts | 2 ++ react-icons/md/reply-all.d.ts | 2 ++ react-icons/md/reply.d.ts | 2 ++ react-icons/md/report-problem.d.ts | 2 ++ react-icons/md/report.d.ts | 2 ++ react-icons/md/restaurant-menu.d.ts | 2 ++ react-icons/md/restaurant.d.ts | 2 ++ react-icons/md/restore-page.d.ts | 2 ++ react-icons/md/restore.d.ts | 2 ++ react-icons/md/ring-volume.d.ts | 2 ++ react-icons/md/room-service.d.ts | 2 ++ react-icons/md/room.d.ts | 2 ++ react-icons/md/rotate-90-degrees-ccw.d.ts | 2 ++ react-icons/md/rotate-left.d.ts | 2 ++ react-icons/md/rotate-right.d.ts | 2 ++ react-icons/md/rounded-corner.d.ts | 2 ++ react-icons/md/router.d.ts | 2 ++ react-icons/md/rowing.d.ts | 2 ++ react-icons/md/rss-feed.d.ts | 2 ++ react-icons/md/rv-hookup.d.ts | 2 ++ react-icons/md/satellite.d.ts | 2 ++ react-icons/md/save.d.ts | 2 ++ react-icons/md/scanner.d.ts | 2 ++ react-icons/md/schedule.d.ts | 2 ++ react-icons/md/school.d.ts | 2 ++ react-icons/md/screen-lock-landscape.d.ts | 2 ++ react-icons/md/screen-lock-portrait.d.ts | 2 ++ react-icons/md/screen-lock-rotation.d.ts | 2 ++ react-icons/md/screen-rotation.d.ts | 2 ++ react-icons/md/screen-share.d.ts | 2 ++ react-icons/md/sd-card.d.ts | 2 ++ react-icons/md/sd-storage.d.ts | 2 ++ react-icons/md/search.d.ts | 2 ++ react-icons/md/security.d.ts | 2 ++ react-icons/md/select-all.d.ts | 2 ++ react-icons/md/send.d.ts | 2 ++ react-icons/md/sentiment-dissatisfied.d.ts | 2 ++ react-icons/md/sentiment-neutral.d.ts | 2 ++ react-icons/md/sentiment-satisfied.d.ts | 2 ++ react-icons/md/sentiment-very-dissatisfied.d.ts | 2 ++ react-icons/md/sentiment-very-satisfied.d.ts | 2 ++ react-icons/md/settings-applications.d.ts | 2 ++ react-icons/md/settings-backup-restore.d.ts | 2 ++ react-icons/md/settings-bluetooth.d.ts | 2 ++ react-icons/md/settings-brightness.d.ts | 2 ++ react-icons/md/settings-cell.d.ts | 2 ++ react-icons/md/settings-ethernet.d.ts | 2 ++ react-icons/md/settings-input-antenna.d.ts | 2 ++ react-icons/md/settings-input-component.d.ts | 2 ++ react-icons/md/settings-input-composite.d.ts | 2 ++ react-icons/md/settings-input-hdmi.d.ts | 2 ++ react-icons/md/settings-input-svideo.d.ts | 2 ++ react-icons/md/settings-overscan.d.ts | 2 ++ react-icons/md/settings-phone.d.ts | 2 ++ react-icons/md/settings-power.d.ts | 2 ++ react-icons/md/settings-remote.d.ts | 2 ++ react-icons/md/settings-system-daydream.d.ts | 2 ++ react-icons/md/settings-voice.d.ts | 2 ++ react-icons/md/settings.d.ts | 2 ++ react-icons/md/share.d.ts | 2 ++ react-icons/md/shop-two.d.ts | 2 ++ react-icons/md/shop.d.ts | 2 ++ react-icons/md/shopping-basket.d.ts | 2 ++ react-icons/md/shopping-cart.d.ts | 2 ++ react-icons/md/short-text.d.ts | 2 ++ react-icons/md/show-chart.d.ts | 2 ++ react-icons/md/shuffle.d.ts | 2 ++ react-icons/md/signal-cellular-4-bar.d.ts | 2 ++ .../md/signal-cellular-connected-no-internet-4-bar.d.ts | 2 ++ react-icons/md/signal-cellular-no-sim.d.ts | 2 ++ react-icons/md/signal-cellular-null.d.ts | 2 ++ react-icons/md/signal-cellular-off.d.ts | 2 ++ react-icons/md/signal-wifi-4-bar-lock.d.ts | 2 ++ react-icons/md/signal-wifi-4-bar.d.ts | 2 ++ react-icons/md/signal-wifi-off.d.ts | 2 ++ react-icons/md/sim-card-alert.d.ts | 2 ++ react-icons/md/sim-card.d.ts | 2 ++ react-icons/md/skip-next.d.ts | 2 ++ react-icons/md/skip-previous.d.ts | 2 ++ react-icons/md/slideshow.d.ts | 2 ++ react-icons/md/slow-motion-video.d.ts | 2 ++ react-icons/md/smartphone.d.ts | 2 ++ react-icons/md/smoke-free.d.ts | 2 ++ react-icons/md/smoking-rooms.d.ts | 2 ++ react-icons/md/sms-failed.d.ts | 2 ++ react-icons/md/sms.d.ts | 2 ++ react-icons/md/snooze.d.ts | 2 ++ react-icons/md/sort-by-alpha.d.ts | 2 ++ react-icons/md/sort.d.ts | 2 ++ react-icons/md/spa.d.ts | 2 ++ react-icons/md/space-bar.d.ts | 2 ++ react-icons/md/speaker-group.d.ts | 2 ++ react-icons/md/speaker-notes-off.d.ts | 2 ++ react-icons/md/speaker-notes.d.ts | 2 ++ react-icons/md/speaker-phone.d.ts | 2 ++ react-icons/md/speaker.d.ts | 2 ++ react-icons/md/spellcheck.d.ts | 2 ++ react-icons/md/star-border.d.ts | 2 ++ react-icons/md/star-half.d.ts | 2 ++ react-icons/md/star-outline.d.ts | 2 ++ react-icons/md/star.d.ts | 2 ++ react-icons/md/stars.d.ts | 2 ++ react-icons/md/stay-current-landscape.d.ts | 2 ++ react-icons/md/stay-current-portrait.d.ts | 2 ++ react-icons/md/stay-primary-landscape.d.ts | 2 ++ react-icons/md/stay-primary-portrait.d.ts | 2 ++ react-icons/md/stop-screen-share.d.ts | 2 ++ react-icons/md/stop.d.ts | 2 ++ react-icons/md/storage.d.ts | 2 ++ react-icons/md/store-mall-directory.d.ts | 2 ++ react-icons/md/store.d.ts | 2 ++ react-icons/md/straighten.d.ts | 2 ++ react-icons/md/streetview.d.ts | 2 ++ react-icons/md/strikethrough-s.d.ts | 2 ++ react-icons/md/style.d.ts | 2 ++ react-icons/md/subdirectory-arrow-left.d.ts | 2 ++ react-icons/md/subdirectory-arrow-right.d.ts | 2 ++ react-icons/md/subject.d.ts | 2 ++ react-icons/md/subscriptions.d.ts | 2 ++ react-icons/md/subtitles.d.ts | 2 ++ react-icons/md/subway.d.ts | 2 ++ react-icons/md/supervisor-account.d.ts | 2 ++ react-icons/md/surround-sound.d.ts | 2 ++ react-icons/md/swap-calls.d.ts | 2 ++ react-icons/md/swap-horiz.d.ts | 2 ++ react-icons/md/swap-vert.d.ts | 2 ++ react-icons/md/swap-vertical-circle.d.ts | 2 ++ react-icons/md/switch-camera.d.ts | 2 ++ react-icons/md/switch-video.d.ts | 2 ++ react-icons/md/sync-disabled.d.ts | 2 ++ react-icons/md/sync-problem.d.ts | 2 ++ react-icons/md/sync.d.ts | 2 ++ react-icons/md/system-update-alt.d.ts | 2 ++ react-icons/md/system-update.d.ts | 2 ++ react-icons/md/tab-unselected.d.ts | 2 ++ react-icons/md/tab.d.ts | 2 ++ react-icons/md/tablet-android.d.ts | 2 ++ react-icons/md/tablet-mac.d.ts | 2 ++ react-icons/md/tablet.d.ts | 2 ++ react-icons/md/tag-faces.d.ts | 2 ++ react-icons/md/tap-and-play.d.ts | 2 ++ react-icons/md/terrain.d.ts | 2 ++ react-icons/md/text-fields.d.ts | 2 ++ react-icons/md/text-format.d.ts | 2 ++ react-icons/md/textsms.d.ts | 2 ++ react-icons/md/texture.d.ts | 2 ++ react-icons/md/theaters.d.ts | 2 ++ react-icons/md/thumb-down.d.ts | 2 ++ react-icons/md/thumb-up.d.ts | 2 ++ react-icons/md/thumbs-up-down.d.ts | 2 ++ react-icons/md/time-to-leave.d.ts | 2 ++ react-icons/md/timelapse.d.ts | 2 ++ react-icons/md/timeline.d.ts | 2 ++ react-icons/md/timer-10.d.ts | 2 ++ react-icons/md/timer-3.d.ts | 2 ++ react-icons/md/timer-off.d.ts | 2 ++ react-icons/md/timer.d.ts | 2 ++ react-icons/md/title.d.ts | 2 ++ react-icons/md/toc.d.ts | 2 ++ react-icons/md/today.d.ts | 2 ++ react-icons/md/toll.d.ts | 2 ++ react-icons/md/tonality.d.ts | 2 ++ react-icons/md/touch-app.d.ts | 2 ++ react-icons/md/toys.d.ts | 2 ++ react-icons/md/track-changes.d.ts | 2 ++ react-icons/md/traffic.d.ts | 2 ++ react-icons/md/train.d.ts | 2 ++ react-icons/md/tram.d.ts | 2 ++ react-icons/md/transfer-within-a-station.d.ts | 2 ++ react-icons/md/transform.d.ts | 2 ++ react-icons/md/translate.d.ts | 2 ++ react-icons/md/trending-down.d.ts | 2 ++ react-icons/md/trending-flat.d.ts | 2 ++ react-icons/md/trending-neutral.d.ts | 2 ++ react-icons/md/trending-up.d.ts | 2 ++ react-icons/md/tune.d.ts | 2 ++ react-icons/md/turned-in-not.d.ts | 2 ++ react-icons/md/turned-in.d.ts | 2 ++ react-icons/md/tv.d.ts | 2 ++ react-icons/md/unarchive.d.ts | 2 ++ react-icons/md/undo.d.ts | 2 ++ react-icons/md/unfold-less.d.ts | 2 ++ react-icons/md/unfold-more.d.ts | 2 ++ react-icons/md/update.d.ts | 2 ++ react-icons/md/usb.d.ts | 2 ++ react-icons/md/verified-user.d.ts | 2 ++ react-icons/md/vertical-align-bottom.d.ts | 2 ++ react-icons/md/vertical-align-center.d.ts | 2 ++ react-icons/md/vertical-align-top.d.ts | 2 ++ react-icons/md/vibration.d.ts | 2 ++ react-icons/md/video-call.d.ts | 2 ++ react-icons/md/video-collection.d.ts | 2 ++ react-icons/md/video-label.d.ts | 2 ++ react-icons/md/video-library.d.ts | 2 ++ react-icons/md/videocam-off.d.ts | 2 ++ react-icons/md/videocam.d.ts | 2 ++ react-icons/md/videogame-asset.d.ts | 2 ++ react-icons/md/view-agenda.d.ts | 2 ++ react-icons/md/view-array.d.ts | 2 ++ react-icons/md/view-carousel.d.ts | 2 ++ react-icons/md/view-column.d.ts | 2 ++ react-icons/md/view-comfortable.d.ts | 2 ++ react-icons/md/view-comfy.d.ts | 2 ++ react-icons/md/view-compact.d.ts | 2 ++ react-icons/md/view-day.d.ts | 2 ++ react-icons/md/view-headline.d.ts | 2 ++ react-icons/md/view-list.d.ts | 2 ++ react-icons/md/view-module.d.ts | 2 ++ react-icons/md/view-quilt.d.ts | 2 ++ react-icons/md/view-stream.d.ts | 2 ++ react-icons/md/view-week.d.ts | 2 ++ react-icons/md/vignette.d.ts | 2 ++ react-icons/md/visibility-off.d.ts | 2 ++ react-icons/md/visibility.d.ts | 2 ++ react-icons/md/voice-chat.d.ts | 2 ++ react-icons/md/voicemail.d.ts | 2 ++ react-icons/md/volume-down.d.ts | 2 ++ react-icons/md/volume-mute.d.ts | 2 ++ react-icons/md/volume-off.d.ts | 2 ++ react-icons/md/volume-up.d.ts | 2 ++ react-icons/md/vpn-key.d.ts | 2 ++ react-icons/md/vpn-lock.d.ts | 2 ++ react-icons/md/wallpaper.d.ts | 2 ++ react-icons/md/warning.d.ts | 2 ++ react-icons/md/watch-later.d.ts | 2 ++ react-icons/md/watch.d.ts | 2 ++ react-icons/md/wb-auto.d.ts | 2 ++ react-icons/md/wb-cloudy.d.ts | 2 ++ react-icons/md/wb-incandescent.d.ts | 2 ++ react-icons/md/wb-iridescent.d.ts | 2 ++ react-icons/md/wb-sunny.d.ts | 2 ++ react-icons/md/wc.d.ts | 2 ++ react-icons/md/web-asset.d.ts | 2 ++ react-icons/md/web.d.ts | 2 ++ react-icons/md/weekend.d.ts | 2 ++ react-icons/md/whatshot.d.ts | 2 ++ react-icons/md/widgets.d.ts | 2 ++ react-icons/md/wifi-lock.d.ts | 2 ++ react-icons/md/wifi-tethering.d.ts | 2 ++ react-icons/md/wifi.d.ts | 2 ++ react-icons/md/work.d.ts | 2 ++ react-icons/md/wrap-text.d.ts | 2 ++ react-icons/md/youtube-searched-for.d.ts | 2 ++ react-icons/md/zoom-in.d.ts | 2 ++ react-icons/md/zoom-out-map.d.ts | 2 ++ react-icons/md/zoom-out.d.ts | 2 ++ react-icons/ti/adjust-brightness.d.ts | 2 ++ react-icons/ti/adjust-contrast.d.ts | 2 ++ react-icons/ti/anchor-outline.d.ts | 2 ++ react-icons/ti/anchor.d.ts | 2 ++ react-icons/ti/archive.d.ts | 2 ++ react-icons/ti/arrow-back-outline.d.ts | 2 ++ react-icons/ti/arrow-back.d.ts | 2 ++ react-icons/ti/arrow-down-outline.d.ts | 2 ++ react-icons/ti/arrow-down-thick.d.ts | 2 ++ react-icons/ti/arrow-down.d.ts | 2 ++ react-icons/ti/arrow-forward-outline.d.ts | 2 ++ react-icons/ti/arrow-forward.d.ts | 2 ++ react-icons/ti/arrow-left-outline.d.ts | 2 ++ react-icons/ti/arrow-left-thick.d.ts | 2 ++ react-icons/ti/arrow-left.d.ts | 2 ++ react-icons/ti/arrow-loop-outline.d.ts | 2 ++ react-icons/ti/arrow-loop.d.ts | 2 ++ react-icons/ti/arrow-maximise-outline.d.ts | 2 ++ react-icons/ti/arrow-maximise.d.ts | 2 ++ react-icons/ti/arrow-minimise-outline.d.ts | 2 ++ react-icons/ti/arrow-minimise.d.ts | 2 ++ react-icons/ti/arrow-move-outline.d.ts | 2 ++ react-icons/ti/arrow-move.d.ts | 2 ++ react-icons/ti/arrow-repeat-outline.d.ts | 2 ++ react-icons/ti/arrow-repeat.d.ts | 2 ++ react-icons/ti/arrow-right-outline.d.ts | 2 ++ react-icons/ti/arrow-right-thick.d.ts | 2 ++ react-icons/ti/arrow-right.d.ts | 2 ++ react-icons/ti/arrow-shuffle.d.ts | 2 ++ react-icons/ti/arrow-sorted-down.d.ts | 2 ++ react-icons/ti/arrow-sorted-up.d.ts | 2 ++ react-icons/ti/arrow-sync-outline.d.ts | 2 ++ react-icons/ti/arrow-sync.d.ts | 2 ++ react-icons/ti/arrow-unsorted.d.ts | 2 ++ react-icons/ti/arrow-up-outline.d.ts | 2 ++ react-icons/ti/arrow-up-thick.d.ts | 2 ++ react-icons/ti/arrow-up.d.ts | 2 ++ react-icons/ti/at.d.ts | 2 ++ react-icons/ti/attachment-outline.d.ts | 2 ++ react-icons/ti/attachment.d.ts | 2 ++ react-icons/ti/backspace-outline.d.ts | 2 ++ react-icons/ti/backspace.d.ts | 2 ++ react-icons/ti/battery-charge.d.ts | 2 ++ react-icons/ti/battery-full.d.ts | 2 ++ react-icons/ti/battery-high.d.ts | 2 ++ react-icons/ti/battery-low.d.ts | 2 ++ react-icons/ti/battery-mid.d.ts | 2 ++ react-icons/ti/beaker.d.ts | 2 ++ react-icons/ti/beer.d.ts | 2 ++ react-icons/ti/bell.d.ts | 2 ++ react-icons/ti/book.d.ts | 2 ++ react-icons/ti/bookmark.d.ts | 2 ++ react-icons/ti/briefcase.d.ts | 2 ++ react-icons/ti/brush.d.ts | 2 ++ react-icons/ti/business-card.d.ts | 2 ++ react-icons/ti/calculator.d.ts | 2 ++ react-icons/ti/calendar-outline.d.ts | 2 ++ react-icons/ti/calendar.d.ts | 2 ++ react-icons/ti/calender-outline.d.ts | 2 ++ react-icons/ti/calender.d.ts | 2 ++ react-icons/ti/camera-outline.d.ts | 2 ++ react-icons/ti/camera.d.ts | 2 ++ react-icons/ti/cancel-outline.d.ts | 2 ++ react-icons/ti/cancel.d.ts | 2 ++ react-icons/ti/chart-area-outline.d.ts | 2 ++ react-icons/ti/chart-area.d.ts | 2 ++ react-icons/ti/chart-bar-outline.d.ts | 2 ++ react-icons/ti/chart-bar.d.ts | 2 ++ react-icons/ti/chart-line-outline.d.ts | 2 ++ react-icons/ti/chart-line.d.ts | 2 ++ react-icons/ti/chart-pie-outline.d.ts | 2 ++ react-icons/ti/chart-pie.d.ts | 2 ++ react-icons/ti/chevron-left-outline.d.ts | 2 ++ react-icons/ti/chevron-left.d.ts | 2 ++ react-icons/ti/chevron-right-outline.d.ts | 2 ++ react-icons/ti/chevron-right.d.ts | 2 ++ react-icons/ti/clipboard.d.ts | 2 ++ react-icons/ti/cloud-storage-outline.d.ts | 2 ++ react-icons/ti/cloud-storage.d.ts | 2 ++ react-icons/ti/code-outline.d.ts | 2 ++ react-icons/ti/code.d.ts | 2 ++ react-icons/ti/coffee.d.ts | 2 ++ react-icons/ti/cog-outline.d.ts | 2 ++ react-icons/ti/cog.d.ts | 2 ++ react-icons/ti/compass.d.ts | 2 ++ react-icons/ti/contacts.d.ts | 2 ++ react-icons/ti/credit-card.d.ts | 2 ++ react-icons/ti/cross.d.ts | 2 ++ react-icons/ti/css3.d.ts | 2 ++ react-icons/ti/database.d.ts | 2 ++ react-icons/ti/delete-outline.d.ts | 2 ++ react-icons/ti/delete.d.ts | 2 ++ react-icons/ti/device-desktop.d.ts | 2 ++ react-icons/ti/device-laptop.d.ts | 2 ++ react-icons/ti/device-phone.d.ts | 2 ++ react-icons/ti/device-tablet.d.ts | 2 ++ react-icons/ti/directions.d.ts | 2 ++ react-icons/ti/divide-outline.d.ts | 2 ++ react-icons/ti/divide.d.ts | 2 ++ react-icons/ti/document-add.d.ts | 2 ++ react-icons/ti/document-delete.d.ts | 2 ++ react-icons/ti/document-text.d.ts | 2 ++ react-icons/ti/document.d.ts | 2 ++ react-icons/ti/download-outline.d.ts | 2 ++ react-icons/ti/download.d.ts | 2 ++ react-icons/ti/dropbox.d.ts | 2 ++ react-icons/ti/edit.d.ts | 2 ++ react-icons/ti/eject-outline.d.ts | 2 ++ react-icons/ti/eject.d.ts | 2 ++ react-icons/ti/equals-outline.d.ts | 2 ++ react-icons/ti/equals.d.ts | 2 ++ react-icons/ti/export-outline.d.ts | 2 ++ react-icons/ti/export.d.ts | 2 ++ react-icons/ti/eye-outline.d.ts | 2 ++ react-icons/ti/eye.d.ts | 2 ++ react-icons/ti/feather.d.ts | 2 ++ react-icons/ti/film.d.ts | 2 ++ react-icons/ti/filter.d.ts | 2 ++ react-icons/ti/flag-outline.d.ts | 2 ++ react-icons/ti/flag.d.ts | 2 ++ react-icons/ti/flash-outline.d.ts | 2 ++ react-icons/ti/flash.d.ts | 2 ++ react-icons/ti/flow-children.d.ts | 2 ++ react-icons/ti/flow-merge.d.ts | 2 ++ react-icons/ti/flow-parallel.d.ts | 2 ++ react-icons/ti/flow-switch.d.ts | 2 ++ react-icons/ti/folder-add.d.ts | 2 ++ react-icons/ti/folder-delete.d.ts | 2 ++ react-icons/ti/folder-open.d.ts | 2 ++ react-icons/ti/folder.d.ts | 2 ++ react-icons/ti/gift.d.ts | 2 ++ react-icons/ti/globe-outline.d.ts | 2 ++ react-icons/ti/globe.d.ts | 2 ++ react-icons/ti/group-outline.d.ts | 2 ++ react-icons/ti/group.d.ts | 2 ++ react-icons/ti/headphones.d.ts | 2 ++ react-icons/ti/heart-full-outline.d.ts | 2 ++ react-icons/ti/heart-half-outline.d.ts | 2 ++ react-icons/ti/heart-outline.d.ts | 2 ++ react-icons/ti/heart.d.ts | 2 ++ react-icons/ti/home-outline.d.ts | 2 ++ react-icons/ti/home.d.ts | 2 ++ react-icons/ti/html5.d.ts | 2 ++ react-icons/ti/image-outline.d.ts | 2 ++ react-icons/ti/image.d.ts | 2 ++ react-icons/ti/index.d.ts | 1 + react-icons/ti/infinity-outline.d.ts | 2 ++ react-icons/ti/infinity.d.ts | 2 ++ react-icons/ti/info-large-outline.d.ts | 2 ++ react-icons/ti/info-large.d.ts | 2 ++ react-icons/ti/info-outline.d.ts | 2 ++ react-icons/ti/info.d.ts | 2 ++ react-icons/ti/input-checked-outline.d.ts | 2 ++ react-icons/ti/input-checked.d.ts | 2 ++ react-icons/ti/key-outline.d.ts | 2 ++ react-icons/ti/key.d.ts | 2 ++ react-icons/ti/keyboard.d.ts | 2 ++ react-icons/ti/leaf.d.ts | 2 ++ react-icons/ti/lightbulb.d.ts | 2 ++ react-icons/ti/link-outline.d.ts | 2 ++ react-icons/ti/link.d.ts | 2 ++ react-icons/ti/location-arrow-outline.d.ts | 2 ++ react-icons/ti/location-arrow.d.ts | 2 ++ react-icons/ti/location-outline.d.ts | 2 ++ react-icons/ti/location.d.ts | 2 ++ react-icons/ti/lock-closed-outline.d.ts | 2 ++ react-icons/ti/lock-closed.d.ts | 2 ++ react-icons/ti/lock-open-outline.d.ts | 2 ++ react-icons/ti/lock-open.d.ts | 2 ++ react-icons/ti/mail.d.ts | 2 ++ react-icons/ti/map.d.ts | 2 ++ react-icons/ti/media-eject-outline.d.ts | 2 ++ react-icons/ti/media-eject.d.ts | 2 ++ react-icons/ti/media-fast-forward-outline.d.ts | 2 ++ react-icons/ti/media-fast-forward.d.ts | 2 ++ react-icons/ti/media-pause-outline.d.ts | 2 ++ react-icons/ti/media-pause.d.ts | 2 ++ react-icons/ti/media-play-outline.d.ts | 2 ++ react-icons/ti/media-play-reverse-outline.d.ts | 2 ++ react-icons/ti/media-play-reverse.d.ts | 2 ++ react-icons/ti/media-play.d.ts | 2 ++ react-icons/ti/media-record-outline.d.ts | 2 ++ react-icons/ti/media-record.d.ts | 2 ++ react-icons/ti/media-rewind-outline.d.ts | 2 ++ react-icons/ti/media-rewind.d.ts | 2 ++ react-icons/ti/media-stop-outline.d.ts | 2 ++ react-icons/ti/media-stop.d.ts | 2 ++ react-icons/ti/message-typing.d.ts | 2 ++ react-icons/ti/message.d.ts | 2 ++ react-icons/ti/messages.d.ts | 2 ++ react-icons/ti/microphone-outline.d.ts | 2 ++ react-icons/ti/microphone.d.ts | 2 ++ react-icons/ti/minus-outline.d.ts | 2 ++ react-icons/ti/minus.d.ts | 2 ++ react-icons/ti/mortar-board.d.ts | 2 ++ react-icons/ti/news.d.ts | 2 ++ react-icons/ti/notes-outline.d.ts | 2 ++ react-icons/ti/notes.d.ts | 2 ++ react-icons/ti/pen.d.ts | 2 ++ react-icons/ti/pencil.d.ts | 2 ++ react-icons/ti/phone-outline.d.ts | 2 ++ react-icons/ti/phone.d.ts | 2 ++ react-icons/ti/pi-outline.d.ts | 2 ++ react-icons/ti/pi.d.ts | 2 ++ react-icons/ti/pin-outline.d.ts | 2 ++ react-icons/ti/pin.d.ts | 2 ++ react-icons/ti/pipette.d.ts | 2 ++ react-icons/ti/plane-outline.d.ts | 2 ++ react-icons/ti/plane.d.ts | 2 ++ react-icons/ti/plug.d.ts | 2 ++ react-icons/ti/plus-outline.d.ts | 2 ++ react-icons/ti/plus.d.ts | 2 ++ react-icons/ti/point-of-interest-outline.d.ts | 2 ++ react-icons/ti/point-of-interest.d.ts | 2 ++ react-icons/ti/power-outline.d.ts | 2 ++ react-icons/ti/power.d.ts | 2 ++ react-icons/ti/printer.d.ts | 2 ++ react-icons/ti/puzzle-outline.d.ts | 2 ++ react-icons/ti/puzzle.d.ts | 2 ++ react-icons/ti/radar-outline.d.ts | 2 ++ react-icons/ti/radar.d.ts | 2 ++ react-icons/ti/refresh-outline.d.ts | 2 ++ react-icons/ti/refresh.d.ts | 2 ++ react-icons/ti/rss-outline.d.ts | 2 ++ react-icons/ti/rss.d.ts | 2 ++ react-icons/ti/scissors-outline.d.ts | 2 ++ react-icons/ti/scissors.d.ts | 2 ++ react-icons/ti/shopping-bag.d.ts | 2 ++ react-icons/ti/shopping-cart.d.ts | 2 ++ react-icons/ti/social-at-circular.d.ts | 2 ++ react-icons/ti/social-dribbble-circular.d.ts | 2 ++ react-icons/ti/social-dribbble.d.ts | 2 ++ react-icons/ti/social-facebook-circular.d.ts | 2 ++ react-icons/ti/social-facebook.d.ts | 2 ++ react-icons/ti/social-flickr-circular.d.ts | 2 ++ react-icons/ti/social-flickr.d.ts | 2 ++ react-icons/ti/social-github-circular.d.ts | 2 ++ react-icons/ti/social-github.d.ts | 2 ++ react-icons/ti/social-google-plus-circular.d.ts | 2 ++ react-icons/ti/social-google-plus.d.ts | 2 ++ react-icons/ti/social-instagram-circular.d.ts | 2 ++ react-icons/ti/social-instagram.d.ts | 2 ++ react-icons/ti/social-last-fm-circular.d.ts | 2 ++ react-icons/ti/social-last-fm.d.ts | 2 ++ react-icons/ti/social-linkedin-circular.d.ts | 2 ++ react-icons/ti/social-linkedin.d.ts | 2 ++ react-icons/ti/social-pinterest-circular.d.ts | 2 ++ react-icons/ti/social-pinterest.d.ts | 2 ++ react-icons/ti/social-skype-outline.d.ts | 2 ++ react-icons/ti/social-skype.d.ts | 2 ++ react-icons/ti/social-tumbler-circular.d.ts | 2 ++ react-icons/ti/social-tumbler.d.ts | 2 ++ react-icons/ti/social-twitter-circular.d.ts | 2 ++ react-icons/ti/social-twitter.d.ts | 2 ++ react-icons/ti/social-vimeo-circular.d.ts | 2 ++ react-icons/ti/social-vimeo.d.ts | 2 ++ react-icons/ti/social-youtube-circular.d.ts | 2 ++ react-icons/ti/social-youtube.d.ts | 2 ++ react-icons/ti/sort-alphabetically-outline.d.ts | 2 ++ react-icons/ti/sort-alphabetically.d.ts | 2 ++ react-icons/ti/sort-numerically-outline.d.ts | 2 ++ react-icons/ti/sort-numerically.d.ts | 2 ++ react-icons/ti/spanner-outline.d.ts | 2 ++ react-icons/ti/spanner.d.ts | 2 ++ react-icons/ti/spiral.d.ts | 2 ++ react-icons/ti/star-full-outline.d.ts | 2 ++ react-icons/ti/star-half-outline.d.ts | 2 ++ react-icons/ti/star-half.d.ts | 2 ++ react-icons/ti/star-outline.d.ts | 2 ++ react-icons/ti/star.d.ts | 2 ++ react-icons/ti/starburst-outline.d.ts | 2 ++ react-icons/ti/starburst.d.ts | 2 ++ react-icons/ti/stopwatch.d.ts | 2 ++ react-icons/ti/support.d.ts | 2 ++ react-icons/ti/tabs-outline.d.ts | 2 ++ react-icons/ti/tag.d.ts | 2 ++ react-icons/ti/tags.d.ts | 2 ++ react-icons/ti/th-large-outline.d.ts | 2 ++ react-icons/ti/th-large.d.ts | 2 ++ react-icons/ti/th-list-outline.d.ts | 2 ++ react-icons/ti/th-list.d.ts | 2 ++ react-icons/ti/th-menu-outline.d.ts | 2 ++ react-icons/ti/th-menu.d.ts | 2 ++ react-icons/ti/th-small-outline.d.ts | 2 ++ react-icons/ti/th-small.d.ts | 2 ++ react-icons/ti/thermometer.d.ts | 2 ++ react-icons/ti/thumbs-down.d.ts | 2 ++ react-icons/ti/thumbs-ok.d.ts | 2 ++ react-icons/ti/thumbs-up.d.ts | 2 ++ react-icons/ti/tick-outline.d.ts | 2 ++ react-icons/ti/tick.d.ts | 2 ++ react-icons/ti/ticket.d.ts | 2 ++ react-icons/ti/time.d.ts | 2 ++ react-icons/ti/times-outline.d.ts | 2 ++ react-icons/ti/times.d.ts | 2 ++ react-icons/ti/trash.d.ts | 2 ++ react-icons/ti/tree.d.ts | 2 ++ react-icons/ti/upload-outline.d.ts | 2 ++ react-icons/ti/upload.d.ts | 2 ++ react-icons/ti/user-add-outline.d.ts | 2 ++ react-icons/ti/user-add.d.ts | 2 ++ react-icons/ti/user-delete-outline.d.ts | 2 ++ react-icons/ti/user-delete.d.ts | 2 ++ react-icons/ti/user-outline.d.ts | 2 ++ react-icons/ti/user.d.ts | 2 ++ react-icons/ti/vendor-android.d.ts | 2 ++ react-icons/ti/vendor-apple.d.ts | 2 ++ react-icons/ti/vendor-microsoft.d.ts | 2 ++ react-icons/ti/video-outline.d.ts | 2 ++ react-icons/ti/video.d.ts | 2 ++ react-icons/ti/volume-down.d.ts | 2 ++ react-icons/ti/volume-mute.d.ts | 2 ++ react-icons/ti/volume-up.d.ts | 2 ++ react-icons/ti/volume.d.ts | 2 ++ react-icons/ti/warning-outline.d.ts | 2 ++ react-icons/ti/warning.d.ts | 2 ++ react-icons/ti/watch.d.ts | 2 ++ react-icons/ti/waves-outline.d.ts | 2 ++ react-icons/ti/waves.d.ts | 2 ++ react-icons/ti/weather-cloudy.d.ts | 2 ++ react-icons/ti/weather-downpour.d.ts | 2 ++ react-icons/ti/weather-night.d.ts | 2 ++ react-icons/ti/weather-partly-sunny.d.ts | 2 ++ react-icons/ti/weather-shower.d.ts | 2 ++ react-icons/ti/weather-snow.d.ts | 2 ++ react-icons/ti/weather-stormy.d.ts | 2 ++ react-icons/ti/weather-sunny.d.ts | 2 ++ react-icons/ti/weather-windy-cloudy.d.ts | 2 ++ react-icons/ti/weather-windy.d.ts | 2 ++ react-icons/ti/wi-fi-outline.d.ts | 2 ++ react-icons/ti/wi-fi.d.ts | 2 ++ react-icons/ti/wine.d.ts | 2 ++ react-icons/ti/world-outline.d.ts | 2 ++ react-icons/ti/world.d.ts | 2 ++ react-icons/ti/zoom-in-outline.d.ts | 2 ++ react-icons/ti/zoom-in.d.ts | 2 ++ react-icons/ti/zoom-out-outline.d.ts | 2 ++ react-icons/ti/zoom-out.d.ts | 2 ++ react-icons/ti/zoom-outline.d.ts | 2 ++ react-icons/ti/zoom.d.ts | 2 ++ 2830 files changed, 5654 insertions(+), 1 deletion(-) diff --git a/react-icon-base/index.d.ts b/react-icon-base/index.d.ts index 1db440805e..c0246569f6 100644 --- a/react-icon-base/index.d.ts +++ b/react-icon-base/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/gorangajic/react-icon-base#readme // Definitions by: Alexandre Paré // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 import * as React from 'react'; diff --git a/react-icons/fa/500px.d.ts b/react-icons/fa/500px.d.ts index 6cd775910c..867a4e29d6 100644 --- a/react-icons/fa/500px.d.ts +++ b/react-icons/fa/500px.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class Fa500px extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/adjust.d.ts b/react-icons/fa/adjust.d.ts index 0e4a87e7da..8704a15629 100644 --- a/react-icons/fa/adjust.d.ts +++ b/react-icons/fa/adjust.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAdjust extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/adn.d.ts b/react-icons/fa/adn.d.ts index 2f7f3aa354..e74a778f05 100644 --- a/react-icons/fa/adn.d.ts +++ b/react-icons/fa/adn.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAdn extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/align-center.d.ts b/react-icons/fa/align-center.d.ts index 9b829faed4..089eef8c6e 100644 --- a/react-icons/fa/align-center.d.ts +++ b/react-icons/fa/align-center.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAlignCenter extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/align-justify.d.ts b/react-icons/fa/align-justify.d.ts index 60f8ba2b5e..9c3203b5fa 100644 --- a/react-icons/fa/align-justify.d.ts +++ b/react-icons/fa/align-justify.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAlignJustify extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/align-left.d.ts b/react-icons/fa/align-left.d.ts index b0e9810c70..33ffb7b833 100644 --- a/react-icons/fa/align-left.d.ts +++ b/react-icons/fa/align-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAlignLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/align-right.d.ts b/react-icons/fa/align-right.d.ts index c76cc23e94..cf167f687a 100644 --- a/react-icons/fa/align-right.d.ts +++ b/react-icons/fa/align-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAlignRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/amazon.d.ts b/react-icons/fa/amazon.d.ts index 62ad6f65d4..cf455e25d5 100644 --- a/react-icons/fa/amazon.d.ts +++ b/react-icons/fa/amazon.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAmazon extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/ambulance.d.ts b/react-icons/fa/ambulance.d.ts index c98200e217..f92f9caf66 100644 --- a/react-icons/fa/ambulance.d.ts +++ b/react-icons/fa/ambulance.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAmbulance extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/american-sign-language-interpreting.d.ts b/react-icons/fa/american-sign-language-interpreting.d.ts index 9dbc9abf90..05b8d6d797 100644 --- a/react-icons/fa/american-sign-language-interpreting.d.ts +++ b/react-icons/fa/american-sign-language-interpreting.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAmericanSignLanguageInterpreting extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/anchor.d.ts b/react-icons/fa/anchor.d.ts index 73d2e7f091..12ed581ee6 100644 --- a/react-icons/fa/anchor.d.ts +++ b/react-icons/fa/anchor.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAnchor extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/android.d.ts b/react-icons/fa/android.d.ts index f465e726fa..abc52a03d0 100644 --- a/react-icons/fa/android.d.ts +++ b/react-icons/fa/android.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAndroid extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/angellist.d.ts b/react-icons/fa/angellist.d.ts index 8a96a58db6..8d0bcae4ac 100644 --- a/react-icons/fa/angellist.d.ts +++ b/react-icons/fa/angellist.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAngellist extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/angle-double-down.d.ts b/react-icons/fa/angle-double-down.d.ts index 93cdff317c..64f256e161 100644 --- a/react-icons/fa/angle-double-down.d.ts +++ b/react-icons/fa/angle-double-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAngleDoubleDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/angle-double-left.d.ts b/react-icons/fa/angle-double-left.d.ts index c2787320e9..b5c33859ff 100644 --- a/react-icons/fa/angle-double-left.d.ts +++ b/react-icons/fa/angle-double-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAngleDoubleLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/angle-double-right.d.ts b/react-icons/fa/angle-double-right.d.ts index 4456e6f242..1bbf095fa5 100644 --- a/react-icons/fa/angle-double-right.d.ts +++ b/react-icons/fa/angle-double-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAngleDoubleRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/angle-double-up.d.ts b/react-icons/fa/angle-double-up.d.ts index 267158ffd0..6c845dec75 100644 --- a/react-icons/fa/angle-double-up.d.ts +++ b/react-icons/fa/angle-double-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAngleDoubleUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/angle-down.d.ts b/react-icons/fa/angle-down.d.ts index 6150f8506c..aeb40ca0f2 100644 --- a/react-icons/fa/angle-down.d.ts +++ b/react-icons/fa/angle-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAngleDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/angle-left.d.ts b/react-icons/fa/angle-left.d.ts index ae1d06beb4..9b706c4ce1 100644 --- a/react-icons/fa/angle-left.d.ts +++ b/react-icons/fa/angle-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAngleLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/angle-right.d.ts b/react-icons/fa/angle-right.d.ts index 8980ed305c..e603d8cc8b 100644 --- a/react-icons/fa/angle-right.d.ts +++ b/react-icons/fa/angle-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAngleRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/angle-up.d.ts b/react-icons/fa/angle-up.d.ts index 7a7bcc8330..b3151e532c 100644 --- a/react-icons/fa/angle-up.d.ts +++ b/react-icons/fa/angle-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAngleUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/apple.d.ts b/react-icons/fa/apple.d.ts index 868b275541..3b75c09c8b 100644 --- a/react-icons/fa/apple.d.ts +++ b/react-icons/fa/apple.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaApple extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/archive.d.ts b/react-icons/fa/archive.d.ts index 661ef707ee..7912034887 100644 --- a/react-icons/fa/archive.d.ts +++ b/react-icons/fa/archive.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArchive extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/area-chart.d.ts b/react-icons/fa/area-chart.d.ts index 98113bccba..1c5b546f4c 100644 --- a/react-icons/fa/area-chart.d.ts +++ b/react-icons/fa/area-chart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAreaChart extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-circle-down.d.ts b/react-icons/fa/arrow-circle-down.d.ts index 300f9f1602..a86121eb36 100644 --- a/react-icons/fa/arrow-circle-down.d.ts +++ b/react-icons/fa/arrow-circle-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowCircleDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-circle-left.d.ts b/react-icons/fa/arrow-circle-left.d.ts index d72936b057..2fad87e064 100644 --- a/react-icons/fa/arrow-circle-left.d.ts +++ b/react-icons/fa/arrow-circle-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowCircleLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-circle-o-down.d.ts b/react-icons/fa/arrow-circle-o-down.d.ts index 56948ff974..8f184d081c 100644 --- a/react-icons/fa/arrow-circle-o-down.d.ts +++ b/react-icons/fa/arrow-circle-o-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowCircleODown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-circle-o-left.d.ts b/react-icons/fa/arrow-circle-o-left.d.ts index f9be513faa..a1e6ec2586 100644 --- a/react-icons/fa/arrow-circle-o-left.d.ts +++ b/react-icons/fa/arrow-circle-o-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowCircleOLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-circle-o-right.d.ts b/react-icons/fa/arrow-circle-o-right.d.ts index d5d61aae64..5d78a23d31 100644 --- a/react-icons/fa/arrow-circle-o-right.d.ts +++ b/react-icons/fa/arrow-circle-o-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowCircleORight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-circle-o-up.d.ts b/react-icons/fa/arrow-circle-o-up.d.ts index 17f5c6731c..864f49382c 100644 --- a/react-icons/fa/arrow-circle-o-up.d.ts +++ b/react-icons/fa/arrow-circle-o-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowCircleOUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-circle-right.d.ts b/react-icons/fa/arrow-circle-right.d.ts index 7a612f6537..21bfbd60fd 100644 --- a/react-icons/fa/arrow-circle-right.d.ts +++ b/react-icons/fa/arrow-circle-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowCircleRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-circle-up.d.ts b/react-icons/fa/arrow-circle-up.d.ts index fcb3000fdd..e9dad57814 100644 --- a/react-icons/fa/arrow-circle-up.d.ts +++ b/react-icons/fa/arrow-circle-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowCircleUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-down.d.ts b/react-icons/fa/arrow-down.d.ts index eeae164d95..5c2d61b150 100644 --- a/react-icons/fa/arrow-down.d.ts +++ b/react-icons/fa/arrow-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-left.d.ts b/react-icons/fa/arrow-left.d.ts index 298c49a23b..e010cc9769 100644 --- a/react-icons/fa/arrow-left.d.ts +++ b/react-icons/fa/arrow-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-right.d.ts b/react-icons/fa/arrow-right.d.ts index 0aa3845323..8f1a167bcf 100644 --- a/react-icons/fa/arrow-right.d.ts +++ b/react-icons/fa/arrow-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrow-up.d.ts b/react-icons/fa/arrow-up.d.ts index d089c3103c..778b94c152 100644 --- a/react-icons/fa/arrow-up.d.ts +++ b/react-icons/fa/arrow-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrows-alt.d.ts b/react-icons/fa/arrows-alt.d.ts index d156f801c5..5f1b0cbfa8 100644 --- a/react-icons/fa/arrows-alt.d.ts +++ b/react-icons/fa/arrows-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowsAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrows-h.d.ts b/react-icons/fa/arrows-h.d.ts index 99fa527549..8cec86ccc2 100644 --- a/react-icons/fa/arrows-h.d.ts +++ b/react-icons/fa/arrows-h.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowsH extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrows-v.d.ts b/react-icons/fa/arrows-v.d.ts index 69c4e269b3..9938462c7d 100644 --- a/react-icons/fa/arrows-v.d.ts +++ b/react-icons/fa/arrows-v.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrowsV extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/arrows.d.ts b/react-icons/fa/arrows.d.ts index d598e0db3d..2e409a1a37 100644 --- a/react-icons/fa/arrows.d.ts +++ b/react-icons/fa/arrows.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaArrows extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/assistive-listening-systems.d.ts b/react-icons/fa/assistive-listening-systems.d.ts index 55ffe3f911..3b1cb580c6 100644 --- a/react-icons/fa/assistive-listening-systems.d.ts +++ b/react-icons/fa/assistive-listening-systems.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAssistiveListeningSystems extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/asterisk.d.ts b/react-icons/fa/asterisk.d.ts index 01052ec8e5..95a1dbcc88 100644 --- a/react-icons/fa/asterisk.d.ts +++ b/react-icons/fa/asterisk.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAsterisk extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/at.d.ts b/react-icons/fa/at.d.ts index 4c94b320d7..25715d0a09 100644 --- a/react-icons/fa/at.d.ts +++ b/react-icons/fa/at.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/audio-description.d.ts b/react-icons/fa/audio-description.d.ts index ecd10e5475..b740b28ae7 100644 --- a/react-icons/fa/audio-description.d.ts +++ b/react-icons/fa/audio-description.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAudioDescription extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/automobile.d.ts b/react-icons/fa/automobile.d.ts index c60eb85667..3fa0e60b15 100644 --- a/react-icons/fa/automobile.d.ts +++ b/react-icons/fa/automobile.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaAutomobile extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/backward.d.ts b/react-icons/fa/backward.d.ts index 8115296c03..500e6ee94b 100644 --- a/react-icons/fa/backward.d.ts +++ b/react-icons/fa/backward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBackward extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/balance-scale.d.ts b/react-icons/fa/balance-scale.d.ts index 4e9b4e75b0..11fb788b37 100644 --- a/react-icons/fa/balance-scale.d.ts +++ b/react-icons/fa/balance-scale.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBalanceScale extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/ban.d.ts b/react-icons/fa/ban.d.ts index d8fd4b0d89..7b26dacb76 100644 --- a/react-icons/fa/ban.d.ts +++ b/react-icons/fa/ban.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBan extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bank.d.ts b/react-icons/fa/bank.d.ts index 9046e5effa..7e02dd4dce 100644 --- a/react-icons/fa/bank.d.ts +++ b/react-icons/fa/bank.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBank extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bar-chart.d.ts b/react-icons/fa/bar-chart.d.ts index cba898db53..f0033618f2 100644 --- a/react-icons/fa/bar-chart.d.ts +++ b/react-icons/fa/bar-chart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBarChart extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/barcode.d.ts b/react-icons/fa/barcode.d.ts index eea3aaf98a..7df778e493 100644 --- a/react-icons/fa/barcode.d.ts +++ b/react-icons/fa/barcode.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBarcode extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bars.d.ts b/react-icons/fa/bars.d.ts index 4488a732b9..93dada143a 100644 --- a/react-icons/fa/bars.d.ts +++ b/react-icons/fa/bars.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBars extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/battery-0.d.ts b/react-icons/fa/battery-0.d.ts index c2ea875221..6c94d24f2c 100644 --- a/react-icons/fa/battery-0.d.ts +++ b/react-icons/fa/battery-0.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBattery0 extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/battery-1.d.ts b/react-icons/fa/battery-1.d.ts index 21303702b7..5add990044 100644 --- a/react-icons/fa/battery-1.d.ts +++ b/react-icons/fa/battery-1.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBattery1 extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/battery-2.d.ts b/react-icons/fa/battery-2.d.ts index 0207db7a4c..1eb7d788a6 100644 --- a/react-icons/fa/battery-2.d.ts +++ b/react-icons/fa/battery-2.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBattery2 extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/battery-3.d.ts b/react-icons/fa/battery-3.d.ts index 33c32bbedd..20c5a85452 100644 --- a/react-icons/fa/battery-3.d.ts +++ b/react-icons/fa/battery-3.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBattery3 extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/battery-4.d.ts b/react-icons/fa/battery-4.d.ts index 8830be7d8e..24f6d83561 100644 --- a/react-icons/fa/battery-4.d.ts +++ b/react-icons/fa/battery-4.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBattery4 extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bed.d.ts b/react-icons/fa/bed.d.ts index 0bbfb2c1d5..4da91bdabd 100644 --- a/react-icons/fa/bed.d.ts +++ b/react-icons/fa/bed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBed extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/beer.d.ts b/react-icons/fa/beer.d.ts index 239559f243..6aa883b68c 100644 --- a/react-icons/fa/beer.d.ts +++ b/react-icons/fa/beer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBeer extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/behance-square.d.ts b/react-icons/fa/behance-square.d.ts index 486d309c32..2ca2c9cece 100644 --- a/react-icons/fa/behance-square.d.ts +++ b/react-icons/fa/behance-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBehanceSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/behance.d.ts b/react-icons/fa/behance.d.ts index bd82cba1b8..9de6682557 100644 --- a/react-icons/fa/behance.d.ts +++ b/react-icons/fa/behance.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBehance extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bell-o.d.ts b/react-icons/fa/bell-o.d.ts index 30392ecacf..83ab166fe5 100644 --- a/react-icons/fa/bell-o.d.ts +++ b/react-icons/fa/bell-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBellO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bell-slash-o.d.ts b/react-icons/fa/bell-slash-o.d.ts index 295c567873..b5b3e6ae00 100644 --- a/react-icons/fa/bell-slash-o.d.ts +++ b/react-icons/fa/bell-slash-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBellSlashO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bell-slash.d.ts b/react-icons/fa/bell-slash.d.ts index de62f57762..e097315af1 100644 --- a/react-icons/fa/bell-slash.d.ts +++ b/react-icons/fa/bell-slash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBellSlash extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bell.d.ts b/react-icons/fa/bell.d.ts index 39db07e798..969c7256a5 100644 --- a/react-icons/fa/bell.d.ts +++ b/react-icons/fa/bell.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBell extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bicycle.d.ts b/react-icons/fa/bicycle.d.ts index 93cd32a9cd..e79aec71f0 100644 --- a/react-icons/fa/bicycle.d.ts +++ b/react-icons/fa/bicycle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBicycle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/binoculars.d.ts b/react-icons/fa/binoculars.d.ts index 451d30e1a8..92477f459b 100644 --- a/react-icons/fa/binoculars.d.ts +++ b/react-icons/fa/binoculars.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBinoculars extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/birthday-cake.d.ts b/react-icons/fa/birthday-cake.d.ts index 8ec6e7a1de..f01a629fe3 100644 --- a/react-icons/fa/birthday-cake.d.ts +++ b/react-icons/fa/birthday-cake.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBirthdayCake extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bitbucket-square.d.ts b/react-icons/fa/bitbucket-square.d.ts index df5ba215c6..3bcec4abab 100644 --- a/react-icons/fa/bitbucket-square.d.ts +++ b/react-icons/fa/bitbucket-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBitbucketSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bitbucket.d.ts b/react-icons/fa/bitbucket.d.ts index 5a7dee2e5b..f30a5709d5 100644 --- a/react-icons/fa/bitbucket.d.ts +++ b/react-icons/fa/bitbucket.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBitbucket extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bitcoin.d.ts b/react-icons/fa/bitcoin.d.ts index 2fe99d57a9..fd781d3e1f 100644 --- a/react-icons/fa/bitcoin.d.ts +++ b/react-icons/fa/bitcoin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBitcoin extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/black-tie.d.ts b/react-icons/fa/black-tie.d.ts index 6cbf29cead..5582eadd19 100644 --- a/react-icons/fa/black-tie.d.ts +++ b/react-icons/fa/black-tie.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBlackTie extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/blind.d.ts b/react-icons/fa/blind.d.ts index ecd53b2942..ec3701c99c 100644 --- a/react-icons/fa/blind.d.ts +++ b/react-icons/fa/blind.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBlind extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bluetooth-b.d.ts b/react-icons/fa/bluetooth-b.d.ts index ae448bd815..a6561f02c3 100644 --- a/react-icons/fa/bluetooth-b.d.ts +++ b/react-icons/fa/bluetooth-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBluetoothB extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bluetooth.d.ts b/react-icons/fa/bluetooth.d.ts index c2bf2683b9..fc2a2b42c7 100644 --- a/react-icons/fa/bluetooth.d.ts +++ b/react-icons/fa/bluetooth.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBluetooth extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bold.d.ts b/react-icons/fa/bold.d.ts index d5565170d0..5175505b71 100644 --- a/react-icons/fa/bold.d.ts +++ b/react-icons/fa/bold.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBold extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bolt.d.ts b/react-icons/fa/bolt.d.ts index fb81630317..d39483bb12 100644 --- a/react-icons/fa/bolt.d.ts +++ b/react-icons/fa/bolt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBolt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bomb.d.ts b/react-icons/fa/bomb.d.ts index a7dc0dd78e..110046ed64 100644 --- a/react-icons/fa/bomb.d.ts +++ b/react-icons/fa/bomb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBomb extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/book.d.ts b/react-icons/fa/book.d.ts index 5455d0c3f2..00e1f5d777 100644 --- a/react-icons/fa/book.d.ts +++ b/react-icons/fa/book.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBook extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bookmark-o.d.ts b/react-icons/fa/bookmark-o.d.ts index fdd1c67a30..c723d7712c 100644 --- a/react-icons/fa/bookmark-o.d.ts +++ b/react-icons/fa/bookmark-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBookmarkO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bookmark.d.ts b/react-icons/fa/bookmark.d.ts index 77d3a5c964..c547cc17f5 100644 --- a/react-icons/fa/bookmark.d.ts +++ b/react-icons/fa/bookmark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBookmark extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/braille.d.ts b/react-icons/fa/braille.d.ts index 250384d2d1..93d103e1af 100644 --- a/react-icons/fa/braille.d.ts +++ b/react-icons/fa/braille.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBraille extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/briefcase.d.ts b/react-icons/fa/briefcase.d.ts index 92b9dbb0af..27680e99c3 100644 --- a/react-icons/fa/briefcase.d.ts +++ b/react-icons/fa/briefcase.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBriefcase extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bug.d.ts b/react-icons/fa/bug.d.ts index eb2fd775ab..8b1f86fa74 100644 --- a/react-icons/fa/bug.d.ts +++ b/react-icons/fa/bug.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBug extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/building-o.d.ts b/react-icons/fa/building-o.d.ts index b04346c52e..295fd3b656 100644 --- a/react-icons/fa/building-o.d.ts +++ b/react-icons/fa/building-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBuildingO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/building.d.ts b/react-icons/fa/building.d.ts index cffa304417..6900bd396e 100644 --- a/react-icons/fa/building.d.ts +++ b/react-icons/fa/building.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBuilding extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bullhorn.d.ts b/react-icons/fa/bullhorn.d.ts index cedec475a5..9d693d4a66 100644 --- a/react-icons/fa/bullhorn.d.ts +++ b/react-icons/fa/bullhorn.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBullhorn extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bullseye.d.ts b/react-icons/fa/bullseye.d.ts index f259410d32..0da5ce4c69 100644 --- a/react-icons/fa/bullseye.d.ts +++ b/react-icons/fa/bullseye.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBullseye extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/bus.d.ts b/react-icons/fa/bus.d.ts index c7e357a168..ff51b8cd66 100644 --- a/react-icons/fa/bus.d.ts +++ b/react-icons/fa/bus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBus extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/buysellads.d.ts b/react-icons/fa/buysellads.d.ts index 0a2b6792a7..6a187a34ed 100644 --- a/react-icons/fa/buysellads.d.ts +++ b/react-icons/fa/buysellads.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBuysellads extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cab.d.ts b/react-icons/fa/cab.d.ts index 909e077bac..5cc857a931 100644 --- a/react-icons/fa/cab.d.ts +++ b/react-icons/fa/cab.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCab extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/calculator.d.ts b/react-icons/fa/calculator.d.ts index d32c0bdc8b..4655e57877 100644 --- a/react-icons/fa/calculator.d.ts +++ b/react-icons/fa/calculator.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCalculator extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/calendar-check-o.d.ts b/react-icons/fa/calendar-check-o.d.ts index beedb60325..ea9493a06f 100644 --- a/react-icons/fa/calendar-check-o.d.ts +++ b/react-icons/fa/calendar-check-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCalendarCheckO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/calendar-minus-o.d.ts b/react-icons/fa/calendar-minus-o.d.ts index a16cad7990..09f2663de8 100644 --- a/react-icons/fa/calendar-minus-o.d.ts +++ b/react-icons/fa/calendar-minus-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCalendarMinusO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/calendar-o.d.ts b/react-icons/fa/calendar-o.d.ts index c2015e70f0..12b2f4e97e 100644 --- a/react-icons/fa/calendar-o.d.ts +++ b/react-icons/fa/calendar-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCalendarO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/calendar-plus-o.d.ts b/react-icons/fa/calendar-plus-o.d.ts index 3ab949cd61..f8f711ab8f 100644 --- a/react-icons/fa/calendar-plus-o.d.ts +++ b/react-icons/fa/calendar-plus-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCalendarPlusO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/calendar-times-o.d.ts b/react-icons/fa/calendar-times-o.d.ts index 8135c24609..51bd4f5b28 100644 --- a/react-icons/fa/calendar-times-o.d.ts +++ b/react-icons/fa/calendar-times-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCalendarTimesO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/calendar.d.ts b/react-icons/fa/calendar.d.ts index 439c3c83dc..51b56f70ed 100644 --- a/react-icons/fa/calendar.d.ts +++ b/react-icons/fa/calendar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCalendar extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/camera-retro.d.ts b/react-icons/fa/camera-retro.d.ts index f765115846..8ce2e83811 100644 --- a/react-icons/fa/camera-retro.d.ts +++ b/react-icons/fa/camera-retro.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCameraRetro extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/camera.d.ts b/react-icons/fa/camera.d.ts index 602e082bc5..65fbc5ee13 100644 --- a/react-icons/fa/camera.d.ts +++ b/react-icons/fa/camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/caret-down.d.ts b/react-icons/fa/caret-down.d.ts index 0eb1881681..caae65713c 100644 --- a/react-icons/fa/caret-down.d.ts +++ b/react-icons/fa/caret-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCaretDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/caret-left.d.ts b/react-icons/fa/caret-left.d.ts index 664b91dcff..9af25426b5 100644 --- a/react-icons/fa/caret-left.d.ts +++ b/react-icons/fa/caret-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCaretLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/caret-right.d.ts b/react-icons/fa/caret-right.d.ts index 3474c09165..4535a907c7 100644 --- a/react-icons/fa/caret-right.d.ts +++ b/react-icons/fa/caret-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCaretRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/caret-square-o-down.d.ts b/react-icons/fa/caret-square-o-down.d.ts index e86bc465c0..21f972f2a6 100644 --- a/react-icons/fa/caret-square-o-down.d.ts +++ b/react-icons/fa/caret-square-o-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCaretSquareODown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/caret-square-o-left.d.ts b/react-icons/fa/caret-square-o-left.d.ts index bba60556d1..107ee9cdd6 100644 --- a/react-icons/fa/caret-square-o-left.d.ts +++ b/react-icons/fa/caret-square-o-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCaretSquareOLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/caret-square-o-right.d.ts b/react-icons/fa/caret-square-o-right.d.ts index c19fdfc166..79b1bc2f83 100644 --- a/react-icons/fa/caret-square-o-right.d.ts +++ b/react-icons/fa/caret-square-o-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCaretSquareORight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/caret-square-o-up.d.ts b/react-icons/fa/caret-square-o-up.d.ts index 6d8b8085ec..099caca586 100644 --- a/react-icons/fa/caret-square-o-up.d.ts +++ b/react-icons/fa/caret-square-o-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCaretSquareOUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/caret-up.d.ts b/react-icons/fa/caret-up.d.ts index aa5ecc53e1..502347e649 100644 --- a/react-icons/fa/caret-up.d.ts +++ b/react-icons/fa/caret-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCaretUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cart-arrow-down.d.ts b/react-icons/fa/cart-arrow-down.d.ts index 31f3edba30..32d0d7b87a 100644 --- a/react-icons/fa/cart-arrow-down.d.ts +++ b/react-icons/fa/cart-arrow-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCartArrowDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cart-plus.d.ts b/react-icons/fa/cart-plus.d.ts index d36e2cdcdc..38f1860ee4 100644 --- a/react-icons/fa/cart-plus.d.ts +++ b/react-icons/fa/cart-plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCartPlus extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cc-amex.d.ts b/react-icons/fa/cc-amex.d.ts index 0090d590aa..a7e6e5c01a 100644 --- a/react-icons/fa/cc-amex.d.ts +++ b/react-icons/fa/cc-amex.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCcAmex extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cc-diners-club.d.ts b/react-icons/fa/cc-diners-club.d.ts index 9d72d15e26..c71da0c5a0 100644 --- a/react-icons/fa/cc-diners-club.d.ts +++ b/react-icons/fa/cc-diners-club.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCcDinersClub extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cc-discover.d.ts b/react-icons/fa/cc-discover.d.ts index c8fcaf657b..90c5e7b0a8 100644 --- a/react-icons/fa/cc-discover.d.ts +++ b/react-icons/fa/cc-discover.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCcDiscover extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cc-jcb.d.ts b/react-icons/fa/cc-jcb.d.ts index 2b888d329d..b24da72873 100644 --- a/react-icons/fa/cc-jcb.d.ts +++ b/react-icons/fa/cc-jcb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCcJcb extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cc-mastercard.d.ts b/react-icons/fa/cc-mastercard.d.ts index 8c52f6653f..6a50ca9895 100644 --- a/react-icons/fa/cc-mastercard.d.ts +++ b/react-icons/fa/cc-mastercard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCcMastercard extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cc-paypal.d.ts b/react-icons/fa/cc-paypal.d.ts index 9468032f92..4c0fd2dc51 100644 --- a/react-icons/fa/cc-paypal.d.ts +++ b/react-icons/fa/cc-paypal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCcPaypal extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cc-stripe.d.ts b/react-icons/fa/cc-stripe.d.ts index 74802ffd36..9157e742f7 100644 --- a/react-icons/fa/cc-stripe.d.ts +++ b/react-icons/fa/cc-stripe.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCcStripe extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cc-visa.d.ts b/react-icons/fa/cc-visa.d.ts index 65e1b3bebb..b7b93afc41 100644 --- a/react-icons/fa/cc-visa.d.ts +++ b/react-icons/fa/cc-visa.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCcVisa extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cc.d.ts b/react-icons/fa/cc.d.ts index a94d3e76de..ea7337f555 100644 --- a/react-icons/fa/cc.d.ts +++ b/react-icons/fa/cc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCc extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/certificate.d.ts b/react-icons/fa/certificate.d.ts index 93ce627a49..52079ed4fd 100644 --- a/react-icons/fa/certificate.d.ts +++ b/react-icons/fa/certificate.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCertificate extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chain-broken.d.ts b/react-icons/fa/chain-broken.d.ts index 55d8fa9cc8..43fc8030a7 100644 --- a/react-icons/fa/chain-broken.d.ts +++ b/react-icons/fa/chain-broken.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChainBroken extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chain.d.ts b/react-icons/fa/chain.d.ts index d25ab678a4..efc256558a 100644 --- a/react-icons/fa/chain.d.ts +++ b/react-icons/fa/chain.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChain extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/check-circle-o.d.ts b/react-icons/fa/check-circle-o.d.ts index 402ece4089..6630911a21 100644 --- a/react-icons/fa/check-circle-o.d.ts +++ b/react-icons/fa/check-circle-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCheckCircleO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/check-circle.d.ts b/react-icons/fa/check-circle.d.ts index 60d0b5d1a2..69b0af42ad 100644 --- a/react-icons/fa/check-circle.d.ts +++ b/react-icons/fa/check-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCheckCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/check-square-o.d.ts b/react-icons/fa/check-square-o.d.ts index c038e42b66..3897c83bcf 100644 --- a/react-icons/fa/check-square-o.d.ts +++ b/react-icons/fa/check-square-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCheckSquareO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/check-square.d.ts b/react-icons/fa/check-square.d.ts index 2312e35871..72fda5e780 100644 --- a/react-icons/fa/check-square.d.ts +++ b/react-icons/fa/check-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCheckSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/check.d.ts b/react-icons/fa/check.d.ts index 79dc8c9c40..9ea5e78bcd 100644 --- a/react-icons/fa/check.d.ts +++ b/react-icons/fa/check.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCheck extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chevron-circle-down.d.ts b/react-icons/fa/chevron-circle-down.d.ts index b874b80205..937499c532 100644 --- a/react-icons/fa/chevron-circle-down.d.ts +++ b/react-icons/fa/chevron-circle-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChevronCircleDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chevron-circle-left.d.ts b/react-icons/fa/chevron-circle-left.d.ts index bf1e285d9a..3c27689650 100644 --- a/react-icons/fa/chevron-circle-left.d.ts +++ b/react-icons/fa/chevron-circle-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChevronCircleLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chevron-circle-right.d.ts b/react-icons/fa/chevron-circle-right.d.ts index 5ed6d5f153..a9155d4474 100644 --- a/react-icons/fa/chevron-circle-right.d.ts +++ b/react-icons/fa/chevron-circle-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChevronCircleRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chevron-circle-up.d.ts b/react-icons/fa/chevron-circle-up.d.ts index 28607e192e..8d998527e0 100644 --- a/react-icons/fa/chevron-circle-up.d.ts +++ b/react-icons/fa/chevron-circle-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChevronCircleUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chevron-down.d.ts b/react-icons/fa/chevron-down.d.ts index 105899e38e..10c8aa2c72 100644 --- a/react-icons/fa/chevron-down.d.ts +++ b/react-icons/fa/chevron-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChevronDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chevron-left.d.ts b/react-icons/fa/chevron-left.d.ts index c3e1ebcae5..68bf700f9a 100644 --- a/react-icons/fa/chevron-left.d.ts +++ b/react-icons/fa/chevron-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChevronLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chevron-right.d.ts b/react-icons/fa/chevron-right.d.ts index 7fa9d7c4de..5271aea081 100644 --- a/react-icons/fa/chevron-right.d.ts +++ b/react-icons/fa/chevron-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChevronRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chevron-up.d.ts b/react-icons/fa/chevron-up.d.ts index 486d5d11a3..16f50e4033 100644 --- a/react-icons/fa/chevron-up.d.ts +++ b/react-icons/fa/chevron-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChevronUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/child.d.ts b/react-icons/fa/child.d.ts index a40b619992..98e065ba12 100644 --- a/react-icons/fa/child.d.ts +++ b/react-icons/fa/child.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChild extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/chrome.d.ts b/react-icons/fa/chrome.d.ts index f7506b4575..e856c31773 100644 --- a/react-icons/fa/chrome.d.ts +++ b/react-icons/fa/chrome.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaChrome extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/circle-o-notch.d.ts b/react-icons/fa/circle-o-notch.d.ts index 64eb0fd090..1264ffa272 100644 --- a/react-icons/fa/circle-o-notch.d.ts +++ b/react-icons/fa/circle-o-notch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCircleONotch extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/circle-o.d.ts b/react-icons/fa/circle-o.d.ts index df045a1a25..0d6050b49d 100644 --- a/react-icons/fa/circle-o.d.ts +++ b/react-icons/fa/circle-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCircleO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/circle-thin.d.ts b/react-icons/fa/circle-thin.d.ts index b104e97a26..f3f16f6bc5 100644 --- a/react-icons/fa/circle-thin.d.ts +++ b/react-icons/fa/circle-thin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCircleThin extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/circle.d.ts b/react-icons/fa/circle.d.ts index 8c1df704c4..dcb31f1504 100644 --- a/react-icons/fa/circle.d.ts +++ b/react-icons/fa/circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/clipboard.d.ts b/react-icons/fa/clipboard.d.ts index 7b418a8332..5f39170e0a 100644 --- a/react-icons/fa/clipboard.d.ts +++ b/react-icons/fa/clipboard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaClipboard extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/clock-o.d.ts b/react-icons/fa/clock-o.d.ts index 830ef308e5..5c77bcc133 100644 --- a/react-icons/fa/clock-o.d.ts +++ b/react-icons/fa/clock-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaClockO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/clone.d.ts b/react-icons/fa/clone.d.ts index 7aa2d129a0..c3fc421540 100644 --- a/react-icons/fa/clone.d.ts +++ b/react-icons/fa/clone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaClone extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/close.d.ts b/react-icons/fa/close.d.ts index 8a687a3abc..0b8331c006 100644 --- a/react-icons/fa/close.d.ts +++ b/react-icons/fa/close.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaClose extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cloud-download.d.ts b/react-icons/fa/cloud-download.d.ts index fcca2a8a62..9d5e606535 100644 --- a/react-icons/fa/cloud-download.d.ts +++ b/react-icons/fa/cloud-download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCloudDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cloud-upload.d.ts b/react-icons/fa/cloud-upload.d.ts index 1b9b81cdfd..bceeef8f39 100644 --- a/react-icons/fa/cloud-upload.d.ts +++ b/react-icons/fa/cloud-upload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCloudUpload extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cloud.d.ts b/react-icons/fa/cloud.d.ts index fdb30a4485..b8ddd213d7 100644 --- a/react-icons/fa/cloud.d.ts +++ b/react-icons/fa/cloud.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCloud extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cny.d.ts b/react-icons/fa/cny.d.ts index 8182c5a68e..c0f06b0b74 100644 --- a/react-icons/fa/cny.d.ts +++ b/react-icons/fa/cny.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCny extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/code-fork.d.ts b/react-icons/fa/code-fork.d.ts index 511a7308aa..07e5bfa6f3 100644 --- a/react-icons/fa/code-fork.d.ts +++ b/react-icons/fa/code-fork.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCodeFork extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/code.d.ts b/react-icons/fa/code.d.ts index dd97b03088..f2bfb42cd4 100644 --- a/react-icons/fa/code.d.ts +++ b/react-icons/fa/code.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCode extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/codepen.d.ts b/react-icons/fa/codepen.d.ts index afd571d640..2bc3d2adad 100644 --- a/react-icons/fa/codepen.d.ts +++ b/react-icons/fa/codepen.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCodepen extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/codiepie.d.ts b/react-icons/fa/codiepie.d.ts index 2c9dc2ef0d..576bb3aa50 100644 --- a/react-icons/fa/codiepie.d.ts +++ b/react-icons/fa/codiepie.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCodiepie extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/coffee.d.ts b/react-icons/fa/coffee.d.ts index 05066a79ba..5e515f14c8 100644 --- a/react-icons/fa/coffee.d.ts +++ b/react-icons/fa/coffee.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCoffee extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cog.d.ts b/react-icons/fa/cog.d.ts index ffea2eaeb5..ee5e4aaf50 100644 --- a/react-icons/fa/cog.d.ts +++ b/react-icons/fa/cog.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCog extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cogs.d.ts b/react-icons/fa/cogs.d.ts index 389b227b13..410a12fbc9 100644 --- a/react-icons/fa/cogs.d.ts +++ b/react-icons/fa/cogs.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCogs extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/columns.d.ts b/react-icons/fa/columns.d.ts index 7499079d8c..069caa0db8 100644 --- a/react-icons/fa/columns.d.ts +++ b/react-icons/fa/columns.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaColumns extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/comment-o.d.ts b/react-icons/fa/comment-o.d.ts index 6b59006c20..b52592e68a 100644 --- a/react-icons/fa/comment-o.d.ts +++ b/react-icons/fa/comment-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCommentO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/comment.d.ts b/react-icons/fa/comment.d.ts index bcc529da41..c804008568 100644 --- a/react-icons/fa/comment.d.ts +++ b/react-icons/fa/comment.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaComment extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/commenting-o.d.ts b/react-icons/fa/commenting-o.d.ts index 8a63d2bc1e..abd864036f 100644 --- a/react-icons/fa/commenting-o.d.ts +++ b/react-icons/fa/commenting-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCommentingO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/commenting.d.ts b/react-icons/fa/commenting.d.ts index 154562e43d..6485d1d672 100644 --- a/react-icons/fa/commenting.d.ts +++ b/react-icons/fa/commenting.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCommenting extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/comments-o.d.ts b/react-icons/fa/comments-o.d.ts index c9e4fa6d6f..8a9d9bf9c4 100644 --- a/react-icons/fa/comments-o.d.ts +++ b/react-icons/fa/comments-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCommentsO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/comments.d.ts b/react-icons/fa/comments.d.ts index 43a4421335..261770ceaa 100644 --- a/react-icons/fa/comments.d.ts +++ b/react-icons/fa/comments.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaComments extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/compass.d.ts b/react-icons/fa/compass.d.ts index cd21ff62c2..e3bae27053 100644 --- a/react-icons/fa/compass.d.ts +++ b/react-icons/fa/compass.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCompass extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/compress.d.ts b/react-icons/fa/compress.d.ts index 372ed99c97..1ece90f4c4 100644 --- a/react-icons/fa/compress.d.ts +++ b/react-icons/fa/compress.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCompress extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/connectdevelop.d.ts b/react-icons/fa/connectdevelop.d.ts index 75c045e2f8..f8eebfb08d 100644 --- a/react-icons/fa/connectdevelop.d.ts +++ b/react-icons/fa/connectdevelop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaConnectdevelop extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/contao.d.ts b/react-icons/fa/contao.d.ts index c0d5cb3fb1..14bf0aa9b7 100644 --- a/react-icons/fa/contao.d.ts +++ b/react-icons/fa/contao.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaContao extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/copy.d.ts b/react-icons/fa/copy.d.ts index 7e5675ffd9..9a233cc309 100644 --- a/react-icons/fa/copy.d.ts +++ b/react-icons/fa/copy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCopy extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/copyright.d.ts b/react-icons/fa/copyright.d.ts index 122b198053..921fa3da30 100644 --- a/react-icons/fa/copyright.d.ts +++ b/react-icons/fa/copyright.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCopyright extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/creative-commons.d.ts b/react-icons/fa/creative-commons.d.ts index 2767146dc0..bdb6ca2fd4 100644 --- a/react-icons/fa/creative-commons.d.ts +++ b/react-icons/fa/creative-commons.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCreativeCommons extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/credit-card-alt.d.ts b/react-icons/fa/credit-card-alt.d.ts index a7397df53b..f95d713391 100644 --- a/react-icons/fa/credit-card-alt.d.ts +++ b/react-icons/fa/credit-card-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCreditCardAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/credit-card.d.ts b/react-icons/fa/credit-card.d.ts index f585fd3d9e..7a6634a1a3 100644 --- a/react-icons/fa/credit-card.d.ts +++ b/react-icons/fa/credit-card.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCreditCard extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/crop.d.ts b/react-icons/fa/crop.d.ts index 8ecd471b26..ed3542bc9d 100644 --- a/react-icons/fa/crop.d.ts +++ b/react-icons/fa/crop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCrop extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/crosshairs.d.ts b/react-icons/fa/crosshairs.d.ts index 61e8db8e06..e67dc9d8c3 100644 --- a/react-icons/fa/crosshairs.d.ts +++ b/react-icons/fa/crosshairs.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCrosshairs extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/css3.d.ts b/react-icons/fa/css3.d.ts index 701fd1fe9a..dc51716104 100644 --- a/react-icons/fa/css3.d.ts +++ b/react-icons/fa/css3.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCss3 extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cube.d.ts b/react-icons/fa/cube.d.ts index 292e49cac6..daf2b046ea 100644 --- a/react-icons/fa/cube.d.ts +++ b/react-icons/fa/cube.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCube extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cubes.d.ts b/react-icons/fa/cubes.d.ts index 3aa97019c2..d53d03640a 100644 --- a/react-icons/fa/cubes.d.ts +++ b/react-icons/fa/cubes.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCubes extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cut.d.ts b/react-icons/fa/cut.d.ts index c48a57c62c..d792f9fd16 100644 --- a/react-icons/fa/cut.d.ts +++ b/react-icons/fa/cut.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCut extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/cutlery.d.ts b/react-icons/fa/cutlery.d.ts index 538849b65d..71889db039 100644 --- a/react-icons/fa/cutlery.d.ts +++ b/react-icons/fa/cutlery.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaCutlery extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/dashboard.d.ts b/react-icons/fa/dashboard.d.ts index 5d7f761e9f..f45a765fa4 100644 --- a/react-icons/fa/dashboard.d.ts +++ b/react-icons/fa/dashboard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDashboard extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/dashcube.d.ts b/react-icons/fa/dashcube.d.ts index 22c1f7368d..41daa60409 100644 --- a/react-icons/fa/dashcube.d.ts +++ b/react-icons/fa/dashcube.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDashcube extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/database.d.ts b/react-icons/fa/database.d.ts index f0a5a6b184..9f0be760f6 100644 --- a/react-icons/fa/database.d.ts +++ b/react-icons/fa/database.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDatabase extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/deaf.d.ts b/react-icons/fa/deaf.d.ts index cb97bfd09e..645ba097df 100644 --- a/react-icons/fa/deaf.d.ts +++ b/react-icons/fa/deaf.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDeaf extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/dedent.d.ts b/react-icons/fa/dedent.d.ts index 1e0a02d278..4f74f00643 100644 --- a/react-icons/fa/dedent.d.ts +++ b/react-icons/fa/dedent.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDedent extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/delicious.d.ts b/react-icons/fa/delicious.d.ts index f17631f835..65c4998dc6 100644 --- a/react-icons/fa/delicious.d.ts +++ b/react-icons/fa/delicious.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDelicious extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/desktop.d.ts b/react-icons/fa/desktop.d.ts index d6d3ab3ca4..90bb48c9cc 100644 --- a/react-icons/fa/desktop.d.ts +++ b/react-icons/fa/desktop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDesktop extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/deviantart.d.ts b/react-icons/fa/deviantart.d.ts index eb33e3c744..b71411682c 100644 --- a/react-icons/fa/deviantart.d.ts +++ b/react-icons/fa/deviantart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDeviantart extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/diamond.d.ts b/react-icons/fa/diamond.d.ts index 0576f656c9..3ab3ec0761 100644 --- a/react-icons/fa/diamond.d.ts +++ b/react-icons/fa/diamond.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDiamond extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/digg.d.ts b/react-icons/fa/digg.d.ts index 006f135878..90d5662254 100644 --- a/react-icons/fa/digg.d.ts +++ b/react-icons/fa/digg.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDigg extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/dollar.d.ts b/react-icons/fa/dollar.d.ts index 570bcb1ecc..265000f133 100644 --- a/react-icons/fa/dollar.d.ts +++ b/react-icons/fa/dollar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDollar extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/dot-circle-o.d.ts b/react-icons/fa/dot-circle-o.d.ts index fe86ad307c..33281fc86e 100644 --- a/react-icons/fa/dot-circle-o.d.ts +++ b/react-icons/fa/dot-circle-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDotCircleO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/download.d.ts b/react-icons/fa/download.d.ts index 3eb831c65d..d727b5a29c 100644 --- a/react-icons/fa/download.d.ts +++ b/react-icons/fa/download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/dribbble.d.ts b/react-icons/fa/dribbble.d.ts index 6dba67f8e3..e0cc5e7bf2 100644 --- a/react-icons/fa/dribbble.d.ts +++ b/react-icons/fa/dribbble.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDribbble extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/dropbox.d.ts b/react-icons/fa/dropbox.d.ts index c3fff6a008..82807c622f 100644 --- a/react-icons/fa/dropbox.d.ts +++ b/react-icons/fa/dropbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDropbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/drupal.d.ts b/react-icons/fa/drupal.d.ts index ef3119bf79..12a0ab8d26 100644 --- a/react-icons/fa/drupal.d.ts +++ b/react-icons/fa/drupal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaDrupal extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/edge.d.ts b/react-icons/fa/edge.d.ts index de57d28168..bd9aafe13f 100644 --- a/react-icons/fa/edge.d.ts +++ b/react-icons/fa/edge.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEdge extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/edit.d.ts b/react-icons/fa/edit.d.ts index b4e16f8739..7ef398172f 100644 --- a/react-icons/fa/edit.d.ts +++ b/react-icons/fa/edit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEdit extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/eject.d.ts b/react-icons/fa/eject.d.ts index eafd730d99..bd698446e5 100644 --- a/react-icons/fa/eject.d.ts +++ b/react-icons/fa/eject.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEject extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/ellipsis-h.d.ts b/react-icons/fa/ellipsis-h.d.ts index 7b0e55a84f..1ae8ad263d 100644 --- a/react-icons/fa/ellipsis-h.d.ts +++ b/react-icons/fa/ellipsis-h.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEllipsisH extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/ellipsis-v.d.ts b/react-icons/fa/ellipsis-v.d.ts index bd928577b8..18a7958e4b 100644 --- a/react-icons/fa/ellipsis-v.d.ts +++ b/react-icons/fa/ellipsis-v.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEllipsisV extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/empire.d.ts b/react-icons/fa/empire.d.ts index e5211042fe..fc116628e0 100644 --- a/react-icons/fa/empire.d.ts +++ b/react-icons/fa/empire.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEmpire extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/envelope-o.d.ts b/react-icons/fa/envelope-o.d.ts index 587dd6b22c..eb7b1838ea 100644 --- a/react-icons/fa/envelope-o.d.ts +++ b/react-icons/fa/envelope-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEnvelopeO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/envelope-square.d.ts b/react-icons/fa/envelope-square.d.ts index 490b8d70cd..e1d2817a5f 100644 --- a/react-icons/fa/envelope-square.d.ts +++ b/react-icons/fa/envelope-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEnvelopeSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/envelope.d.ts b/react-icons/fa/envelope.d.ts index 7d8d3bc3b1..3b810670fa 100644 --- a/react-icons/fa/envelope.d.ts +++ b/react-icons/fa/envelope.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEnvelope extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/envira.d.ts b/react-icons/fa/envira.d.ts index 7292817b1a..0da2d69005 100644 --- a/react-icons/fa/envira.d.ts +++ b/react-icons/fa/envira.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEnvira extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/eraser.d.ts b/react-icons/fa/eraser.d.ts index 6906d07b40..1a09e3eb95 100644 --- a/react-icons/fa/eraser.d.ts +++ b/react-icons/fa/eraser.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEraser extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/eur.d.ts b/react-icons/fa/eur.d.ts index a16278080f..83890799a8 100644 --- a/react-icons/fa/eur.d.ts +++ b/react-icons/fa/eur.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEur extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/exchange.d.ts b/react-icons/fa/exchange.d.ts index 3e0ec8cd2e..06e072c133 100644 --- a/react-icons/fa/exchange.d.ts +++ b/react-icons/fa/exchange.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaExchange extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/exclamation-circle.d.ts b/react-icons/fa/exclamation-circle.d.ts index 329927d9c9..5c6ccdfb53 100644 --- a/react-icons/fa/exclamation-circle.d.ts +++ b/react-icons/fa/exclamation-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaExclamationCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/exclamation-triangle.d.ts b/react-icons/fa/exclamation-triangle.d.ts index a94eb7a397..c0c5ca806a 100644 --- a/react-icons/fa/exclamation-triangle.d.ts +++ b/react-icons/fa/exclamation-triangle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaExclamationTriangle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/exclamation.d.ts b/react-icons/fa/exclamation.d.ts index b43e140986..52ef8d781d 100644 --- a/react-icons/fa/exclamation.d.ts +++ b/react-icons/fa/exclamation.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaExclamation extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/expand.d.ts b/react-icons/fa/expand.d.ts index 47fffbb3da..6c6578eb27 100644 --- a/react-icons/fa/expand.d.ts +++ b/react-icons/fa/expand.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaExpand extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/expeditedssl.d.ts b/react-icons/fa/expeditedssl.d.ts index dc5969ce61..85cd4fa461 100644 --- a/react-icons/fa/expeditedssl.d.ts +++ b/react-icons/fa/expeditedssl.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaExpeditedssl extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/external-link-square.d.ts b/react-icons/fa/external-link-square.d.ts index 62fbe81877..f74cf12bc8 100644 --- a/react-icons/fa/external-link-square.d.ts +++ b/react-icons/fa/external-link-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaExternalLinkSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/external-link.d.ts b/react-icons/fa/external-link.d.ts index 5cb343a781..881b746c2d 100644 --- a/react-icons/fa/external-link.d.ts +++ b/react-icons/fa/external-link.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaExternalLink extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/eye-slash.d.ts b/react-icons/fa/eye-slash.d.ts index 40cc6b3892..d9315752d8 100644 --- a/react-icons/fa/eye-slash.d.ts +++ b/react-icons/fa/eye-slash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEyeSlash extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/eye.d.ts b/react-icons/fa/eye.d.ts index eac25bb949..4e0b4ff5ad 100644 --- a/react-icons/fa/eye.d.ts +++ b/react-icons/fa/eye.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEye extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/eyedropper.d.ts b/react-icons/fa/eyedropper.d.ts index 555f3d476b..47b2fa8c9f 100644 --- a/react-icons/fa/eyedropper.d.ts +++ b/react-icons/fa/eyedropper.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaEyedropper extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/facebook-official.d.ts b/react-icons/fa/facebook-official.d.ts index aeee2353c2..042217cc96 100644 --- a/react-icons/fa/facebook-official.d.ts +++ b/react-icons/fa/facebook-official.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFacebookOfficial extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/facebook-square.d.ts b/react-icons/fa/facebook-square.d.ts index 0fe6786ac2..759c6e2143 100644 --- a/react-icons/fa/facebook-square.d.ts +++ b/react-icons/fa/facebook-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFacebookSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/facebook.d.ts b/react-icons/fa/facebook.d.ts index d1df90fd84..1f764ab448 100644 --- a/react-icons/fa/facebook.d.ts +++ b/react-icons/fa/facebook.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFacebook extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/fast-backward.d.ts b/react-icons/fa/fast-backward.d.ts index 2823a7cc0f..8fe9be9558 100644 --- a/react-icons/fa/fast-backward.d.ts +++ b/react-icons/fa/fast-backward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFastBackward extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/fast-forward.d.ts b/react-icons/fa/fast-forward.d.ts index 8dcc221d53..074f87d34a 100644 --- a/react-icons/fa/fast-forward.d.ts +++ b/react-icons/fa/fast-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFastForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/fax.d.ts b/react-icons/fa/fax.d.ts index 7240600951..c3c782e2d3 100644 --- a/react-icons/fa/fax.d.ts +++ b/react-icons/fa/fax.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFax extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/feed.d.ts b/react-icons/fa/feed.d.ts index 4578ccbe92..6d1d024095 100644 --- a/react-icons/fa/feed.d.ts +++ b/react-icons/fa/feed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFeed extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/female.d.ts b/react-icons/fa/female.d.ts index fec3471475..80b7ed4b34 100644 --- a/react-icons/fa/female.d.ts +++ b/react-icons/fa/female.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFemale extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/fighter-jet.d.ts b/react-icons/fa/fighter-jet.d.ts index 2740c9d67c..cfc95428ea 100644 --- a/react-icons/fa/fighter-jet.d.ts +++ b/react-icons/fa/fighter-jet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFighterJet extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-archive-o.d.ts b/react-icons/fa/file-archive-o.d.ts index 060f2488e1..b75a479970 100644 --- a/react-icons/fa/file-archive-o.d.ts +++ b/react-icons/fa/file-archive-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFileArchiveO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-audio-o.d.ts b/react-icons/fa/file-audio-o.d.ts index 024c8c92d4..15323a89b8 100644 --- a/react-icons/fa/file-audio-o.d.ts +++ b/react-icons/fa/file-audio-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFileAudioO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-code-o.d.ts b/react-icons/fa/file-code-o.d.ts index cd9c2b5c6f..37210e4945 100644 --- a/react-icons/fa/file-code-o.d.ts +++ b/react-icons/fa/file-code-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFileCodeO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-excel-o.d.ts b/react-icons/fa/file-excel-o.d.ts index 6f6671900f..98608a3dac 100644 --- a/react-icons/fa/file-excel-o.d.ts +++ b/react-icons/fa/file-excel-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFileExcelO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-image-o.d.ts b/react-icons/fa/file-image-o.d.ts index acc894cf60..d46c460634 100644 --- a/react-icons/fa/file-image-o.d.ts +++ b/react-icons/fa/file-image-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFileImageO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-movie-o.d.ts b/react-icons/fa/file-movie-o.d.ts index 88c0a1a05e..bd0dc885cf 100644 --- a/react-icons/fa/file-movie-o.d.ts +++ b/react-icons/fa/file-movie-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFileMovieO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-o.d.ts b/react-icons/fa/file-o.d.ts index 7b1912612f..be4ca691ba 100644 --- a/react-icons/fa/file-o.d.ts +++ b/react-icons/fa/file-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFileO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-pdf-o.d.ts b/react-icons/fa/file-pdf-o.d.ts index 44770001e8..580522b0d5 100644 --- a/react-icons/fa/file-pdf-o.d.ts +++ b/react-icons/fa/file-pdf-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFilePdfO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-powerpoint-o.d.ts b/react-icons/fa/file-powerpoint-o.d.ts index f6ac2e95bc..b9aff7c5f0 100644 --- a/react-icons/fa/file-powerpoint-o.d.ts +++ b/react-icons/fa/file-powerpoint-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFilePowerpointO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-text-o.d.ts b/react-icons/fa/file-text-o.d.ts index 03a802b663..4de69a7cca 100644 --- a/react-icons/fa/file-text-o.d.ts +++ b/react-icons/fa/file-text-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFileTextO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-text.d.ts b/react-icons/fa/file-text.d.ts index 6f9dd64a49..1b89eef33d 100644 --- a/react-icons/fa/file-text.d.ts +++ b/react-icons/fa/file-text.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFileText extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file-word-o.d.ts b/react-icons/fa/file-word-o.d.ts index 7d037833df..78fbe0e5c0 100644 --- a/react-icons/fa/file-word-o.d.ts +++ b/react-icons/fa/file-word-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFileWordO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/file.d.ts b/react-icons/fa/file.d.ts index 62bf7dc558..726d93a102 100644 --- a/react-icons/fa/file.d.ts +++ b/react-icons/fa/file.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFile extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/film.d.ts b/react-icons/fa/film.d.ts index a8b3a00704..2255bd963f 100644 --- a/react-icons/fa/film.d.ts +++ b/react-icons/fa/film.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFilm extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/filter.d.ts b/react-icons/fa/filter.d.ts index bd0629f06e..17cedcc339 100644 --- a/react-icons/fa/filter.d.ts +++ b/react-icons/fa/filter.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFilter extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/fire-extinguisher.d.ts b/react-icons/fa/fire-extinguisher.d.ts index 23a1cade88..170c28f691 100644 --- a/react-icons/fa/fire-extinguisher.d.ts +++ b/react-icons/fa/fire-extinguisher.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFireExtinguisher extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/fire.d.ts b/react-icons/fa/fire.d.ts index 85b9ccb3fd..06d882b7f3 100644 --- a/react-icons/fa/fire.d.ts +++ b/react-icons/fa/fire.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFire extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/firefox.d.ts b/react-icons/fa/firefox.d.ts index a5244ebfaa..f2ffcf0600 100644 --- a/react-icons/fa/firefox.d.ts +++ b/react-icons/fa/firefox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFirefox extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/flag-checkered.d.ts b/react-icons/fa/flag-checkered.d.ts index 6fb328671b..2db5a3f719 100644 --- a/react-icons/fa/flag-checkered.d.ts +++ b/react-icons/fa/flag-checkered.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFlagCheckered extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/flag-o.d.ts b/react-icons/fa/flag-o.d.ts index bcdf8320bf..7d756dccbb 100644 --- a/react-icons/fa/flag-o.d.ts +++ b/react-icons/fa/flag-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFlagO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/flag.d.ts b/react-icons/fa/flag.d.ts index c7e88d23a4..2e7397b1c6 100644 --- a/react-icons/fa/flag.d.ts +++ b/react-icons/fa/flag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFlag extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/flask.d.ts b/react-icons/fa/flask.d.ts index 2f6f880f77..6ae15938b5 100644 --- a/react-icons/fa/flask.d.ts +++ b/react-icons/fa/flask.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFlask extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/flickr.d.ts b/react-icons/fa/flickr.d.ts index 897a0e67c0..d83ccc8c7d 100644 --- a/react-icons/fa/flickr.d.ts +++ b/react-icons/fa/flickr.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFlickr extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/floppy-o.d.ts b/react-icons/fa/floppy-o.d.ts index 97a3fc15f5..aafcf28110 100644 --- a/react-icons/fa/floppy-o.d.ts +++ b/react-icons/fa/floppy-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFloppyO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/folder-o.d.ts b/react-icons/fa/folder-o.d.ts index 316b6942b7..8ef0fd22de 100644 --- a/react-icons/fa/folder-o.d.ts +++ b/react-icons/fa/folder-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFolderO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/folder-open-o.d.ts b/react-icons/fa/folder-open-o.d.ts index b5064b1a2d..08d56314a9 100644 --- a/react-icons/fa/folder-open-o.d.ts +++ b/react-icons/fa/folder-open-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFolderOpenO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/folder-open.d.ts b/react-icons/fa/folder-open.d.ts index ffc333561c..bdb1da8592 100644 --- a/react-icons/fa/folder-open.d.ts +++ b/react-icons/fa/folder-open.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFolderOpen extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/folder.d.ts b/react-icons/fa/folder.d.ts index 678017029a..edc37450e6 100644 --- a/react-icons/fa/folder.d.ts +++ b/react-icons/fa/folder.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFolder extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/font.d.ts b/react-icons/fa/font.d.ts index 9e405eb19b..a7dead3799 100644 --- a/react-icons/fa/font.d.ts +++ b/react-icons/fa/font.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFont extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/fonticons.d.ts b/react-icons/fa/fonticons.d.ts index 1352450db1..c8ea08cc51 100644 --- a/react-icons/fa/fonticons.d.ts +++ b/react-icons/fa/fonticons.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFonticons extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/fort-awesome.d.ts b/react-icons/fa/fort-awesome.d.ts index cef239531a..e30ef4342e 100644 --- a/react-icons/fa/fort-awesome.d.ts +++ b/react-icons/fa/fort-awesome.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFortAwesome extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/forumbee.d.ts b/react-icons/fa/forumbee.d.ts index 26467d0fc0..faddfcb59c 100644 --- a/react-icons/fa/forumbee.d.ts +++ b/react-icons/fa/forumbee.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaForumbee extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/forward.d.ts b/react-icons/fa/forward.d.ts index 8e79812775..d9670fd120 100644 --- a/react-icons/fa/forward.d.ts +++ b/react-icons/fa/forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/foursquare.d.ts b/react-icons/fa/foursquare.d.ts index ccd592e1aa..f586f9353a 100644 --- a/react-icons/fa/foursquare.d.ts +++ b/react-icons/fa/foursquare.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFoursquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/frown-o.d.ts b/react-icons/fa/frown-o.d.ts index ef40a25494..9f398e61a8 100644 --- a/react-icons/fa/frown-o.d.ts +++ b/react-icons/fa/frown-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFrownO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/futbol-o.d.ts b/react-icons/fa/futbol-o.d.ts index ad5c2f6e62..45f877e708 100644 --- a/react-icons/fa/futbol-o.d.ts +++ b/react-icons/fa/futbol-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaFutbolO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/gamepad.d.ts b/react-icons/fa/gamepad.d.ts index 82e5341505..42ac7901dd 100644 --- a/react-icons/fa/gamepad.d.ts +++ b/react-icons/fa/gamepad.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGamepad extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/gavel.d.ts b/react-icons/fa/gavel.d.ts index 6a9fae6de9..ab57f51b9e 100644 --- a/react-icons/fa/gavel.d.ts +++ b/react-icons/fa/gavel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGavel extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/gbp.d.ts b/react-icons/fa/gbp.d.ts index 03f669a06d..d1e432cdaf 100644 --- a/react-icons/fa/gbp.d.ts +++ b/react-icons/fa/gbp.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGbp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/genderless.d.ts b/react-icons/fa/genderless.d.ts index b0a5c98bd0..e5bb243d49 100644 --- a/react-icons/fa/genderless.d.ts +++ b/react-icons/fa/genderless.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGenderless extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/get-pocket.d.ts b/react-icons/fa/get-pocket.d.ts index 6326e895f3..f8bf7e940d 100644 --- a/react-icons/fa/get-pocket.d.ts +++ b/react-icons/fa/get-pocket.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGetPocket extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/gg-circle.d.ts b/react-icons/fa/gg-circle.d.ts index 7d0879a730..da7f47f177 100644 --- a/react-icons/fa/gg-circle.d.ts +++ b/react-icons/fa/gg-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGgCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/gg.d.ts b/react-icons/fa/gg.d.ts index 53ea3c32b1..e41cf6b335 100644 --- a/react-icons/fa/gg.d.ts +++ b/react-icons/fa/gg.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGg extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/gift.d.ts b/react-icons/fa/gift.d.ts index d53f0c7cb2..624af75dc0 100644 --- a/react-icons/fa/gift.d.ts +++ b/react-icons/fa/gift.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGift extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/git-square.d.ts b/react-icons/fa/git-square.d.ts index d25f923ed8..1964daf61b 100644 --- a/react-icons/fa/git-square.d.ts +++ b/react-icons/fa/git-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGitSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/git.d.ts b/react-icons/fa/git.d.ts index 400bd27e64..c7c8debaf1 100644 --- a/react-icons/fa/git.d.ts +++ b/react-icons/fa/git.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGit extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/github-alt.d.ts b/react-icons/fa/github-alt.d.ts index f70b313edf..fa634dddcb 100644 --- a/react-icons/fa/github-alt.d.ts +++ b/react-icons/fa/github-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGithubAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/github-square.d.ts b/react-icons/fa/github-square.d.ts index 7bcf64f7da..effb48df45 100644 --- a/react-icons/fa/github-square.d.ts +++ b/react-icons/fa/github-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGithubSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/github.d.ts b/react-icons/fa/github.d.ts index 22f9eb0edb..1a6e8ca9c8 100644 --- a/react-icons/fa/github.d.ts +++ b/react-icons/fa/github.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGithub extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/gitlab.d.ts b/react-icons/fa/gitlab.d.ts index 61740127ef..43f90a9ffe 100644 --- a/react-icons/fa/gitlab.d.ts +++ b/react-icons/fa/gitlab.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGitlab extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/gittip.d.ts b/react-icons/fa/gittip.d.ts index 69f7342706..3d63897754 100644 --- a/react-icons/fa/gittip.d.ts +++ b/react-icons/fa/gittip.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGittip extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/glass.d.ts b/react-icons/fa/glass.d.ts index cf309cb91c..0d010a8f4c 100644 --- a/react-icons/fa/glass.d.ts +++ b/react-icons/fa/glass.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGlass extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/glide-g.d.ts b/react-icons/fa/glide-g.d.ts index 67bd15b16c..a3c255fd26 100644 --- a/react-icons/fa/glide-g.d.ts +++ b/react-icons/fa/glide-g.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGlideG extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/glide.d.ts b/react-icons/fa/glide.d.ts index 2f37cd0396..06dcac76dd 100644 --- a/react-icons/fa/glide.d.ts +++ b/react-icons/fa/glide.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGlide extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/globe.d.ts b/react-icons/fa/globe.d.ts index c4abca76a1..6e7d88e510 100644 --- a/react-icons/fa/globe.d.ts +++ b/react-icons/fa/globe.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGlobe extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/google-plus-square.d.ts b/react-icons/fa/google-plus-square.d.ts index 6cbec6fb0f..db32fc42d5 100644 --- a/react-icons/fa/google-plus-square.d.ts +++ b/react-icons/fa/google-plus-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGooglePlusSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/google-plus.d.ts b/react-icons/fa/google-plus.d.ts index 7332f4299c..2d007e395f 100644 --- a/react-icons/fa/google-plus.d.ts +++ b/react-icons/fa/google-plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGooglePlus extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/google-wallet.d.ts b/react-icons/fa/google-wallet.d.ts index ea0d82eb34..23521ab9ca 100644 --- a/react-icons/fa/google-wallet.d.ts +++ b/react-icons/fa/google-wallet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGoogleWallet extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/google.d.ts b/react-icons/fa/google.d.ts index 8d4e78fdb9..3316e73f9a 100644 --- a/react-icons/fa/google.d.ts +++ b/react-icons/fa/google.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGoogle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/graduation-cap.d.ts b/react-icons/fa/graduation-cap.d.ts index 0674575ddc..0208000eb0 100644 --- a/react-icons/fa/graduation-cap.d.ts +++ b/react-icons/fa/graduation-cap.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGraduationCap extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/group.d.ts b/react-icons/fa/group.d.ts index bea44128bf..799bf3e4a3 100644 --- a/react-icons/fa/group.d.ts +++ b/react-icons/fa/group.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaGroup extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/h-square.d.ts b/react-icons/fa/h-square.d.ts index f56826d34a..9329a12a37 100644 --- a/react-icons/fa/h-square.d.ts +++ b/react-icons/fa/h-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hacker-news.d.ts b/react-icons/fa/hacker-news.d.ts index 60aac50007..61be5021aa 100644 --- a/react-icons/fa/hacker-news.d.ts +++ b/react-icons/fa/hacker-news.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHackerNews extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-grab-o.d.ts b/react-icons/fa/hand-grab-o.d.ts index 71853e811f..f34ecf5631 100644 --- a/react-icons/fa/hand-grab-o.d.ts +++ b/react-icons/fa/hand-grab-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandGrabO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-lizard-o.d.ts b/react-icons/fa/hand-lizard-o.d.ts index 060c5476e7..510af4ddb1 100644 --- a/react-icons/fa/hand-lizard-o.d.ts +++ b/react-icons/fa/hand-lizard-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandLizardO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-o-down.d.ts b/react-icons/fa/hand-o-down.d.ts index d2aebb45de..1890d90d0a 100644 --- a/react-icons/fa/hand-o-down.d.ts +++ b/react-icons/fa/hand-o-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandODown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-o-left.d.ts b/react-icons/fa/hand-o-left.d.ts index 161b268148..cb11017a86 100644 --- a/react-icons/fa/hand-o-left.d.ts +++ b/react-icons/fa/hand-o-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandOLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-o-right.d.ts b/react-icons/fa/hand-o-right.d.ts index f65a69a964..32ed938dfe 100644 --- a/react-icons/fa/hand-o-right.d.ts +++ b/react-icons/fa/hand-o-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandORight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-o-up.d.ts b/react-icons/fa/hand-o-up.d.ts index 318abde664..6118b8f689 100644 --- a/react-icons/fa/hand-o-up.d.ts +++ b/react-icons/fa/hand-o-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandOUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-paper-o.d.ts b/react-icons/fa/hand-paper-o.d.ts index 7a64c3821d..94f0f4dece 100644 --- a/react-icons/fa/hand-paper-o.d.ts +++ b/react-icons/fa/hand-paper-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandPaperO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-peace-o.d.ts b/react-icons/fa/hand-peace-o.d.ts index 7ebc332907..1dd78aeab3 100644 --- a/react-icons/fa/hand-peace-o.d.ts +++ b/react-icons/fa/hand-peace-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandPeaceO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-pointer-o.d.ts b/react-icons/fa/hand-pointer-o.d.ts index 75987c4272..7fb08b59ac 100644 --- a/react-icons/fa/hand-pointer-o.d.ts +++ b/react-icons/fa/hand-pointer-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandPointerO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-scissors-o.d.ts b/react-icons/fa/hand-scissors-o.d.ts index a943044eb8..3ea147616e 100644 --- a/react-icons/fa/hand-scissors-o.d.ts +++ b/react-icons/fa/hand-scissors-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandScissorsO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hand-spock-o.d.ts b/react-icons/fa/hand-spock-o.d.ts index e52da306dc..d8ea0b0916 100644 --- a/react-icons/fa/hand-spock-o.d.ts +++ b/react-icons/fa/hand-spock-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHandSpockO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hashtag.d.ts b/react-icons/fa/hashtag.d.ts index e673160f12..ba731c82b4 100644 --- a/react-icons/fa/hashtag.d.ts +++ b/react-icons/fa/hashtag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHashtag extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hdd-o.d.ts b/react-icons/fa/hdd-o.d.ts index f773d4881a..e70d08fc72 100644 --- a/react-icons/fa/hdd-o.d.ts +++ b/react-icons/fa/hdd-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHddO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/header.d.ts b/react-icons/fa/header.d.ts index 14f7c0db93..a9622fee81 100644 --- a/react-icons/fa/header.d.ts +++ b/react-icons/fa/header.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHeader extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/headphones.d.ts b/react-icons/fa/headphones.d.ts index ae157eb948..2c2056b480 100644 --- a/react-icons/fa/headphones.d.ts +++ b/react-icons/fa/headphones.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHeadphones extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/heart-o.d.ts b/react-icons/fa/heart-o.d.ts index 994eaa53e4..d6a5b1112b 100644 --- a/react-icons/fa/heart-o.d.ts +++ b/react-icons/fa/heart-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHeartO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/heart.d.ts b/react-icons/fa/heart.d.ts index 34163f996b..26103c7c89 100644 --- a/react-icons/fa/heart.d.ts +++ b/react-icons/fa/heart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHeart extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/heartbeat.d.ts b/react-icons/fa/heartbeat.d.ts index cdb67485bc..2e8deb079b 100644 --- a/react-icons/fa/heartbeat.d.ts +++ b/react-icons/fa/heartbeat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHeartbeat extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/history.d.ts b/react-icons/fa/history.d.ts index 1f8d7f24d4..8df975789f 100644 --- a/react-icons/fa/history.d.ts +++ b/react-icons/fa/history.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHistory extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/home.d.ts b/react-icons/fa/home.d.ts index 1082739fd9..4f43bbd215 100644 --- a/react-icons/fa/home.d.ts +++ b/react-icons/fa/home.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHome extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hospital-o.d.ts b/react-icons/fa/hospital-o.d.ts index d03e724a10..33348534ee 100644 --- a/react-icons/fa/hospital-o.d.ts +++ b/react-icons/fa/hospital-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHospitalO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hourglass-1.d.ts b/react-icons/fa/hourglass-1.d.ts index b78ac635fe..06ce0e99c9 100644 --- a/react-icons/fa/hourglass-1.d.ts +++ b/react-icons/fa/hourglass-1.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHourglass1 extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hourglass-2.d.ts b/react-icons/fa/hourglass-2.d.ts index 25efc6ba04..bf5d38ad05 100644 --- a/react-icons/fa/hourglass-2.d.ts +++ b/react-icons/fa/hourglass-2.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHourglass2 extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hourglass-3.d.ts b/react-icons/fa/hourglass-3.d.ts index 4140eeedcf..5bfdaf800f 100644 --- a/react-icons/fa/hourglass-3.d.ts +++ b/react-icons/fa/hourglass-3.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHourglass3 extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hourglass-o.d.ts b/react-icons/fa/hourglass-o.d.ts index 1f63a88221..ddc4c3c5db 100644 --- a/react-icons/fa/hourglass-o.d.ts +++ b/react-icons/fa/hourglass-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHourglassO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/hourglass.d.ts b/react-icons/fa/hourglass.d.ts index 687e3a07b3..9f97ff54db 100644 --- a/react-icons/fa/hourglass.d.ts +++ b/react-icons/fa/hourglass.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHourglass extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/houzz.d.ts b/react-icons/fa/houzz.d.ts index 6f7e0ee6ab..0888c5574e 100644 --- a/react-icons/fa/houzz.d.ts +++ b/react-icons/fa/houzz.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHouzz extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/html5.d.ts b/react-icons/fa/html5.d.ts index 27b2c95835..1eab745bab 100644 --- a/react-icons/fa/html5.d.ts +++ b/react-icons/fa/html5.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaHtml5 extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/i-cursor.d.ts b/react-icons/fa/i-cursor.d.ts index d2f36f9ece..623d078376 100644 --- a/react-icons/fa/i-cursor.d.ts +++ b/react-icons/fa/i-cursor.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaICursor extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/ils.d.ts b/react-icons/fa/ils.d.ts index ffc6dceb91..14b0b81c3c 100644 --- a/react-icons/fa/ils.d.ts +++ b/react-icons/fa/ils.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaIls extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/image.d.ts b/react-icons/fa/image.d.ts index de74651d15..4bc805b234 100644 --- a/react-icons/fa/image.d.ts +++ b/react-icons/fa/image.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaImage extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/inbox.d.ts b/react-icons/fa/inbox.d.ts index e9b7624fa9..b8d18a30f9 100644 --- a/react-icons/fa/inbox.d.ts +++ b/react-icons/fa/inbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaInbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/indent.d.ts b/react-icons/fa/indent.d.ts index f292801493..42a92bdf33 100644 --- a/react-icons/fa/indent.d.ts +++ b/react-icons/fa/indent.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaIndent extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/index.d.ts b/react-icons/fa/index.d.ts index ec024a8515..0e47d2c7b6 100644 --- a/react-icons/fa/index.d.ts +++ b/react-icons/fa/index.d.ts @@ -1,3 +1,4 @@ +// TypeScript Version: 2.1 import _Fa500px from "./500px"; import _FaAdjust from "./adjust"; import _FaAdn from "./adn"; diff --git a/react-icons/fa/industry.d.ts b/react-icons/fa/industry.d.ts index 065603029d..e8f3a71c39 100644 --- a/react-icons/fa/industry.d.ts +++ b/react-icons/fa/industry.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaIndustry extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/info-circle.d.ts b/react-icons/fa/info-circle.d.ts index 3cdd4ba910..0ae7990657 100644 --- a/react-icons/fa/info-circle.d.ts +++ b/react-icons/fa/info-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaInfoCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/info.d.ts b/react-icons/fa/info.d.ts index 12d384346c..63b23295dd 100644 --- a/react-icons/fa/info.d.ts +++ b/react-icons/fa/info.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaInfo extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/inr.d.ts b/react-icons/fa/inr.d.ts index 2a6866f938..e417fb6e0b 100644 --- a/react-icons/fa/inr.d.ts +++ b/react-icons/fa/inr.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaInr extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/instagram.d.ts b/react-icons/fa/instagram.d.ts index 7d7de6bd2a..dfa026fc6f 100644 --- a/react-icons/fa/instagram.d.ts +++ b/react-icons/fa/instagram.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaInstagram extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/internet-explorer.d.ts b/react-icons/fa/internet-explorer.d.ts index a8f01ab4b2..23bbe1a7b0 100644 --- a/react-icons/fa/internet-explorer.d.ts +++ b/react-icons/fa/internet-explorer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaInternetExplorer extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/intersex.d.ts b/react-icons/fa/intersex.d.ts index dbee84f6ad..57b84d48f5 100644 --- a/react-icons/fa/intersex.d.ts +++ b/react-icons/fa/intersex.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaIntersex extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/ioxhost.d.ts b/react-icons/fa/ioxhost.d.ts index 9780683693..fc7351ee08 100644 --- a/react-icons/fa/ioxhost.d.ts +++ b/react-icons/fa/ioxhost.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaIoxhost extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/italic.d.ts b/react-icons/fa/italic.d.ts index 14e917dc7e..6360ef0ef5 100644 --- a/react-icons/fa/italic.d.ts +++ b/react-icons/fa/italic.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaItalic extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/joomla.d.ts b/react-icons/fa/joomla.d.ts index d8b9aeccab..637ab49291 100644 --- a/react-icons/fa/joomla.d.ts +++ b/react-icons/fa/joomla.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaJoomla extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/jsfiddle.d.ts b/react-icons/fa/jsfiddle.d.ts index 9c639e451e..ab62bf89e3 100644 --- a/react-icons/fa/jsfiddle.d.ts +++ b/react-icons/fa/jsfiddle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaJsfiddle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/key.d.ts b/react-icons/fa/key.d.ts index 3f3dc8582e..3bac6b8d11 100644 --- a/react-icons/fa/key.d.ts +++ b/react-icons/fa/key.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaKey extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/keyboard-o.d.ts b/react-icons/fa/keyboard-o.d.ts index c0c7868c28..8229afa237 100644 --- a/react-icons/fa/keyboard-o.d.ts +++ b/react-icons/fa/keyboard-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaKeyboardO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/krw.d.ts b/react-icons/fa/krw.d.ts index c992f907af..516baa23c2 100644 --- a/react-icons/fa/krw.d.ts +++ b/react-icons/fa/krw.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaKrw extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/language.d.ts b/react-icons/fa/language.d.ts index df9d7a4f6e..f489fc48f4 100644 --- a/react-icons/fa/language.d.ts +++ b/react-icons/fa/language.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLanguage extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/laptop.d.ts b/react-icons/fa/laptop.d.ts index 82c3b88653..cd963fcd4a 100644 --- a/react-icons/fa/laptop.d.ts +++ b/react-icons/fa/laptop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLaptop extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/lastfm-square.d.ts b/react-icons/fa/lastfm-square.d.ts index fb5e99b2c2..abe2993513 100644 --- a/react-icons/fa/lastfm-square.d.ts +++ b/react-icons/fa/lastfm-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLastfmSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/lastfm.d.ts b/react-icons/fa/lastfm.d.ts index 7d7e3a6bc9..a12a814e2d 100644 --- a/react-icons/fa/lastfm.d.ts +++ b/react-icons/fa/lastfm.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLastfm extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/leaf.d.ts b/react-icons/fa/leaf.d.ts index 5cf93b0df7..19995e5bab 100644 --- a/react-icons/fa/leaf.d.ts +++ b/react-icons/fa/leaf.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLeaf extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/leanpub.d.ts b/react-icons/fa/leanpub.d.ts index bf8513f910..c8016a794c 100644 --- a/react-icons/fa/leanpub.d.ts +++ b/react-icons/fa/leanpub.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLeanpub extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/lemon-o.d.ts b/react-icons/fa/lemon-o.d.ts index 378c6e4290..28517c5104 100644 --- a/react-icons/fa/lemon-o.d.ts +++ b/react-icons/fa/lemon-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLemonO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/level-down.d.ts b/react-icons/fa/level-down.d.ts index 0ed37125d1..52fb1d523a 100644 --- a/react-icons/fa/level-down.d.ts +++ b/react-icons/fa/level-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLevelDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/level-up.d.ts b/react-icons/fa/level-up.d.ts index a467875d8d..b2e984b268 100644 --- a/react-icons/fa/level-up.d.ts +++ b/react-icons/fa/level-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLevelUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/life-bouy.d.ts b/react-icons/fa/life-bouy.d.ts index a1bc9bb7e7..4754863b05 100644 --- a/react-icons/fa/life-bouy.d.ts +++ b/react-icons/fa/life-bouy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLifeBouy extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/lightbulb-o.d.ts b/react-icons/fa/lightbulb-o.d.ts index a92e219c42..2086f81c89 100644 --- a/react-icons/fa/lightbulb-o.d.ts +++ b/react-icons/fa/lightbulb-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLightbulbO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/line-chart.d.ts b/react-icons/fa/line-chart.d.ts index e92ad7c28e..597b086804 100644 --- a/react-icons/fa/line-chart.d.ts +++ b/react-icons/fa/line-chart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLineChart extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/linkedin-square.d.ts b/react-icons/fa/linkedin-square.d.ts index c245a515f1..3bf5af6aa7 100644 --- a/react-icons/fa/linkedin-square.d.ts +++ b/react-icons/fa/linkedin-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLinkedinSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/linkedin.d.ts b/react-icons/fa/linkedin.d.ts index 2e3058eb6d..515040ac7d 100644 --- a/react-icons/fa/linkedin.d.ts +++ b/react-icons/fa/linkedin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLinkedin extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/linux.d.ts b/react-icons/fa/linux.d.ts index ba1c90215a..e6ff75978e 100644 --- a/react-icons/fa/linux.d.ts +++ b/react-icons/fa/linux.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLinux extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/list-alt.d.ts b/react-icons/fa/list-alt.d.ts index 8469ec582d..67c809022b 100644 --- a/react-icons/fa/list-alt.d.ts +++ b/react-icons/fa/list-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaListAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/list-ol.d.ts b/react-icons/fa/list-ol.d.ts index 64d4387b55..2cf4a1dd0b 100644 --- a/react-icons/fa/list-ol.d.ts +++ b/react-icons/fa/list-ol.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaListOl extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/list-ul.d.ts b/react-icons/fa/list-ul.d.ts index be4fcac55c..e7e2a2cdf3 100644 --- a/react-icons/fa/list-ul.d.ts +++ b/react-icons/fa/list-ul.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaListUl extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/list.d.ts b/react-icons/fa/list.d.ts index 940a3c7e3e..795dbd68cf 100644 --- a/react-icons/fa/list.d.ts +++ b/react-icons/fa/list.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaList extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/location-arrow.d.ts b/react-icons/fa/location-arrow.d.ts index 6384a6872e..d599a5c2ec 100644 --- a/react-icons/fa/location-arrow.d.ts +++ b/react-icons/fa/location-arrow.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLocationArrow extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/lock.d.ts b/react-icons/fa/lock.d.ts index a0b901cb0f..c3c7beb04b 100644 --- a/react-icons/fa/lock.d.ts +++ b/react-icons/fa/lock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLock extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/long-arrow-down.d.ts b/react-icons/fa/long-arrow-down.d.ts index 2662b7b62c..7a8b91d812 100644 --- a/react-icons/fa/long-arrow-down.d.ts +++ b/react-icons/fa/long-arrow-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLongArrowDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/long-arrow-left.d.ts b/react-icons/fa/long-arrow-left.d.ts index 70a24fa77e..cd69a8acfd 100644 --- a/react-icons/fa/long-arrow-left.d.ts +++ b/react-icons/fa/long-arrow-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLongArrowLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/long-arrow-right.d.ts b/react-icons/fa/long-arrow-right.d.ts index 49a1e41143..8f98b59ee8 100644 --- a/react-icons/fa/long-arrow-right.d.ts +++ b/react-icons/fa/long-arrow-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLongArrowRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/long-arrow-up.d.ts b/react-icons/fa/long-arrow-up.d.ts index cea0a0e3e1..778d8a3fca 100644 --- a/react-icons/fa/long-arrow-up.d.ts +++ b/react-icons/fa/long-arrow-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLongArrowUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/low-vision.d.ts b/react-icons/fa/low-vision.d.ts index af6de88707..49a05aed36 100644 --- a/react-icons/fa/low-vision.d.ts +++ b/react-icons/fa/low-vision.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaLowVision extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/magic.d.ts b/react-icons/fa/magic.d.ts index 9973e70e3a..246004a8fe 100644 --- a/react-icons/fa/magic.d.ts +++ b/react-icons/fa/magic.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMagic extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/magnet.d.ts b/react-icons/fa/magnet.d.ts index dae7fb414b..4fcf556fb5 100644 --- a/react-icons/fa/magnet.d.ts +++ b/react-icons/fa/magnet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMagnet extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mail-forward.d.ts b/react-icons/fa/mail-forward.d.ts index 205b2c5186..dc035945c8 100644 --- a/react-icons/fa/mail-forward.d.ts +++ b/react-icons/fa/mail-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMailForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mail-reply-all.d.ts b/react-icons/fa/mail-reply-all.d.ts index 65488971f1..ef29bd6f96 100644 --- a/react-icons/fa/mail-reply-all.d.ts +++ b/react-icons/fa/mail-reply-all.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMailReplyAll extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mail-reply.d.ts b/react-icons/fa/mail-reply.d.ts index 0bf9506f9f..7d44d2edca 100644 --- a/react-icons/fa/mail-reply.d.ts +++ b/react-icons/fa/mail-reply.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMailReply extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/male.d.ts b/react-icons/fa/male.d.ts index 2021eed6cf..0996b39c1a 100644 --- a/react-icons/fa/male.d.ts +++ b/react-icons/fa/male.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMale extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/map-marker.d.ts b/react-icons/fa/map-marker.d.ts index 1020a0d962..18d86b09ac 100644 --- a/react-icons/fa/map-marker.d.ts +++ b/react-icons/fa/map-marker.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMapMarker extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/map-o.d.ts b/react-icons/fa/map-o.d.ts index 338425c827..b09e7144dc 100644 --- a/react-icons/fa/map-o.d.ts +++ b/react-icons/fa/map-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMapO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/map-pin.d.ts b/react-icons/fa/map-pin.d.ts index f24ecf840b..1fa56fd90e 100644 --- a/react-icons/fa/map-pin.d.ts +++ b/react-icons/fa/map-pin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMapPin extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/map-signs.d.ts b/react-icons/fa/map-signs.d.ts index 303b1d7255..2dc3ea10e9 100644 --- a/react-icons/fa/map-signs.d.ts +++ b/react-icons/fa/map-signs.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMapSigns extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/map.d.ts b/react-icons/fa/map.d.ts index 32715de18a..37cd618f5f 100644 --- a/react-icons/fa/map.d.ts +++ b/react-icons/fa/map.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMap extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mars-double.d.ts b/react-icons/fa/mars-double.d.ts index a703a4b58d..966aacc073 100644 --- a/react-icons/fa/mars-double.d.ts +++ b/react-icons/fa/mars-double.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMarsDouble extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mars-stroke-h.d.ts b/react-icons/fa/mars-stroke-h.d.ts index 052359b4ad..920e65c879 100644 --- a/react-icons/fa/mars-stroke-h.d.ts +++ b/react-icons/fa/mars-stroke-h.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMarsStrokeH extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mars-stroke-v.d.ts b/react-icons/fa/mars-stroke-v.d.ts index a98be26bf3..03bfc5fbdd 100644 --- a/react-icons/fa/mars-stroke-v.d.ts +++ b/react-icons/fa/mars-stroke-v.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMarsStrokeV extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mars-stroke.d.ts b/react-icons/fa/mars-stroke.d.ts index ba35e62d87..515312992c 100644 --- a/react-icons/fa/mars-stroke.d.ts +++ b/react-icons/fa/mars-stroke.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMarsStroke extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mars.d.ts b/react-icons/fa/mars.d.ts index 8ad3052cd6..9c54e0b381 100644 --- a/react-icons/fa/mars.d.ts +++ b/react-icons/fa/mars.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMars extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/maxcdn.d.ts b/react-icons/fa/maxcdn.d.ts index 1980392ee3..5e5334b4b1 100644 --- a/react-icons/fa/maxcdn.d.ts +++ b/react-icons/fa/maxcdn.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMaxcdn extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/meanpath.d.ts b/react-icons/fa/meanpath.d.ts index d8e4dc6e68..91df87b30b 100644 --- a/react-icons/fa/meanpath.d.ts +++ b/react-icons/fa/meanpath.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMeanpath extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/medium.d.ts b/react-icons/fa/medium.d.ts index 905ffd3423..6d7d8a352b 100644 --- a/react-icons/fa/medium.d.ts +++ b/react-icons/fa/medium.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMedium extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/medkit.d.ts b/react-icons/fa/medkit.d.ts index acbdec4234..47abf0a91e 100644 --- a/react-icons/fa/medkit.d.ts +++ b/react-icons/fa/medkit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMedkit extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/meh-o.d.ts b/react-icons/fa/meh-o.d.ts index 4a5cb9cbc8..59b4dffd53 100644 --- a/react-icons/fa/meh-o.d.ts +++ b/react-icons/fa/meh-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMehO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mercury.d.ts b/react-icons/fa/mercury.d.ts index 28b5633f2a..c639af6712 100644 --- a/react-icons/fa/mercury.d.ts +++ b/react-icons/fa/mercury.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMercury extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/microphone-slash.d.ts b/react-icons/fa/microphone-slash.d.ts index 533f4e9011..3eeaead1d7 100644 --- a/react-icons/fa/microphone-slash.d.ts +++ b/react-icons/fa/microphone-slash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMicrophoneSlash extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/microphone.d.ts b/react-icons/fa/microphone.d.ts index 2b16001ed5..cf67cd28a2 100644 --- a/react-icons/fa/microphone.d.ts +++ b/react-icons/fa/microphone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMicrophone extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/minus-circle.d.ts b/react-icons/fa/minus-circle.d.ts index 5f447e9d3c..11dcd97b9c 100644 --- a/react-icons/fa/minus-circle.d.ts +++ b/react-icons/fa/minus-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMinusCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/minus-square-o.d.ts b/react-icons/fa/minus-square-o.d.ts index 3f214e57c0..a1feec8569 100644 --- a/react-icons/fa/minus-square-o.d.ts +++ b/react-icons/fa/minus-square-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMinusSquareO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/minus-square.d.ts b/react-icons/fa/minus-square.d.ts index 0df8af13e1..d5da621dd4 100644 --- a/react-icons/fa/minus-square.d.ts +++ b/react-icons/fa/minus-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMinusSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/minus.d.ts b/react-icons/fa/minus.d.ts index 7bfdce664a..4b12b0c1a8 100644 --- a/react-icons/fa/minus.d.ts +++ b/react-icons/fa/minus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMinus extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mixcloud.d.ts b/react-icons/fa/mixcloud.d.ts index 3ebde165ba..a4e3eed159 100644 --- a/react-icons/fa/mixcloud.d.ts +++ b/react-icons/fa/mixcloud.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMixcloud extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mobile.d.ts b/react-icons/fa/mobile.d.ts index 5c9b2bb0cf..8b70a03bd9 100644 --- a/react-icons/fa/mobile.d.ts +++ b/react-icons/fa/mobile.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMobile extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/modx.d.ts b/react-icons/fa/modx.d.ts index 456bc4c2be..84cab2fa69 100644 --- a/react-icons/fa/modx.d.ts +++ b/react-icons/fa/modx.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaModx extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/money.d.ts b/react-icons/fa/money.d.ts index d71ef449fc..3849860fa3 100644 --- a/react-icons/fa/money.d.ts +++ b/react-icons/fa/money.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMoney extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/moon-o.d.ts b/react-icons/fa/moon-o.d.ts index facd689e1d..83f5f71852 100644 --- a/react-icons/fa/moon-o.d.ts +++ b/react-icons/fa/moon-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMoonO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/motorcycle.d.ts b/react-icons/fa/motorcycle.d.ts index 712ccfdc72..4e27c4f1d5 100644 --- a/react-icons/fa/motorcycle.d.ts +++ b/react-icons/fa/motorcycle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMotorcycle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/mouse-pointer.d.ts b/react-icons/fa/mouse-pointer.d.ts index e4963a4449..1d3f5efb7a 100644 --- a/react-icons/fa/mouse-pointer.d.ts +++ b/react-icons/fa/mouse-pointer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMousePointer extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/music.d.ts b/react-icons/fa/music.d.ts index 95ec220b25..26f1c12373 100644 --- a/react-icons/fa/music.d.ts +++ b/react-icons/fa/music.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaMusic extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/neuter.d.ts b/react-icons/fa/neuter.d.ts index baada6e8a0..2277dc93fe 100644 --- a/react-icons/fa/neuter.d.ts +++ b/react-icons/fa/neuter.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaNeuter extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/newspaper-o.d.ts b/react-icons/fa/newspaper-o.d.ts index d13977de93..bd34cbb158 100644 --- a/react-icons/fa/newspaper-o.d.ts +++ b/react-icons/fa/newspaper-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaNewspaperO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/object-group.d.ts b/react-icons/fa/object-group.d.ts index fd46228d1e..9ba2a069f4 100644 --- a/react-icons/fa/object-group.d.ts +++ b/react-icons/fa/object-group.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaObjectGroup extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/object-ungroup.d.ts b/react-icons/fa/object-ungroup.d.ts index e1b0ec954d..da00a4e6cf 100644 --- a/react-icons/fa/object-ungroup.d.ts +++ b/react-icons/fa/object-ungroup.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaObjectUngroup extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/odnoklassniki-square.d.ts b/react-icons/fa/odnoklassniki-square.d.ts index 328a8a4549..4eecae443f 100644 --- a/react-icons/fa/odnoklassniki-square.d.ts +++ b/react-icons/fa/odnoklassniki-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaOdnoklassnikiSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/odnoklassniki.d.ts b/react-icons/fa/odnoklassniki.d.ts index 20f5993252..5ee1a690b6 100644 --- a/react-icons/fa/odnoklassniki.d.ts +++ b/react-icons/fa/odnoklassniki.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaOdnoklassniki extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/opencart.d.ts b/react-icons/fa/opencart.d.ts index 38cd697ea8..9ca2ad25ce 100644 --- a/react-icons/fa/opencart.d.ts +++ b/react-icons/fa/opencart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaOpencart extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/openid.d.ts b/react-icons/fa/openid.d.ts index ec4f05bb35..b0da49192d 100644 --- a/react-icons/fa/openid.d.ts +++ b/react-icons/fa/openid.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaOpenid extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/opera.d.ts b/react-icons/fa/opera.d.ts index f258ccde96..91a21c5487 100644 --- a/react-icons/fa/opera.d.ts +++ b/react-icons/fa/opera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaOpera extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/optin-monster.d.ts b/react-icons/fa/optin-monster.d.ts index beac65b808..9311cfdae3 100644 --- a/react-icons/fa/optin-monster.d.ts +++ b/react-icons/fa/optin-monster.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaOptinMonster extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pagelines.d.ts b/react-icons/fa/pagelines.d.ts index 207e16391b..1dacf5c783 100644 --- a/react-icons/fa/pagelines.d.ts +++ b/react-icons/fa/pagelines.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPagelines extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/paint-brush.d.ts b/react-icons/fa/paint-brush.d.ts index bac6fb90c2..74eb2eb892 100644 --- a/react-icons/fa/paint-brush.d.ts +++ b/react-icons/fa/paint-brush.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPaintBrush extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/paper-plane-o.d.ts b/react-icons/fa/paper-plane-o.d.ts index dbeff1ec55..586315b13d 100644 --- a/react-icons/fa/paper-plane-o.d.ts +++ b/react-icons/fa/paper-plane-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPaperPlaneO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/paper-plane.d.ts b/react-icons/fa/paper-plane.d.ts index 2a6d9c2ae0..a2ea475cfb 100644 --- a/react-icons/fa/paper-plane.d.ts +++ b/react-icons/fa/paper-plane.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPaperPlane extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/paperclip.d.ts b/react-icons/fa/paperclip.d.ts index dc5c3f3fa4..450b075c07 100644 --- a/react-icons/fa/paperclip.d.ts +++ b/react-icons/fa/paperclip.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPaperclip extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/paragraph.d.ts b/react-icons/fa/paragraph.d.ts index 6a3d0a1c26..7adbb9c636 100644 --- a/react-icons/fa/paragraph.d.ts +++ b/react-icons/fa/paragraph.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaParagraph extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pause-circle-o.d.ts b/react-icons/fa/pause-circle-o.d.ts index a3e92cf0a2..3c7f9833c9 100644 --- a/react-icons/fa/pause-circle-o.d.ts +++ b/react-icons/fa/pause-circle-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPauseCircleO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pause-circle.d.ts b/react-icons/fa/pause-circle.d.ts index 19a13c5b7c..0e1d4fd362 100644 --- a/react-icons/fa/pause-circle.d.ts +++ b/react-icons/fa/pause-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPauseCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pause.d.ts b/react-icons/fa/pause.d.ts index 5dbc6cc8f5..7b4c0ab089 100644 --- a/react-icons/fa/pause.d.ts +++ b/react-icons/fa/pause.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPause extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/paw.d.ts b/react-icons/fa/paw.d.ts index 43ec45421b..f3023b34ef 100644 --- a/react-icons/fa/paw.d.ts +++ b/react-icons/fa/paw.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPaw extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/paypal.d.ts b/react-icons/fa/paypal.d.ts index 656ce66d66..7a13de088f 100644 --- a/react-icons/fa/paypal.d.ts +++ b/react-icons/fa/paypal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPaypal extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pencil-square.d.ts b/react-icons/fa/pencil-square.d.ts index 7a6ef09d67..030da111ce 100644 --- a/react-icons/fa/pencil-square.d.ts +++ b/react-icons/fa/pencil-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPencilSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pencil.d.ts b/react-icons/fa/pencil.d.ts index 824e32f274..392228be54 100644 --- a/react-icons/fa/pencil.d.ts +++ b/react-icons/fa/pencil.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPencil extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/percent.d.ts b/react-icons/fa/percent.d.ts index 4e29b9aa8a..7ca1535015 100644 --- a/react-icons/fa/percent.d.ts +++ b/react-icons/fa/percent.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPercent extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/phone-square.d.ts b/react-icons/fa/phone-square.d.ts index 13add3a285..896b00fbd6 100644 --- a/react-icons/fa/phone-square.d.ts +++ b/react-icons/fa/phone-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPhoneSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/phone.d.ts b/react-icons/fa/phone.d.ts index f3e8097ebe..4bee3b631e 100644 --- a/react-icons/fa/phone.d.ts +++ b/react-icons/fa/phone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPhone extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pie-chart.d.ts b/react-icons/fa/pie-chart.d.ts index 4be742a543..f96bc04f11 100644 --- a/react-icons/fa/pie-chart.d.ts +++ b/react-icons/fa/pie-chart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPieChart extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pied-piper-alt.d.ts b/react-icons/fa/pied-piper-alt.d.ts index 859eb5b879..1386a961cd 100644 --- a/react-icons/fa/pied-piper-alt.d.ts +++ b/react-icons/fa/pied-piper-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPiedPiperAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pied-piper.d.ts b/react-icons/fa/pied-piper.d.ts index 3ed85cdc58..0c07a58840 100644 --- a/react-icons/fa/pied-piper.d.ts +++ b/react-icons/fa/pied-piper.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPiedPiper extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pinterest-p.d.ts b/react-icons/fa/pinterest-p.d.ts index d5291a5e63..0bba8d4e9f 100644 --- a/react-icons/fa/pinterest-p.d.ts +++ b/react-icons/fa/pinterest-p.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPinterestP extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pinterest-square.d.ts b/react-icons/fa/pinterest-square.d.ts index cb0a5649fb..41fd6bb46a 100644 --- a/react-icons/fa/pinterest-square.d.ts +++ b/react-icons/fa/pinterest-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPinterestSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/pinterest.d.ts b/react-icons/fa/pinterest.d.ts index 9648489719..6a86864bd3 100644 --- a/react-icons/fa/pinterest.d.ts +++ b/react-icons/fa/pinterest.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPinterest extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/plane.d.ts b/react-icons/fa/plane.d.ts index 3bba3ad6cd..96d07d06f9 100644 --- a/react-icons/fa/plane.d.ts +++ b/react-icons/fa/plane.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPlane extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/play-circle-o.d.ts b/react-icons/fa/play-circle-o.d.ts index a5e06c3bbd..56c7df8ef2 100644 --- a/react-icons/fa/play-circle-o.d.ts +++ b/react-icons/fa/play-circle-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPlayCircleO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/play-circle.d.ts b/react-icons/fa/play-circle.d.ts index 20d80fdd26..f1a6e280a8 100644 --- a/react-icons/fa/play-circle.d.ts +++ b/react-icons/fa/play-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPlayCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/play.d.ts b/react-icons/fa/play.d.ts index 3c7e7f3b2e..624d9f8692 100644 --- a/react-icons/fa/play.d.ts +++ b/react-icons/fa/play.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPlay extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/plug.d.ts b/react-icons/fa/plug.d.ts index 0de21392e5..99e00219dc 100644 --- a/react-icons/fa/plug.d.ts +++ b/react-icons/fa/plug.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPlug extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/plus-circle.d.ts b/react-icons/fa/plus-circle.d.ts index dcc8b22b2e..4880829e61 100644 --- a/react-icons/fa/plus-circle.d.ts +++ b/react-icons/fa/plus-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPlusCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/plus-square-o.d.ts b/react-icons/fa/plus-square-o.d.ts index 196ced0ab4..8c7b4865b2 100644 --- a/react-icons/fa/plus-square-o.d.ts +++ b/react-icons/fa/plus-square-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPlusSquareO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/plus-square.d.ts b/react-icons/fa/plus-square.d.ts index ac73117f04..fce4a9a7b9 100644 --- a/react-icons/fa/plus-square.d.ts +++ b/react-icons/fa/plus-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPlusSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/plus.d.ts b/react-icons/fa/plus.d.ts index 4e33e15df1..0979e4b4ee 100644 --- a/react-icons/fa/plus.d.ts +++ b/react-icons/fa/plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPlus extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/power-off.d.ts b/react-icons/fa/power-off.d.ts index b16847d0e7..a72295250d 100644 --- a/react-icons/fa/power-off.d.ts +++ b/react-icons/fa/power-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPowerOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/print.d.ts b/react-icons/fa/print.d.ts index 4326176239..cf2a67d131 100644 --- a/react-icons/fa/print.d.ts +++ b/react-icons/fa/print.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPrint extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/product-hunt.d.ts b/react-icons/fa/product-hunt.d.ts index c819bdd885..43b9df0f5c 100644 --- a/react-icons/fa/product-hunt.d.ts +++ b/react-icons/fa/product-hunt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaProductHunt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/puzzle-piece.d.ts b/react-icons/fa/puzzle-piece.d.ts index b1796b4170..a53253f7c9 100644 --- a/react-icons/fa/puzzle-piece.d.ts +++ b/react-icons/fa/puzzle-piece.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaPuzzlePiece extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/qq.d.ts b/react-icons/fa/qq.d.ts index fbe26d67c1..0e50a82002 100644 --- a/react-icons/fa/qq.d.ts +++ b/react-icons/fa/qq.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaQq extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/qrcode.d.ts b/react-icons/fa/qrcode.d.ts index 8c741c9e8b..7fc15f220b 100644 --- a/react-icons/fa/qrcode.d.ts +++ b/react-icons/fa/qrcode.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaQrcode extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/question-circle-o.d.ts b/react-icons/fa/question-circle-o.d.ts index 5ec089a48b..87b78dbc2b 100644 --- a/react-icons/fa/question-circle-o.d.ts +++ b/react-icons/fa/question-circle-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaQuestionCircleO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/question-circle.d.ts b/react-icons/fa/question-circle.d.ts index ddb7c6b7ff..0a111a034a 100644 --- a/react-icons/fa/question-circle.d.ts +++ b/react-icons/fa/question-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaQuestionCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/question.d.ts b/react-icons/fa/question.d.ts index 5b9bb30f32..fd81baf7f6 100644 --- a/react-icons/fa/question.d.ts +++ b/react-icons/fa/question.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaQuestion extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/quote-left.d.ts b/react-icons/fa/quote-left.d.ts index dc5900a86b..237bc50eb3 100644 --- a/react-icons/fa/quote-left.d.ts +++ b/react-icons/fa/quote-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaQuoteLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/quote-right.d.ts b/react-icons/fa/quote-right.d.ts index cc9aef7f9d..55e90430c8 100644 --- a/react-icons/fa/quote-right.d.ts +++ b/react-icons/fa/quote-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaQuoteRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/ra.d.ts b/react-icons/fa/ra.d.ts index 08a9235683..6bd73998a8 100644 --- a/react-icons/fa/ra.d.ts +++ b/react-icons/fa/ra.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRa extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/random.d.ts b/react-icons/fa/random.d.ts index 291123b83e..2b63393a0c 100644 --- a/react-icons/fa/random.d.ts +++ b/react-icons/fa/random.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRandom extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/recycle.d.ts b/react-icons/fa/recycle.d.ts index 7586a141d5..125f43dff5 100644 --- a/react-icons/fa/recycle.d.ts +++ b/react-icons/fa/recycle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRecycle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/reddit-alien.d.ts b/react-icons/fa/reddit-alien.d.ts index 3a1653e106..aec73ee0e6 100644 --- a/react-icons/fa/reddit-alien.d.ts +++ b/react-icons/fa/reddit-alien.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRedditAlien extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/reddit-square.d.ts b/react-icons/fa/reddit-square.d.ts index ccd5cc1941..020e9e6d8b 100644 --- a/react-icons/fa/reddit-square.d.ts +++ b/react-icons/fa/reddit-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRedditSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/reddit.d.ts b/react-icons/fa/reddit.d.ts index 00f3d45e9d..fc5eeaca24 100644 --- a/react-icons/fa/reddit.d.ts +++ b/react-icons/fa/reddit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaReddit extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/refresh.d.ts b/react-icons/fa/refresh.d.ts index 2edcde573f..2d8029496d 100644 --- a/react-icons/fa/refresh.d.ts +++ b/react-icons/fa/refresh.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRefresh extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/registered.d.ts b/react-icons/fa/registered.d.ts index 76fa7a8165..12fff9c9e1 100644 --- a/react-icons/fa/registered.d.ts +++ b/react-icons/fa/registered.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRegistered extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/renren.d.ts b/react-icons/fa/renren.d.ts index f9ca02f601..a1e620cf61 100644 --- a/react-icons/fa/renren.d.ts +++ b/react-icons/fa/renren.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRenren extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/repeat.d.ts b/react-icons/fa/repeat.d.ts index 59c73627d0..44bcf57168 100644 --- a/react-icons/fa/repeat.d.ts +++ b/react-icons/fa/repeat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRepeat extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/retweet.d.ts b/react-icons/fa/retweet.d.ts index a0a699fdf5..23ad8ebfb6 100644 --- a/react-icons/fa/retweet.d.ts +++ b/react-icons/fa/retweet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRetweet extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/road.d.ts b/react-icons/fa/road.d.ts index 09a71b92dc..8996faff9b 100644 --- a/react-icons/fa/road.d.ts +++ b/react-icons/fa/road.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRoad extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/rocket.d.ts b/react-icons/fa/rocket.d.ts index a68d569858..fc7128fd59 100644 --- a/react-icons/fa/rocket.d.ts +++ b/react-icons/fa/rocket.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRocket extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/rotate-left.d.ts b/react-icons/fa/rotate-left.d.ts index 11cb8a6193..3847ef64ce 100644 --- a/react-icons/fa/rotate-left.d.ts +++ b/react-icons/fa/rotate-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRotateLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/rouble.d.ts b/react-icons/fa/rouble.d.ts index bb230f5309..53a15eb0e7 100644 --- a/react-icons/fa/rouble.d.ts +++ b/react-icons/fa/rouble.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRouble extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/rss-square.d.ts b/react-icons/fa/rss-square.d.ts index 6beff109a7..49808b3cb3 100644 --- a/react-icons/fa/rss-square.d.ts +++ b/react-icons/fa/rss-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaRssSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/safari.d.ts b/react-icons/fa/safari.d.ts index c351ff45ee..8c0fce8605 100644 --- a/react-icons/fa/safari.d.ts +++ b/react-icons/fa/safari.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSafari extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/scribd.d.ts b/react-icons/fa/scribd.d.ts index 31dc664e43..46d9293e5c 100644 --- a/react-icons/fa/scribd.d.ts +++ b/react-icons/fa/scribd.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaScribd extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/search-minus.d.ts b/react-icons/fa/search-minus.d.ts index fd87ffc0e4..8d12a5a76f 100644 --- a/react-icons/fa/search-minus.d.ts +++ b/react-icons/fa/search-minus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSearchMinus extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/search-plus.d.ts b/react-icons/fa/search-plus.d.ts index 0955ad79db..eb83eaaa38 100644 --- a/react-icons/fa/search-plus.d.ts +++ b/react-icons/fa/search-plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSearchPlus extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/search.d.ts b/react-icons/fa/search.d.ts index ebfb8837b9..62a29228f4 100644 --- a/react-icons/fa/search.d.ts +++ b/react-icons/fa/search.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSearch extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sellsy.d.ts b/react-icons/fa/sellsy.d.ts index 03b1408a6b..96e9275083 100644 --- a/react-icons/fa/sellsy.d.ts +++ b/react-icons/fa/sellsy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSellsy extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/server.d.ts b/react-icons/fa/server.d.ts index e61ef69c83..41b8448244 100644 --- a/react-icons/fa/server.d.ts +++ b/react-icons/fa/server.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaServer extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/share-alt-square.d.ts b/react-icons/fa/share-alt-square.d.ts index ad508bbef5..6f50526769 100644 --- a/react-icons/fa/share-alt-square.d.ts +++ b/react-icons/fa/share-alt-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaShareAltSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/share-alt.d.ts b/react-icons/fa/share-alt.d.ts index 973b8f4c79..2f8780b915 100644 --- a/react-icons/fa/share-alt.d.ts +++ b/react-icons/fa/share-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaShareAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/share-square-o.d.ts b/react-icons/fa/share-square-o.d.ts index a51a0e9eab..502d7f5660 100644 --- a/react-icons/fa/share-square-o.d.ts +++ b/react-icons/fa/share-square-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaShareSquareO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/share-square.d.ts b/react-icons/fa/share-square.d.ts index ca49acb9d6..418c284b81 100644 --- a/react-icons/fa/share-square.d.ts +++ b/react-icons/fa/share-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaShareSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/shield.d.ts b/react-icons/fa/shield.d.ts index 3f65ea39d9..74da2fb8f2 100644 --- a/react-icons/fa/shield.d.ts +++ b/react-icons/fa/shield.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaShield extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/ship.d.ts b/react-icons/fa/ship.d.ts index fcc289559d..7b932027d6 100644 --- a/react-icons/fa/ship.d.ts +++ b/react-icons/fa/ship.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaShip extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/shirtsinbulk.d.ts b/react-icons/fa/shirtsinbulk.d.ts index 8cbc4ee804..38c972da97 100644 --- a/react-icons/fa/shirtsinbulk.d.ts +++ b/react-icons/fa/shirtsinbulk.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaShirtsinbulk extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/shopping-bag.d.ts b/react-icons/fa/shopping-bag.d.ts index 533fcd80d5..1f09f490c0 100644 --- a/react-icons/fa/shopping-bag.d.ts +++ b/react-icons/fa/shopping-bag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaShoppingBag extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/shopping-basket.d.ts b/react-icons/fa/shopping-basket.d.ts index 465aa80127..a5cee9db44 100644 --- a/react-icons/fa/shopping-basket.d.ts +++ b/react-icons/fa/shopping-basket.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaShoppingBasket extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/shopping-cart.d.ts b/react-icons/fa/shopping-cart.d.ts index 97264eb3f0..d8f7051ddf 100644 --- a/react-icons/fa/shopping-cart.d.ts +++ b/react-icons/fa/shopping-cart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaShoppingCart extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sign-in.d.ts b/react-icons/fa/sign-in.d.ts index 3ef3761f78..71499c08d0 100644 --- a/react-icons/fa/sign-in.d.ts +++ b/react-icons/fa/sign-in.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSignIn extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sign-language.d.ts b/react-icons/fa/sign-language.d.ts index 6ffeb6e641..f3ce435dd4 100644 --- a/react-icons/fa/sign-language.d.ts +++ b/react-icons/fa/sign-language.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSignLanguage extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sign-out.d.ts b/react-icons/fa/sign-out.d.ts index cbc5796b88..b6b59b82fd 100644 --- a/react-icons/fa/sign-out.d.ts +++ b/react-icons/fa/sign-out.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSignOut extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/signal.d.ts b/react-icons/fa/signal.d.ts index 9b579f859b..b28c5bde74 100644 --- a/react-icons/fa/signal.d.ts +++ b/react-icons/fa/signal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSignal extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/simplybuilt.d.ts b/react-icons/fa/simplybuilt.d.ts index 78b3903dce..de1b885bf0 100644 --- a/react-icons/fa/simplybuilt.d.ts +++ b/react-icons/fa/simplybuilt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSimplybuilt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sitemap.d.ts b/react-icons/fa/sitemap.d.ts index 9fdf514ff9..da0b230748 100644 --- a/react-icons/fa/sitemap.d.ts +++ b/react-icons/fa/sitemap.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSitemap extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/skyatlas.d.ts b/react-icons/fa/skyatlas.d.ts index 07866ff2f8..81d5916b27 100644 --- a/react-icons/fa/skyatlas.d.ts +++ b/react-icons/fa/skyatlas.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSkyatlas extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/skype.d.ts b/react-icons/fa/skype.d.ts index c7c84f8661..c88261d532 100644 --- a/react-icons/fa/skype.d.ts +++ b/react-icons/fa/skype.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSkype extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/slack.d.ts b/react-icons/fa/slack.d.ts index 018f7152cf..b8180445f1 100644 --- a/react-icons/fa/slack.d.ts +++ b/react-icons/fa/slack.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSlack extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sliders.d.ts b/react-icons/fa/sliders.d.ts index 7b4baf8ec4..0193187dba 100644 --- a/react-icons/fa/sliders.d.ts +++ b/react-icons/fa/sliders.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSliders extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/slideshare.d.ts b/react-icons/fa/slideshare.d.ts index e0901acbe3..7f48c79688 100644 --- a/react-icons/fa/slideshare.d.ts +++ b/react-icons/fa/slideshare.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSlideshare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/smile-o.d.ts b/react-icons/fa/smile-o.d.ts index c32482abfe..67295bfb84 100644 --- a/react-icons/fa/smile-o.d.ts +++ b/react-icons/fa/smile-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSmileO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/snapchat-ghost.d.ts b/react-icons/fa/snapchat-ghost.d.ts index 70878dc106..45f79398f8 100644 --- a/react-icons/fa/snapchat-ghost.d.ts +++ b/react-icons/fa/snapchat-ghost.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSnapchatGhost extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/snapchat-square.d.ts b/react-icons/fa/snapchat-square.d.ts index 1f35c75403..412c376992 100644 --- a/react-icons/fa/snapchat-square.d.ts +++ b/react-icons/fa/snapchat-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSnapchatSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/snapchat.d.ts b/react-icons/fa/snapchat.d.ts index 8725311af1..bed672b8f1 100644 --- a/react-icons/fa/snapchat.d.ts +++ b/react-icons/fa/snapchat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSnapchat extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sort-alpha-asc.d.ts b/react-icons/fa/sort-alpha-asc.d.ts index 8c6d236107..1eda3a533c 100644 --- a/react-icons/fa/sort-alpha-asc.d.ts +++ b/react-icons/fa/sort-alpha-asc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSortAlphaAsc extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sort-alpha-desc.d.ts b/react-icons/fa/sort-alpha-desc.d.ts index d0e10dd71b..0368742f1b 100644 --- a/react-icons/fa/sort-alpha-desc.d.ts +++ b/react-icons/fa/sort-alpha-desc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSortAlphaDesc extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sort-amount-asc.d.ts b/react-icons/fa/sort-amount-asc.d.ts index 2a39b96f11..2804ae1510 100644 --- a/react-icons/fa/sort-amount-asc.d.ts +++ b/react-icons/fa/sort-amount-asc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSortAmountAsc extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sort-amount-desc.d.ts b/react-icons/fa/sort-amount-desc.d.ts index c9b97bbeb4..a0ee7ddc29 100644 --- a/react-icons/fa/sort-amount-desc.d.ts +++ b/react-icons/fa/sort-amount-desc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSortAmountDesc extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sort-asc.d.ts b/react-icons/fa/sort-asc.d.ts index cc031126b4..fb9b5c6d1b 100644 --- a/react-icons/fa/sort-asc.d.ts +++ b/react-icons/fa/sort-asc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSortAsc extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sort-desc.d.ts b/react-icons/fa/sort-desc.d.ts index db873ab0c1..1585ba9f07 100644 --- a/react-icons/fa/sort-desc.d.ts +++ b/react-icons/fa/sort-desc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSortDesc extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sort-numeric-asc.d.ts b/react-icons/fa/sort-numeric-asc.d.ts index d69058f696..a20ca50468 100644 --- a/react-icons/fa/sort-numeric-asc.d.ts +++ b/react-icons/fa/sort-numeric-asc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSortNumericAsc extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sort-numeric-desc.d.ts b/react-icons/fa/sort-numeric-desc.d.ts index 48c3917039..7933db5c9d 100644 --- a/react-icons/fa/sort-numeric-desc.d.ts +++ b/react-icons/fa/sort-numeric-desc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSortNumericDesc extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sort.d.ts b/react-icons/fa/sort.d.ts index 37e66da564..c22901092d 100644 --- a/react-icons/fa/sort.d.ts +++ b/react-icons/fa/sort.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSort extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/soundcloud.d.ts b/react-icons/fa/soundcloud.d.ts index b6236d9fe3..26a082e19d 100644 --- a/react-icons/fa/soundcloud.d.ts +++ b/react-icons/fa/soundcloud.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSoundcloud extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/space-shuttle.d.ts b/react-icons/fa/space-shuttle.d.ts index 00fe47d3d5..e617ab6b1a 100644 --- a/react-icons/fa/space-shuttle.d.ts +++ b/react-icons/fa/space-shuttle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSpaceShuttle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/spinner.d.ts b/react-icons/fa/spinner.d.ts index 08ba1bde20..b81563aee6 100644 --- a/react-icons/fa/spinner.d.ts +++ b/react-icons/fa/spinner.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSpinner extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/spoon.d.ts b/react-icons/fa/spoon.d.ts index 88b229054f..e35be77484 100644 --- a/react-icons/fa/spoon.d.ts +++ b/react-icons/fa/spoon.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSpoon extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/spotify.d.ts b/react-icons/fa/spotify.d.ts index 8f9e26ad7c..3b800d02bf 100644 --- a/react-icons/fa/spotify.d.ts +++ b/react-icons/fa/spotify.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSpotify extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/square-o.d.ts b/react-icons/fa/square-o.d.ts index 176d86d568..4ff2011889 100644 --- a/react-icons/fa/square-o.d.ts +++ b/react-icons/fa/square-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSquareO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/square.d.ts b/react-icons/fa/square.d.ts index 27787bbcba..fb442a3960 100644 --- a/react-icons/fa/square.d.ts +++ b/react-icons/fa/square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/stack-exchange.d.ts b/react-icons/fa/stack-exchange.d.ts index 49c6aaa883..5ef24014e9 100644 --- a/react-icons/fa/stack-exchange.d.ts +++ b/react-icons/fa/stack-exchange.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStackExchange extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/stack-overflow.d.ts b/react-icons/fa/stack-overflow.d.ts index 074d18716c..f7b1305585 100644 --- a/react-icons/fa/stack-overflow.d.ts +++ b/react-icons/fa/stack-overflow.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStackOverflow extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/star-half-empty.d.ts b/react-icons/fa/star-half-empty.d.ts index cf4ee3847a..3ad7e9c811 100644 --- a/react-icons/fa/star-half-empty.d.ts +++ b/react-icons/fa/star-half-empty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStarHalfEmpty extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/star-half.d.ts b/react-icons/fa/star-half.d.ts index 9d0d22c675..ab5766c298 100644 --- a/react-icons/fa/star-half.d.ts +++ b/react-icons/fa/star-half.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStarHalf extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/star-o.d.ts b/react-icons/fa/star-o.d.ts index 9ed2805b5f..d85c01b06f 100644 --- a/react-icons/fa/star-o.d.ts +++ b/react-icons/fa/star-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStarO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/star.d.ts b/react-icons/fa/star.d.ts index 0fb44222a1..368e9886f9 100644 --- a/react-icons/fa/star.d.ts +++ b/react-icons/fa/star.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStar extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/steam-square.d.ts b/react-icons/fa/steam-square.d.ts index e47279cc4f..279bfccbea 100644 --- a/react-icons/fa/steam-square.d.ts +++ b/react-icons/fa/steam-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSteamSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/steam.d.ts b/react-icons/fa/steam.d.ts index 1a7b5c9566..2c6185bc7f 100644 --- a/react-icons/fa/steam.d.ts +++ b/react-icons/fa/steam.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSteam extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/step-backward.d.ts b/react-icons/fa/step-backward.d.ts index 336711ed00..12af0afaac 100644 --- a/react-icons/fa/step-backward.d.ts +++ b/react-icons/fa/step-backward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStepBackward extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/step-forward.d.ts b/react-icons/fa/step-forward.d.ts index ac5a0275f4..29d1d81a11 100644 --- a/react-icons/fa/step-forward.d.ts +++ b/react-icons/fa/step-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStepForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/stethoscope.d.ts b/react-icons/fa/stethoscope.d.ts index 8dbcd4e5d7..b318631708 100644 --- a/react-icons/fa/stethoscope.d.ts +++ b/react-icons/fa/stethoscope.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStethoscope extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sticky-note-o.d.ts b/react-icons/fa/sticky-note-o.d.ts index 04daed6a30..a70c45b364 100644 --- a/react-icons/fa/sticky-note-o.d.ts +++ b/react-icons/fa/sticky-note-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStickyNoteO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sticky-note.d.ts b/react-icons/fa/sticky-note.d.ts index daab8ccbd1..a5e5c343c3 100644 --- a/react-icons/fa/sticky-note.d.ts +++ b/react-icons/fa/sticky-note.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStickyNote extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/stop-circle-o.d.ts b/react-icons/fa/stop-circle-o.d.ts index 6682099628..36ba3e5a28 100644 --- a/react-icons/fa/stop-circle-o.d.ts +++ b/react-icons/fa/stop-circle-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStopCircleO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/stop-circle.d.ts b/react-icons/fa/stop-circle.d.ts index 8ee23ccf25..52299f6f2d 100644 --- a/react-icons/fa/stop-circle.d.ts +++ b/react-icons/fa/stop-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStopCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/stop.d.ts b/react-icons/fa/stop.d.ts index 5623c65188..4c3209e16e 100644 --- a/react-icons/fa/stop.d.ts +++ b/react-icons/fa/stop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStop extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/street-view.d.ts b/react-icons/fa/street-view.d.ts index db37d921ac..d9d2a4491a 100644 --- a/react-icons/fa/street-view.d.ts +++ b/react-icons/fa/street-view.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStreetView extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/strikethrough.d.ts b/react-icons/fa/strikethrough.d.ts index 823115956a..1e6493cdb4 100644 --- a/react-icons/fa/strikethrough.d.ts +++ b/react-icons/fa/strikethrough.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStrikethrough extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/stumbleupon-circle.d.ts b/react-icons/fa/stumbleupon-circle.d.ts index 8f15f9da5c..33af5f9449 100644 --- a/react-icons/fa/stumbleupon-circle.d.ts +++ b/react-icons/fa/stumbleupon-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStumbleuponCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/stumbleupon.d.ts b/react-icons/fa/stumbleupon.d.ts index 265e55c750..6a57f4619d 100644 --- a/react-icons/fa/stumbleupon.d.ts +++ b/react-icons/fa/stumbleupon.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStumbleupon extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/subscript.d.ts b/react-icons/fa/subscript.d.ts index 9a82b0ad44..e93726aa4e 100644 --- a/react-icons/fa/subscript.d.ts +++ b/react-icons/fa/subscript.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSubscript extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/subway.d.ts b/react-icons/fa/subway.d.ts index 3635b73eea..6454d75102 100644 --- a/react-icons/fa/subway.d.ts +++ b/react-icons/fa/subway.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSubway extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/suitcase.d.ts b/react-icons/fa/suitcase.d.ts index bd85bfb912..135db3ada2 100644 --- a/react-icons/fa/suitcase.d.ts +++ b/react-icons/fa/suitcase.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSuitcase extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/sun-o.d.ts b/react-icons/fa/sun-o.d.ts index 326c08fdbe..018d67ed85 100644 --- a/react-icons/fa/sun-o.d.ts +++ b/react-icons/fa/sun-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSunO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/superscript.d.ts b/react-icons/fa/superscript.d.ts index 93108912ac..3aaeb5e361 100644 --- a/react-icons/fa/superscript.d.ts +++ b/react-icons/fa/superscript.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaSuperscript extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/table.d.ts b/react-icons/fa/table.d.ts index 729dc71be7..cb918d99a5 100644 --- a/react-icons/fa/table.d.ts +++ b/react-icons/fa/table.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTable extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tablet.d.ts b/react-icons/fa/tablet.d.ts index 6a0af701ec..1d51499aad 100644 --- a/react-icons/fa/tablet.d.ts +++ b/react-icons/fa/tablet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTablet extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tag.d.ts b/react-icons/fa/tag.d.ts index a2b717b60a..6be2270493 100644 --- a/react-icons/fa/tag.d.ts +++ b/react-icons/fa/tag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTag extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tags.d.ts b/react-icons/fa/tags.d.ts index bdfea932a8..0e0ad3c73b 100644 --- a/react-icons/fa/tags.d.ts +++ b/react-icons/fa/tags.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTags extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tasks.d.ts b/react-icons/fa/tasks.d.ts index 53095f89c8..22577c6cc6 100644 --- a/react-icons/fa/tasks.d.ts +++ b/react-icons/fa/tasks.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTasks extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/television.d.ts b/react-icons/fa/television.d.ts index f5bd7fa04c..69721b8145 100644 --- a/react-icons/fa/television.d.ts +++ b/react-icons/fa/television.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTelevision extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tencent-weibo.d.ts b/react-icons/fa/tencent-weibo.d.ts index a5a9cd0a8b..3a3159c5e0 100644 --- a/react-icons/fa/tencent-weibo.d.ts +++ b/react-icons/fa/tencent-weibo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTencentWeibo extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/terminal.d.ts b/react-icons/fa/terminal.d.ts index 6765080b39..bcadc57ed1 100644 --- a/react-icons/fa/terminal.d.ts +++ b/react-icons/fa/terminal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTerminal extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/text-height.d.ts b/react-icons/fa/text-height.d.ts index a748212a63..ea73bd9df0 100644 --- a/react-icons/fa/text-height.d.ts +++ b/react-icons/fa/text-height.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTextHeight extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/text-width.d.ts b/react-icons/fa/text-width.d.ts index ffbe193270..9306ea69f8 100644 --- a/react-icons/fa/text-width.d.ts +++ b/react-icons/fa/text-width.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTextWidth extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/th-large.d.ts b/react-icons/fa/th-large.d.ts index 28ec80a8be..ec2739ad37 100644 --- a/react-icons/fa/th-large.d.ts +++ b/react-icons/fa/th-large.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaThLarge extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/th-list.d.ts b/react-icons/fa/th-list.d.ts index f883916eae..fe683c919c 100644 --- a/react-icons/fa/th-list.d.ts +++ b/react-icons/fa/th-list.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaThList extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/th.d.ts b/react-icons/fa/th.d.ts index da425c0e87..4400c91cbf 100644 --- a/react-icons/fa/th.d.ts +++ b/react-icons/fa/th.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTh extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/thumb-tack.d.ts b/react-icons/fa/thumb-tack.d.ts index 4ce8b60a96..fd86ad6886 100644 --- a/react-icons/fa/thumb-tack.d.ts +++ b/react-icons/fa/thumb-tack.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaThumbTack extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/thumbs-down.d.ts b/react-icons/fa/thumbs-down.d.ts index bafbe1262a..f96a85cfed 100644 --- a/react-icons/fa/thumbs-down.d.ts +++ b/react-icons/fa/thumbs-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaThumbsDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/thumbs-o-down.d.ts b/react-icons/fa/thumbs-o-down.d.ts index c3ad25e41b..7c3c137b86 100644 --- a/react-icons/fa/thumbs-o-down.d.ts +++ b/react-icons/fa/thumbs-o-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaThumbsODown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/thumbs-o-up.d.ts b/react-icons/fa/thumbs-o-up.d.ts index 5ae5db41c5..186ebb1fc3 100644 --- a/react-icons/fa/thumbs-o-up.d.ts +++ b/react-icons/fa/thumbs-o-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaThumbsOUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/thumbs-up.d.ts b/react-icons/fa/thumbs-up.d.ts index 48db5340b7..6587ee4f3e 100644 --- a/react-icons/fa/thumbs-up.d.ts +++ b/react-icons/fa/thumbs-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaThumbsUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/ticket.d.ts b/react-icons/fa/ticket.d.ts index f8a4f66318..abcfcc088d 100644 --- a/react-icons/fa/ticket.d.ts +++ b/react-icons/fa/ticket.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTicket extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/times-circle-o.d.ts b/react-icons/fa/times-circle-o.d.ts index 63c2d58e08..07bc3bff00 100644 --- a/react-icons/fa/times-circle-o.d.ts +++ b/react-icons/fa/times-circle-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTimesCircleO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/times-circle.d.ts b/react-icons/fa/times-circle.d.ts index 622ae90517..8abe53fe85 100644 --- a/react-icons/fa/times-circle.d.ts +++ b/react-icons/fa/times-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTimesCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tint.d.ts b/react-icons/fa/tint.d.ts index 8203fe5f02..714737d10d 100644 --- a/react-icons/fa/tint.d.ts +++ b/react-icons/fa/tint.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTint extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/toggle-off.d.ts b/react-icons/fa/toggle-off.d.ts index c7ac1e72c2..7fc620c250 100644 --- a/react-icons/fa/toggle-off.d.ts +++ b/react-icons/fa/toggle-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaToggleOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/toggle-on.d.ts b/react-icons/fa/toggle-on.d.ts index 44790ed347..18eef0334a 100644 --- a/react-icons/fa/toggle-on.d.ts +++ b/react-icons/fa/toggle-on.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaToggleOn extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/trademark.d.ts b/react-icons/fa/trademark.d.ts index 974550bcf4..84013980be 100644 --- a/react-icons/fa/trademark.d.ts +++ b/react-icons/fa/trademark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTrademark extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/train.d.ts b/react-icons/fa/train.d.ts index 1a64f74d22..05da75492b 100644 --- a/react-icons/fa/train.d.ts +++ b/react-icons/fa/train.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTrain extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/transgender-alt.d.ts b/react-icons/fa/transgender-alt.d.ts index 7a76f08ea2..0ea8f5eabb 100644 --- a/react-icons/fa/transgender-alt.d.ts +++ b/react-icons/fa/transgender-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTransgenderAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/trash-o.d.ts b/react-icons/fa/trash-o.d.ts index 0a57313fbd..58185339f9 100644 --- a/react-icons/fa/trash-o.d.ts +++ b/react-icons/fa/trash-o.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTrashO extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/trash.d.ts b/react-icons/fa/trash.d.ts index cc6fb4f2f6..a915ab3036 100644 --- a/react-icons/fa/trash.d.ts +++ b/react-icons/fa/trash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTrash extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tree.d.ts b/react-icons/fa/tree.d.ts index 81f7891b45..c806f816b4 100644 --- a/react-icons/fa/tree.d.ts +++ b/react-icons/fa/tree.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTree extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/trello.d.ts b/react-icons/fa/trello.d.ts index 0061738bb0..3560c3f4e8 100644 --- a/react-icons/fa/trello.d.ts +++ b/react-icons/fa/trello.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTrello extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tripadvisor.d.ts b/react-icons/fa/tripadvisor.d.ts index 507eaa6bf0..aaf89ab685 100644 --- a/react-icons/fa/tripadvisor.d.ts +++ b/react-icons/fa/tripadvisor.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTripadvisor extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/trophy.d.ts b/react-icons/fa/trophy.d.ts index a6015be958..620645cac8 100644 --- a/react-icons/fa/trophy.d.ts +++ b/react-icons/fa/trophy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTrophy extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/truck.d.ts b/react-icons/fa/truck.d.ts index 821f63db99..3cfc784658 100644 --- a/react-icons/fa/truck.d.ts +++ b/react-icons/fa/truck.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTruck extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/try.d.ts b/react-icons/fa/try.d.ts index 2706937990..55de3a71d2 100644 --- a/react-icons/fa/try.d.ts +++ b/react-icons/fa/try.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTry extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tty.d.ts b/react-icons/fa/tty.d.ts index 27329a14e1..78a5f4b6e7 100644 --- a/react-icons/fa/tty.d.ts +++ b/react-icons/fa/tty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTty extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tumblr-square.d.ts b/react-icons/fa/tumblr-square.d.ts index 87c52bc295..880407565d 100644 --- a/react-icons/fa/tumblr-square.d.ts +++ b/react-icons/fa/tumblr-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTumblrSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/tumblr.d.ts b/react-icons/fa/tumblr.d.ts index 653879122a..90a1a036e4 100644 --- a/react-icons/fa/tumblr.d.ts +++ b/react-icons/fa/tumblr.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTumblr extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/twitch.d.ts b/react-icons/fa/twitch.d.ts index 23cb946b8e..d54eec3e9a 100644 --- a/react-icons/fa/twitch.d.ts +++ b/react-icons/fa/twitch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTwitch extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/twitter-square.d.ts b/react-icons/fa/twitter-square.d.ts index 882827f900..05da52325b 100644 --- a/react-icons/fa/twitter-square.d.ts +++ b/react-icons/fa/twitter-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTwitterSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/twitter.d.ts b/react-icons/fa/twitter.d.ts index eaa60c0a45..7e0ef17f5a 100644 --- a/react-icons/fa/twitter.d.ts +++ b/react-icons/fa/twitter.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaTwitter extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/umbrella.d.ts b/react-icons/fa/umbrella.d.ts index e1ad6dbce2..89f84ce215 100644 --- a/react-icons/fa/umbrella.d.ts +++ b/react-icons/fa/umbrella.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUmbrella extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/underline.d.ts b/react-icons/fa/underline.d.ts index 9ec88a5fdd..726e752b3a 100644 --- a/react-icons/fa/underline.d.ts +++ b/react-icons/fa/underline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUnderline extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/universal-access.d.ts b/react-icons/fa/universal-access.d.ts index 008bc1bdbf..d166f32da9 100644 --- a/react-icons/fa/universal-access.d.ts +++ b/react-icons/fa/universal-access.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUniversalAccess extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/unlock-alt.d.ts b/react-icons/fa/unlock-alt.d.ts index 44b5eb6f28..8ad3533f22 100644 --- a/react-icons/fa/unlock-alt.d.ts +++ b/react-icons/fa/unlock-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUnlockAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/unlock.d.ts b/react-icons/fa/unlock.d.ts index 30704e6109..601aa2947d 100644 --- a/react-icons/fa/unlock.d.ts +++ b/react-icons/fa/unlock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUnlock extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/upload.d.ts b/react-icons/fa/upload.d.ts index 2abcbc51de..a92845baaf 100644 --- a/react-icons/fa/upload.d.ts +++ b/react-icons/fa/upload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUpload extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/usb.d.ts b/react-icons/fa/usb.d.ts index 4058752b75..14aac6ff5b 100644 --- a/react-icons/fa/usb.d.ts +++ b/react-icons/fa/usb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUsb extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/user-md.d.ts b/react-icons/fa/user-md.d.ts index 8997388a24..966da1326d 100644 --- a/react-icons/fa/user-md.d.ts +++ b/react-icons/fa/user-md.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUserMd extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/user-plus.d.ts b/react-icons/fa/user-plus.d.ts index 15e63b2e0a..3e0088d197 100644 --- a/react-icons/fa/user-plus.d.ts +++ b/react-icons/fa/user-plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUserPlus extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/user-secret.d.ts b/react-icons/fa/user-secret.d.ts index 19840f6ee5..adbed0df1b 100644 --- a/react-icons/fa/user-secret.d.ts +++ b/react-icons/fa/user-secret.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUserSecret extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/user-times.d.ts b/react-icons/fa/user-times.d.ts index 0a7e325530..af72d6e440 100644 --- a/react-icons/fa/user-times.d.ts +++ b/react-icons/fa/user-times.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUserTimes extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/user.d.ts b/react-icons/fa/user.d.ts index e32e68cca3..6796a6399c 100644 --- a/react-icons/fa/user.d.ts +++ b/react-icons/fa/user.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaUser extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/venus-double.d.ts b/react-icons/fa/venus-double.d.ts index 084a381172..323e6e9d23 100644 --- a/react-icons/fa/venus-double.d.ts +++ b/react-icons/fa/venus-double.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVenusDouble extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/venus-mars.d.ts b/react-icons/fa/venus-mars.d.ts index 49827813d1..034de5a582 100644 --- a/react-icons/fa/venus-mars.d.ts +++ b/react-icons/fa/venus-mars.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVenusMars extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/venus.d.ts b/react-icons/fa/venus.d.ts index feea601c7d..5cf6564010 100644 --- a/react-icons/fa/venus.d.ts +++ b/react-icons/fa/venus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVenus extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/viacoin.d.ts b/react-icons/fa/viacoin.d.ts index cd48e887c1..7d0460cb7d 100644 --- a/react-icons/fa/viacoin.d.ts +++ b/react-icons/fa/viacoin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaViacoin extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/viadeo-square.d.ts b/react-icons/fa/viadeo-square.d.ts index 732f50a851..69f58b7efe 100644 --- a/react-icons/fa/viadeo-square.d.ts +++ b/react-icons/fa/viadeo-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaViadeoSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/viadeo.d.ts b/react-icons/fa/viadeo.d.ts index 05a7014a9b..37e84b3ecb 100644 --- a/react-icons/fa/viadeo.d.ts +++ b/react-icons/fa/viadeo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaViadeo extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/video-camera.d.ts b/react-icons/fa/video-camera.d.ts index 4c222391be..1a8a34da7a 100644 --- a/react-icons/fa/video-camera.d.ts +++ b/react-icons/fa/video-camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVideoCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/vimeo-square.d.ts b/react-icons/fa/vimeo-square.d.ts index 94e3a7a0ce..c12940d457 100644 --- a/react-icons/fa/vimeo-square.d.ts +++ b/react-icons/fa/vimeo-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVimeoSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/vimeo.d.ts b/react-icons/fa/vimeo.d.ts index 28f16ddc1c..870a57934d 100644 --- a/react-icons/fa/vimeo.d.ts +++ b/react-icons/fa/vimeo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVimeo extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/vine.d.ts b/react-icons/fa/vine.d.ts index 2e25da01c8..e4acf01fed 100644 --- a/react-icons/fa/vine.d.ts +++ b/react-icons/fa/vine.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVine extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/vk.d.ts b/react-icons/fa/vk.d.ts index 214919b26d..98087fa2d5 100644 --- a/react-icons/fa/vk.d.ts +++ b/react-icons/fa/vk.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVk extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/volume-control-phone.d.ts b/react-icons/fa/volume-control-phone.d.ts index 68db678334..bf193d664e 100644 --- a/react-icons/fa/volume-control-phone.d.ts +++ b/react-icons/fa/volume-control-phone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVolumeControlPhone extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/volume-down.d.ts b/react-icons/fa/volume-down.d.ts index 5f5821c2a1..46ab97d158 100644 --- a/react-icons/fa/volume-down.d.ts +++ b/react-icons/fa/volume-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVolumeDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/volume-off.d.ts b/react-icons/fa/volume-off.d.ts index 3ffe04d08d..8c9c3b8846 100644 --- a/react-icons/fa/volume-off.d.ts +++ b/react-icons/fa/volume-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVolumeOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/volume-up.d.ts b/react-icons/fa/volume-up.d.ts index d8b324ca4d..5ec35258d4 100644 --- a/react-icons/fa/volume-up.d.ts +++ b/react-icons/fa/volume-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaVolumeUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/wechat.d.ts b/react-icons/fa/wechat.d.ts index 0db9e9e145..390595463a 100644 --- a/react-icons/fa/wechat.d.ts +++ b/react-icons/fa/wechat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWechat extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/weibo.d.ts b/react-icons/fa/weibo.d.ts index eac4f3e6f0..9095519b6e 100644 --- a/react-icons/fa/weibo.d.ts +++ b/react-icons/fa/weibo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWeibo extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/whatsapp.d.ts b/react-icons/fa/whatsapp.d.ts index 1ba1be9fa4..d6ee9fe78f 100644 --- a/react-icons/fa/whatsapp.d.ts +++ b/react-icons/fa/whatsapp.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWhatsapp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/wheelchair-alt.d.ts b/react-icons/fa/wheelchair-alt.d.ts index 83fe093731..c9887b1e0e 100644 --- a/react-icons/fa/wheelchair-alt.d.ts +++ b/react-icons/fa/wheelchair-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWheelchairAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/wheelchair.d.ts b/react-icons/fa/wheelchair.d.ts index b137d64942..7bab708cb6 100644 --- a/react-icons/fa/wheelchair.d.ts +++ b/react-icons/fa/wheelchair.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWheelchair extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/wifi.d.ts b/react-icons/fa/wifi.d.ts index ada4e105c5..00e834fda0 100644 --- a/react-icons/fa/wifi.d.ts +++ b/react-icons/fa/wifi.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWifi extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/wikipedia-w.d.ts b/react-icons/fa/wikipedia-w.d.ts index afe4aa701d..bf3af284a3 100644 --- a/react-icons/fa/wikipedia-w.d.ts +++ b/react-icons/fa/wikipedia-w.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWikipediaW extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/windows.d.ts b/react-icons/fa/windows.d.ts index a501e595a0..6883290298 100644 --- a/react-icons/fa/windows.d.ts +++ b/react-icons/fa/windows.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWindows extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/wordpress.d.ts b/react-icons/fa/wordpress.d.ts index 665d72483c..e8b7ca1ad6 100644 --- a/react-icons/fa/wordpress.d.ts +++ b/react-icons/fa/wordpress.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWordpress extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/wpbeginner.d.ts b/react-icons/fa/wpbeginner.d.ts index 5c3aa1edcd..23c44f277f 100644 --- a/react-icons/fa/wpbeginner.d.ts +++ b/react-icons/fa/wpbeginner.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWpbeginner extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/wpforms.d.ts b/react-icons/fa/wpforms.d.ts index 3d6db03ca8..236bd1492a 100644 --- a/react-icons/fa/wpforms.d.ts +++ b/react-icons/fa/wpforms.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWpforms extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/wrench.d.ts b/react-icons/fa/wrench.d.ts index ffaf049ab8..420c017165 100644 --- a/react-icons/fa/wrench.d.ts +++ b/react-icons/fa/wrench.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaWrench extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/xing-square.d.ts b/react-icons/fa/xing-square.d.ts index b5563b59dc..bfc1836e9c 100644 --- a/react-icons/fa/xing-square.d.ts +++ b/react-icons/fa/xing-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaXingSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/xing.d.ts b/react-icons/fa/xing.d.ts index f0502b2a48..f3ab3d44ea 100644 --- a/react-icons/fa/xing.d.ts +++ b/react-icons/fa/xing.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaXing extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/y-combinator.d.ts b/react-icons/fa/y-combinator.d.ts index 9f717e2b00..6374854e4c 100644 --- a/react-icons/fa/y-combinator.d.ts +++ b/react-icons/fa/y-combinator.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaYCombinator extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/yahoo.d.ts b/react-icons/fa/yahoo.d.ts index a9ec96f885..172864c975 100644 --- a/react-icons/fa/yahoo.d.ts +++ b/react-icons/fa/yahoo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaYahoo extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/yelp.d.ts b/react-icons/fa/yelp.d.ts index bee4fab313..f69d806c3a 100644 --- a/react-icons/fa/yelp.d.ts +++ b/react-icons/fa/yelp.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaYelp extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/youtube-play.d.ts b/react-icons/fa/youtube-play.d.ts index bf532735b7..e73936bf14 100644 --- a/react-icons/fa/youtube-play.d.ts +++ b/react-icons/fa/youtube-play.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaYoutubePlay extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/youtube-square.d.ts b/react-icons/fa/youtube-square.d.ts index c4fd6abc7f..a229b19ecc 100644 --- a/react-icons/fa/youtube-square.d.ts +++ b/react-icons/fa/youtube-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaYoutubeSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/fa/youtube.d.ts b/react-icons/fa/youtube.d.ts index 8425f93bdb..125b1e1c1f 100644 --- a/react-icons/fa/youtube.d.ts +++ b/react-icons/fa/youtube.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaYoutube extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/alert.d.ts b/react-icons/go/alert.d.ts index e3b0898c07..7865173f5b 100644 --- a/react-icons/go/alert.d.ts +++ b/react-icons/go/alert.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoAlert extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/alignment-align.d.ts b/react-icons/go/alignment-align.d.ts index ef5a508031..d5e71f0dd7 100644 --- a/react-icons/go/alignment-align.d.ts +++ b/react-icons/go/alignment-align.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoAlignmentAlign extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/alignment-aligned-to.d.ts b/react-icons/go/alignment-aligned-to.d.ts index 58aa30f317..83c9d5f913 100644 --- a/react-icons/go/alignment-aligned-to.d.ts +++ b/react-icons/go/alignment-aligned-to.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoAlignmentAlignedTo extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/alignment-unalign.d.ts b/react-icons/go/alignment-unalign.d.ts index 38aab07e1a..f9ddfbb421 100644 --- a/react-icons/go/alignment-unalign.d.ts +++ b/react-icons/go/alignment-unalign.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoAlignmentUnalign extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/arrow-down.d.ts b/react-icons/go/arrow-down.d.ts index 2a98e6a1d8..56d087e494 100644 --- a/react-icons/go/arrow-down.d.ts +++ b/react-icons/go/arrow-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoArrowDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/arrow-left.d.ts b/react-icons/go/arrow-left.d.ts index fbb8812fee..a20f150769 100644 --- a/react-icons/go/arrow-left.d.ts +++ b/react-icons/go/arrow-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoArrowLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/arrow-right.d.ts b/react-icons/go/arrow-right.d.ts index a89290787e..43602d898f 100644 --- a/react-icons/go/arrow-right.d.ts +++ b/react-icons/go/arrow-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoArrowRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/arrow-small-down.d.ts b/react-icons/go/arrow-small-down.d.ts index ce97a63140..8b3956dd8f 100644 --- a/react-icons/go/arrow-small-down.d.ts +++ b/react-icons/go/arrow-small-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoArrowSmallDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/arrow-small-left.d.ts b/react-icons/go/arrow-small-left.d.ts index fe58ea64bc..cf1ed7a5ca 100644 --- a/react-icons/go/arrow-small-left.d.ts +++ b/react-icons/go/arrow-small-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoArrowSmallLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/arrow-small-right.d.ts b/react-icons/go/arrow-small-right.d.ts index edc02ea719..7fe4ec7959 100644 --- a/react-icons/go/arrow-small-right.d.ts +++ b/react-icons/go/arrow-small-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoArrowSmallRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/arrow-small-up.d.ts b/react-icons/go/arrow-small-up.d.ts index eda8bfda1a..656fb95760 100644 --- a/react-icons/go/arrow-small-up.d.ts +++ b/react-icons/go/arrow-small-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoArrowSmallUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/arrow-up.d.ts b/react-icons/go/arrow-up.d.ts index bada51205b..394c66b735 100644 --- a/react-icons/go/arrow-up.d.ts +++ b/react-icons/go/arrow-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoArrowUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/beer.d.ts b/react-icons/go/beer.d.ts index 7e5abb15a5..74b016c57e 100644 --- a/react-icons/go/beer.d.ts +++ b/react-icons/go/beer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoBeer extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/book.d.ts b/react-icons/go/book.d.ts index 5e4c7e1f11..02327d7bf0 100644 --- a/react-icons/go/book.d.ts +++ b/react-icons/go/book.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoBook extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/bookmark.d.ts b/react-icons/go/bookmark.d.ts index 0806416c0d..3d4184adc4 100644 --- a/react-icons/go/bookmark.d.ts +++ b/react-icons/go/bookmark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoBookmark extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/briefcase.d.ts b/react-icons/go/briefcase.d.ts index c3e4530b62..c8a6ca6493 100644 --- a/react-icons/go/briefcase.d.ts +++ b/react-icons/go/briefcase.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoBriefcase extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/broadcast.d.ts b/react-icons/go/broadcast.d.ts index 2393ca3848..debca6ceeb 100644 --- a/react-icons/go/broadcast.d.ts +++ b/react-icons/go/broadcast.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoBroadcast extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/browser.d.ts b/react-icons/go/browser.d.ts index 14bdd59e64..ea5fc9acf2 100644 --- a/react-icons/go/browser.d.ts +++ b/react-icons/go/browser.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoBrowser extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/bug.d.ts b/react-icons/go/bug.d.ts index 8ac917f5eb..fc1019da86 100644 --- a/react-icons/go/bug.d.ts +++ b/react-icons/go/bug.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoBug extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/calendar.d.ts b/react-icons/go/calendar.d.ts index 6654d19e34..43c9534b00 100644 --- a/react-icons/go/calendar.d.ts +++ b/react-icons/go/calendar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoCalendar extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/check.d.ts b/react-icons/go/check.d.ts index 9df2476d3d..7a97d48faf 100644 --- a/react-icons/go/check.d.ts +++ b/react-icons/go/check.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoCheck extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/checklist.d.ts b/react-icons/go/checklist.d.ts index 2436e3ed69..1b17ec9252 100644 --- a/react-icons/go/checklist.d.ts +++ b/react-icons/go/checklist.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoChecklist extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/chevron-down.d.ts b/react-icons/go/chevron-down.d.ts index 03a27a1e63..44edf6e751 100644 --- a/react-icons/go/chevron-down.d.ts +++ b/react-icons/go/chevron-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoChevronDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/chevron-left.d.ts b/react-icons/go/chevron-left.d.ts index 544c803174..47f8462865 100644 --- a/react-icons/go/chevron-left.d.ts +++ b/react-icons/go/chevron-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoChevronLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/chevron-right.d.ts b/react-icons/go/chevron-right.d.ts index ead000dec0..ed6f268af3 100644 --- a/react-icons/go/chevron-right.d.ts +++ b/react-icons/go/chevron-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoChevronRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/chevron-up.d.ts b/react-icons/go/chevron-up.d.ts index e2099adf7c..90d53e53da 100644 --- a/react-icons/go/chevron-up.d.ts +++ b/react-icons/go/chevron-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoChevronUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/circle-slash.d.ts b/react-icons/go/circle-slash.d.ts index 2354b62c73..5e28452cb6 100644 --- a/react-icons/go/circle-slash.d.ts +++ b/react-icons/go/circle-slash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoCircleSlash extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/circuit-board.d.ts b/react-icons/go/circuit-board.d.ts index a9f94df043..c296725cd0 100644 --- a/react-icons/go/circuit-board.d.ts +++ b/react-icons/go/circuit-board.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoCircuitBoard extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/clippy.d.ts b/react-icons/go/clippy.d.ts index 27df7cbe4c..5d1b5b21bf 100644 --- a/react-icons/go/clippy.d.ts +++ b/react-icons/go/clippy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoClippy extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/clock.d.ts b/react-icons/go/clock.d.ts index 77007fc562..8e2e066aee 100644 --- a/react-icons/go/clock.d.ts +++ b/react-icons/go/clock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoClock extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/cloud-download.d.ts b/react-icons/go/cloud-download.d.ts index ef68deb01d..5cb1a41fb8 100644 --- a/react-icons/go/cloud-download.d.ts +++ b/react-icons/go/cloud-download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoCloudDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/cloud-upload.d.ts b/react-icons/go/cloud-upload.d.ts index 4e47a69aa4..8a89396233 100644 --- a/react-icons/go/cloud-upload.d.ts +++ b/react-icons/go/cloud-upload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoCloudUpload extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/code.d.ts b/react-icons/go/code.d.ts index f0d98b4025..9c906656ae 100644 --- a/react-icons/go/code.d.ts +++ b/react-icons/go/code.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoCode extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/color-mode.d.ts b/react-icons/go/color-mode.d.ts index ee7d5c1abd..24f48bfb30 100644 --- a/react-icons/go/color-mode.d.ts +++ b/react-icons/go/color-mode.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoColorMode extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/comment-discussion.d.ts b/react-icons/go/comment-discussion.d.ts index b19d9d6a97..f0dcdad193 100644 --- a/react-icons/go/comment-discussion.d.ts +++ b/react-icons/go/comment-discussion.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoCommentDiscussion extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/comment.d.ts b/react-icons/go/comment.d.ts index ddc869ebf6..6c5a759b5d 100644 --- a/react-icons/go/comment.d.ts +++ b/react-icons/go/comment.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoComment extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/credit-card.d.ts b/react-icons/go/credit-card.d.ts index ad7b4dddb5..d2dbca2143 100644 --- a/react-icons/go/credit-card.d.ts +++ b/react-icons/go/credit-card.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoCreditCard extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/dash.d.ts b/react-icons/go/dash.d.ts index aa86737ff2..5d10677d36 100644 --- a/react-icons/go/dash.d.ts +++ b/react-icons/go/dash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDash extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/dashboard.d.ts b/react-icons/go/dashboard.d.ts index f0bf4b674e..0d749299ae 100644 --- a/react-icons/go/dashboard.d.ts +++ b/react-icons/go/dashboard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDashboard extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/database.d.ts b/react-icons/go/database.d.ts index a91d8f3471..c3af05bf69 100644 --- a/react-icons/go/database.d.ts +++ b/react-icons/go/database.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDatabase extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/device-camera-video.d.ts b/react-icons/go/device-camera-video.d.ts index 34d06ea23a..f39f7c3a63 100644 --- a/react-icons/go/device-camera-video.d.ts +++ b/react-icons/go/device-camera-video.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDeviceCameraVideo extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/device-camera.d.ts b/react-icons/go/device-camera.d.ts index 913e545891..ea76d847f2 100644 --- a/react-icons/go/device-camera.d.ts +++ b/react-icons/go/device-camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDeviceCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/device-desktop.d.ts b/react-icons/go/device-desktop.d.ts index dd4475ca10..5d6d0ac030 100644 --- a/react-icons/go/device-desktop.d.ts +++ b/react-icons/go/device-desktop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDeviceDesktop extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/device-mobile.d.ts b/react-icons/go/device-mobile.d.ts index 3d9a31fc2c..40e2d36139 100644 --- a/react-icons/go/device-mobile.d.ts +++ b/react-icons/go/device-mobile.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDeviceMobile extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/diff-added.d.ts b/react-icons/go/diff-added.d.ts index e0beb91dc6..f1d8f14a2d 100644 --- a/react-icons/go/diff-added.d.ts +++ b/react-icons/go/diff-added.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDiffAdded extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/diff-ignored.d.ts b/react-icons/go/diff-ignored.d.ts index 68e5bb0f5e..5a3c9e9952 100644 --- a/react-icons/go/diff-ignored.d.ts +++ b/react-icons/go/diff-ignored.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDiffIgnored extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/diff-modified.d.ts b/react-icons/go/diff-modified.d.ts index 89f7fa5ce2..8e1d5c01a1 100644 --- a/react-icons/go/diff-modified.d.ts +++ b/react-icons/go/diff-modified.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDiffModified extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/diff-removed.d.ts b/react-icons/go/diff-removed.d.ts index 1b2e78c3cc..d130e45659 100644 --- a/react-icons/go/diff-removed.d.ts +++ b/react-icons/go/diff-removed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDiffRemoved extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/diff-renamed.d.ts b/react-icons/go/diff-renamed.d.ts index 154fa6623e..80bf67a790 100644 --- a/react-icons/go/diff-renamed.d.ts +++ b/react-icons/go/diff-renamed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDiffRenamed extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/diff.d.ts b/react-icons/go/diff.d.ts index ba3007d132..16e9762399 100644 --- a/react-icons/go/diff.d.ts +++ b/react-icons/go/diff.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoDiff extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/ellipsis.d.ts b/react-icons/go/ellipsis.d.ts index 7ee63b2c98..38c75f21be 100644 --- a/react-icons/go/ellipsis.d.ts +++ b/react-icons/go/ellipsis.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoEllipsis extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/eye.d.ts b/react-icons/go/eye.d.ts index b88658ed96..eb1490f12b 100644 --- a/react-icons/go/eye.d.ts +++ b/react-icons/go/eye.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoEye extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/file-binary.d.ts b/react-icons/go/file-binary.d.ts index f802393034..c82df28616 100644 --- a/react-icons/go/file-binary.d.ts +++ b/react-icons/go/file-binary.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFileBinary extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/file-code.d.ts b/react-icons/go/file-code.d.ts index b8cf7ad006..0bdcb31f49 100644 --- a/react-icons/go/file-code.d.ts +++ b/react-icons/go/file-code.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFileCode extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/file-directory.d.ts b/react-icons/go/file-directory.d.ts index 18f7aa4f08..eb4fceebfd 100644 --- a/react-icons/go/file-directory.d.ts +++ b/react-icons/go/file-directory.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFileDirectory extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/file-media.d.ts b/react-icons/go/file-media.d.ts index 1c26cfb75d..0e80f1c0a2 100644 --- a/react-icons/go/file-media.d.ts +++ b/react-icons/go/file-media.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFileMedia extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/file-pdf.d.ts b/react-icons/go/file-pdf.d.ts index 27a4e10cea..4fceba3fba 100644 --- a/react-icons/go/file-pdf.d.ts +++ b/react-icons/go/file-pdf.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFilePdf extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/file-submodule.d.ts b/react-icons/go/file-submodule.d.ts index 70ca15a831..99419f1c90 100644 --- a/react-icons/go/file-submodule.d.ts +++ b/react-icons/go/file-submodule.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFileSubmodule extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/file-symlink-directory.d.ts b/react-icons/go/file-symlink-directory.d.ts index e0836c35eb..d1a9851a0b 100644 --- a/react-icons/go/file-symlink-directory.d.ts +++ b/react-icons/go/file-symlink-directory.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFileSymlinkDirectory extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/file-symlink-file.d.ts b/react-icons/go/file-symlink-file.d.ts index 164eeb2a92..819c65fa86 100644 --- a/react-icons/go/file-symlink-file.d.ts +++ b/react-icons/go/file-symlink-file.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFileSymlinkFile extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/file-text.d.ts b/react-icons/go/file-text.d.ts index ac6506096d..d7c9633a69 100644 --- a/react-icons/go/file-text.d.ts +++ b/react-icons/go/file-text.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFileText extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/file-zip.d.ts b/react-icons/go/file-zip.d.ts index 74a207eb49..141bd5c8cc 100644 --- a/react-icons/go/file-zip.d.ts +++ b/react-icons/go/file-zip.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFileZip extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/flame.d.ts b/react-icons/go/flame.d.ts index 1073fe069e..f3919d059c 100644 --- a/react-icons/go/flame.d.ts +++ b/react-icons/go/flame.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFlame extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/fold.d.ts b/react-icons/go/fold.d.ts index 3388aa31c0..28f6025a43 100644 --- a/react-icons/go/fold.d.ts +++ b/react-icons/go/fold.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoFold extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/gear.d.ts b/react-icons/go/gear.d.ts index 36741bbd9a..66ff0f8f37 100644 --- a/react-icons/go/gear.d.ts +++ b/react-icons/go/gear.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGear extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/gift.d.ts b/react-icons/go/gift.d.ts index 361f50a227..c15d6110b0 100644 --- a/react-icons/go/gift.d.ts +++ b/react-icons/go/gift.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGift extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/gist-secret.d.ts b/react-icons/go/gist-secret.d.ts index bb06848b5a..290c055252 100644 --- a/react-icons/go/gist-secret.d.ts +++ b/react-icons/go/gist-secret.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGistSecret extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/gist.d.ts b/react-icons/go/gist.d.ts index 1aed620bb5..35ccede469 100644 --- a/react-icons/go/gist.d.ts +++ b/react-icons/go/gist.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGist extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/git-branch.d.ts b/react-icons/go/git-branch.d.ts index 2007fbe986..4984aeff94 100644 --- a/react-icons/go/git-branch.d.ts +++ b/react-icons/go/git-branch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGitBranch extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/git-commit.d.ts b/react-icons/go/git-commit.d.ts index 60170f451c..e0915469fc 100644 --- a/react-icons/go/git-commit.d.ts +++ b/react-icons/go/git-commit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGitCommit extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/git-compare.d.ts b/react-icons/go/git-compare.d.ts index 7901bd1527..632f6bbeff 100644 --- a/react-icons/go/git-compare.d.ts +++ b/react-icons/go/git-compare.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGitCompare extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/git-merge.d.ts b/react-icons/go/git-merge.d.ts index 89b492f6d1..1298e78884 100644 --- a/react-icons/go/git-merge.d.ts +++ b/react-icons/go/git-merge.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGitMerge extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/git-pull-request.d.ts b/react-icons/go/git-pull-request.d.ts index 227967cf66..48a8689bf9 100644 --- a/react-icons/go/git-pull-request.d.ts +++ b/react-icons/go/git-pull-request.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGitPullRequest extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/globe.d.ts b/react-icons/go/globe.d.ts index fd72d5356e..a5584ec47c 100644 --- a/react-icons/go/globe.d.ts +++ b/react-icons/go/globe.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGlobe extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/graph.d.ts b/react-icons/go/graph.d.ts index ee16d661de..3febc59f47 100644 --- a/react-icons/go/graph.d.ts +++ b/react-icons/go/graph.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoGraph extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/heart.d.ts b/react-icons/go/heart.d.ts index 205127a6b8..e289970aef 100644 --- a/react-icons/go/heart.d.ts +++ b/react-icons/go/heart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoHeart extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/history.d.ts b/react-icons/go/history.d.ts index 8321416f73..b25e383b66 100644 --- a/react-icons/go/history.d.ts +++ b/react-icons/go/history.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoHistory extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/home.d.ts b/react-icons/go/home.d.ts index daf61c56b7..1b877c9ce3 100644 --- a/react-icons/go/home.d.ts +++ b/react-icons/go/home.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoHome extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/horizontal-rule.d.ts b/react-icons/go/horizontal-rule.d.ts index f50b818fcc..11b57abc8c 100644 --- a/react-icons/go/horizontal-rule.d.ts +++ b/react-icons/go/horizontal-rule.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoHorizontalRule extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/hourglass.d.ts b/react-icons/go/hourglass.d.ts index 1f2c735f86..3c58f156bd 100644 --- a/react-icons/go/hourglass.d.ts +++ b/react-icons/go/hourglass.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoHourglass extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/hubot.d.ts b/react-icons/go/hubot.d.ts index 0ff249f748..c44e5c11a1 100644 --- a/react-icons/go/hubot.d.ts +++ b/react-icons/go/hubot.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoHubot extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/inbox.d.ts b/react-icons/go/inbox.d.ts index 5f60f10ecb..ce834f543d 100644 --- a/react-icons/go/inbox.d.ts +++ b/react-icons/go/inbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoInbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/index.d.ts b/react-icons/go/index.d.ts index 93ada39c2b..11baa2351f 100644 --- a/react-icons/go/index.d.ts +++ b/react-icons/go/index.d.ts @@ -1,3 +1,4 @@ +// TypeScript Version: 2.1 import _GoAlert from "./alert"; import _GoAlignmentAlign from "./alignment-align"; import _GoAlignmentAlignedTo from "./alignment-aligned-to"; diff --git a/react-icons/go/info.d.ts b/react-icons/go/info.d.ts index 64996130cf..cf01eba764 100644 --- a/react-icons/go/info.d.ts +++ b/react-icons/go/info.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoInfo extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/issue-closed.d.ts b/react-icons/go/issue-closed.d.ts index 80f7dd2f7c..0fe28a2ab0 100644 --- a/react-icons/go/issue-closed.d.ts +++ b/react-icons/go/issue-closed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoIssueClosed extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/issue-opened.d.ts b/react-icons/go/issue-opened.d.ts index 1f0b7d1b01..e662a33e89 100644 --- a/react-icons/go/issue-opened.d.ts +++ b/react-icons/go/issue-opened.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoIssueOpened extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/issue-reopened.d.ts b/react-icons/go/issue-reopened.d.ts index c724b3447b..3ec7cef0c2 100644 --- a/react-icons/go/issue-reopened.d.ts +++ b/react-icons/go/issue-reopened.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoIssueReopened extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/jersey.d.ts b/react-icons/go/jersey.d.ts index f2daefb8e3..149b6a66d7 100644 --- a/react-icons/go/jersey.d.ts +++ b/react-icons/go/jersey.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoJersey extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/jump-down.d.ts b/react-icons/go/jump-down.d.ts index 75bdcf7e91..07c402c235 100644 --- a/react-icons/go/jump-down.d.ts +++ b/react-icons/go/jump-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoJumpDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/jump-left.d.ts b/react-icons/go/jump-left.d.ts index 1357710e07..58bd414e4e 100644 --- a/react-icons/go/jump-left.d.ts +++ b/react-icons/go/jump-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoJumpLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/jump-right.d.ts b/react-icons/go/jump-right.d.ts index 07b9c18fcd..a76fa2dad9 100644 --- a/react-icons/go/jump-right.d.ts +++ b/react-icons/go/jump-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoJumpRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/jump-up.d.ts b/react-icons/go/jump-up.d.ts index 2b9cdc939d..fded0b0842 100644 --- a/react-icons/go/jump-up.d.ts +++ b/react-icons/go/jump-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoJumpUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/key.d.ts b/react-icons/go/key.d.ts index 59c06906c8..a8455c37da 100644 --- a/react-icons/go/key.d.ts +++ b/react-icons/go/key.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoKey extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/keyboard.d.ts b/react-icons/go/keyboard.d.ts index 661906ee7d..6dcf30efa3 100644 --- a/react-icons/go/keyboard.d.ts +++ b/react-icons/go/keyboard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoKeyboard extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/law.d.ts b/react-icons/go/law.d.ts index 2cffbfc93a..3c5bd28bc0 100644 --- a/react-icons/go/law.d.ts +++ b/react-icons/go/law.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoLaw extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/light-bulb.d.ts b/react-icons/go/light-bulb.d.ts index 510edd36d4..02f82c3794 100644 --- a/react-icons/go/light-bulb.d.ts +++ b/react-icons/go/light-bulb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoLightBulb extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/link-external.d.ts b/react-icons/go/link-external.d.ts index 7b9a7ae2e9..d0a57059b1 100644 --- a/react-icons/go/link-external.d.ts +++ b/react-icons/go/link-external.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoLinkExternal extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/link.d.ts b/react-icons/go/link.d.ts index 0042a8b472..3b37d2ec24 100644 --- a/react-icons/go/link.d.ts +++ b/react-icons/go/link.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoLink extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/list-ordered.d.ts b/react-icons/go/list-ordered.d.ts index 9f4c179d8e..2c99911071 100644 --- a/react-icons/go/list-ordered.d.ts +++ b/react-icons/go/list-ordered.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoListOrdered extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/list-unordered.d.ts b/react-icons/go/list-unordered.d.ts index 97518ae8f5..f060eae218 100644 --- a/react-icons/go/list-unordered.d.ts +++ b/react-icons/go/list-unordered.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoListUnordered extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/location.d.ts b/react-icons/go/location.d.ts index 364c0c3b97..946415db31 100644 --- a/react-icons/go/location.d.ts +++ b/react-icons/go/location.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoLocation extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/lock.d.ts b/react-icons/go/lock.d.ts index 892b825a7f..2d36edefb4 100644 --- a/react-icons/go/lock.d.ts +++ b/react-icons/go/lock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoLock extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/logo-github.d.ts b/react-icons/go/logo-github.d.ts index dd0db3759e..478ccc7640 100644 --- a/react-icons/go/logo-github.d.ts +++ b/react-icons/go/logo-github.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoLogoGithub extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/mail-read.d.ts b/react-icons/go/mail-read.d.ts index 752b16077c..baf9ad74f5 100644 --- a/react-icons/go/mail-read.d.ts +++ b/react-icons/go/mail-read.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMailRead extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/mail-reply.d.ts b/react-icons/go/mail-reply.d.ts index 1dad821128..a677ac1f8e 100644 --- a/react-icons/go/mail-reply.d.ts +++ b/react-icons/go/mail-reply.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMailReply extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/mail.d.ts b/react-icons/go/mail.d.ts index 54bb23cbab..f781e8c73d 100644 --- a/react-icons/go/mail.d.ts +++ b/react-icons/go/mail.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMail extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/mark-github.d.ts b/react-icons/go/mark-github.d.ts index 6baf32ff14..4dc9870ed7 100644 --- a/react-icons/go/mark-github.d.ts +++ b/react-icons/go/mark-github.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMarkGithub extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/markdown.d.ts b/react-icons/go/markdown.d.ts index bbe3db8c4a..6ac1ab06e1 100644 --- a/react-icons/go/markdown.d.ts +++ b/react-icons/go/markdown.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMarkdown extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/megaphone.d.ts b/react-icons/go/megaphone.d.ts index afb75c1c2a..e29d3a3587 100644 --- a/react-icons/go/megaphone.d.ts +++ b/react-icons/go/megaphone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMegaphone extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/mention.d.ts b/react-icons/go/mention.d.ts index f8a61d7ec5..b46247592d 100644 --- a/react-icons/go/mention.d.ts +++ b/react-icons/go/mention.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMention extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/microscope.d.ts b/react-icons/go/microscope.d.ts index a5d21edb27..3636981bd2 100644 --- a/react-icons/go/microscope.d.ts +++ b/react-icons/go/microscope.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMicroscope extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/milestone.d.ts b/react-icons/go/milestone.d.ts index 3a4da83497..7e5f55f1ca 100644 --- a/react-icons/go/milestone.d.ts +++ b/react-icons/go/milestone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMilestone extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/mirror.d.ts b/react-icons/go/mirror.d.ts index 441363fe1e..6dbf5ec3ac 100644 --- a/react-icons/go/mirror.d.ts +++ b/react-icons/go/mirror.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMirror extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/mortar-board.d.ts b/react-icons/go/mortar-board.d.ts index 53922393e9..d40d296a94 100644 --- a/react-icons/go/mortar-board.d.ts +++ b/react-icons/go/mortar-board.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMortarBoard extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/move-down.d.ts b/react-icons/go/move-down.d.ts index 1c6ffd674f..270e0a1189 100644 --- a/react-icons/go/move-down.d.ts +++ b/react-icons/go/move-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMoveDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/move-left.d.ts b/react-icons/go/move-left.d.ts index 16c0597440..65c3b93349 100644 --- a/react-icons/go/move-left.d.ts +++ b/react-icons/go/move-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMoveLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/move-right.d.ts b/react-icons/go/move-right.d.ts index 8902ab82d7..ae04d230ba 100644 --- a/react-icons/go/move-right.d.ts +++ b/react-icons/go/move-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMoveRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/move-up.d.ts b/react-icons/go/move-up.d.ts index 234c0b1ce0..75236e2e57 100644 --- a/react-icons/go/move-up.d.ts +++ b/react-icons/go/move-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMoveUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/mute.d.ts b/react-icons/go/mute.d.ts index 796749c1d0..abf12ce479 100644 --- a/react-icons/go/mute.d.ts +++ b/react-icons/go/mute.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoMute extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/no-newline.d.ts b/react-icons/go/no-newline.d.ts index c80469ea8c..44154249ac 100644 --- a/react-icons/go/no-newline.d.ts +++ b/react-icons/go/no-newline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoNoNewline extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/octoface.d.ts b/react-icons/go/octoface.d.ts index d568614cff..6e13d16263 100644 --- a/react-icons/go/octoface.d.ts +++ b/react-icons/go/octoface.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoOctoface extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/organization.d.ts b/react-icons/go/organization.d.ts index 908f01dfbc..b1100fa1c6 100644 --- a/react-icons/go/organization.d.ts +++ b/react-icons/go/organization.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoOrganization extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/package.d.ts b/react-icons/go/package.d.ts index 4b8b3edab3..58e921d772 100644 --- a/react-icons/go/package.d.ts +++ b/react-icons/go/package.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPackage extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/paintcan.d.ts b/react-icons/go/paintcan.d.ts index ad64f2208b..38a4986d82 100644 --- a/react-icons/go/paintcan.d.ts +++ b/react-icons/go/paintcan.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPaintcan extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/pencil.d.ts b/react-icons/go/pencil.d.ts index cb69b1856e..69fa342fd4 100644 --- a/react-icons/go/pencil.d.ts +++ b/react-icons/go/pencil.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPencil extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/person.d.ts b/react-icons/go/person.d.ts index 58de6b2fef..234289b5c2 100644 --- a/react-icons/go/person.d.ts +++ b/react-icons/go/person.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPerson extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/pin.d.ts b/react-icons/go/pin.d.ts index 19ac4c65d1..da972a1191 100644 --- a/react-icons/go/pin.d.ts +++ b/react-icons/go/pin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPin extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/playback-fast-forward.d.ts b/react-icons/go/playback-fast-forward.d.ts index 499c29c52a..57e39b6632 100644 --- a/react-icons/go/playback-fast-forward.d.ts +++ b/react-icons/go/playback-fast-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPlaybackFastForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/playback-pause.d.ts b/react-icons/go/playback-pause.d.ts index b169dbdba1..f6d44ae931 100644 --- a/react-icons/go/playback-pause.d.ts +++ b/react-icons/go/playback-pause.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPlaybackPause extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/playback-play.d.ts b/react-icons/go/playback-play.d.ts index 068a3afbe3..cf0b41766c 100644 --- a/react-icons/go/playback-play.d.ts +++ b/react-icons/go/playback-play.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPlaybackPlay extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/playback-rewind.d.ts b/react-icons/go/playback-rewind.d.ts index 1e799a4c9b..b78fd47d40 100644 --- a/react-icons/go/playback-rewind.d.ts +++ b/react-icons/go/playback-rewind.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPlaybackRewind extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/plug.d.ts b/react-icons/go/plug.d.ts index 3d159a3b7c..2f81b90138 100644 --- a/react-icons/go/plug.d.ts +++ b/react-icons/go/plug.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPlug extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/plus.d.ts b/react-icons/go/plus.d.ts index 9a4ec51d53..7e1e5e89b2 100644 --- a/react-icons/go/plus.d.ts +++ b/react-icons/go/plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPlus extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/podium.d.ts b/react-icons/go/podium.d.ts index e9658fb6a6..af91f78b5f 100644 --- a/react-icons/go/podium.d.ts +++ b/react-icons/go/podium.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPodium extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/primitive-dot.d.ts b/react-icons/go/primitive-dot.d.ts index 35df7f982d..492e6ce6fd 100644 --- a/react-icons/go/primitive-dot.d.ts +++ b/react-icons/go/primitive-dot.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPrimitiveDot extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/primitive-square.d.ts b/react-icons/go/primitive-square.d.ts index 1950723171..e8501e4691 100644 --- a/react-icons/go/primitive-square.d.ts +++ b/react-icons/go/primitive-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPrimitiveSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/pulse.d.ts b/react-icons/go/pulse.d.ts index c0504a243b..4f0f335b82 100644 --- a/react-icons/go/pulse.d.ts +++ b/react-icons/go/pulse.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPulse extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/puzzle.d.ts b/react-icons/go/puzzle.d.ts index c880f0cd54..9728000052 100644 --- a/react-icons/go/puzzle.d.ts +++ b/react-icons/go/puzzle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoPuzzle extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/question.d.ts b/react-icons/go/question.d.ts index 5457ec638b..9041ec8911 100644 --- a/react-icons/go/question.d.ts +++ b/react-icons/go/question.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoQuestion extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/quote.d.ts b/react-icons/go/quote.d.ts index 1d15a8df93..0102022349 100644 --- a/react-icons/go/quote.d.ts +++ b/react-icons/go/quote.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoQuote extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/radio-tower.d.ts b/react-icons/go/radio-tower.d.ts index 46a1a6155e..3415405dc3 100644 --- a/react-icons/go/radio-tower.d.ts +++ b/react-icons/go/radio-tower.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoRadioTower extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/repo-clone.d.ts b/react-icons/go/repo-clone.d.ts index dc9bfafa35..9ea93bf3a2 100644 --- a/react-icons/go/repo-clone.d.ts +++ b/react-icons/go/repo-clone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoRepoClone extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/repo-force-push.d.ts b/react-icons/go/repo-force-push.d.ts index 29f11743a9..7fad1647c3 100644 --- a/react-icons/go/repo-force-push.d.ts +++ b/react-icons/go/repo-force-push.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoRepoForcePush extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/repo-forked.d.ts b/react-icons/go/repo-forked.d.ts index 5c0b370827..d336c5ba9d 100644 --- a/react-icons/go/repo-forked.d.ts +++ b/react-icons/go/repo-forked.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoRepoForked extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/repo-pull.d.ts b/react-icons/go/repo-pull.d.ts index 733a3365a0..69c8af8146 100644 --- a/react-icons/go/repo-pull.d.ts +++ b/react-icons/go/repo-pull.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoRepoPull extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/repo-push.d.ts b/react-icons/go/repo-push.d.ts index 446a9b91e4..bf82b4b516 100644 --- a/react-icons/go/repo-push.d.ts +++ b/react-icons/go/repo-push.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoRepoPush extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/repo.d.ts b/react-icons/go/repo.d.ts index fd5f76ede7..95a7591dcb 100644 --- a/react-icons/go/repo.d.ts +++ b/react-icons/go/repo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoRepo extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/rocket.d.ts b/react-icons/go/rocket.d.ts index f37282178e..4063759c97 100644 --- a/react-icons/go/rocket.d.ts +++ b/react-icons/go/rocket.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoRocket extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/rss.d.ts b/react-icons/go/rss.d.ts index a5fdf86c69..a93ceaa18c 100644 --- a/react-icons/go/rss.d.ts +++ b/react-icons/go/rss.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoRss extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/ruby.d.ts b/react-icons/go/ruby.d.ts index 23237942f1..b186aa5f37 100644 --- a/react-icons/go/ruby.d.ts +++ b/react-icons/go/ruby.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoRuby extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/screen-full.d.ts b/react-icons/go/screen-full.d.ts index b204307751..a47cce385b 100644 --- a/react-icons/go/screen-full.d.ts +++ b/react-icons/go/screen-full.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoScreenFull extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/screen-normal.d.ts b/react-icons/go/screen-normal.d.ts index d6425302a7..8b51ed6f1a 100644 --- a/react-icons/go/screen-normal.d.ts +++ b/react-icons/go/screen-normal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoScreenNormal extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/search.d.ts b/react-icons/go/search.d.ts index 8bdc1606d0..d44822fbc4 100644 --- a/react-icons/go/search.d.ts +++ b/react-icons/go/search.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoSearch extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/server.d.ts b/react-icons/go/server.d.ts index 289aeb6736..df39674150 100644 --- a/react-icons/go/server.d.ts +++ b/react-icons/go/server.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoServer extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/settings.d.ts b/react-icons/go/settings.d.ts index cd5e2b9c6f..8413b823be 100644 --- a/react-icons/go/settings.d.ts +++ b/react-icons/go/settings.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoSettings extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/sign-in.d.ts b/react-icons/go/sign-in.d.ts index 625403d73c..700db96895 100644 --- a/react-icons/go/sign-in.d.ts +++ b/react-icons/go/sign-in.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoSignIn extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/sign-out.d.ts b/react-icons/go/sign-out.d.ts index bcb90cf9b9..5ea47cb48a 100644 --- a/react-icons/go/sign-out.d.ts +++ b/react-icons/go/sign-out.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoSignOut extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/split.d.ts b/react-icons/go/split.d.ts index ee2ce21671..888f075b27 100644 --- a/react-icons/go/split.d.ts +++ b/react-icons/go/split.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoSplit extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/squirrel.d.ts b/react-icons/go/squirrel.d.ts index 5c8e89a2e6..482c5b14d6 100644 --- a/react-icons/go/squirrel.d.ts +++ b/react-icons/go/squirrel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoSquirrel extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/star.d.ts b/react-icons/go/star.d.ts index 534b1c89d7..16e162eab6 100644 --- a/react-icons/go/star.d.ts +++ b/react-icons/go/star.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoStar extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/steps.d.ts b/react-icons/go/steps.d.ts index b10dd6ff8c..05e5670e29 100644 --- a/react-icons/go/steps.d.ts +++ b/react-icons/go/steps.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoSteps extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/stop.d.ts b/react-icons/go/stop.d.ts index 7aa216371b..ebc500e47a 100644 --- a/react-icons/go/stop.d.ts +++ b/react-icons/go/stop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoStop extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/sync.d.ts b/react-icons/go/sync.d.ts index dd3929203b..90076b522c 100644 --- a/react-icons/go/sync.d.ts +++ b/react-icons/go/sync.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoSync extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/tag.d.ts b/react-icons/go/tag.d.ts index 7c052129fb..37a1c8c565 100644 --- a/react-icons/go/tag.d.ts +++ b/react-icons/go/tag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoTag extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/telescope.d.ts b/react-icons/go/telescope.d.ts index feac7a05c8..6d6ed212dc 100644 --- a/react-icons/go/telescope.d.ts +++ b/react-icons/go/telescope.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoTelescope extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/terminal.d.ts b/react-icons/go/terminal.d.ts index 3cd1379b1e..6bc5c0d441 100644 --- a/react-icons/go/terminal.d.ts +++ b/react-icons/go/terminal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoTerminal extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/three-bars.d.ts b/react-icons/go/three-bars.d.ts index 7ef14ccc55..b6a4110ea4 100644 --- a/react-icons/go/three-bars.d.ts +++ b/react-icons/go/three-bars.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoThreeBars extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/tools.d.ts b/react-icons/go/tools.d.ts index 288bd5601e..603dffd11b 100644 --- a/react-icons/go/tools.d.ts +++ b/react-icons/go/tools.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoTools extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/trashcan.d.ts b/react-icons/go/trashcan.d.ts index a1a1911db4..dfce096cb7 100644 --- a/react-icons/go/trashcan.d.ts +++ b/react-icons/go/trashcan.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoTrashcan extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/triangle-down.d.ts b/react-icons/go/triangle-down.d.ts index a3b1ce34f7..4625828b17 100644 --- a/react-icons/go/triangle-down.d.ts +++ b/react-icons/go/triangle-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoTriangleDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/triangle-left.d.ts b/react-icons/go/triangle-left.d.ts index adac6298cd..49df844479 100644 --- a/react-icons/go/triangle-left.d.ts +++ b/react-icons/go/triangle-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoTriangleLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/triangle-right.d.ts b/react-icons/go/triangle-right.d.ts index b910ce3d25..a83399a202 100644 --- a/react-icons/go/triangle-right.d.ts +++ b/react-icons/go/triangle-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoTriangleRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/triangle-up.d.ts b/react-icons/go/triangle-up.d.ts index a108802217..3becf43e4e 100644 --- a/react-icons/go/triangle-up.d.ts +++ b/react-icons/go/triangle-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoTriangleUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/unfold.d.ts b/react-icons/go/unfold.d.ts index 60d0118c0b..948b806f41 100644 --- a/react-icons/go/unfold.d.ts +++ b/react-icons/go/unfold.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoUnfold extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/unmute.d.ts b/react-icons/go/unmute.d.ts index bdfc514140..773176c9c9 100644 --- a/react-icons/go/unmute.d.ts +++ b/react-icons/go/unmute.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoUnmute extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/versions.d.ts b/react-icons/go/versions.d.ts index 6b0b7d1459..e60362a28b 100644 --- a/react-icons/go/versions.d.ts +++ b/react-icons/go/versions.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoVersions extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/x.d.ts b/react-icons/go/x.d.ts index 4ffdd863c4..64c44dc375 100644 --- a/react-icons/go/x.d.ts +++ b/react-icons/go/x.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoX extends React.Component { } \ No newline at end of file diff --git a/react-icons/go/zap.d.ts b/react-icons/go/zap.d.ts index 3e0f7c9bfa..396625aae6 100644 --- a/react-icons/go/zap.d.ts +++ b/react-icons/go/zap.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoZap extends React.Component { } \ No newline at end of file diff --git a/react-icons/index.d.ts b/react-icons/index.d.ts index 1225532e1c..1d8b8573cb 100644 --- a/react-icons/index.d.ts +++ b/react-icons/index.d.ts @@ -1,4 +1,5 @@ // Type definitions for react-icons 2.2 // Project: https://github.com/gorangajic/react-icons#readme // Definitions by: Alexandre Paré -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped \ No newline at end of file +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 diff --git a/react-icons/io/alert-circled.d.ts b/react-icons/io/alert-circled.d.ts index a43b5ae635..07a9e8c6d6 100644 --- a/react-icons/io/alert-circled.d.ts +++ b/react-icons/io/alert-circled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAlertCircled extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/alert.d.ts b/react-icons/io/alert.d.ts index 82c0652d87..b3d7bdece9 100644 --- a/react-icons/io/alert.d.ts +++ b/react-icons/io/alert.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAlert extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-add-circle.d.ts b/react-icons/io/android-add-circle.d.ts index 1ef9872cf2..ac285b018d 100644 --- a/react-icons/io/android-add-circle.d.ts +++ b/react-icons/io/android-add-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidAddCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-add.d.ts b/react-icons/io/android-add.d.ts index 181c704029..41c4fad080 100644 --- a/react-icons/io/android-add.d.ts +++ b/react-icons/io/android-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-alarm-clock.d.ts b/react-icons/io/android-alarm-clock.d.ts index 14f1cf8764..3c9b791f1a 100644 --- a/react-icons/io/android-alarm-clock.d.ts +++ b/react-icons/io/android-alarm-clock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidAlarmClock extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-alert.d.ts b/react-icons/io/android-alert.d.ts index 92d7c9ce54..831bed7940 100644 --- a/react-icons/io/android-alert.d.ts +++ b/react-icons/io/android-alert.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidAlert extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-apps.d.ts b/react-icons/io/android-apps.d.ts index c1807a5c1d..f44ab088a4 100644 --- a/react-icons/io/android-apps.d.ts +++ b/react-icons/io/android-apps.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidApps extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-archive.d.ts b/react-icons/io/android-archive.d.ts index a635c490e7..8a5d79ec46 100644 --- a/react-icons/io/android-archive.d.ts +++ b/react-icons/io/android-archive.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArchive extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-back.d.ts b/react-icons/io/android-arrow-back.d.ts index 5b2cc0dd3a..968f0cf115 100644 --- a/react-icons/io/android-arrow-back.d.ts +++ b/react-icons/io/android-arrow-back.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowBack extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-down.d.ts b/react-icons/io/android-arrow-down.d.ts index 7b5381555b..8456ba0187 100644 --- a/react-icons/io/android-arrow-down.d.ts +++ b/react-icons/io/android-arrow-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-dropdown-circle.d.ts b/react-icons/io/android-arrow-dropdown-circle.d.ts index b61e6a6742..29ba2a5b41 100644 --- a/react-icons/io/android-arrow-dropdown-circle.d.ts +++ b/react-icons/io/android-arrow-dropdown-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowDropdownCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-dropdown.d.ts b/react-icons/io/android-arrow-dropdown.d.ts index b044d78ee6..1750806746 100644 --- a/react-icons/io/android-arrow-dropdown.d.ts +++ b/react-icons/io/android-arrow-dropdown.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowDropdown extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-dropleft-circle.d.ts b/react-icons/io/android-arrow-dropleft-circle.d.ts index 5bdfb3d037..7d8c1061c2 100644 --- a/react-icons/io/android-arrow-dropleft-circle.d.ts +++ b/react-icons/io/android-arrow-dropleft-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowDropleftCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-dropleft.d.ts b/react-icons/io/android-arrow-dropleft.d.ts index 21916fd2e7..4b22a1b1b0 100644 --- a/react-icons/io/android-arrow-dropleft.d.ts +++ b/react-icons/io/android-arrow-dropleft.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowDropleft extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-dropright-circle.d.ts b/react-icons/io/android-arrow-dropright-circle.d.ts index 520d74fcf2..a7e8e19449 100644 --- a/react-icons/io/android-arrow-dropright-circle.d.ts +++ b/react-icons/io/android-arrow-dropright-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowDroprightCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-dropright.d.ts b/react-icons/io/android-arrow-dropright.d.ts index e1a0afa684..63b8bb9df0 100644 --- a/react-icons/io/android-arrow-dropright.d.ts +++ b/react-icons/io/android-arrow-dropright.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowDropright extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-dropup-circle.d.ts b/react-icons/io/android-arrow-dropup-circle.d.ts index cede04b720..6fe43fb4a1 100644 --- a/react-icons/io/android-arrow-dropup-circle.d.ts +++ b/react-icons/io/android-arrow-dropup-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowDropupCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-dropup.d.ts b/react-icons/io/android-arrow-dropup.d.ts index 2eaa26691b..fdf097d289 100644 --- a/react-icons/io/android-arrow-dropup.d.ts +++ b/react-icons/io/android-arrow-dropup.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowDropup extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-forward.d.ts b/react-icons/io/android-arrow-forward.d.ts index 5a0f09249c..e7ded9f1a8 100644 --- a/react-icons/io/android-arrow-forward.d.ts +++ b/react-icons/io/android-arrow-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-arrow-up.d.ts b/react-icons/io/android-arrow-up.d.ts index fe22447527..9e7ee29074 100644 --- a/react-icons/io/android-arrow-up.d.ts +++ b/react-icons/io/android-arrow-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidArrowUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-attach.d.ts b/react-icons/io/android-attach.d.ts index 0ebda55093..7f8905a794 100644 --- a/react-icons/io/android-attach.d.ts +++ b/react-icons/io/android-attach.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidAttach extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-bar.d.ts b/react-icons/io/android-bar.d.ts index 4c35002f1d..fbf23dbfa6 100644 --- a/react-icons/io/android-bar.d.ts +++ b/react-icons/io/android-bar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidBar extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-bicycle.d.ts b/react-icons/io/android-bicycle.d.ts index 04992767c6..46f1322c96 100644 --- a/react-icons/io/android-bicycle.d.ts +++ b/react-icons/io/android-bicycle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidBicycle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-boat.d.ts b/react-icons/io/android-boat.d.ts index 8764bc69af..4bf746843c 100644 --- a/react-icons/io/android-boat.d.ts +++ b/react-icons/io/android-boat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidBoat extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-bookmark.d.ts b/react-icons/io/android-bookmark.d.ts index 21dfd2a67d..159b965c51 100644 --- a/react-icons/io/android-bookmark.d.ts +++ b/react-icons/io/android-bookmark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidBookmark extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-bulb.d.ts b/react-icons/io/android-bulb.d.ts index b907535d4f..a2516bb9f5 100644 --- a/react-icons/io/android-bulb.d.ts +++ b/react-icons/io/android-bulb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidBulb extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-bus.d.ts b/react-icons/io/android-bus.d.ts index 2185efdf4e..11ed2e9042 100644 --- a/react-icons/io/android-bus.d.ts +++ b/react-icons/io/android-bus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidBus extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-calendar.d.ts b/react-icons/io/android-calendar.d.ts index 892a8bb304..4dd1f36e64 100644 --- a/react-icons/io/android-calendar.d.ts +++ b/react-icons/io/android-calendar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCalendar extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-call.d.ts b/react-icons/io/android-call.d.ts index 2c4f272d58..f9a4b59ea3 100644 --- a/react-icons/io/android-call.d.ts +++ b/react-icons/io/android-call.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCall extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-camera.d.ts b/react-icons/io/android-camera.d.ts index b071f21e26..f603bf146e 100644 --- a/react-icons/io/android-camera.d.ts +++ b/react-icons/io/android-camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-cancel.d.ts b/react-icons/io/android-cancel.d.ts index f0897dae5d..ab71551fcf 100644 --- a/react-icons/io/android-cancel.d.ts +++ b/react-icons/io/android-cancel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCancel extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-car.d.ts b/react-icons/io/android-car.d.ts index 3d8517f830..b5381854a4 100644 --- a/react-icons/io/android-car.d.ts +++ b/react-icons/io/android-car.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCar extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-cart.d.ts b/react-icons/io/android-cart.d.ts index 53aa5b73e2..15a69b5914 100644 --- a/react-icons/io/android-cart.d.ts +++ b/react-icons/io/android-cart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCart extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-chat.d.ts b/react-icons/io/android-chat.d.ts index a8153e8535..e66f6edca0 100644 --- a/react-icons/io/android-chat.d.ts +++ b/react-icons/io/android-chat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidChat extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-checkbox-blank.d.ts b/react-icons/io/android-checkbox-blank.d.ts index cc0c092564..217ada2863 100644 --- a/react-icons/io/android-checkbox-blank.d.ts +++ b/react-icons/io/android-checkbox-blank.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCheckboxBlank extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-checkbox-outline-blank.d.ts b/react-icons/io/android-checkbox-outline-blank.d.ts index 9dd2f75e2e..14cd972b16 100644 --- a/react-icons/io/android-checkbox-outline-blank.d.ts +++ b/react-icons/io/android-checkbox-outline-blank.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCheckboxOutlineBlank extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-checkbox-outline.d.ts b/react-icons/io/android-checkbox-outline.d.ts index efe703d1c0..38b57ee5dd 100644 --- a/react-icons/io/android-checkbox-outline.d.ts +++ b/react-icons/io/android-checkbox-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCheckboxOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-checkbox.d.ts b/react-icons/io/android-checkbox.d.ts index ee8667f980..1b003cb903 100644 --- a/react-icons/io/android-checkbox.d.ts +++ b/react-icons/io/android-checkbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCheckbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-checkmark-circle.d.ts b/react-icons/io/android-checkmark-circle.d.ts index 0d159b7f6b..833662cd83 100644 --- a/react-icons/io/android-checkmark-circle.d.ts +++ b/react-icons/io/android-checkmark-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCheckmarkCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-clipboard.d.ts b/react-icons/io/android-clipboard.d.ts index a953fd87df..622834f3cd 100644 --- a/react-icons/io/android-clipboard.d.ts +++ b/react-icons/io/android-clipboard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidClipboard extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-close.d.ts b/react-icons/io/android-close.d.ts index eb3cbd0f79..5bbd99b6f3 100644 --- a/react-icons/io/android-close.d.ts +++ b/react-icons/io/android-close.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidClose extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-cloud-circle.d.ts b/react-icons/io/android-cloud-circle.d.ts index 72dd9b9e5b..b7d9fa1289 100644 --- a/react-icons/io/android-cloud-circle.d.ts +++ b/react-icons/io/android-cloud-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCloudCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-cloud-done.d.ts b/react-icons/io/android-cloud-done.d.ts index 0de54d7f34..b5d0302284 100644 --- a/react-icons/io/android-cloud-done.d.ts +++ b/react-icons/io/android-cloud-done.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCloudDone extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-cloud-outline.d.ts b/react-icons/io/android-cloud-outline.d.ts index 5246b56474..ae0bcdffb2 100644 --- a/react-icons/io/android-cloud-outline.d.ts +++ b/react-icons/io/android-cloud-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCloudOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-cloud.d.ts b/react-icons/io/android-cloud.d.ts index e25bb1be8c..617ffc970f 100644 --- a/react-icons/io/android-cloud.d.ts +++ b/react-icons/io/android-cloud.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCloud extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-color-palette.d.ts b/react-icons/io/android-color-palette.d.ts index eb53e983db..79703865d3 100644 --- a/react-icons/io/android-color-palette.d.ts +++ b/react-icons/io/android-color-palette.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidColorPalette extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-compass.d.ts b/react-icons/io/android-compass.d.ts index b5fa5b0618..66e0ea6652 100644 --- a/react-icons/io/android-compass.d.ts +++ b/react-icons/io/android-compass.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCompass extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-contact.d.ts b/react-icons/io/android-contact.d.ts index a2176659a5..65de6efebf 100644 --- a/react-icons/io/android-contact.d.ts +++ b/react-icons/io/android-contact.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidContact extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-contacts.d.ts b/react-icons/io/android-contacts.d.ts index b998747e17..a1e64d78cf 100644 --- a/react-icons/io/android-contacts.d.ts +++ b/react-icons/io/android-contacts.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidContacts extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-contract.d.ts b/react-icons/io/android-contract.d.ts index f607d8d7ee..2acd71e8d5 100644 --- a/react-icons/io/android-contract.d.ts +++ b/react-icons/io/android-contract.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidContract extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-create.d.ts b/react-icons/io/android-create.d.ts index e15c015aa0..b1138d8ff8 100644 --- a/react-icons/io/android-create.d.ts +++ b/react-icons/io/android-create.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidCreate extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-delete.d.ts b/react-icons/io/android-delete.d.ts index 2a9520991f..aa391d8b7a 100644 --- a/react-icons/io/android-delete.d.ts +++ b/react-icons/io/android-delete.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidDelete extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-desktop.d.ts b/react-icons/io/android-desktop.d.ts index 1fef239b28..a514bf6797 100644 --- a/react-icons/io/android-desktop.d.ts +++ b/react-icons/io/android-desktop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidDesktop extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-document.d.ts b/react-icons/io/android-document.d.ts index 9b6de410c4..53918b3cd0 100644 --- a/react-icons/io/android-document.d.ts +++ b/react-icons/io/android-document.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidDocument extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-done-all.d.ts b/react-icons/io/android-done-all.d.ts index f376b7216a..20b37b9b43 100644 --- a/react-icons/io/android-done-all.d.ts +++ b/react-icons/io/android-done-all.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidDoneAll extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-done.d.ts b/react-icons/io/android-done.d.ts index 32e2071533..23604cdf01 100644 --- a/react-icons/io/android-done.d.ts +++ b/react-icons/io/android-done.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidDone extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-download.d.ts b/react-icons/io/android-download.d.ts index 8ed919e782..756053ee06 100644 --- a/react-icons/io/android-download.d.ts +++ b/react-icons/io/android-download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-drafts.d.ts b/react-icons/io/android-drafts.d.ts index 3616f37d29..b7ff235b6a 100644 --- a/react-icons/io/android-drafts.d.ts +++ b/react-icons/io/android-drafts.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidDrafts extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-exit.d.ts b/react-icons/io/android-exit.d.ts index b608f070d4..47e85d287b 100644 --- a/react-icons/io/android-exit.d.ts +++ b/react-icons/io/android-exit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidExit extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-expand.d.ts b/react-icons/io/android-expand.d.ts index 590a351623..69357b1238 100644 --- a/react-icons/io/android-expand.d.ts +++ b/react-icons/io/android-expand.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidExpand extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-favorite-outline.d.ts b/react-icons/io/android-favorite-outline.d.ts index 0d70d0d05f..e42c0d351c 100644 --- a/react-icons/io/android-favorite-outline.d.ts +++ b/react-icons/io/android-favorite-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidFavoriteOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-favorite.d.ts b/react-icons/io/android-favorite.d.ts index 3734d0d383..8b35513449 100644 --- a/react-icons/io/android-favorite.d.ts +++ b/react-icons/io/android-favorite.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidFavorite extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-film.d.ts b/react-icons/io/android-film.d.ts index cc9fc259f0..a82ed989d0 100644 --- a/react-icons/io/android-film.d.ts +++ b/react-icons/io/android-film.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidFilm extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-folder-open.d.ts b/react-icons/io/android-folder-open.d.ts index dc7ac8fb0f..525290636e 100644 --- a/react-icons/io/android-folder-open.d.ts +++ b/react-icons/io/android-folder-open.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidFolderOpen extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-folder.d.ts b/react-icons/io/android-folder.d.ts index fa2435a9fb..4c67058e6b 100644 --- a/react-icons/io/android-folder.d.ts +++ b/react-icons/io/android-folder.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidFolder extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-funnel.d.ts b/react-icons/io/android-funnel.d.ts index 6a65c30125..0dcdaf94e1 100644 --- a/react-icons/io/android-funnel.d.ts +++ b/react-icons/io/android-funnel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidFunnel extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-globe.d.ts b/react-icons/io/android-globe.d.ts index 04f3dc1853..8b3b55ad07 100644 --- a/react-icons/io/android-globe.d.ts +++ b/react-icons/io/android-globe.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidGlobe extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-hand.d.ts b/react-icons/io/android-hand.d.ts index 310d56716f..58ba1fc0ce 100644 --- a/react-icons/io/android-hand.d.ts +++ b/react-icons/io/android-hand.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidHand extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-hangout.d.ts b/react-icons/io/android-hangout.d.ts index 2de7eaa886..a293f73190 100644 --- a/react-icons/io/android-hangout.d.ts +++ b/react-icons/io/android-hangout.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidHangout extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-happy.d.ts b/react-icons/io/android-happy.d.ts index e7565a0962..388a3d9c67 100644 --- a/react-icons/io/android-happy.d.ts +++ b/react-icons/io/android-happy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidHappy extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-home.d.ts b/react-icons/io/android-home.d.ts index d6ff3a72f6..f000f6c9b6 100644 --- a/react-icons/io/android-home.d.ts +++ b/react-icons/io/android-home.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidHome extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-image.d.ts b/react-icons/io/android-image.d.ts index 234a34200f..605696ee06 100644 --- a/react-icons/io/android-image.d.ts +++ b/react-icons/io/android-image.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidImage extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-laptop.d.ts b/react-icons/io/android-laptop.d.ts index 8f3a514189..78e48f594a 100644 --- a/react-icons/io/android-laptop.d.ts +++ b/react-icons/io/android-laptop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidLaptop extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-list.d.ts b/react-icons/io/android-list.d.ts index 4eaecd910c..f0ab0eab7c 100644 --- a/react-icons/io/android-list.d.ts +++ b/react-icons/io/android-list.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidList extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-locate.d.ts b/react-icons/io/android-locate.d.ts index 3266555433..d150d7ec81 100644 --- a/react-icons/io/android-locate.d.ts +++ b/react-icons/io/android-locate.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidLocate extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-lock.d.ts b/react-icons/io/android-lock.d.ts index d73bb76011..2d8806bc2d 100644 --- a/react-icons/io/android-lock.d.ts +++ b/react-icons/io/android-lock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidLock extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-mail.d.ts b/react-icons/io/android-mail.d.ts index a460d9347d..59899e90db 100644 --- a/react-icons/io/android-mail.d.ts +++ b/react-icons/io/android-mail.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidMail extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-map.d.ts b/react-icons/io/android-map.d.ts index bd05edba2e..9fdbef0c87 100644 --- a/react-icons/io/android-map.d.ts +++ b/react-icons/io/android-map.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidMap extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-menu.d.ts b/react-icons/io/android-menu.d.ts index d7362c3142..7c9b6bdcd0 100644 --- a/react-icons/io/android-menu.d.ts +++ b/react-icons/io/android-menu.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidMenu extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-microphone-off.d.ts b/react-icons/io/android-microphone-off.d.ts index 4b2307dc68..b447b5df2f 100644 --- a/react-icons/io/android-microphone-off.d.ts +++ b/react-icons/io/android-microphone-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidMicrophoneOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-microphone.d.ts b/react-icons/io/android-microphone.d.ts index 3596331d65..f307b79fea 100644 --- a/react-icons/io/android-microphone.d.ts +++ b/react-icons/io/android-microphone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidMicrophone extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-more-horizontal.d.ts b/react-icons/io/android-more-horizontal.d.ts index 34ecb26ae4..44c1655d89 100644 --- a/react-icons/io/android-more-horizontal.d.ts +++ b/react-icons/io/android-more-horizontal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidMoreHorizontal extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-more-vertical.d.ts b/react-icons/io/android-more-vertical.d.ts index c67fd53e56..62d8f2f6d7 100644 --- a/react-icons/io/android-more-vertical.d.ts +++ b/react-icons/io/android-more-vertical.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidMoreVertical extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-navigate.d.ts b/react-icons/io/android-navigate.d.ts index 075f8caa05..9a6938e581 100644 --- a/react-icons/io/android-navigate.d.ts +++ b/react-icons/io/android-navigate.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidNavigate extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-notifications-none.d.ts b/react-icons/io/android-notifications-none.d.ts index f92977a171..3a2639e709 100644 --- a/react-icons/io/android-notifications-none.d.ts +++ b/react-icons/io/android-notifications-none.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidNotificationsNone extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-notifications-off.d.ts b/react-icons/io/android-notifications-off.d.ts index 9152b8b8c6..103ec4190f 100644 --- a/react-icons/io/android-notifications-off.d.ts +++ b/react-icons/io/android-notifications-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidNotificationsOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-notifications.d.ts b/react-icons/io/android-notifications.d.ts index 397d38bce8..2ebd7abdbe 100644 --- a/react-icons/io/android-notifications.d.ts +++ b/react-icons/io/android-notifications.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidNotifications extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-open.d.ts b/react-icons/io/android-open.d.ts index e11840cf8b..9c8bca914e 100644 --- a/react-icons/io/android-open.d.ts +++ b/react-icons/io/android-open.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidOpen extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-options.d.ts b/react-icons/io/android-options.d.ts index a3970fbf30..914219ccfd 100644 --- a/react-icons/io/android-options.d.ts +++ b/react-icons/io/android-options.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidOptions extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-people.d.ts b/react-icons/io/android-people.d.ts index 55042c3d62..e9b72164e5 100644 --- a/react-icons/io/android-people.d.ts +++ b/react-icons/io/android-people.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidPeople extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-person-add.d.ts b/react-icons/io/android-person-add.d.ts index b012eb35a4..ed0e4d4a36 100644 --- a/react-icons/io/android-person-add.d.ts +++ b/react-icons/io/android-person-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidPersonAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-person.d.ts b/react-icons/io/android-person.d.ts index 38a6ff034e..8e8b15815b 100644 --- a/react-icons/io/android-person.d.ts +++ b/react-icons/io/android-person.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidPerson extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-phone-landscape.d.ts b/react-icons/io/android-phone-landscape.d.ts index 98fb905b92..fe765139b3 100644 --- a/react-icons/io/android-phone-landscape.d.ts +++ b/react-icons/io/android-phone-landscape.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidPhoneLandscape extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-phone-portrait.d.ts b/react-icons/io/android-phone-portrait.d.ts index 19d594e5cc..ec896b9e09 100644 --- a/react-icons/io/android-phone-portrait.d.ts +++ b/react-icons/io/android-phone-portrait.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidPhonePortrait extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-pin.d.ts b/react-icons/io/android-pin.d.ts index 847d1aa932..6256ae7595 100644 --- a/react-icons/io/android-pin.d.ts +++ b/react-icons/io/android-pin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidPin extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-plane.d.ts b/react-icons/io/android-plane.d.ts index 73523e363f..d8dae6a4d3 100644 --- a/react-icons/io/android-plane.d.ts +++ b/react-icons/io/android-plane.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidPlane extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-playstore.d.ts b/react-icons/io/android-playstore.d.ts index 5d4bed6904..0b17fb21aa 100644 --- a/react-icons/io/android-playstore.d.ts +++ b/react-icons/io/android-playstore.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidPlaystore extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-print.d.ts b/react-icons/io/android-print.d.ts index b898bcd5d7..40bb1c29b6 100644 --- a/react-icons/io/android-print.d.ts +++ b/react-icons/io/android-print.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidPrint extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-radio-button-off.d.ts b/react-icons/io/android-radio-button-off.d.ts index d26ae44fba..cd6ee4ee22 100644 --- a/react-icons/io/android-radio-button-off.d.ts +++ b/react-icons/io/android-radio-button-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidRadioButtonOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-radio-button-on.d.ts b/react-icons/io/android-radio-button-on.d.ts index a590507c7f..7c06a25bb7 100644 --- a/react-icons/io/android-radio-button-on.d.ts +++ b/react-icons/io/android-radio-button-on.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidRadioButtonOn extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-refresh.d.ts b/react-icons/io/android-refresh.d.ts index 6496993708..410cb95cec 100644 --- a/react-icons/io/android-refresh.d.ts +++ b/react-icons/io/android-refresh.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidRefresh extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-remove-circle.d.ts b/react-icons/io/android-remove-circle.d.ts index 13753addf6..5497448ccc 100644 --- a/react-icons/io/android-remove-circle.d.ts +++ b/react-icons/io/android-remove-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidRemoveCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-remove.d.ts b/react-icons/io/android-remove.d.ts index 757d7d4069..0771566550 100644 --- a/react-icons/io/android-remove.d.ts +++ b/react-icons/io/android-remove.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidRemove extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-restaurant.d.ts b/react-icons/io/android-restaurant.d.ts index 402f3dcbe9..90eb94dea5 100644 --- a/react-icons/io/android-restaurant.d.ts +++ b/react-icons/io/android-restaurant.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidRestaurant extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-sad.d.ts b/react-icons/io/android-sad.d.ts index e15bdd3ee5..e83078dffd 100644 --- a/react-icons/io/android-sad.d.ts +++ b/react-icons/io/android-sad.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidSad extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-search.d.ts b/react-icons/io/android-search.d.ts index f83770a888..25470f2ff8 100644 --- a/react-icons/io/android-search.d.ts +++ b/react-icons/io/android-search.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidSearch extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-send.d.ts b/react-icons/io/android-send.d.ts index 2594494bce..4d90363e68 100644 --- a/react-icons/io/android-send.d.ts +++ b/react-icons/io/android-send.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidSend extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-settings.d.ts b/react-icons/io/android-settings.d.ts index 67b1287744..448a8ddc18 100644 --- a/react-icons/io/android-settings.d.ts +++ b/react-icons/io/android-settings.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidSettings extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-share-alt.d.ts b/react-icons/io/android-share-alt.d.ts index 6ca634ea27..b00f5320f3 100644 --- a/react-icons/io/android-share-alt.d.ts +++ b/react-icons/io/android-share-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidShareAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-share.d.ts b/react-icons/io/android-share.d.ts index 1624115637..ce3187db9b 100644 --- a/react-icons/io/android-share.d.ts +++ b/react-icons/io/android-share.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidShare extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-star-half.d.ts b/react-icons/io/android-star-half.d.ts index 8eaa9b49c3..a3b26b539f 100644 --- a/react-icons/io/android-star-half.d.ts +++ b/react-icons/io/android-star-half.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidStarHalf extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-star-outline.d.ts b/react-icons/io/android-star-outline.d.ts index 82cf2dfd07..2d979cb236 100644 --- a/react-icons/io/android-star-outline.d.ts +++ b/react-icons/io/android-star-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidStarOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-star.d.ts b/react-icons/io/android-star.d.ts index 6ce5994948..b312107d7a 100644 --- a/react-icons/io/android-star.d.ts +++ b/react-icons/io/android-star.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidStar extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-stopwatch.d.ts b/react-icons/io/android-stopwatch.d.ts index c78609cbec..5b6ddf2caf 100644 --- a/react-icons/io/android-stopwatch.d.ts +++ b/react-icons/io/android-stopwatch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidStopwatch extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-subway.d.ts b/react-icons/io/android-subway.d.ts index 927100e826..ed20cbe1f3 100644 --- a/react-icons/io/android-subway.d.ts +++ b/react-icons/io/android-subway.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidSubway extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-sunny.d.ts b/react-icons/io/android-sunny.d.ts index c1baf81f2b..2ef91532e8 100644 --- a/react-icons/io/android-sunny.d.ts +++ b/react-icons/io/android-sunny.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidSunny extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-sync.d.ts b/react-icons/io/android-sync.d.ts index 9f39b3ca1a..2e9b19ff31 100644 --- a/react-icons/io/android-sync.d.ts +++ b/react-icons/io/android-sync.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidSync extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-textsms.d.ts b/react-icons/io/android-textsms.d.ts index aef70c3543..026cf3df84 100644 --- a/react-icons/io/android-textsms.d.ts +++ b/react-icons/io/android-textsms.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidTextsms extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-time.d.ts b/react-icons/io/android-time.d.ts index 0e75b302ca..718f32a889 100644 --- a/react-icons/io/android-time.d.ts +++ b/react-icons/io/android-time.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidTime extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-train.d.ts b/react-icons/io/android-train.d.ts index 6df033c7ab..3b6227d3fb 100644 --- a/react-icons/io/android-train.d.ts +++ b/react-icons/io/android-train.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidTrain extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-unlock.d.ts b/react-icons/io/android-unlock.d.ts index 5ca174216d..9789ab7f07 100644 --- a/react-icons/io/android-unlock.d.ts +++ b/react-icons/io/android-unlock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidUnlock extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-upload.d.ts b/react-icons/io/android-upload.d.ts index a44eb717d2..423de4a5fb 100644 --- a/react-icons/io/android-upload.d.ts +++ b/react-icons/io/android-upload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidUpload extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-volume-down.d.ts b/react-icons/io/android-volume-down.d.ts index 61ddda0408..9b1f08c120 100644 --- a/react-icons/io/android-volume-down.d.ts +++ b/react-icons/io/android-volume-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidVolumeDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-volume-mute.d.ts b/react-icons/io/android-volume-mute.d.ts index 3904911d77..359757636b 100644 --- a/react-icons/io/android-volume-mute.d.ts +++ b/react-icons/io/android-volume-mute.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidVolumeMute extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-volume-off.d.ts b/react-icons/io/android-volume-off.d.ts index b35887e8f2..9f53fe2f38 100644 --- a/react-icons/io/android-volume-off.d.ts +++ b/react-icons/io/android-volume-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidVolumeOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-volume-up.d.ts b/react-icons/io/android-volume-up.d.ts index 2b33721165..dffd12cc1c 100644 --- a/react-icons/io/android-volume-up.d.ts +++ b/react-icons/io/android-volume-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidVolumeUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-walk.d.ts b/react-icons/io/android-walk.d.ts index 4044521602..a66affde9f 100644 --- a/react-icons/io/android-walk.d.ts +++ b/react-icons/io/android-walk.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidWalk extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-warning.d.ts b/react-icons/io/android-warning.d.ts index 6eb55c23b8..4a63539735 100644 --- a/react-icons/io/android-warning.d.ts +++ b/react-icons/io/android-warning.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidWarning extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-watch.d.ts b/react-icons/io/android-watch.d.ts index 5808d17040..eaf8400398 100644 --- a/react-icons/io/android-watch.d.ts +++ b/react-icons/io/android-watch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidWatch extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/android-wifi.d.ts b/react-icons/io/android-wifi.d.ts index fb9e7f68ff..c9527a96dc 100644 --- a/react-icons/io/android-wifi.d.ts +++ b/react-icons/io/android-wifi.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAndroidWifi extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/aperture.d.ts b/react-icons/io/aperture.d.ts index 0f6757e511..baff06b577 100644 --- a/react-icons/io/aperture.d.ts +++ b/react-icons/io/aperture.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAperture extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/archive.d.ts b/react-icons/io/archive.d.ts index 8e43c86ef0..be19b6ff72 100644 --- a/react-icons/io/archive.d.ts +++ b/react-icons/io/archive.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArchive extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-down-a.d.ts b/react-icons/io/arrow-down-a.d.ts index e129600672..22eb32ad8d 100644 --- a/react-icons/io/arrow-down-a.d.ts +++ b/react-icons/io/arrow-down-a.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowDownA extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-down-b.d.ts b/react-icons/io/arrow-down-b.d.ts index 2b1c4641fb..93cfbad605 100644 --- a/react-icons/io/arrow-down-b.d.ts +++ b/react-icons/io/arrow-down-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowDownB extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-down-c.d.ts b/react-icons/io/arrow-down-c.d.ts index 12b128d44f..d3bb89e87f 100644 --- a/react-icons/io/arrow-down-c.d.ts +++ b/react-icons/io/arrow-down-c.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowDownC extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-expand.d.ts b/react-icons/io/arrow-expand.d.ts index 39a0ed20f8..126d2adbea 100644 --- a/react-icons/io/arrow-expand.d.ts +++ b/react-icons/io/arrow-expand.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowExpand extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-graph-down-left.d.ts b/react-icons/io/arrow-graph-down-left.d.ts index 8c7cf60e6a..91f94a4d2e 100644 --- a/react-icons/io/arrow-graph-down-left.d.ts +++ b/react-icons/io/arrow-graph-down-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowGraphDownLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-graph-down-right.d.ts b/react-icons/io/arrow-graph-down-right.d.ts index 00fa9e4c80..d3c24ab6cf 100644 --- a/react-icons/io/arrow-graph-down-right.d.ts +++ b/react-icons/io/arrow-graph-down-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowGraphDownRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-graph-up-left.d.ts b/react-icons/io/arrow-graph-up-left.d.ts index a647eaa771..55ea5567b6 100644 --- a/react-icons/io/arrow-graph-up-left.d.ts +++ b/react-icons/io/arrow-graph-up-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowGraphUpLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-graph-up-right.d.ts b/react-icons/io/arrow-graph-up-right.d.ts index 9ef13b190a..bbc159b1ce 100644 --- a/react-icons/io/arrow-graph-up-right.d.ts +++ b/react-icons/io/arrow-graph-up-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowGraphUpRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-left-a.d.ts b/react-icons/io/arrow-left-a.d.ts index 9855db5540..c94eb6b292 100644 --- a/react-icons/io/arrow-left-a.d.ts +++ b/react-icons/io/arrow-left-a.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowLeftA extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-left-b.d.ts b/react-icons/io/arrow-left-b.d.ts index db42f717f7..b7a6806e18 100644 --- a/react-icons/io/arrow-left-b.d.ts +++ b/react-icons/io/arrow-left-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowLeftB extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-left-c.d.ts b/react-icons/io/arrow-left-c.d.ts index d1d7a3b816..b406e0ef6c 100644 --- a/react-icons/io/arrow-left-c.d.ts +++ b/react-icons/io/arrow-left-c.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowLeftC extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-move.d.ts b/react-icons/io/arrow-move.d.ts index 1f01191993..44c24566ca 100644 --- a/react-icons/io/arrow-move.d.ts +++ b/react-icons/io/arrow-move.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowMove extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-resize.d.ts b/react-icons/io/arrow-resize.d.ts index 5978c04079..1deb17b54a 100644 --- a/react-icons/io/arrow-resize.d.ts +++ b/react-icons/io/arrow-resize.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowResize extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-return-left.d.ts b/react-icons/io/arrow-return-left.d.ts index b6af1ca1e4..1292aed723 100644 --- a/react-icons/io/arrow-return-left.d.ts +++ b/react-icons/io/arrow-return-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowReturnLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-return-right.d.ts b/react-icons/io/arrow-return-right.d.ts index a25afc5117..61ca0b4889 100644 --- a/react-icons/io/arrow-return-right.d.ts +++ b/react-icons/io/arrow-return-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowReturnRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-right-a.d.ts b/react-icons/io/arrow-right-a.d.ts index 069b3190e3..d1fcbd04c6 100644 --- a/react-icons/io/arrow-right-a.d.ts +++ b/react-icons/io/arrow-right-a.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowRightA extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-right-b.d.ts b/react-icons/io/arrow-right-b.d.ts index 30f4d3ffdb..db91720278 100644 --- a/react-icons/io/arrow-right-b.d.ts +++ b/react-icons/io/arrow-right-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowRightB extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-right-c.d.ts b/react-icons/io/arrow-right-c.d.ts index 23fd4da1c2..7688a7759c 100644 --- a/react-icons/io/arrow-right-c.d.ts +++ b/react-icons/io/arrow-right-c.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowRightC extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-shrink.d.ts b/react-icons/io/arrow-shrink.d.ts index bd96dfc102..7b36eb34e8 100644 --- a/react-icons/io/arrow-shrink.d.ts +++ b/react-icons/io/arrow-shrink.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowShrink extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-swap.d.ts b/react-icons/io/arrow-swap.d.ts index 2f2c71d0ad..884fdef163 100644 --- a/react-icons/io/arrow-swap.d.ts +++ b/react-icons/io/arrow-swap.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowSwap extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-up-a.d.ts b/react-icons/io/arrow-up-a.d.ts index 3edd4915d4..1701b1adf8 100644 --- a/react-icons/io/arrow-up-a.d.ts +++ b/react-icons/io/arrow-up-a.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowUpA extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-up-b.d.ts b/react-icons/io/arrow-up-b.d.ts index ddf288dcfc..f82ef0449e 100644 --- a/react-icons/io/arrow-up-b.d.ts +++ b/react-icons/io/arrow-up-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowUpB extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/arrow-up-c.d.ts b/react-icons/io/arrow-up-c.d.ts index 24baab9e4d..c3c6141f69 100644 --- a/react-icons/io/arrow-up-c.d.ts +++ b/react-icons/io/arrow-up-c.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoArrowUpC extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/asterisk.d.ts b/react-icons/io/asterisk.d.ts index d6d7812590..2637671f5e 100644 --- a/react-icons/io/asterisk.d.ts +++ b/react-icons/io/asterisk.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAsterisk extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/at.d.ts b/react-icons/io/at.d.ts index 0f529669e1..9d9e2dc890 100644 --- a/react-icons/io/at.d.ts +++ b/react-icons/io/at.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoAt extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/backspace-outline.d.ts b/react-icons/io/backspace-outline.d.ts index c8dc87e35d..71845373f2 100644 --- a/react-icons/io/backspace-outline.d.ts +++ b/react-icons/io/backspace-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBackspaceOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/backspace.d.ts b/react-icons/io/backspace.d.ts index dee0a1a0e1..2c86fd5a91 100644 --- a/react-icons/io/backspace.d.ts +++ b/react-icons/io/backspace.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBackspace extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/bag.d.ts b/react-icons/io/bag.d.ts index d7c6a70f34..aea2eabbec 100644 --- a/react-icons/io/bag.d.ts +++ b/react-icons/io/bag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBag extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/battery-charging.d.ts b/react-icons/io/battery-charging.d.ts index 7bec82b21a..1a90d052d7 100644 --- a/react-icons/io/battery-charging.d.ts +++ b/react-icons/io/battery-charging.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBatteryCharging extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/battery-empty.d.ts b/react-icons/io/battery-empty.d.ts index 399c37b871..24a3047bba 100644 --- a/react-icons/io/battery-empty.d.ts +++ b/react-icons/io/battery-empty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBatteryEmpty extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/battery-full.d.ts b/react-icons/io/battery-full.d.ts index 8f47508e40..540613a25d 100644 --- a/react-icons/io/battery-full.d.ts +++ b/react-icons/io/battery-full.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBatteryFull extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/battery-half.d.ts b/react-icons/io/battery-half.d.ts index b059376e1a..3f673cd1c2 100644 --- a/react-icons/io/battery-half.d.ts +++ b/react-icons/io/battery-half.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBatteryHalf extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/battery-low.d.ts b/react-icons/io/battery-low.d.ts index e354f3f94c..f028be5691 100644 --- a/react-icons/io/battery-low.d.ts +++ b/react-icons/io/battery-low.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBatteryLow extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/beaker.d.ts b/react-icons/io/beaker.d.ts index f2a480bc1b..4eeac4da8d 100644 --- a/react-icons/io/beaker.d.ts +++ b/react-icons/io/beaker.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBeaker extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/beer.d.ts b/react-icons/io/beer.d.ts index 36a176f79f..d40ef6efb8 100644 --- a/react-icons/io/beer.d.ts +++ b/react-icons/io/beer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBeer extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/bluetooth.d.ts b/react-icons/io/bluetooth.d.ts index 02ff26a4f0..7ed9f9d82b 100644 --- a/react-icons/io/bluetooth.d.ts +++ b/react-icons/io/bluetooth.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBluetooth extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/bonfire.d.ts b/react-icons/io/bonfire.d.ts index b2f0e0cdc4..7077e26394 100644 --- a/react-icons/io/bonfire.d.ts +++ b/react-icons/io/bonfire.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBonfire extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/bookmark.d.ts b/react-icons/io/bookmark.d.ts index 9705b6f86b..ed827430c7 100644 --- a/react-icons/io/bookmark.d.ts +++ b/react-icons/io/bookmark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBookmark extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/bowtie.d.ts b/react-icons/io/bowtie.d.ts index db6a2b50c1..501b273437 100644 --- a/react-icons/io/bowtie.d.ts +++ b/react-icons/io/bowtie.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBowtie extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/briefcase.d.ts b/react-icons/io/briefcase.d.ts index 726556b2c4..9c6eb1905d 100644 --- a/react-icons/io/briefcase.d.ts +++ b/react-icons/io/briefcase.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBriefcase extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/bug.d.ts b/react-icons/io/bug.d.ts index 582bb196b4..4b17f5983f 100644 --- a/react-icons/io/bug.d.ts +++ b/react-icons/io/bug.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoBug extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/calculator.d.ts b/react-icons/io/calculator.d.ts index 55bdb52c59..7558922b1c 100644 --- a/react-icons/io/calculator.d.ts +++ b/react-icons/io/calculator.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCalculator extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/calendar.d.ts b/react-icons/io/calendar.d.ts index e87c6b4705..5107896105 100644 --- a/react-icons/io/calendar.d.ts +++ b/react-icons/io/calendar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCalendar extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/camera.d.ts b/react-icons/io/camera.d.ts index b8092ca087..e0a13b4545 100644 --- a/react-icons/io/camera.d.ts +++ b/react-icons/io/camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/card.d.ts b/react-icons/io/card.d.ts index 3222ae3c43..a4570c4982 100644 --- a/react-icons/io/card.d.ts +++ b/react-icons/io/card.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCard extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/cash.d.ts b/react-icons/io/cash.d.ts index 7bd4da34ee..7ec79b6503 100644 --- a/react-icons/io/cash.d.ts +++ b/react-icons/io/cash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCash extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/chatbox-working.d.ts b/react-icons/io/chatbox-working.d.ts index e3ff38d29d..3fa1b09802 100644 --- a/react-icons/io/chatbox-working.d.ts +++ b/react-icons/io/chatbox-working.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoChatboxWorking extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/chatbox.d.ts b/react-icons/io/chatbox.d.ts index c900e72a12..b695029821 100644 --- a/react-icons/io/chatbox.d.ts +++ b/react-icons/io/chatbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoChatbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/chatboxes.d.ts b/react-icons/io/chatboxes.d.ts index 9bd61d2b56..a8423c8926 100644 --- a/react-icons/io/chatboxes.d.ts +++ b/react-icons/io/chatboxes.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoChatboxes extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/chatbubble-working.d.ts b/react-icons/io/chatbubble-working.d.ts index 11bbc83f49..fbc3020185 100644 --- a/react-icons/io/chatbubble-working.d.ts +++ b/react-icons/io/chatbubble-working.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoChatbubbleWorking extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/chatbubble.d.ts b/react-icons/io/chatbubble.d.ts index f38f78bf7d..cab891cbca 100644 --- a/react-icons/io/chatbubble.d.ts +++ b/react-icons/io/chatbubble.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoChatbubble extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/chatbubbles.d.ts b/react-icons/io/chatbubbles.d.ts index e4620f3ae5..1e8d6e3e8b 100644 --- a/react-icons/io/chatbubbles.d.ts +++ b/react-icons/io/chatbubbles.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoChatbubbles extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/checkmark-circled.d.ts b/react-icons/io/checkmark-circled.d.ts index 545c5dc316..763a394628 100644 --- a/react-icons/io/checkmark-circled.d.ts +++ b/react-icons/io/checkmark-circled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCheckmarkCircled extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/checkmark-round.d.ts b/react-icons/io/checkmark-round.d.ts index 54b9845bc8..443b8ed212 100644 --- a/react-icons/io/checkmark-round.d.ts +++ b/react-icons/io/checkmark-round.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCheckmarkRound extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/checkmark.d.ts b/react-icons/io/checkmark.d.ts index 58a4235b5e..b9f92f7c0e 100644 --- a/react-icons/io/checkmark.d.ts +++ b/react-icons/io/checkmark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCheckmark extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/chevron-down.d.ts b/react-icons/io/chevron-down.d.ts index 5fa87ad42a..0afcc5a2e0 100644 --- a/react-icons/io/chevron-down.d.ts +++ b/react-icons/io/chevron-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoChevronDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/chevron-left.d.ts b/react-icons/io/chevron-left.d.ts index f8d29748fb..dfd4817933 100644 --- a/react-icons/io/chevron-left.d.ts +++ b/react-icons/io/chevron-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoChevronLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/chevron-right.d.ts b/react-icons/io/chevron-right.d.ts index 3d127240f6..5d852f0276 100644 --- a/react-icons/io/chevron-right.d.ts +++ b/react-icons/io/chevron-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoChevronRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/chevron-up.d.ts b/react-icons/io/chevron-up.d.ts index 37958eb35a..ab5124cf7e 100644 --- a/react-icons/io/chevron-up.d.ts +++ b/react-icons/io/chevron-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoChevronUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/clipboard.d.ts b/react-icons/io/clipboard.d.ts index 215eb099e3..037abe5bd3 100644 --- a/react-icons/io/clipboard.d.ts +++ b/react-icons/io/clipboard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoClipboard extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/clock.d.ts b/react-icons/io/clock.d.ts index c0da4be925..615a54fad3 100644 --- a/react-icons/io/clock.d.ts +++ b/react-icons/io/clock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoClock extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/close-circled.d.ts b/react-icons/io/close-circled.d.ts index 8abb4b2530..2f762ace06 100644 --- a/react-icons/io/close-circled.d.ts +++ b/react-icons/io/close-circled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCloseCircled extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/close-round.d.ts b/react-icons/io/close-round.d.ts index b8fb0387ff..42fbc62ba6 100644 --- a/react-icons/io/close-round.d.ts +++ b/react-icons/io/close-round.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCloseRound extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/close.d.ts b/react-icons/io/close.d.ts index a3ee6bcb51..6c886d54b2 100644 --- a/react-icons/io/close.d.ts +++ b/react-icons/io/close.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoClose extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/closed-captioning.d.ts b/react-icons/io/closed-captioning.d.ts index 89b555c8ae..351766d110 100644 --- a/react-icons/io/closed-captioning.d.ts +++ b/react-icons/io/closed-captioning.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoClosedCaptioning extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/cloud.d.ts b/react-icons/io/cloud.d.ts index 62b49dea82..acb72124e7 100644 --- a/react-icons/io/cloud.d.ts +++ b/react-icons/io/cloud.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCloud extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/code-download.d.ts b/react-icons/io/code-download.d.ts index aaef3255b8..a0a4352891 100644 --- a/react-icons/io/code-download.d.ts +++ b/react-icons/io/code-download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCodeDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/code-working.d.ts b/react-icons/io/code-working.d.ts index 28d0fd7138..fa6a1b837e 100644 --- a/react-icons/io/code-working.d.ts +++ b/react-icons/io/code-working.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCodeWorking extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/code.d.ts b/react-icons/io/code.d.ts index 708bccfde6..87ca1a6933 100644 --- a/react-icons/io/code.d.ts +++ b/react-icons/io/code.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCode extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/coffee.d.ts b/react-icons/io/coffee.d.ts index f0e8702589..9e4578ece0 100644 --- a/react-icons/io/coffee.d.ts +++ b/react-icons/io/coffee.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCoffee extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/compass.d.ts b/react-icons/io/compass.d.ts index fc5c3e8bda..6ea7598744 100644 --- a/react-icons/io/compass.d.ts +++ b/react-icons/io/compass.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCompass extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/compose.d.ts b/react-icons/io/compose.d.ts index f0b29565b0..3f79bc1c60 100644 --- a/react-icons/io/compose.d.ts +++ b/react-icons/io/compose.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCompose extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/connectbars.d.ts b/react-icons/io/connectbars.d.ts index fd8d54de4a..39512ba8a3 100644 --- a/react-icons/io/connectbars.d.ts +++ b/react-icons/io/connectbars.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoConnectbars extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/contrast.d.ts b/react-icons/io/contrast.d.ts index 928bda459e..525038a517 100644 --- a/react-icons/io/contrast.d.ts +++ b/react-icons/io/contrast.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoContrast extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/crop.d.ts b/react-icons/io/crop.d.ts index 8979954d33..61e05e3951 100644 --- a/react-icons/io/crop.d.ts +++ b/react-icons/io/crop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCrop extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/cube.d.ts b/react-icons/io/cube.d.ts index 3e058d833a..5dcbca4930 100644 --- a/react-icons/io/cube.d.ts +++ b/react-icons/io/cube.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoCube extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/disc.d.ts b/react-icons/io/disc.d.ts index ae0002dd6e..eee0510388 100644 --- a/react-icons/io/disc.d.ts +++ b/react-icons/io/disc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoDisc extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/document-text.d.ts b/react-icons/io/document-text.d.ts index 9e0914a471..9c1c4f519c 100644 --- a/react-icons/io/document-text.d.ts +++ b/react-icons/io/document-text.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoDocumentText extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/document.d.ts b/react-icons/io/document.d.ts index 143e60dfc4..d1a734222a 100644 --- a/react-icons/io/document.d.ts +++ b/react-icons/io/document.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoDocument extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/drag.d.ts b/react-icons/io/drag.d.ts index 99a34947ac..ce65a1c477 100644 --- a/react-icons/io/drag.d.ts +++ b/react-icons/io/drag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoDrag extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/earth.d.ts b/react-icons/io/earth.d.ts index b518edd828..a6a7303666 100644 --- a/react-icons/io/earth.d.ts +++ b/react-icons/io/earth.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoEarth extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/easel.d.ts b/react-icons/io/easel.d.ts index f36855e74d..eefb014e3f 100644 --- a/react-icons/io/easel.d.ts +++ b/react-icons/io/easel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoEasel extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/edit.d.ts b/react-icons/io/edit.d.ts index 8868ebddfd..37e99cbddc 100644 --- a/react-icons/io/edit.d.ts +++ b/react-icons/io/edit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoEdit extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/egg.d.ts b/react-icons/io/egg.d.ts index e037ec6695..bdd8b5104a 100644 --- a/react-icons/io/egg.d.ts +++ b/react-icons/io/egg.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoEgg extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/eject.d.ts b/react-icons/io/eject.d.ts index 5352cfaab7..fd2423ffa2 100644 --- a/react-icons/io/eject.d.ts +++ b/react-icons/io/eject.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoEject extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/email-unread.d.ts b/react-icons/io/email-unread.d.ts index d76ddc77a8..8cb797ee9b 100644 --- a/react-icons/io/email-unread.d.ts +++ b/react-icons/io/email-unread.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoEmailUnread extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/email.d.ts b/react-icons/io/email.d.ts index bae7c21977..6adf29e881 100644 --- a/react-icons/io/email.d.ts +++ b/react-icons/io/email.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoEmail extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/erlenmeyer-flask-bubbles.d.ts b/react-icons/io/erlenmeyer-flask-bubbles.d.ts index 0e14bb61b7..03be0a605c 100644 --- a/react-icons/io/erlenmeyer-flask-bubbles.d.ts +++ b/react-icons/io/erlenmeyer-flask-bubbles.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoErlenmeyerFlaskBubbles extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/erlenmeyer-flask.d.ts b/react-icons/io/erlenmeyer-flask.d.ts index e6d115470c..1b80374814 100644 --- a/react-icons/io/erlenmeyer-flask.d.ts +++ b/react-icons/io/erlenmeyer-flask.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoErlenmeyerFlask extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/eye-disabled.d.ts b/react-icons/io/eye-disabled.d.ts index dccba3f98d..6d6303f36d 100644 --- a/react-icons/io/eye-disabled.d.ts +++ b/react-icons/io/eye-disabled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoEyeDisabled extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/eye.d.ts b/react-icons/io/eye.d.ts index ecd639a2e9..46d18eadae 100644 --- a/react-icons/io/eye.d.ts +++ b/react-icons/io/eye.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoEye extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/female.d.ts b/react-icons/io/female.d.ts index cb4f74e804..aa90b5787d 100644 --- a/react-icons/io/female.d.ts +++ b/react-icons/io/female.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFemale extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/filing.d.ts b/react-icons/io/filing.d.ts index 1d23754e3d..ad1e2b3bd4 100644 --- a/react-icons/io/filing.d.ts +++ b/react-icons/io/filing.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFiling extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/film-marker.d.ts b/react-icons/io/film-marker.d.ts index 0a7028d46d..fccde618e9 100644 --- a/react-icons/io/film-marker.d.ts +++ b/react-icons/io/film-marker.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFilmMarker extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/fireball.d.ts b/react-icons/io/fireball.d.ts index 4d05bb27d9..3975ebe29c 100644 --- a/react-icons/io/fireball.d.ts +++ b/react-icons/io/fireball.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFireball extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/flag.d.ts b/react-icons/io/flag.d.ts index 48cd7635c8..9d45966d3a 100644 --- a/react-icons/io/flag.d.ts +++ b/react-icons/io/flag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFlag extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/flame.d.ts b/react-icons/io/flame.d.ts index 0f826a74c5..6d5727abcd 100644 --- a/react-icons/io/flame.d.ts +++ b/react-icons/io/flame.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFlame extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/flash-off.d.ts b/react-icons/io/flash-off.d.ts index 060b72368a..f724d26993 100644 --- a/react-icons/io/flash-off.d.ts +++ b/react-icons/io/flash-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFlashOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/flash.d.ts b/react-icons/io/flash.d.ts index 1bbfde2db9..88179ee38a 100644 --- a/react-icons/io/flash.d.ts +++ b/react-icons/io/flash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFlash extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/folder.d.ts b/react-icons/io/folder.d.ts index b6107a96a7..54f03251fd 100644 --- a/react-icons/io/folder.d.ts +++ b/react-icons/io/folder.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFolder extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/fork-repo.d.ts b/react-icons/io/fork-repo.d.ts index d45323575e..da8ff131fa 100644 --- a/react-icons/io/fork-repo.d.ts +++ b/react-icons/io/fork-repo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoForkRepo extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/fork.d.ts b/react-icons/io/fork.d.ts index 4ca36cbfc8..87a8114732 100644 --- a/react-icons/io/fork.d.ts +++ b/react-icons/io/fork.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFork extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/forward.d.ts b/react-icons/io/forward.d.ts index 7ded6be006..b08f7ad93f 100644 --- a/react-icons/io/forward.d.ts +++ b/react-icons/io/forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/funnel.d.ts b/react-icons/io/funnel.d.ts index c0fe6368d4..4b7ec5c4e6 100644 --- a/react-icons/io/funnel.d.ts +++ b/react-icons/io/funnel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoFunnel extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/gear-a.d.ts b/react-icons/io/gear-a.d.ts index 2a63ea948a..2dac676b52 100644 --- a/react-icons/io/gear-a.d.ts +++ b/react-icons/io/gear-a.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoGearA extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/gear-b.d.ts b/react-icons/io/gear-b.d.ts index c76bd647e7..52096c55e9 100644 --- a/react-icons/io/gear-b.d.ts +++ b/react-icons/io/gear-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoGearB extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/grid.d.ts b/react-icons/io/grid.d.ts index 2f46673e4a..2f3c9e5007 100644 --- a/react-icons/io/grid.d.ts +++ b/react-icons/io/grid.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoGrid extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/hammer.d.ts b/react-icons/io/hammer.d.ts index f91f4b5f8b..0f26ad0af4 100644 --- a/react-icons/io/hammer.d.ts +++ b/react-icons/io/hammer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoHammer extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/happy-outline.d.ts b/react-icons/io/happy-outline.d.ts index cd7b48f32e..2706ce0cdf 100644 --- a/react-icons/io/happy-outline.d.ts +++ b/react-icons/io/happy-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoHappyOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/happy.d.ts b/react-icons/io/happy.d.ts index 40cd43fa16..45cf2f9e61 100644 --- a/react-icons/io/happy.d.ts +++ b/react-icons/io/happy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoHappy extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/headphone.d.ts b/react-icons/io/headphone.d.ts index 286c10772a..cfd1d1dc10 100644 --- a/react-icons/io/headphone.d.ts +++ b/react-icons/io/headphone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoHeadphone extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/heart-broken.d.ts b/react-icons/io/heart-broken.d.ts index 2c83b5735e..aea0a10b20 100644 --- a/react-icons/io/heart-broken.d.ts +++ b/react-icons/io/heart-broken.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoHeartBroken extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/heart.d.ts b/react-icons/io/heart.d.ts index 61113e789a..b54984abcb 100644 --- a/react-icons/io/heart.d.ts +++ b/react-icons/io/heart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoHeart extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/help-buoy.d.ts b/react-icons/io/help-buoy.d.ts index 8d147f0297..556708723f 100644 --- a/react-icons/io/help-buoy.d.ts +++ b/react-icons/io/help-buoy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoHelpBuoy extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/help-circled.d.ts b/react-icons/io/help-circled.d.ts index 4925dd1bc1..82d6ec774a 100644 --- a/react-icons/io/help-circled.d.ts +++ b/react-icons/io/help-circled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoHelpCircled extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/help.d.ts b/react-icons/io/help.d.ts index 5a2b0e72e7..3d5cf89264 100644 --- a/react-icons/io/help.d.ts +++ b/react-icons/io/help.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoHelp extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/home.d.ts b/react-icons/io/home.d.ts index 6e195bfd26..100ac3ffcf 100644 --- a/react-icons/io/home.d.ts +++ b/react-icons/io/home.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoHome extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/icecream.d.ts b/react-icons/io/icecream.d.ts index 9d209cb184..4bd18bbd59 100644 --- a/react-icons/io/icecream.d.ts +++ b/react-icons/io/icecream.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIcecream extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/image.d.ts b/react-icons/io/image.d.ts index 0e7743c010..de825af034 100644 --- a/react-icons/io/image.d.ts +++ b/react-icons/io/image.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoImage extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/images.d.ts b/react-icons/io/images.d.ts index b0718cc542..6e8ecdd358 100644 --- a/react-icons/io/images.d.ts +++ b/react-icons/io/images.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoImages extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/index.d.ts b/react-icons/io/index.d.ts index 132c43e88c..a1e2fc97c9 100644 --- a/react-icons/io/index.d.ts +++ b/react-icons/io/index.d.ts @@ -1,3 +1,4 @@ +// TypeScript Version: 2.1 import _IoAlertCircled from "./alert-circled"; import _IoAlert from "./alert"; import _IoAndroidAddCircle from "./android-add-circle"; diff --git a/react-icons/io/informatcircled.d.ts b/react-icons/io/informatcircled.d.ts index ab04338a8f..5eb52f803a 100644 --- a/react-icons/io/informatcircled.d.ts +++ b/react-icons/io/informatcircled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoInformatcircled extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/information.d.ts b/react-icons/io/information.d.ts index b545d42318..fa466c2745 100644 --- a/react-icons/io/information.d.ts +++ b/react-icons/io/information.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoInformation extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ionic.d.ts b/react-icons/io/ionic.d.ts index 0b2dc2cfca..c3f2af80c8 100644 --- a/react-icons/io/ionic.d.ts +++ b/react-icons/io/ionic.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIonic extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-alarm-outline.d.ts b/react-icons/io/ios-alarm-outline.d.ts index 05381f223e..32bc2b87e7 100644 --- a/react-icons/io/ios-alarm-outline.d.ts +++ b/react-icons/io/ios-alarm-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosAlarmOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-alarm.d.ts b/react-icons/io/ios-alarm.d.ts index 7d14bf53e6..250ec1ca66 100644 --- a/react-icons/io/ios-alarm.d.ts +++ b/react-icons/io/ios-alarm.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosAlarm extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-albums-outline.d.ts b/react-icons/io/ios-albums-outline.d.ts index fc303428bf..2d5f7f6338 100644 --- a/react-icons/io/ios-albums-outline.d.ts +++ b/react-icons/io/ios-albums-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosAlbumsOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-albums.d.ts b/react-icons/io/ios-albums.d.ts index 2c4d125c6a..7af11ddf4a 100644 --- a/react-icons/io/ios-albums.d.ts +++ b/react-icons/io/ios-albums.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosAlbums extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-americanfootball-outline.d.ts b/react-icons/io/ios-americanfootball-outline.d.ts index 6497f04a7b..c699fee71e 100644 --- a/react-icons/io/ios-americanfootball-outline.d.ts +++ b/react-icons/io/ios-americanfootball-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosAmericanfootballOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-americanfootball.d.ts b/react-icons/io/ios-americanfootball.d.ts index db75f86008..f77e933b29 100644 --- a/react-icons/io/ios-americanfootball.d.ts +++ b/react-icons/io/ios-americanfootball.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosAmericanfootball extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-analytics-outline.d.ts b/react-icons/io/ios-analytics-outline.d.ts index 6838f1fdf0..7a2f06005c 100644 --- a/react-icons/io/ios-analytics-outline.d.ts +++ b/react-icons/io/ios-analytics-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosAnalyticsOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-analytics.d.ts b/react-icons/io/ios-analytics.d.ts index 38da48e2df..8419a20108 100644 --- a/react-icons/io/ios-analytics.d.ts +++ b/react-icons/io/ios-analytics.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosAnalytics extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-arrow-back.d.ts b/react-icons/io/ios-arrow-back.d.ts index b8db810c70..319149c1ee 100644 --- a/react-icons/io/ios-arrow-back.d.ts +++ b/react-icons/io/ios-arrow-back.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosArrowBack extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-arrow-down.d.ts b/react-icons/io/ios-arrow-down.d.ts index 35688809ae..13da321d62 100644 --- a/react-icons/io/ios-arrow-down.d.ts +++ b/react-icons/io/ios-arrow-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosArrowDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-arrow-forward.d.ts b/react-icons/io/ios-arrow-forward.d.ts index 001d6ad101..be2204d582 100644 --- a/react-icons/io/ios-arrow-forward.d.ts +++ b/react-icons/io/ios-arrow-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosArrowForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-arrow-left.d.ts b/react-icons/io/ios-arrow-left.d.ts index 5af68f52f9..8791e6ca77 100644 --- a/react-icons/io/ios-arrow-left.d.ts +++ b/react-icons/io/ios-arrow-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosArrowLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-arrow-right.d.ts b/react-icons/io/ios-arrow-right.d.ts index 874578e411..d791d8188d 100644 --- a/react-icons/io/ios-arrow-right.d.ts +++ b/react-icons/io/ios-arrow-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosArrowRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-arrow-thin-down.d.ts b/react-icons/io/ios-arrow-thin-down.d.ts index 2743a58fc9..7b0b4a4045 100644 --- a/react-icons/io/ios-arrow-thin-down.d.ts +++ b/react-icons/io/ios-arrow-thin-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosArrowThinDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-arrow-thin-left.d.ts b/react-icons/io/ios-arrow-thin-left.d.ts index e1dceedf83..4ecd0873bd 100644 --- a/react-icons/io/ios-arrow-thin-left.d.ts +++ b/react-icons/io/ios-arrow-thin-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosArrowThinLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-arrow-thin-right.d.ts b/react-icons/io/ios-arrow-thin-right.d.ts index 15bdb17478..71f9c6a3a8 100644 --- a/react-icons/io/ios-arrow-thin-right.d.ts +++ b/react-icons/io/ios-arrow-thin-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosArrowThinRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-arrow-thin-up.d.ts b/react-icons/io/ios-arrow-thin-up.d.ts index b9c508a30d..aea76ffe6f 100644 --- a/react-icons/io/ios-arrow-thin-up.d.ts +++ b/react-icons/io/ios-arrow-thin-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosArrowThinUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-arrow-up.d.ts b/react-icons/io/ios-arrow-up.d.ts index 8a96c65dd3..dfff322fe4 100644 --- a/react-icons/io/ios-arrow-up.d.ts +++ b/react-icons/io/ios-arrow-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosArrowUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-at-outline.d.ts b/react-icons/io/ios-at-outline.d.ts index eddc80eaad..241907680e 100644 --- a/react-icons/io/ios-at-outline.d.ts +++ b/react-icons/io/ios-at-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosAtOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-at.d.ts b/react-icons/io/ios-at.d.ts index 3a78d364cc..631080b229 100644 --- a/react-icons/io/ios-at.d.ts +++ b/react-icons/io/ios-at.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosAt extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-barcode-outline.d.ts b/react-icons/io/ios-barcode-outline.d.ts index 2cea5d81ce..18108c5fd0 100644 --- a/react-icons/io/ios-barcode-outline.d.ts +++ b/react-icons/io/ios-barcode-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBarcodeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-barcode.d.ts b/react-icons/io/ios-barcode.d.ts index 4993f1c958..8dc9f74027 100644 --- a/react-icons/io/ios-barcode.d.ts +++ b/react-icons/io/ios-barcode.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBarcode extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-baseball-outline.d.ts b/react-icons/io/ios-baseball-outline.d.ts index eb50d2a9b1..7f4e7df719 100644 --- a/react-icons/io/ios-baseball-outline.d.ts +++ b/react-icons/io/ios-baseball-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBaseballOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-baseball.d.ts b/react-icons/io/ios-baseball.d.ts index f9f477dbd4..141044bb3e 100644 --- a/react-icons/io/ios-baseball.d.ts +++ b/react-icons/io/ios-baseball.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBaseball extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-basketball-outline.d.ts b/react-icons/io/ios-basketball-outline.d.ts index 27664c74db..684cadee2d 100644 --- a/react-icons/io/ios-basketball-outline.d.ts +++ b/react-icons/io/ios-basketball-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBasketballOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-basketball.d.ts b/react-icons/io/ios-basketball.d.ts index 57574ef310..5a5f56a855 100644 --- a/react-icons/io/ios-basketball.d.ts +++ b/react-icons/io/ios-basketball.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBasketball extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-bell-outline.d.ts b/react-icons/io/ios-bell-outline.d.ts index a90032a31b..96b50fd5bb 100644 --- a/react-icons/io/ios-bell-outline.d.ts +++ b/react-icons/io/ios-bell-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBellOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-bell.d.ts b/react-icons/io/ios-bell.d.ts index 20da45c195..d8147f4893 100644 --- a/react-icons/io/ios-bell.d.ts +++ b/react-icons/io/ios-bell.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBell extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-body-outline.d.ts b/react-icons/io/ios-body-outline.d.ts index ec29b008a5..3198148cfe 100644 --- a/react-icons/io/ios-body-outline.d.ts +++ b/react-icons/io/ios-body-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBodyOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-body.d.ts b/react-icons/io/ios-body.d.ts index 505adb1518..ed0e234129 100644 --- a/react-icons/io/ios-body.d.ts +++ b/react-icons/io/ios-body.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBody extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-bolt-outline.d.ts b/react-icons/io/ios-bolt-outline.d.ts index 2e3e26ff63..71c14223a9 100644 --- a/react-icons/io/ios-bolt-outline.d.ts +++ b/react-icons/io/ios-bolt-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBoltOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-bolt.d.ts b/react-icons/io/ios-bolt.d.ts index ec1d766f8c..0c217e18ec 100644 --- a/react-icons/io/ios-bolt.d.ts +++ b/react-icons/io/ios-bolt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBolt extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-book-outline.d.ts b/react-icons/io/ios-book-outline.d.ts index cc43158fe5..3d66a38d86 100644 --- a/react-icons/io/ios-book-outline.d.ts +++ b/react-icons/io/ios-book-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBookOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-book.d.ts b/react-icons/io/ios-book.d.ts index 93297da3b7..a3c80d6485 100644 --- a/react-icons/io/ios-book.d.ts +++ b/react-icons/io/ios-book.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBook extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-bookmarks-outline.d.ts b/react-icons/io/ios-bookmarks-outline.d.ts index 92c45a79f1..43964ee899 100644 --- a/react-icons/io/ios-bookmarks-outline.d.ts +++ b/react-icons/io/ios-bookmarks-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBookmarksOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-bookmarks.d.ts b/react-icons/io/ios-bookmarks.d.ts index 8a146b468d..b62ed6aecd 100644 --- a/react-icons/io/ios-bookmarks.d.ts +++ b/react-icons/io/ios-bookmarks.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBookmarks extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-box-outline.d.ts b/react-icons/io/ios-box-outline.d.ts index d50a27e0ec..f0c6696e37 100644 --- a/react-icons/io/ios-box-outline.d.ts +++ b/react-icons/io/ios-box-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBoxOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-box.d.ts b/react-icons/io/ios-box.d.ts index 298caebbf0..8efdc3accd 100644 --- a/react-icons/io/ios-box.d.ts +++ b/react-icons/io/ios-box.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBox extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-briefcase-outline.d.ts b/react-icons/io/ios-briefcase-outline.d.ts index e125419faa..80596543fb 100644 --- a/react-icons/io/ios-briefcase-outline.d.ts +++ b/react-icons/io/ios-briefcase-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBriefcaseOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-briefcase.d.ts b/react-icons/io/ios-briefcase.d.ts index 906dbcdc06..843ef382d5 100644 --- a/react-icons/io/ios-briefcase.d.ts +++ b/react-icons/io/ios-briefcase.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBriefcase extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-browsers-outline.d.ts b/react-icons/io/ios-browsers-outline.d.ts index 982e88d876..3342eee229 100644 --- a/react-icons/io/ios-browsers-outline.d.ts +++ b/react-icons/io/ios-browsers-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBrowsersOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-browsers.d.ts b/react-icons/io/ios-browsers.d.ts index a596fe517b..5355c8e902 100644 --- a/react-icons/io/ios-browsers.d.ts +++ b/react-icons/io/ios-browsers.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosBrowsers extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-calculator-outline.d.ts b/react-icons/io/ios-calculator-outline.d.ts index 517dd1d7a9..e5322b6caa 100644 --- a/react-icons/io/ios-calculator-outline.d.ts +++ b/react-icons/io/ios-calculator-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCalculatorOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-calculator.d.ts b/react-icons/io/ios-calculator.d.ts index 8acf9b67ec..f67e339acd 100644 --- a/react-icons/io/ios-calculator.d.ts +++ b/react-icons/io/ios-calculator.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCalculator extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-calendar-outline.d.ts b/react-icons/io/ios-calendar-outline.d.ts index 321a1a81b6..84513df4ee 100644 --- a/react-icons/io/ios-calendar-outline.d.ts +++ b/react-icons/io/ios-calendar-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCalendarOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-calendar.d.ts b/react-icons/io/ios-calendar.d.ts index 28a5c2b6a5..dc5db9e76e 100644 --- a/react-icons/io/ios-calendar.d.ts +++ b/react-icons/io/ios-calendar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCalendar extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-camera-outline.d.ts b/react-icons/io/ios-camera-outline.d.ts index 679029959e..c456832a67 100644 --- a/react-icons/io/ios-camera-outline.d.ts +++ b/react-icons/io/ios-camera-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCameraOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-camera.d.ts b/react-icons/io/ios-camera.d.ts index 00819a7187..003c44f6c8 100644 --- a/react-icons/io/ios-camera.d.ts +++ b/react-icons/io/ios-camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cart-outline.d.ts b/react-icons/io/ios-cart-outline.d.ts index 2ba771fce8..4ccb98f9d5 100644 --- a/react-icons/io/ios-cart-outline.d.ts +++ b/react-icons/io/ios-cart-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCartOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cart.d.ts b/react-icons/io/ios-cart.d.ts index 24a1805236..1bfefa0e80 100644 --- a/react-icons/io/ios-cart.d.ts +++ b/react-icons/io/ios-cart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCart extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-chatboxes-outline.d.ts b/react-icons/io/ios-chatboxes-outline.d.ts index 204b3f4e60..4183cd026e 100644 --- a/react-icons/io/ios-chatboxes-outline.d.ts +++ b/react-icons/io/ios-chatboxes-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosChatboxesOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-chatboxes.d.ts b/react-icons/io/ios-chatboxes.d.ts index aac92357df..2d3e2faee3 100644 --- a/react-icons/io/ios-chatboxes.d.ts +++ b/react-icons/io/ios-chatboxes.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosChatboxes extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-chatbubble-outline.d.ts b/react-icons/io/ios-chatbubble-outline.d.ts index 9d89dc48dc..f9e0153997 100644 --- a/react-icons/io/ios-chatbubble-outline.d.ts +++ b/react-icons/io/ios-chatbubble-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosChatbubbleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-chatbubble.d.ts b/react-icons/io/ios-chatbubble.d.ts index e83268b99f..d4bdb74ca2 100644 --- a/react-icons/io/ios-chatbubble.d.ts +++ b/react-icons/io/ios-chatbubble.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosChatbubble extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-checkmark-empty.d.ts b/react-icons/io/ios-checkmark-empty.d.ts index 3da789bc4f..f57fd4d74d 100644 --- a/react-icons/io/ios-checkmark-empty.d.ts +++ b/react-icons/io/ios-checkmark-empty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCheckmarkEmpty extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-checkmark-outline.d.ts b/react-icons/io/ios-checkmark-outline.d.ts index 2c34d62fea..f6841d0672 100644 --- a/react-icons/io/ios-checkmark-outline.d.ts +++ b/react-icons/io/ios-checkmark-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCheckmarkOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-checkmark.d.ts b/react-icons/io/ios-checkmark.d.ts index 9f2d14ef02..556e39f5af 100644 --- a/react-icons/io/ios-checkmark.d.ts +++ b/react-icons/io/ios-checkmark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCheckmark extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-circle-filled.d.ts b/react-icons/io/ios-circle-filled.d.ts index 58aea8cd6f..867f01cdc4 100644 --- a/react-icons/io/ios-circle-filled.d.ts +++ b/react-icons/io/ios-circle-filled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCircleFilled extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-circle-outline.d.ts b/react-icons/io/ios-circle-outline.d.ts index 747776ec11..92e64dc90a 100644 --- a/react-icons/io/ios-circle-outline.d.ts +++ b/react-icons/io/ios-circle-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCircleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-clock-outline.d.ts b/react-icons/io/ios-clock-outline.d.ts index 58944da63d..bfcb14dcc3 100644 --- a/react-icons/io/ios-clock-outline.d.ts +++ b/react-icons/io/ios-clock-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosClockOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-clock.d.ts b/react-icons/io/ios-clock.d.ts index cb35aa0c6c..59891a7d57 100644 --- a/react-icons/io/ios-clock.d.ts +++ b/react-icons/io/ios-clock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosClock extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-close-empty.d.ts b/react-icons/io/ios-close-empty.d.ts index 6f3bfd0f69..5672c62660 100644 --- a/react-icons/io/ios-close-empty.d.ts +++ b/react-icons/io/ios-close-empty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloseEmpty extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-close-outline.d.ts b/react-icons/io/ios-close-outline.d.ts index 9c8c8a02d4..4eed17342b 100644 --- a/react-icons/io/ios-close-outline.d.ts +++ b/react-icons/io/ios-close-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloseOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-close.d.ts b/react-icons/io/ios-close.d.ts index 5b1c27bbb1..a36698c53b 100644 --- a/react-icons/io/ios-close.d.ts +++ b/react-icons/io/ios-close.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosClose extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cloud-download-outline.d.ts b/react-icons/io/ios-cloud-download-outline.d.ts index 40309c4c82..d621da385c 100644 --- a/react-icons/io/ios-cloud-download-outline.d.ts +++ b/react-icons/io/ios-cloud-download-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloudDownloadOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cloud-download.d.ts b/react-icons/io/ios-cloud-download.d.ts index d5ab052f1e..0d02d20441 100644 --- a/react-icons/io/ios-cloud-download.d.ts +++ b/react-icons/io/ios-cloud-download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloudDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cloud-outline.d.ts b/react-icons/io/ios-cloud-outline.d.ts index a38d2089ba..7ccabf8882 100644 --- a/react-icons/io/ios-cloud-outline.d.ts +++ b/react-icons/io/ios-cloud-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloudOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cloud-upload-outline.d.ts b/react-icons/io/ios-cloud-upload-outline.d.ts index d790da589f..a440813b9f 100644 --- a/react-icons/io/ios-cloud-upload-outline.d.ts +++ b/react-icons/io/ios-cloud-upload-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloudUploadOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cloud-upload.d.ts b/react-icons/io/ios-cloud-upload.d.ts index b16a4f635d..78179c4af6 100644 --- a/react-icons/io/ios-cloud-upload.d.ts +++ b/react-icons/io/ios-cloud-upload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloudUpload extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cloud.d.ts b/react-icons/io/ios-cloud.d.ts index 69a4080782..674e343afb 100644 --- a/react-icons/io/ios-cloud.d.ts +++ b/react-icons/io/ios-cloud.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloud extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cloudy-night-outline.d.ts b/react-icons/io/ios-cloudy-night-outline.d.ts index 536d6799ef..6c7b75bbfd 100644 --- a/react-icons/io/ios-cloudy-night-outline.d.ts +++ b/react-icons/io/ios-cloudy-night-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloudyNightOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cloudy-night.d.ts b/react-icons/io/ios-cloudy-night.d.ts index c8cf2c6d41..e65cea744e 100644 --- a/react-icons/io/ios-cloudy-night.d.ts +++ b/react-icons/io/ios-cloudy-night.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloudyNight extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cloudy-outline.d.ts b/react-icons/io/ios-cloudy-outline.d.ts index 6131e82d29..207b36a97e 100644 --- a/react-icons/io/ios-cloudy-outline.d.ts +++ b/react-icons/io/ios-cloudy-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloudyOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cloudy.d.ts b/react-icons/io/ios-cloudy.d.ts index 2dcc50caf8..e99a4027b6 100644 --- a/react-icons/io/ios-cloudy.d.ts +++ b/react-icons/io/ios-cloudy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCloudy extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cog-outline.d.ts b/react-icons/io/ios-cog-outline.d.ts index 54aad4c708..b637eee9ee 100644 --- a/react-icons/io/ios-cog-outline.d.ts +++ b/react-icons/io/ios-cog-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCogOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-cog.d.ts b/react-icons/io/ios-cog.d.ts index d99f7650a6..b60d6cb010 100644 --- a/react-icons/io/ios-cog.d.ts +++ b/react-icons/io/ios-cog.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCog extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-color-filter-outline.d.ts b/react-icons/io/ios-color-filter-outline.d.ts index 95f79b04cc..caf59e396c 100644 --- a/react-icons/io/ios-color-filter-outline.d.ts +++ b/react-icons/io/ios-color-filter-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosColorFilterOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-color-filter.d.ts b/react-icons/io/ios-color-filter.d.ts index dd84083fe3..fcf21b4f00 100644 --- a/react-icons/io/ios-color-filter.d.ts +++ b/react-icons/io/ios-color-filter.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosColorFilter extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-color-wand-outline.d.ts b/react-icons/io/ios-color-wand-outline.d.ts index b48fc018f0..5073920047 100644 --- a/react-icons/io/ios-color-wand-outline.d.ts +++ b/react-icons/io/ios-color-wand-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosColorWandOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-color-wand.d.ts b/react-icons/io/ios-color-wand.d.ts index c7e07babf6..afc346eab3 100644 --- a/react-icons/io/ios-color-wand.d.ts +++ b/react-icons/io/ios-color-wand.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosColorWand extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-compose-outline.d.ts b/react-icons/io/ios-compose-outline.d.ts index 48002c8753..8d844fae75 100644 --- a/react-icons/io/ios-compose-outline.d.ts +++ b/react-icons/io/ios-compose-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosComposeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-compose.d.ts b/react-icons/io/ios-compose.d.ts index 9d4c5d0937..0eab04763a 100644 --- a/react-icons/io/ios-compose.d.ts +++ b/react-icons/io/ios-compose.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCompose extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-contact-outline.d.ts b/react-icons/io/ios-contact-outline.d.ts index de8e138a39..9977ef0bc6 100644 --- a/react-icons/io/ios-contact-outline.d.ts +++ b/react-icons/io/ios-contact-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosContactOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-contact.d.ts b/react-icons/io/ios-contact.d.ts index 849b2c591c..0f1cdbd21f 100644 --- a/react-icons/io/ios-contact.d.ts +++ b/react-icons/io/ios-contact.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosContact extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-copy-outline.d.ts b/react-icons/io/ios-copy-outline.d.ts index 67d9b4a49a..d4b45597ce 100644 --- a/react-icons/io/ios-copy-outline.d.ts +++ b/react-icons/io/ios-copy-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCopyOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-copy.d.ts b/react-icons/io/ios-copy.d.ts index 572eb5a39a..0baa46b61e 100644 --- a/react-icons/io/ios-copy.d.ts +++ b/react-icons/io/ios-copy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCopy extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-crop-strong.d.ts b/react-icons/io/ios-crop-strong.d.ts index ea42e26dff..7df39f6554 100644 --- a/react-icons/io/ios-crop-strong.d.ts +++ b/react-icons/io/ios-crop-strong.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCropStrong extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-crop.d.ts b/react-icons/io/ios-crop.d.ts index 4926f0f8ac..54c7a51d60 100644 --- a/react-icons/io/ios-crop.d.ts +++ b/react-icons/io/ios-crop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosCrop extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-download-outline.d.ts b/react-icons/io/ios-download-outline.d.ts index 69d65d63ca..1590b035ef 100644 --- a/react-icons/io/ios-download-outline.d.ts +++ b/react-icons/io/ios-download-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosDownloadOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-download.d.ts b/react-icons/io/ios-download.d.ts index ab02d0c8cc..65013e1370 100644 --- a/react-icons/io/ios-download.d.ts +++ b/react-icons/io/ios-download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-drag.d.ts b/react-icons/io/ios-drag.d.ts index dd0e828393..6375eddd9b 100644 --- a/react-icons/io/ios-drag.d.ts +++ b/react-icons/io/ios-drag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosDrag extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-email-outline.d.ts b/react-icons/io/ios-email-outline.d.ts index ce0aa45288..c345aea701 100644 --- a/react-icons/io/ios-email-outline.d.ts +++ b/react-icons/io/ios-email-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosEmailOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-email.d.ts b/react-icons/io/ios-email.d.ts index b103ccf795..e50193742e 100644 --- a/react-icons/io/ios-email.d.ts +++ b/react-icons/io/ios-email.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosEmail extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-eye-outline.d.ts b/react-icons/io/ios-eye-outline.d.ts index e8a4349ed2..5a15f3a491 100644 --- a/react-icons/io/ios-eye-outline.d.ts +++ b/react-icons/io/ios-eye-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosEyeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-eye.d.ts b/react-icons/io/ios-eye.d.ts index 5da7f827b1..7fa55d9ee1 100644 --- a/react-icons/io/ios-eye.d.ts +++ b/react-icons/io/ios-eye.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosEye extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-fastforward-outline.d.ts b/react-icons/io/ios-fastforward-outline.d.ts index d5d08f4899..88247ff042 100644 --- a/react-icons/io/ios-fastforward-outline.d.ts +++ b/react-icons/io/ios-fastforward-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFastforwardOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-fastforward.d.ts b/react-icons/io/ios-fastforward.d.ts index ab73b62f16..8be0ad600a 100644 --- a/react-icons/io/ios-fastforward.d.ts +++ b/react-icons/io/ios-fastforward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFastforward extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-filing-outline.d.ts b/react-icons/io/ios-filing-outline.d.ts index 80b2acd33c..086f32f8c6 100644 --- a/react-icons/io/ios-filing-outline.d.ts +++ b/react-icons/io/ios-filing-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFilingOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-filing.d.ts b/react-icons/io/ios-filing.d.ts index 1058760472..c47086cc6b 100644 --- a/react-icons/io/ios-filing.d.ts +++ b/react-icons/io/ios-filing.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFiling extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-film-outline.d.ts b/react-icons/io/ios-film-outline.d.ts index 7226b620f5..e36247a8b8 100644 --- a/react-icons/io/ios-film-outline.d.ts +++ b/react-icons/io/ios-film-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFilmOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-film.d.ts b/react-icons/io/ios-film.d.ts index c0a10e39a0..feecf7885e 100644 --- a/react-icons/io/ios-film.d.ts +++ b/react-icons/io/ios-film.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFilm extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-flag-outline.d.ts b/react-icons/io/ios-flag-outline.d.ts index 13720350aa..30a3e49ae2 100644 --- a/react-icons/io/ios-flag-outline.d.ts +++ b/react-icons/io/ios-flag-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFlagOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-flag.d.ts b/react-icons/io/ios-flag.d.ts index 6499a4a08d..e1ebf6063e 100644 --- a/react-icons/io/ios-flag.d.ts +++ b/react-icons/io/ios-flag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFlag extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-flame-outline.d.ts b/react-icons/io/ios-flame-outline.d.ts index d1675cfa6e..95ae9b73f2 100644 --- a/react-icons/io/ios-flame-outline.d.ts +++ b/react-icons/io/ios-flame-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFlameOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-flame.d.ts b/react-icons/io/ios-flame.d.ts index 267af0f90a..4e14c510da 100644 --- a/react-icons/io/ios-flame.d.ts +++ b/react-icons/io/ios-flame.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFlame extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-flask-outline.d.ts b/react-icons/io/ios-flask-outline.d.ts index 42127ed381..c985b73245 100644 --- a/react-icons/io/ios-flask-outline.d.ts +++ b/react-icons/io/ios-flask-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFlaskOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-flask.d.ts b/react-icons/io/ios-flask.d.ts index f8fc4d8a4f..333e2c7c38 100644 --- a/react-icons/io/ios-flask.d.ts +++ b/react-icons/io/ios-flask.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFlask extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-flower-outline.d.ts b/react-icons/io/ios-flower-outline.d.ts index 9c0a6ae65e..9d12d7a31b 100644 --- a/react-icons/io/ios-flower-outline.d.ts +++ b/react-icons/io/ios-flower-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFlowerOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-flower.d.ts b/react-icons/io/ios-flower.d.ts index 8fc471cfb2..74690ae894 100644 --- a/react-icons/io/ios-flower.d.ts +++ b/react-icons/io/ios-flower.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFlower extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-folder-outline.d.ts b/react-icons/io/ios-folder-outline.d.ts index c464b8f4ee..1af4d6c23d 100644 --- a/react-icons/io/ios-folder-outline.d.ts +++ b/react-icons/io/ios-folder-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFolderOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-folder.d.ts b/react-icons/io/ios-folder.d.ts index 3a8f749e3c..ea87b89a12 100644 --- a/react-icons/io/ios-folder.d.ts +++ b/react-icons/io/ios-folder.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFolder extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-football-outline.d.ts b/react-icons/io/ios-football-outline.d.ts index b2f27eda58..5d3b591da0 100644 --- a/react-icons/io/ios-football-outline.d.ts +++ b/react-icons/io/ios-football-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFootballOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-football.d.ts b/react-icons/io/ios-football.d.ts index 44c340fa9d..3bcf5a4207 100644 --- a/react-icons/io/ios-football.d.ts +++ b/react-icons/io/ios-football.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosFootball extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-game-controller-a-outline.d.ts b/react-icons/io/ios-game-controller-a-outline.d.ts index 5c34bf98c3..2aeaf25fce 100644 --- a/react-icons/io/ios-game-controller-a-outline.d.ts +++ b/react-icons/io/ios-game-controller-a-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosGameControllerAOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-game-controller-a.d.ts b/react-icons/io/ios-game-controller-a.d.ts index a16e1acdbf..d90548903b 100644 --- a/react-icons/io/ios-game-controller-a.d.ts +++ b/react-icons/io/ios-game-controller-a.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosGameControllerA extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-game-controller-b-outline.d.ts b/react-icons/io/ios-game-controller-b-outline.d.ts index 6d7ba3f199..8fe06496cf 100644 --- a/react-icons/io/ios-game-controller-b-outline.d.ts +++ b/react-icons/io/ios-game-controller-b-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosGameControllerBOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-game-controller-b.d.ts b/react-icons/io/ios-game-controller-b.d.ts index b8e0a78314..d4316a4d73 100644 --- a/react-icons/io/ios-game-controller-b.d.ts +++ b/react-icons/io/ios-game-controller-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosGameControllerB extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-gear-outline.d.ts b/react-icons/io/ios-gear-outline.d.ts index e71677e17d..d4e58e206f 100644 --- a/react-icons/io/ios-gear-outline.d.ts +++ b/react-icons/io/ios-gear-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosGearOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-gear.d.ts b/react-icons/io/ios-gear.d.ts index c6bfdfe064..57d7725ca2 100644 --- a/react-icons/io/ios-gear.d.ts +++ b/react-icons/io/ios-gear.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosGear extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-glasses-outline.d.ts b/react-icons/io/ios-glasses-outline.d.ts index c8720ada1b..7585c5ef68 100644 --- a/react-icons/io/ios-glasses-outline.d.ts +++ b/react-icons/io/ios-glasses-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosGlassesOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-glasses.d.ts b/react-icons/io/ios-glasses.d.ts index 82f65e5861..c62ee8f98a 100644 --- a/react-icons/io/ios-glasses.d.ts +++ b/react-icons/io/ios-glasses.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosGlasses extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-grid-view-outline.d.ts b/react-icons/io/ios-grid-view-outline.d.ts index 45616dd2ec..a10a8f8681 100644 --- a/react-icons/io/ios-grid-view-outline.d.ts +++ b/react-icons/io/ios-grid-view-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosGridViewOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-grid-view.d.ts b/react-icons/io/ios-grid-view.d.ts index 83312ef3b4..c27f0d5bb8 100644 --- a/react-icons/io/ios-grid-view.d.ts +++ b/react-icons/io/ios-grid-view.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosGridView extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-heart-outline.d.ts b/react-icons/io/ios-heart-outline.d.ts index 92408990aa..fa5b6424d2 100644 --- a/react-icons/io/ios-heart-outline.d.ts +++ b/react-icons/io/ios-heart-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosHeartOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-heart.d.ts b/react-icons/io/ios-heart.d.ts index 18e05aff96..5e6e71d3e9 100644 --- a/react-icons/io/ios-heart.d.ts +++ b/react-icons/io/ios-heart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosHeart extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-help-empty.d.ts b/react-icons/io/ios-help-empty.d.ts index 16c764d4c0..50dc1e752f 100644 --- a/react-icons/io/ios-help-empty.d.ts +++ b/react-icons/io/ios-help-empty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosHelpEmpty extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-help-outline.d.ts b/react-icons/io/ios-help-outline.d.ts index 39d1e63a78..6dd81b57c7 100644 --- a/react-icons/io/ios-help-outline.d.ts +++ b/react-icons/io/ios-help-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosHelpOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-help.d.ts b/react-icons/io/ios-help.d.ts index 5a20b2f1a5..855f2442fa 100644 --- a/react-icons/io/ios-help.d.ts +++ b/react-icons/io/ios-help.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosHelp extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-home-outline.d.ts b/react-icons/io/ios-home-outline.d.ts index b38bf21a59..129e49b2c0 100644 --- a/react-icons/io/ios-home-outline.d.ts +++ b/react-icons/io/ios-home-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosHomeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-home.d.ts b/react-icons/io/ios-home.d.ts index 82608b888e..15ce27100c 100644 --- a/react-icons/io/ios-home.d.ts +++ b/react-icons/io/ios-home.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosHome extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-infinite-outline.d.ts b/react-icons/io/ios-infinite-outline.d.ts index df1eedbea7..0507e691a2 100644 --- a/react-icons/io/ios-infinite-outline.d.ts +++ b/react-icons/io/ios-infinite-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosInfiniteOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-infinite.d.ts b/react-icons/io/ios-infinite.d.ts index d529d15667..848fc7c382 100644 --- a/react-icons/io/ios-infinite.d.ts +++ b/react-icons/io/ios-infinite.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosInfinite extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-informatempty.d.ts b/react-icons/io/ios-informatempty.d.ts index 83c12d463e..6365bba85c 100644 --- a/react-icons/io/ios-informatempty.d.ts +++ b/react-icons/io/ios-informatempty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosInformatempty extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-information.d.ts b/react-icons/io/ios-information.d.ts index 7533781438..593dcb653a 100644 --- a/react-icons/io/ios-information.d.ts +++ b/react-icons/io/ios-information.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosInformation extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-informatoutline.d.ts b/react-icons/io/ios-informatoutline.d.ts index 050bd27585..a5c889f50d 100644 --- a/react-icons/io/ios-informatoutline.d.ts +++ b/react-icons/io/ios-informatoutline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosInformatoutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-ionic-outline.d.ts b/react-icons/io/ios-ionic-outline.d.ts index fdd5a3f91c..31c56abdd0 100644 --- a/react-icons/io/ios-ionic-outline.d.ts +++ b/react-icons/io/ios-ionic-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosIonicOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-keypad-outline.d.ts b/react-icons/io/ios-keypad-outline.d.ts index 9f7d891dbf..18ce7a25a8 100644 --- a/react-icons/io/ios-keypad-outline.d.ts +++ b/react-icons/io/ios-keypad-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosKeypadOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-keypad.d.ts b/react-icons/io/ios-keypad.d.ts index f10d61bde3..4a42a32212 100644 --- a/react-icons/io/ios-keypad.d.ts +++ b/react-icons/io/ios-keypad.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosKeypad extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-lightbulb-outline.d.ts b/react-icons/io/ios-lightbulb-outline.d.ts index a3ada3b075..83ceac75ed 100644 --- a/react-icons/io/ios-lightbulb-outline.d.ts +++ b/react-icons/io/ios-lightbulb-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosLightbulbOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-lightbulb.d.ts b/react-icons/io/ios-lightbulb.d.ts index c71050b6da..c7744acc7e 100644 --- a/react-icons/io/ios-lightbulb.d.ts +++ b/react-icons/io/ios-lightbulb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosLightbulb extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-list-outline.d.ts b/react-icons/io/ios-list-outline.d.ts index 2425e80b16..b981117120 100644 --- a/react-icons/io/ios-list-outline.d.ts +++ b/react-icons/io/ios-list-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosListOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-list.d.ts b/react-icons/io/ios-list.d.ts index 17e4cf93b2..fec8031ab1 100644 --- a/react-icons/io/ios-list.d.ts +++ b/react-icons/io/ios-list.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosList extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-location.d.ts b/react-icons/io/ios-location.d.ts index 1b69f161a6..a9d04df0b6 100644 --- a/react-icons/io/ios-location.d.ts +++ b/react-icons/io/ios-location.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosLocation extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-locatoutline.d.ts b/react-icons/io/ios-locatoutline.d.ts index f1e6511215..70cb13d92b 100644 --- a/react-icons/io/ios-locatoutline.d.ts +++ b/react-icons/io/ios-locatoutline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosLocatoutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-locked-outline.d.ts b/react-icons/io/ios-locked-outline.d.ts index 2073040eb6..182d0b5dcc 100644 --- a/react-icons/io/ios-locked-outline.d.ts +++ b/react-icons/io/ios-locked-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosLockedOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-locked.d.ts b/react-icons/io/ios-locked.d.ts index 6dc2da62e2..604e9597ff 100644 --- a/react-icons/io/ios-locked.d.ts +++ b/react-icons/io/ios-locked.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosLocked extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-loop-strong.d.ts b/react-icons/io/ios-loop-strong.d.ts index 97011eb432..421c7e237b 100644 --- a/react-icons/io/ios-loop-strong.d.ts +++ b/react-icons/io/ios-loop-strong.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosLoopStrong extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-loop.d.ts b/react-icons/io/ios-loop.d.ts index 9f38c25cb7..64525f9f0f 100644 --- a/react-icons/io/ios-loop.d.ts +++ b/react-icons/io/ios-loop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosLoop extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-medical-outline.d.ts b/react-icons/io/ios-medical-outline.d.ts index 00b73654ed..703f6370da 100644 --- a/react-icons/io/ios-medical-outline.d.ts +++ b/react-icons/io/ios-medical-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMedicalOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-medical.d.ts b/react-icons/io/ios-medical.d.ts index 5c9f402817..c780b1c7fa 100644 --- a/react-icons/io/ios-medical.d.ts +++ b/react-icons/io/ios-medical.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMedical extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-medkit-outline.d.ts b/react-icons/io/ios-medkit-outline.d.ts index ebe33fd2b7..e6a67a29e2 100644 --- a/react-icons/io/ios-medkit-outline.d.ts +++ b/react-icons/io/ios-medkit-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMedkitOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-medkit.d.ts b/react-icons/io/ios-medkit.d.ts index 4a75daf1c0..1b6bde275c 100644 --- a/react-icons/io/ios-medkit.d.ts +++ b/react-icons/io/ios-medkit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMedkit extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-mic-off.d.ts b/react-icons/io/ios-mic-off.d.ts index 37b8b1ebdd..3a53b28bee 100644 --- a/react-icons/io/ios-mic-off.d.ts +++ b/react-icons/io/ios-mic-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMicOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-mic-outline.d.ts b/react-icons/io/ios-mic-outline.d.ts index 100b6f6e5e..0cabfb6e14 100644 --- a/react-icons/io/ios-mic-outline.d.ts +++ b/react-icons/io/ios-mic-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMicOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-mic.d.ts b/react-icons/io/ios-mic.d.ts index af1939bb63..798a7208a1 100644 --- a/react-icons/io/ios-mic.d.ts +++ b/react-icons/io/ios-mic.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMic extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-minus-empty.d.ts b/react-icons/io/ios-minus-empty.d.ts index c1e9d9ad59..b221479457 100644 --- a/react-icons/io/ios-minus-empty.d.ts +++ b/react-icons/io/ios-minus-empty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMinusEmpty extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-minus-outline.d.ts b/react-icons/io/ios-minus-outline.d.ts index b096d664a0..67eb723bdf 100644 --- a/react-icons/io/ios-minus-outline.d.ts +++ b/react-icons/io/ios-minus-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMinusOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-minus.d.ts b/react-icons/io/ios-minus.d.ts index 8043ee4525..c0aedbb7df 100644 --- a/react-icons/io/ios-minus.d.ts +++ b/react-icons/io/ios-minus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMinus extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-monitor-outline.d.ts b/react-icons/io/ios-monitor-outline.d.ts index 715d7ffce8..5467b98cc1 100644 --- a/react-icons/io/ios-monitor-outline.d.ts +++ b/react-icons/io/ios-monitor-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMonitorOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-monitor.d.ts b/react-icons/io/ios-monitor.d.ts index e15770f640..9562ace79f 100644 --- a/react-icons/io/ios-monitor.d.ts +++ b/react-icons/io/ios-monitor.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMonitor extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-moon-outline.d.ts b/react-icons/io/ios-moon-outline.d.ts index 0e1e3f00c0..d52d21153e 100644 --- a/react-icons/io/ios-moon-outline.d.ts +++ b/react-icons/io/ios-moon-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMoonOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-moon.d.ts b/react-icons/io/ios-moon.d.ts index e1058ed27f..81f5ddc986 100644 --- a/react-icons/io/ios-moon.d.ts +++ b/react-icons/io/ios-moon.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMoon extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-more-outline.d.ts b/react-icons/io/ios-more-outline.d.ts index bce05f64e8..60e919c122 100644 --- a/react-icons/io/ios-more-outline.d.ts +++ b/react-icons/io/ios-more-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMoreOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-more.d.ts b/react-icons/io/ios-more.d.ts index 2526da4904..b4d6ecdc37 100644 --- a/react-icons/io/ios-more.d.ts +++ b/react-icons/io/ios-more.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMore extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-musical-note.d.ts b/react-icons/io/ios-musical-note.d.ts index a9d503ee22..86cfe6cb11 100644 --- a/react-icons/io/ios-musical-note.d.ts +++ b/react-icons/io/ios-musical-note.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMusicalNote extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-musical-notes.d.ts b/react-icons/io/ios-musical-notes.d.ts index ff08ae4d59..7a0fa8264d 100644 --- a/react-icons/io/ios-musical-notes.d.ts +++ b/react-icons/io/ios-musical-notes.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosMusicalNotes extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-navigate-outline.d.ts b/react-icons/io/ios-navigate-outline.d.ts index 197deaf064..c59c2e9372 100644 --- a/react-icons/io/ios-navigate-outline.d.ts +++ b/react-icons/io/ios-navigate-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosNavigateOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-navigate.d.ts b/react-icons/io/ios-navigate.d.ts index 0644a03671..4493aae9db 100644 --- a/react-icons/io/ios-navigate.d.ts +++ b/react-icons/io/ios-navigate.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosNavigate extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-nutrition.d.ts b/react-icons/io/ios-nutrition.d.ts index d28d6df3ed..0601732bbd 100644 --- a/react-icons/io/ios-nutrition.d.ts +++ b/react-icons/io/ios-nutrition.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosNutrition extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-nutritoutline.d.ts b/react-icons/io/ios-nutritoutline.d.ts index 4f0a31f253..f0502e9af4 100644 --- a/react-icons/io/ios-nutritoutline.d.ts +++ b/react-icons/io/ios-nutritoutline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosNutritoutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-paper-outline.d.ts b/react-icons/io/ios-paper-outline.d.ts index c779fb2ae1..4c5a276879 100644 --- a/react-icons/io/ios-paper-outline.d.ts +++ b/react-icons/io/ios-paper-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPaperOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-paper.d.ts b/react-icons/io/ios-paper.d.ts index 0136ad277f..bcefa26bac 100644 --- a/react-icons/io/ios-paper.d.ts +++ b/react-icons/io/ios-paper.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPaper extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-paperplane-outline.d.ts b/react-icons/io/ios-paperplane-outline.d.ts index 207831205d..e418fe4ec8 100644 --- a/react-icons/io/ios-paperplane-outline.d.ts +++ b/react-icons/io/ios-paperplane-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPaperplaneOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-paperplane.d.ts b/react-icons/io/ios-paperplane.d.ts index e13f76f59e..6302b118f0 100644 --- a/react-icons/io/ios-paperplane.d.ts +++ b/react-icons/io/ios-paperplane.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPaperplane extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-partlysunny-outline.d.ts b/react-icons/io/ios-partlysunny-outline.d.ts index 1934b201de..9deb9f040b 100644 --- a/react-icons/io/ios-partlysunny-outline.d.ts +++ b/react-icons/io/ios-partlysunny-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPartlysunnyOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-partlysunny.d.ts b/react-icons/io/ios-partlysunny.d.ts index 3a36e005b2..cbdc13df28 100644 --- a/react-icons/io/ios-partlysunny.d.ts +++ b/react-icons/io/ios-partlysunny.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPartlysunny extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pause-outline.d.ts b/react-icons/io/ios-pause-outline.d.ts index bf52fed2e1..352bc857a9 100644 --- a/react-icons/io/ios-pause-outline.d.ts +++ b/react-icons/io/ios-pause-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPauseOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pause.d.ts b/react-icons/io/ios-pause.d.ts index 628df11d1c..9878aac3d9 100644 --- a/react-icons/io/ios-pause.d.ts +++ b/react-icons/io/ios-pause.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPause extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-paw-outline.d.ts b/react-icons/io/ios-paw-outline.d.ts index 8a42509f1a..d422a0391b 100644 --- a/react-icons/io/ios-paw-outline.d.ts +++ b/react-icons/io/ios-paw-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPawOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-paw.d.ts b/react-icons/io/ios-paw.d.ts index 2a8101923a..6e9b7f352b 100644 --- a/react-icons/io/ios-paw.d.ts +++ b/react-icons/io/ios-paw.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPaw extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-people-outline.d.ts b/react-icons/io/ios-people-outline.d.ts index cb90bf0b46..13a8294084 100644 --- a/react-icons/io/ios-people-outline.d.ts +++ b/react-icons/io/ios-people-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPeopleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-people.d.ts b/react-icons/io/ios-people.d.ts index 301c3a635f..3cabba9040 100644 --- a/react-icons/io/ios-people.d.ts +++ b/react-icons/io/ios-people.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPeople extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-person-outline.d.ts b/react-icons/io/ios-person-outline.d.ts index 675cb497e2..daf1779954 100644 --- a/react-icons/io/ios-person-outline.d.ts +++ b/react-icons/io/ios-person-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPersonOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-person.d.ts b/react-icons/io/ios-person.d.ts index 77f81d4532..2262d480c2 100644 --- a/react-icons/io/ios-person.d.ts +++ b/react-icons/io/ios-person.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPerson extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-personadd-outline.d.ts b/react-icons/io/ios-personadd-outline.d.ts index 5e4ddb0f57..7d2c03006e 100644 --- a/react-icons/io/ios-personadd-outline.d.ts +++ b/react-icons/io/ios-personadd-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPersonaddOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-personadd.d.ts b/react-icons/io/ios-personadd.d.ts index 8b9d49897c..4910bd942b 100644 --- a/react-icons/io/ios-personadd.d.ts +++ b/react-icons/io/ios-personadd.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPersonadd extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-photos-outline.d.ts b/react-icons/io/ios-photos-outline.d.ts index d03443c8eb..e9767cbe6a 100644 --- a/react-icons/io/ios-photos-outline.d.ts +++ b/react-icons/io/ios-photos-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPhotosOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-photos.d.ts b/react-icons/io/ios-photos.d.ts index e5bf3ee5b0..444075392a 100644 --- a/react-icons/io/ios-photos.d.ts +++ b/react-icons/io/ios-photos.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPhotos extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pie-outline.d.ts b/react-icons/io/ios-pie-outline.d.ts index 2330a31351..d4fec898a4 100644 --- a/react-icons/io/ios-pie-outline.d.ts +++ b/react-icons/io/ios-pie-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPieOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pie.d.ts b/react-icons/io/ios-pie.d.ts index 5579c910a8..086f336243 100644 --- a/react-icons/io/ios-pie.d.ts +++ b/react-icons/io/ios-pie.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPie extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pint-outline.d.ts b/react-icons/io/ios-pint-outline.d.ts index b8a0533b2d..1410891500 100644 --- a/react-icons/io/ios-pint-outline.d.ts +++ b/react-icons/io/ios-pint-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPintOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pint.d.ts b/react-icons/io/ios-pint.d.ts index f54315bc2b..05753820a7 100644 --- a/react-icons/io/ios-pint.d.ts +++ b/react-icons/io/ios-pint.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPint extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-play-outline.d.ts b/react-icons/io/ios-play-outline.d.ts index 79e368e34a..9e1d7d34c5 100644 --- a/react-icons/io/ios-play-outline.d.ts +++ b/react-icons/io/ios-play-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPlayOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-play.d.ts b/react-icons/io/ios-play.d.ts index b076c1fb76..502b07f5d8 100644 --- a/react-icons/io/ios-play.d.ts +++ b/react-icons/io/ios-play.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPlay extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-plus-empty.d.ts b/react-icons/io/ios-plus-empty.d.ts index c1a1f3bb75..01d6ee1d0d 100644 --- a/react-icons/io/ios-plus-empty.d.ts +++ b/react-icons/io/ios-plus-empty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPlusEmpty extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-plus-outline.d.ts b/react-icons/io/ios-plus-outline.d.ts index c0f2bf8db1..0012f759b2 100644 --- a/react-icons/io/ios-plus-outline.d.ts +++ b/react-icons/io/ios-plus-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPlusOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-plus.d.ts b/react-icons/io/ios-plus.d.ts index 0d3e2f51c3..5ca4b77ea6 100644 --- a/react-icons/io/ios-plus.d.ts +++ b/react-icons/io/ios-plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPlus extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pricetag-outline.d.ts b/react-icons/io/ios-pricetag-outline.d.ts index dbf7dcd568..3fa51332a2 100644 --- a/react-icons/io/ios-pricetag-outline.d.ts +++ b/react-icons/io/ios-pricetag-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPricetagOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pricetag.d.ts b/react-icons/io/ios-pricetag.d.ts index e939962ca8..be77edcfea 100644 --- a/react-icons/io/ios-pricetag.d.ts +++ b/react-icons/io/ios-pricetag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPricetag extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pricetags-outline.d.ts b/react-icons/io/ios-pricetags-outline.d.ts index bec010d81e..d27b8a59e0 100644 --- a/react-icons/io/ios-pricetags-outline.d.ts +++ b/react-icons/io/ios-pricetags-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPricetagsOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pricetags.d.ts b/react-icons/io/ios-pricetags.d.ts index c17da38948..9f09ebfc2d 100644 --- a/react-icons/io/ios-pricetags.d.ts +++ b/react-icons/io/ios-pricetags.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPricetags extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-printer-outline.d.ts b/react-icons/io/ios-printer-outline.d.ts index 757c473581..7883b7236e 100644 --- a/react-icons/io/ios-printer-outline.d.ts +++ b/react-icons/io/ios-printer-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPrinterOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-printer.d.ts b/react-icons/io/ios-printer.d.ts index 3b0a93f94f..319c9226aa 100644 --- a/react-icons/io/ios-printer.d.ts +++ b/react-icons/io/ios-printer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPrinter extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pulse-strong.d.ts b/react-icons/io/ios-pulse-strong.d.ts index 49e42388b8..1fc3f2ed70 100644 --- a/react-icons/io/ios-pulse-strong.d.ts +++ b/react-icons/io/ios-pulse-strong.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPulseStrong extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-pulse.d.ts b/react-icons/io/ios-pulse.d.ts index 1a4f2756fc..5ea085e5d0 100644 --- a/react-icons/io/ios-pulse.d.ts +++ b/react-icons/io/ios-pulse.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosPulse extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-rainy-outline.d.ts b/react-icons/io/ios-rainy-outline.d.ts index 1976dbfa70..b0c736a497 100644 --- a/react-icons/io/ios-rainy-outline.d.ts +++ b/react-icons/io/ios-rainy-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRainyOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-rainy.d.ts b/react-icons/io/ios-rainy.d.ts index d863b5137a..6f6610192f 100644 --- a/react-icons/io/ios-rainy.d.ts +++ b/react-icons/io/ios-rainy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRainy extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-recording-outline.d.ts b/react-icons/io/ios-recording-outline.d.ts index b9ce09877e..621898f0a7 100644 --- a/react-icons/io/ios-recording-outline.d.ts +++ b/react-icons/io/ios-recording-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRecordingOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-recording.d.ts b/react-icons/io/ios-recording.d.ts index 508701e2ad..f53123e4a7 100644 --- a/react-icons/io/ios-recording.d.ts +++ b/react-icons/io/ios-recording.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRecording extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-redo-outline.d.ts b/react-icons/io/ios-redo-outline.d.ts index 6e2da39538..d141624d3f 100644 --- a/react-icons/io/ios-redo-outline.d.ts +++ b/react-icons/io/ios-redo-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRedoOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-redo.d.ts b/react-icons/io/ios-redo.d.ts index d7bfff9e17..ba1cbe884c 100644 --- a/react-icons/io/ios-redo.d.ts +++ b/react-icons/io/ios-redo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRedo extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-refresh-empty.d.ts b/react-icons/io/ios-refresh-empty.d.ts index 1da62c4c59..74a9ec7918 100644 --- a/react-icons/io/ios-refresh-empty.d.ts +++ b/react-icons/io/ios-refresh-empty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRefreshEmpty extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-refresh-outline.d.ts b/react-icons/io/ios-refresh-outline.d.ts index 5d86b3ea7a..7ac1f50cd1 100644 --- a/react-icons/io/ios-refresh-outline.d.ts +++ b/react-icons/io/ios-refresh-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRefreshOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-refresh.d.ts b/react-icons/io/ios-refresh.d.ts index 8b90a367bd..2381df0cc4 100644 --- a/react-icons/io/ios-refresh.d.ts +++ b/react-icons/io/ios-refresh.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRefresh extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-reload.d.ts b/react-icons/io/ios-reload.d.ts index 564da43c83..39a1dffa3b 100644 --- a/react-icons/io/ios-reload.d.ts +++ b/react-icons/io/ios-reload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosReload extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-reverse-camera-outline.d.ts b/react-icons/io/ios-reverse-camera-outline.d.ts index 716f598732..a67bf4b1df 100644 --- a/react-icons/io/ios-reverse-camera-outline.d.ts +++ b/react-icons/io/ios-reverse-camera-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosReverseCameraOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-reverse-camera.d.ts b/react-icons/io/ios-reverse-camera.d.ts index 5c1b465135..98c0be912d 100644 --- a/react-icons/io/ios-reverse-camera.d.ts +++ b/react-icons/io/ios-reverse-camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosReverseCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-rewind-outline.d.ts b/react-icons/io/ios-rewind-outline.d.ts index 76a2c2a1d4..8a5d9483ab 100644 --- a/react-icons/io/ios-rewind-outline.d.ts +++ b/react-icons/io/ios-rewind-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRewindOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-rewind.d.ts b/react-icons/io/ios-rewind.d.ts index 5c74094306..68a5924076 100644 --- a/react-icons/io/ios-rewind.d.ts +++ b/react-icons/io/ios-rewind.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRewind extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-rose-outline.d.ts b/react-icons/io/ios-rose-outline.d.ts index a83bfd1067..8623c71219 100644 --- a/react-icons/io/ios-rose-outline.d.ts +++ b/react-icons/io/ios-rose-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRoseOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-rose.d.ts b/react-icons/io/ios-rose.d.ts index 237ac260a3..dc97b283bd 100644 --- a/react-icons/io/ios-rose.d.ts +++ b/react-icons/io/ios-rose.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosRose extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-search-strong.d.ts b/react-icons/io/ios-search-strong.d.ts index c7974eb86c..bbcb48185f 100644 --- a/react-icons/io/ios-search-strong.d.ts +++ b/react-icons/io/ios-search-strong.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSearchStrong extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-search.d.ts b/react-icons/io/ios-search.d.ts index d813f5eb96..36c3eb9b54 100644 --- a/react-icons/io/ios-search.d.ts +++ b/react-icons/io/ios-search.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSearch extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-settings-strong.d.ts b/react-icons/io/ios-settings-strong.d.ts index c83103e59a..8b4efaccff 100644 --- a/react-icons/io/ios-settings-strong.d.ts +++ b/react-icons/io/ios-settings-strong.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSettingsStrong extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-settings.d.ts b/react-icons/io/ios-settings.d.ts index 1482858d13..61f7385e40 100644 --- a/react-icons/io/ios-settings.d.ts +++ b/react-icons/io/ios-settings.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSettings extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-shuffle-strong.d.ts b/react-icons/io/ios-shuffle-strong.d.ts index 8b32d190ef..2e8a7543bb 100644 --- a/react-icons/io/ios-shuffle-strong.d.ts +++ b/react-icons/io/ios-shuffle-strong.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosShuffleStrong extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-shuffle.d.ts b/react-icons/io/ios-shuffle.d.ts index 8632ee19ac..1e1bac5040 100644 --- a/react-icons/io/ios-shuffle.d.ts +++ b/react-icons/io/ios-shuffle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosShuffle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-skipbackward-outline.d.ts b/react-icons/io/ios-skipbackward-outline.d.ts index 286d265699..361645bf1d 100644 --- a/react-icons/io/ios-skipbackward-outline.d.ts +++ b/react-icons/io/ios-skipbackward-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSkipbackwardOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-skipbackward.d.ts b/react-icons/io/ios-skipbackward.d.ts index 4a9614e01c..7a8c875f29 100644 --- a/react-icons/io/ios-skipbackward.d.ts +++ b/react-icons/io/ios-skipbackward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSkipbackward extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-skipforward-outline.d.ts b/react-icons/io/ios-skipforward-outline.d.ts index 9d8fe0d27a..830993e627 100644 --- a/react-icons/io/ios-skipforward-outline.d.ts +++ b/react-icons/io/ios-skipforward-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSkipforwardOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-skipforward.d.ts b/react-icons/io/ios-skipforward.d.ts index b2a4eb7355..58cfe7aa59 100644 --- a/react-icons/io/ios-skipforward.d.ts +++ b/react-icons/io/ios-skipforward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSkipforward extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-snowy.d.ts b/react-icons/io/ios-snowy.d.ts index ef459078a1..bb17492ed0 100644 --- a/react-icons/io/ios-snowy.d.ts +++ b/react-icons/io/ios-snowy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSnowy extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-speedometer-outline.d.ts b/react-icons/io/ios-speedometer-outline.d.ts index 048000d0e8..83731f494f 100644 --- a/react-icons/io/ios-speedometer-outline.d.ts +++ b/react-icons/io/ios-speedometer-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSpeedometerOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-speedometer.d.ts b/react-icons/io/ios-speedometer.d.ts index 242a9a8557..8cb285df2f 100644 --- a/react-icons/io/ios-speedometer.d.ts +++ b/react-icons/io/ios-speedometer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSpeedometer extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-star-half.d.ts b/react-icons/io/ios-star-half.d.ts index e63d7a06dd..d381d39d5d 100644 --- a/react-icons/io/ios-star-half.d.ts +++ b/react-icons/io/ios-star-half.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosStarHalf extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-star-outline.d.ts b/react-icons/io/ios-star-outline.d.ts index d949366ffd..c64b8c5162 100644 --- a/react-icons/io/ios-star-outline.d.ts +++ b/react-icons/io/ios-star-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosStarOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-star.d.ts b/react-icons/io/ios-star.d.ts index 0def201977..256728c93e 100644 --- a/react-icons/io/ios-star.d.ts +++ b/react-icons/io/ios-star.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosStar extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-stopwatch-outline.d.ts b/react-icons/io/ios-stopwatch-outline.d.ts index 44586c731d..e6a8afe39b 100644 --- a/react-icons/io/ios-stopwatch-outline.d.ts +++ b/react-icons/io/ios-stopwatch-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosStopwatchOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-stopwatch.d.ts b/react-icons/io/ios-stopwatch.d.ts index a86050cc40..bc449b4abb 100644 --- a/react-icons/io/ios-stopwatch.d.ts +++ b/react-icons/io/ios-stopwatch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosStopwatch extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-sunny-outline.d.ts b/react-icons/io/ios-sunny-outline.d.ts index 37b1adf577..13844d1c3e 100644 --- a/react-icons/io/ios-sunny-outline.d.ts +++ b/react-icons/io/ios-sunny-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSunnyOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-sunny.d.ts b/react-icons/io/ios-sunny.d.ts index 1814d882b0..1eb5f7046e 100644 --- a/react-icons/io/ios-sunny.d.ts +++ b/react-icons/io/ios-sunny.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosSunny extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-telephone-outline.d.ts b/react-icons/io/ios-telephone-outline.d.ts index 6f28657f22..4f67085daa 100644 --- a/react-icons/io/ios-telephone-outline.d.ts +++ b/react-icons/io/ios-telephone-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosTelephoneOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-telephone.d.ts b/react-icons/io/ios-telephone.d.ts index c32673ec96..52defe14f0 100644 --- a/react-icons/io/ios-telephone.d.ts +++ b/react-icons/io/ios-telephone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosTelephone extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-tennisball-outline.d.ts b/react-icons/io/ios-tennisball-outline.d.ts index b037bcede3..f983599375 100644 --- a/react-icons/io/ios-tennisball-outline.d.ts +++ b/react-icons/io/ios-tennisball-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosTennisballOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-tennisball.d.ts b/react-icons/io/ios-tennisball.d.ts index 9cc968dad9..ec50e5cd34 100644 --- a/react-icons/io/ios-tennisball.d.ts +++ b/react-icons/io/ios-tennisball.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosTennisball extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-thunderstorm-outline.d.ts b/react-icons/io/ios-thunderstorm-outline.d.ts index 8b7468e163..2bf8152f18 100644 --- a/react-icons/io/ios-thunderstorm-outline.d.ts +++ b/react-icons/io/ios-thunderstorm-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosThunderstormOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-thunderstorm.d.ts b/react-icons/io/ios-thunderstorm.d.ts index 54106c2746..bdd0320c75 100644 --- a/react-icons/io/ios-thunderstorm.d.ts +++ b/react-icons/io/ios-thunderstorm.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosThunderstorm extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-time-outline.d.ts b/react-icons/io/ios-time-outline.d.ts index 06e6309791..0836226bf5 100644 --- a/react-icons/io/ios-time-outline.d.ts +++ b/react-icons/io/ios-time-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosTimeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-time.d.ts b/react-icons/io/ios-time.d.ts index 55bf3b67eb..b50841496f 100644 --- a/react-icons/io/ios-time.d.ts +++ b/react-icons/io/ios-time.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosTime extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-timer-outline.d.ts b/react-icons/io/ios-timer-outline.d.ts index 82a23ec9b6..9b3da5b509 100644 --- a/react-icons/io/ios-timer-outline.d.ts +++ b/react-icons/io/ios-timer-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosTimerOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-timer.d.ts b/react-icons/io/ios-timer.d.ts index 30627b162f..85bcf4e2b9 100644 --- a/react-icons/io/ios-timer.d.ts +++ b/react-icons/io/ios-timer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosTimer extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-toggle-outline.d.ts b/react-icons/io/ios-toggle-outline.d.ts index e67759dfe6..1b14fd8a9b 100644 --- a/react-icons/io/ios-toggle-outline.d.ts +++ b/react-icons/io/ios-toggle-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosToggleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-toggle.d.ts b/react-icons/io/ios-toggle.d.ts index 2aee3e63ea..c23b816cb9 100644 --- a/react-icons/io/ios-toggle.d.ts +++ b/react-icons/io/ios-toggle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosToggle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-trash-outline.d.ts b/react-icons/io/ios-trash-outline.d.ts index 2862e46550..2ff6379461 100644 --- a/react-icons/io/ios-trash-outline.d.ts +++ b/react-icons/io/ios-trash-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosTrashOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-trash.d.ts b/react-icons/io/ios-trash.d.ts index 6b91106c50..03a442bbfd 100644 --- a/react-icons/io/ios-trash.d.ts +++ b/react-icons/io/ios-trash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosTrash extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-undo-outline.d.ts b/react-icons/io/ios-undo-outline.d.ts index db58259ac9..d1f796c1dc 100644 --- a/react-icons/io/ios-undo-outline.d.ts +++ b/react-icons/io/ios-undo-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosUndoOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-undo.d.ts b/react-icons/io/ios-undo.d.ts index e89880781b..ab67cdccb6 100644 --- a/react-icons/io/ios-undo.d.ts +++ b/react-icons/io/ios-undo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosUndo extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-unlocked-outline.d.ts b/react-icons/io/ios-unlocked-outline.d.ts index 1496245073..8032ba2232 100644 --- a/react-icons/io/ios-unlocked-outline.d.ts +++ b/react-icons/io/ios-unlocked-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosUnlockedOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-unlocked.d.ts b/react-icons/io/ios-unlocked.d.ts index 60cbdcbed2..cb0fc68eaa 100644 --- a/react-icons/io/ios-unlocked.d.ts +++ b/react-icons/io/ios-unlocked.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosUnlocked extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-upload-outline.d.ts b/react-icons/io/ios-upload-outline.d.ts index 9be8f844c6..19796df941 100644 --- a/react-icons/io/ios-upload-outline.d.ts +++ b/react-icons/io/ios-upload-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosUploadOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-upload.d.ts b/react-icons/io/ios-upload.d.ts index 9a1baef4cd..0a0308ab60 100644 --- a/react-icons/io/ios-upload.d.ts +++ b/react-icons/io/ios-upload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosUpload extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-videocam-outline.d.ts b/react-icons/io/ios-videocam-outline.d.ts index a750c55bce..e95861e0d2 100644 --- a/react-icons/io/ios-videocam-outline.d.ts +++ b/react-icons/io/ios-videocam-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosVideocamOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-videocam.d.ts b/react-icons/io/ios-videocam.d.ts index bcb949715a..644e19b7b9 100644 --- a/react-icons/io/ios-videocam.d.ts +++ b/react-icons/io/ios-videocam.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosVideocam extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-volume-high.d.ts b/react-icons/io/ios-volume-high.d.ts index 1d0854431f..d74ee1ae8f 100644 --- a/react-icons/io/ios-volume-high.d.ts +++ b/react-icons/io/ios-volume-high.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosVolumeHigh extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-volume-low.d.ts b/react-icons/io/ios-volume-low.d.ts index bb13058a75..a267097243 100644 --- a/react-icons/io/ios-volume-low.d.ts +++ b/react-icons/io/ios-volume-low.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosVolumeLow extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-wineglass-outline.d.ts b/react-icons/io/ios-wineglass-outline.d.ts index a6a22340e5..e9c39305a3 100644 --- a/react-icons/io/ios-wineglass-outline.d.ts +++ b/react-icons/io/ios-wineglass-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosWineglassOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-wineglass.d.ts b/react-icons/io/ios-wineglass.d.ts index 140caeb94c..14957100e0 100644 --- a/react-icons/io/ios-wineglass.d.ts +++ b/react-icons/io/ios-wineglass.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosWineglass extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-world-outline.d.ts b/react-icons/io/ios-world-outline.d.ts index 93268340c9..86faea1e59 100644 --- a/react-icons/io/ios-world-outline.d.ts +++ b/react-icons/io/ios-world-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosWorldOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ios-world.d.ts b/react-icons/io/ios-world.d.ts index c3885d6b5b..d09da42941 100644 --- a/react-icons/io/ios-world.d.ts +++ b/react-icons/io/ios-world.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIosWorld extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ipad.d.ts b/react-icons/io/ipad.d.ts index 2d84d50082..c4a050b947 100644 --- a/react-icons/io/ipad.d.ts +++ b/react-icons/io/ipad.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIpad extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/iphone.d.ts b/react-icons/io/iphone.d.ts index c7bf489718..9091869a2c 100644 --- a/react-icons/io/iphone.d.ts +++ b/react-icons/io/iphone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIphone extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ipod.d.ts b/react-icons/io/ipod.d.ts index bc8415af57..b002bcea75 100644 --- a/react-icons/io/ipod.d.ts +++ b/react-icons/io/ipod.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoIpod extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/jet.d.ts b/react-icons/io/jet.d.ts index 27eb1e3fd5..87216371d1 100644 --- a/react-icons/io/jet.d.ts +++ b/react-icons/io/jet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoJet extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/key.d.ts b/react-icons/io/key.d.ts index 05b2dafdf0..3bb33faf7e 100644 --- a/react-icons/io/key.d.ts +++ b/react-icons/io/key.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoKey extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/knife.d.ts b/react-icons/io/knife.d.ts index 40d492aac6..573e9d82c5 100644 --- a/react-icons/io/knife.d.ts +++ b/react-icons/io/knife.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoKnife extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/laptop.d.ts b/react-icons/io/laptop.d.ts index 31dba2114b..9703041c3a 100644 --- a/react-icons/io/laptop.d.ts +++ b/react-icons/io/laptop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLaptop extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/leaf.d.ts b/react-icons/io/leaf.d.ts index c924e3d183..7d3d96768e 100644 --- a/react-icons/io/leaf.d.ts +++ b/react-icons/io/leaf.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLeaf extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/levels.d.ts b/react-icons/io/levels.d.ts index efbaa597a8..0d48cd031e 100644 --- a/react-icons/io/levels.d.ts +++ b/react-icons/io/levels.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLevels extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/lightbulb.d.ts b/react-icons/io/lightbulb.d.ts index 152d4c122f..c965120dfc 100644 --- a/react-icons/io/lightbulb.d.ts +++ b/react-icons/io/lightbulb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLightbulb extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/link.d.ts b/react-icons/io/link.d.ts index ebf08e8bb5..15e50e17a7 100644 --- a/react-icons/io/link.d.ts +++ b/react-icons/io/link.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLink extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/load-a.d.ts b/react-icons/io/load-a.d.ts index 01421c4472..d2ca07b479 100644 --- a/react-icons/io/load-a.d.ts +++ b/react-icons/io/load-a.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLoadA extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/load-b.d.ts b/react-icons/io/load-b.d.ts index 6b21769c0b..abec8b504e 100644 --- a/react-icons/io/load-b.d.ts +++ b/react-icons/io/load-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLoadB extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/load-c.d.ts b/react-icons/io/load-c.d.ts index 592b81af9d..ae8e068ce6 100644 --- a/react-icons/io/load-c.d.ts +++ b/react-icons/io/load-c.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLoadC extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/load-d.d.ts b/react-icons/io/load-d.d.ts index 48a2d853f6..01b5c75ea4 100644 --- a/react-icons/io/load-d.d.ts +++ b/react-icons/io/load-d.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLoadD extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/location.d.ts b/react-icons/io/location.d.ts index e98b619117..9b63d6301b 100644 --- a/react-icons/io/location.d.ts +++ b/react-icons/io/location.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLocation extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/lock-combination.d.ts b/react-icons/io/lock-combination.d.ts index c093902563..63ffa442b0 100644 --- a/react-icons/io/lock-combination.d.ts +++ b/react-icons/io/lock-combination.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLockCombination extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/locked.d.ts b/react-icons/io/locked.d.ts index d3539a1f3c..16821b95a5 100644 --- a/react-icons/io/locked.d.ts +++ b/react-icons/io/locked.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLocked extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/log-in.d.ts b/react-icons/io/log-in.d.ts index ab954a4800..bccca98354 100644 --- a/react-icons/io/log-in.d.ts +++ b/react-icons/io/log-in.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLogIn extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/log-out.d.ts b/react-icons/io/log-out.d.ts index 1d7612a0ad..21fda89afa 100644 --- a/react-icons/io/log-out.d.ts +++ b/react-icons/io/log-out.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLogOut extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/loop.d.ts b/react-icons/io/loop.d.ts index 52a716d079..b058569cd8 100644 --- a/react-icons/io/loop.d.ts +++ b/react-icons/io/loop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoLoop extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/magnet.d.ts b/react-icons/io/magnet.d.ts index 76a061e7a4..28a504842b 100644 --- a/react-icons/io/magnet.d.ts +++ b/react-icons/io/magnet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMagnet extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/male.d.ts b/react-icons/io/male.d.ts index 8622345fa0..294a716b41 100644 --- a/react-icons/io/male.d.ts +++ b/react-icons/io/male.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMale extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/man.d.ts b/react-icons/io/man.d.ts index 68e7bc1d7d..dd0cf404f4 100644 --- a/react-icons/io/man.d.ts +++ b/react-icons/io/man.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMan extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/map.d.ts b/react-icons/io/map.d.ts index be365d73ab..93ef69ef98 100644 --- a/react-icons/io/map.d.ts +++ b/react-icons/io/map.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMap extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/medkit.d.ts b/react-icons/io/medkit.d.ts index 2b37d0cc6b..ba99512b1c 100644 --- a/react-icons/io/medkit.d.ts +++ b/react-icons/io/medkit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMedkit extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/merge.d.ts b/react-icons/io/merge.d.ts index 2a60eceac8..43fcf0ee26 100644 --- a/react-icons/io/merge.d.ts +++ b/react-icons/io/merge.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMerge extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/mic-a.d.ts b/react-icons/io/mic-a.d.ts index 89e1a6a647..0db38f7590 100644 --- a/react-icons/io/mic-a.d.ts +++ b/react-icons/io/mic-a.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMicA extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/mic-b.d.ts b/react-icons/io/mic-b.d.ts index 95543a8d0a..53ec4626ff 100644 --- a/react-icons/io/mic-b.d.ts +++ b/react-icons/io/mic-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMicB extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/mic-c.d.ts b/react-icons/io/mic-c.d.ts index c60cb04428..2f15a40885 100644 --- a/react-icons/io/mic-c.d.ts +++ b/react-icons/io/mic-c.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMicC extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/minus-circled.d.ts b/react-icons/io/minus-circled.d.ts index 7c8c1dfe1a..f26094fdb5 100644 --- a/react-icons/io/minus-circled.d.ts +++ b/react-icons/io/minus-circled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMinusCircled extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/minus-round.d.ts b/react-icons/io/minus-round.d.ts index 9530bdc521..71baa5fe32 100644 --- a/react-icons/io/minus-round.d.ts +++ b/react-icons/io/minus-round.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMinusRound extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/minus.d.ts b/react-icons/io/minus.d.ts index a851cedddf..c82dcd2d0d 100644 --- a/react-icons/io/minus.d.ts +++ b/react-icons/io/minus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMinus extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/model-s.d.ts b/react-icons/io/model-s.d.ts index 0b4ffd2a22..388800d39d 100644 --- a/react-icons/io/model-s.d.ts +++ b/react-icons/io/model-s.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoModelS extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/monitor.d.ts b/react-icons/io/monitor.d.ts index e70f7953d6..cea462f426 100644 --- a/react-icons/io/monitor.d.ts +++ b/react-icons/io/monitor.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMonitor extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/more.d.ts b/react-icons/io/more.d.ts index 695d17462e..80e4cafec9 100644 --- a/react-icons/io/more.d.ts +++ b/react-icons/io/more.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMore extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/mouse.d.ts b/react-icons/io/mouse.d.ts index 2022474813..abc1c35d0b 100644 --- a/react-icons/io/mouse.d.ts +++ b/react-icons/io/mouse.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMouse extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/music-note.d.ts b/react-icons/io/music-note.d.ts index ebfa55408b..c22735bbfb 100644 --- a/react-icons/io/music-note.d.ts +++ b/react-icons/io/music-note.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoMusicNote extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/navicon-round.d.ts b/react-icons/io/navicon-round.d.ts index 119ceaee96..9decaf4007 100644 --- a/react-icons/io/navicon-round.d.ts +++ b/react-icons/io/navicon-round.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoNaviconRound extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/navicon.d.ts b/react-icons/io/navicon.d.ts index be520f726e..27a63eda29 100644 --- a/react-icons/io/navicon.d.ts +++ b/react-icons/io/navicon.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoNavicon extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/navigate.d.ts b/react-icons/io/navigate.d.ts index 216d0ee926..9e2c6ee563 100644 --- a/react-icons/io/navigate.d.ts +++ b/react-icons/io/navigate.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoNavigate extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/network.d.ts b/react-icons/io/network.d.ts index 7c8012e3fc..c940546c08 100644 --- a/react-icons/io/network.d.ts +++ b/react-icons/io/network.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoNetwork extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/no-smoking.d.ts b/react-icons/io/no-smoking.d.ts index 53e9bbe1f8..7d8a557e6d 100644 --- a/react-icons/io/no-smoking.d.ts +++ b/react-icons/io/no-smoking.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoNoSmoking extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/nuclear.d.ts b/react-icons/io/nuclear.d.ts index 58b2c7593c..1f1bee40d7 100644 --- a/react-icons/io/nuclear.d.ts +++ b/react-icons/io/nuclear.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoNuclear extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/outlet.d.ts b/react-icons/io/outlet.d.ts index 1019be14a1..9ff4649671 100644 --- a/react-icons/io/outlet.d.ts +++ b/react-icons/io/outlet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoOutlet extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/paintbrush.d.ts b/react-icons/io/paintbrush.d.ts index 94c6009b41..3638dcc45b 100644 --- a/react-icons/io/paintbrush.d.ts +++ b/react-icons/io/paintbrush.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPaintbrush extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/paintbucket.d.ts b/react-icons/io/paintbucket.d.ts index 5b01c784b6..13a076a554 100644 --- a/react-icons/io/paintbucket.d.ts +++ b/react-icons/io/paintbucket.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPaintbucket extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/paper-airplane.d.ts b/react-icons/io/paper-airplane.d.ts index b2f425e7ad..359d5da2ee 100644 --- a/react-icons/io/paper-airplane.d.ts +++ b/react-icons/io/paper-airplane.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPaperAirplane extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/paperclip.d.ts b/react-icons/io/paperclip.d.ts index d19802bf67..04c588723e 100644 --- a/react-icons/io/paperclip.d.ts +++ b/react-icons/io/paperclip.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPaperclip extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/pause.d.ts b/react-icons/io/pause.d.ts index 5b0cd0e095..998e65dd1a 100644 --- a/react-icons/io/pause.d.ts +++ b/react-icons/io/pause.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPause extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/person-add.d.ts b/react-icons/io/person-add.d.ts index bfc660e94e..a2880d94cc 100644 --- a/react-icons/io/person-add.d.ts +++ b/react-icons/io/person-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPersonAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/person-stalker.d.ts b/react-icons/io/person-stalker.d.ts index 9bdf35cfa3..acfb311e5e 100644 --- a/react-icons/io/person-stalker.d.ts +++ b/react-icons/io/person-stalker.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPersonStalker extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/person.d.ts b/react-icons/io/person.d.ts index 3916645659..e229c61d87 100644 --- a/react-icons/io/person.d.ts +++ b/react-icons/io/person.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPerson extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/pie-graph.d.ts b/react-icons/io/pie-graph.d.ts index 9c061bf4e0..847d0af6f0 100644 --- a/react-icons/io/pie-graph.d.ts +++ b/react-icons/io/pie-graph.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPieGraph extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/pin.d.ts b/react-icons/io/pin.d.ts index b203f596bc..95d4336b73 100644 --- a/react-icons/io/pin.d.ts +++ b/react-icons/io/pin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPin extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/pinpoint.d.ts b/react-icons/io/pinpoint.d.ts index b8880f2575..0c3924eef8 100644 --- a/react-icons/io/pinpoint.d.ts +++ b/react-icons/io/pinpoint.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPinpoint extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/pizza.d.ts b/react-icons/io/pizza.d.ts index 166400ea3c..d7e5a6e034 100644 --- a/react-icons/io/pizza.d.ts +++ b/react-icons/io/pizza.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPizza extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/plane.d.ts b/react-icons/io/plane.d.ts index e8627860c7..5576d45e4d 100644 --- a/react-icons/io/plane.d.ts +++ b/react-icons/io/plane.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPlane extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/planet.d.ts b/react-icons/io/planet.d.ts index 7db404fdae..3f685a8a44 100644 --- a/react-icons/io/planet.d.ts +++ b/react-icons/io/planet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPlanet extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/play.d.ts b/react-icons/io/play.d.ts index b56a920a89..5e9f4d1b00 100644 --- a/react-icons/io/play.d.ts +++ b/react-icons/io/play.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPlay extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/playstation.d.ts b/react-icons/io/playstation.d.ts index 31ed41da92..f46809f00c 100644 --- a/react-icons/io/playstation.d.ts +++ b/react-icons/io/playstation.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPlaystation extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/plus-circled.d.ts b/react-icons/io/plus-circled.d.ts index f19668224a..7190dedee9 100644 --- a/react-icons/io/plus-circled.d.ts +++ b/react-icons/io/plus-circled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPlusCircled extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/plus-round.d.ts b/react-icons/io/plus-round.d.ts index cf61ceba90..a89caf248d 100644 --- a/react-icons/io/plus-round.d.ts +++ b/react-icons/io/plus-round.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPlusRound extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/plus.d.ts b/react-icons/io/plus.d.ts index eee1f3f81f..5f1ac2730c 100644 --- a/react-icons/io/plus.d.ts +++ b/react-icons/io/plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPlus extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/podium.d.ts b/react-icons/io/podium.d.ts index f0b5ebdb7d..600c5a60f7 100644 --- a/react-icons/io/podium.d.ts +++ b/react-icons/io/podium.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPodium extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/pound.d.ts b/react-icons/io/pound.d.ts index f6791e0a0e..9f0152d885 100644 --- a/react-icons/io/pound.d.ts +++ b/react-icons/io/pound.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPound extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/power.d.ts b/react-icons/io/power.d.ts index 89e46866a4..f42ea37d75 100644 --- a/react-icons/io/power.d.ts +++ b/react-icons/io/power.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPower extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/pricetag.d.ts b/react-icons/io/pricetag.d.ts index 8fc1c881a0..698f296f6b 100644 --- a/react-icons/io/pricetag.d.ts +++ b/react-icons/io/pricetag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPricetag extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/pricetags.d.ts b/react-icons/io/pricetags.d.ts index eb1d8430c9..578df2930a 100644 --- a/react-icons/io/pricetags.d.ts +++ b/react-icons/io/pricetags.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPricetags extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/printer.d.ts b/react-icons/io/printer.d.ts index b4a1716d97..0d81c3c9ff 100644 --- a/react-icons/io/printer.d.ts +++ b/react-icons/io/printer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPrinter extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/pull-request.d.ts b/react-icons/io/pull-request.d.ts index 65d179496e..d45d008d4a 100644 --- a/react-icons/io/pull-request.d.ts +++ b/react-icons/io/pull-request.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoPullRequest extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/qr-scanner.d.ts b/react-icons/io/qr-scanner.d.ts index 6436fba2c4..40771fbfb2 100644 --- a/react-icons/io/qr-scanner.d.ts +++ b/react-icons/io/qr-scanner.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoQrScanner extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/quote.d.ts b/react-icons/io/quote.d.ts index 366c6395ff..3ac8748ba4 100644 --- a/react-icons/io/quote.d.ts +++ b/react-icons/io/quote.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoQuote extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/radio-waves.d.ts b/react-icons/io/radio-waves.d.ts index 3cf80e2a0b..67477d3c7c 100644 --- a/react-icons/io/radio-waves.d.ts +++ b/react-icons/io/radio-waves.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoRadioWaves extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/record.d.ts b/react-icons/io/record.d.ts index ad70cb6cbf..684246baab 100644 --- a/react-icons/io/record.d.ts +++ b/react-icons/io/record.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoRecord extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/refresh.d.ts b/react-icons/io/refresh.d.ts index c62284a276..7807a2c959 100644 --- a/react-icons/io/refresh.d.ts +++ b/react-icons/io/refresh.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoRefresh extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/reply-all.d.ts b/react-icons/io/reply-all.d.ts index 33d7774c06..eddb91d3ac 100644 --- a/react-icons/io/reply-all.d.ts +++ b/react-icons/io/reply-all.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoReplyAll extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/reply.d.ts b/react-icons/io/reply.d.ts index 235d1068de..12562cc12c 100644 --- a/react-icons/io/reply.d.ts +++ b/react-icons/io/reply.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoReply extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ribbon-a.d.ts b/react-icons/io/ribbon-a.d.ts index 1ee693b002..db061cf034 100644 --- a/react-icons/io/ribbon-a.d.ts +++ b/react-icons/io/ribbon-a.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoRibbonA extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/ribbon-b.d.ts b/react-icons/io/ribbon-b.d.ts index 9cca09c3a8..3a8991a5cb 100644 --- a/react-icons/io/ribbon-b.d.ts +++ b/react-icons/io/ribbon-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoRibbonB extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/sad-outline.d.ts b/react-icons/io/sad-outline.d.ts index 1c6fd61305..89b8f73e49 100644 --- a/react-icons/io/sad-outline.d.ts +++ b/react-icons/io/sad-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSadOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/sad.d.ts b/react-icons/io/sad.d.ts index 32b641ce54..234f5886a9 100644 --- a/react-icons/io/sad.d.ts +++ b/react-icons/io/sad.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSad extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/scissors.d.ts b/react-icons/io/scissors.d.ts index 9b7620bbdd..3186936580 100644 --- a/react-icons/io/scissors.d.ts +++ b/react-icons/io/scissors.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoScissors extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/search.d.ts b/react-icons/io/search.d.ts index 2ba5a16848..a3382d37ed 100644 --- a/react-icons/io/search.d.ts +++ b/react-icons/io/search.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSearch extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/settings.d.ts b/react-icons/io/settings.d.ts index 37cf11551e..f235de89af 100644 --- a/react-icons/io/settings.d.ts +++ b/react-icons/io/settings.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSettings extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/share.d.ts b/react-icons/io/share.d.ts index b1c6858a5d..4f83849cae 100644 --- a/react-icons/io/share.d.ts +++ b/react-icons/io/share.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoShare extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/shuffle.d.ts b/react-icons/io/shuffle.d.ts index 7709ea6cd6..e3949e4b17 100644 --- a/react-icons/io/shuffle.d.ts +++ b/react-icons/io/shuffle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoShuffle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/skip-backward.d.ts b/react-icons/io/skip-backward.d.ts index 997b9a6f77..298afea2cd 100644 --- a/react-icons/io/skip-backward.d.ts +++ b/react-icons/io/skip-backward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSkipBackward extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/skip-forward.d.ts b/react-icons/io/skip-forward.d.ts index 4f34a9d7ba..c5351d9771 100644 --- a/react-icons/io/skip-forward.d.ts +++ b/react-icons/io/skip-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSkipForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-android-outline.d.ts b/react-icons/io/social-android-outline.d.ts index d701471dd1..4f47a05cfb 100644 --- a/react-icons/io/social-android-outline.d.ts +++ b/react-icons/io/social-android-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialAndroidOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-android.d.ts b/react-icons/io/social-android.d.ts index 402a24cf6f..1647ed428d 100644 --- a/react-icons/io/social-android.d.ts +++ b/react-icons/io/social-android.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialAndroid extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-angular-outline.d.ts b/react-icons/io/social-angular-outline.d.ts index ef8f6579ef..37f39545b4 100644 --- a/react-icons/io/social-angular-outline.d.ts +++ b/react-icons/io/social-angular-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialAngularOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-angular.d.ts b/react-icons/io/social-angular.d.ts index 4d9c9ae8c1..f1faa73df1 100644 --- a/react-icons/io/social-angular.d.ts +++ b/react-icons/io/social-angular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialAngular extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-apple-outline.d.ts b/react-icons/io/social-apple-outline.d.ts index 9cb3045198..5d4f1c412c 100644 --- a/react-icons/io/social-apple-outline.d.ts +++ b/react-icons/io/social-apple-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialAppleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-apple.d.ts b/react-icons/io/social-apple.d.ts index 31298b7c63..55326b0cde 100644 --- a/react-icons/io/social-apple.d.ts +++ b/react-icons/io/social-apple.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialApple extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-bitcoin-outline.d.ts b/react-icons/io/social-bitcoin-outline.d.ts index 3b6bcefc1a..b4a83e2a11 100644 --- a/react-icons/io/social-bitcoin-outline.d.ts +++ b/react-icons/io/social-bitcoin-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialBitcoinOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-bitcoin.d.ts b/react-icons/io/social-bitcoin.d.ts index 152f0c1f2b..bb3e98dded 100644 --- a/react-icons/io/social-bitcoin.d.ts +++ b/react-icons/io/social-bitcoin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialBitcoin extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-buffer-outline.d.ts b/react-icons/io/social-buffer-outline.d.ts index 4b95f78758..af6d7bcdc8 100644 --- a/react-icons/io/social-buffer-outline.d.ts +++ b/react-icons/io/social-buffer-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialBufferOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-buffer.d.ts b/react-icons/io/social-buffer.d.ts index 861b3a0911..94317eb48a 100644 --- a/react-icons/io/social-buffer.d.ts +++ b/react-icons/io/social-buffer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialBuffer extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-chrome-outline.d.ts b/react-icons/io/social-chrome-outline.d.ts index b680f6c83f..3124af59a9 100644 --- a/react-icons/io/social-chrome-outline.d.ts +++ b/react-icons/io/social-chrome-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialChromeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-chrome.d.ts b/react-icons/io/social-chrome.d.ts index 6ee5f5fe38..8d2ab18932 100644 --- a/react-icons/io/social-chrome.d.ts +++ b/react-icons/io/social-chrome.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialChrome extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-codepen-outline.d.ts b/react-icons/io/social-codepen-outline.d.ts index a123c85962..37786b297b 100644 --- a/react-icons/io/social-codepen-outline.d.ts +++ b/react-icons/io/social-codepen-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialCodepenOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-codepen.d.ts b/react-icons/io/social-codepen.d.ts index 61561cf3ae..5de6828b5c 100644 --- a/react-icons/io/social-codepen.d.ts +++ b/react-icons/io/social-codepen.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialCodepen extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-css3-outline.d.ts b/react-icons/io/social-css3-outline.d.ts index de5aff309f..35a05ebeaa 100644 --- a/react-icons/io/social-css3-outline.d.ts +++ b/react-icons/io/social-css3-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialCss3Outline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-css3.d.ts b/react-icons/io/social-css3.d.ts index 08d966dd55..be28f99800 100644 --- a/react-icons/io/social-css3.d.ts +++ b/react-icons/io/social-css3.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialCss3 extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-designernews-outline.d.ts b/react-icons/io/social-designernews-outline.d.ts index 7bd38e555a..824f6caf92 100644 --- a/react-icons/io/social-designernews-outline.d.ts +++ b/react-icons/io/social-designernews-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialDesignernewsOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-designernews.d.ts b/react-icons/io/social-designernews.d.ts index cf3b19371e..8d813b856a 100644 --- a/react-icons/io/social-designernews.d.ts +++ b/react-icons/io/social-designernews.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialDesignernews extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-dribbble-outline.d.ts b/react-icons/io/social-dribbble-outline.d.ts index 9f6fa48cc9..9ae0da5d80 100644 --- a/react-icons/io/social-dribbble-outline.d.ts +++ b/react-icons/io/social-dribbble-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialDribbbleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-dribbble.d.ts b/react-icons/io/social-dribbble.d.ts index b6377dcfec..633ced4be6 100644 --- a/react-icons/io/social-dribbble.d.ts +++ b/react-icons/io/social-dribbble.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialDribbble extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-dropbox-outline.d.ts b/react-icons/io/social-dropbox-outline.d.ts index f26a72ab55..1d3b4d22c6 100644 --- a/react-icons/io/social-dropbox-outline.d.ts +++ b/react-icons/io/social-dropbox-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialDropboxOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-dropbox.d.ts b/react-icons/io/social-dropbox.d.ts index a7e67cbdaf..7ce69798ae 100644 --- a/react-icons/io/social-dropbox.d.ts +++ b/react-icons/io/social-dropbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialDropbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-euro-outline.d.ts b/react-icons/io/social-euro-outline.d.ts index de666464c3..fc00c4b3f2 100644 --- a/react-icons/io/social-euro-outline.d.ts +++ b/react-icons/io/social-euro-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialEuroOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-euro.d.ts b/react-icons/io/social-euro.d.ts index 05df3959f3..61c75816e5 100644 --- a/react-icons/io/social-euro.d.ts +++ b/react-icons/io/social-euro.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialEuro extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-facebook-outline.d.ts b/react-icons/io/social-facebook-outline.d.ts index 33071fa0d6..31bb07cfd4 100644 --- a/react-icons/io/social-facebook-outline.d.ts +++ b/react-icons/io/social-facebook-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialFacebookOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-facebook.d.ts b/react-icons/io/social-facebook.d.ts index a8ea48f3e1..99dd7b18a9 100644 --- a/react-icons/io/social-facebook.d.ts +++ b/react-icons/io/social-facebook.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialFacebook extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-foursquare-outline.d.ts b/react-icons/io/social-foursquare-outline.d.ts index aa2d412d8b..3b3badca0e 100644 --- a/react-icons/io/social-foursquare-outline.d.ts +++ b/react-icons/io/social-foursquare-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialFoursquareOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-foursquare.d.ts b/react-icons/io/social-foursquare.d.ts index 4af14b20c1..7cb003c9fb 100644 --- a/react-icons/io/social-foursquare.d.ts +++ b/react-icons/io/social-foursquare.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialFoursquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-freebsd-devil.d.ts b/react-icons/io/social-freebsd-devil.d.ts index c002b2946b..2de712c2b4 100644 --- a/react-icons/io/social-freebsd-devil.d.ts +++ b/react-icons/io/social-freebsd-devil.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialFreebsdDevil extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-github-outline.d.ts b/react-icons/io/social-github-outline.d.ts index 1af7af0e15..057dcbb3b3 100644 --- a/react-icons/io/social-github-outline.d.ts +++ b/react-icons/io/social-github-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialGithubOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-github.d.ts b/react-icons/io/social-github.d.ts index b92e464939..86de23b2dd 100644 --- a/react-icons/io/social-github.d.ts +++ b/react-icons/io/social-github.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialGithub extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-google-outline.d.ts b/react-icons/io/social-google-outline.d.ts index fe834694e5..119c45ac4f 100644 --- a/react-icons/io/social-google-outline.d.ts +++ b/react-icons/io/social-google-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialGoogleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-google.d.ts b/react-icons/io/social-google.d.ts index ef0b687b8e..9f499367e2 100644 --- a/react-icons/io/social-google.d.ts +++ b/react-icons/io/social-google.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialGoogle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-googleplus-outline.d.ts b/react-icons/io/social-googleplus-outline.d.ts index eb39911934..83162bd581 100644 --- a/react-icons/io/social-googleplus-outline.d.ts +++ b/react-icons/io/social-googleplus-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialGoogleplusOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-googleplus.d.ts b/react-icons/io/social-googleplus.d.ts index 6307245f68..2e91bb342e 100644 --- a/react-icons/io/social-googleplus.d.ts +++ b/react-icons/io/social-googleplus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialGoogleplus extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-hackernews-outline.d.ts b/react-icons/io/social-hackernews-outline.d.ts index f50dd0d4fa..3bb1201bfa 100644 --- a/react-icons/io/social-hackernews-outline.d.ts +++ b/react-icons/io/social-hackernews-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialHackernewsOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-hackernews.d.ts b/react-icons/io/social-hackernews.d.ts index 9dbf779fd4..1ffc5deddd 100644 --- a/react-icons/io/social-hackernews.d.ts +++ b/react-icons/io/social-hackernews.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialHackernews extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-html5-outline.d.ts b/react-icons/io/social-html5-outline.d.ts index f350210563..27d7cefad4 100644 --- a/react-icons/io/social-html5-outline.d.ts +++ b/react-icons/io/social-html5-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialHtml5Outline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-html5.d.ts b/react-icons/io/social-html5.d.ts index 199e976e4b..dc99c504ca 100644 --- a/react-icons/io/social-html5.d.ts +++ b/react-icons/io/social-html5.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialHtml5 extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-instagram-outline.d.ts b/react-icons/io/social-instagram-outline.d.ts index b23db225a5..5a76c91428 100644 --- a/react-icons/io/social-instagram-outline.d.ts +++ b/react-icons/io/social-instagram-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialInstagramOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-instagram.d.ts b/react-icons/io/social-instagram.d.ts index 126b8c6c07..32c46a0cb0 100644 --- a/react-icons/io/social-instagram.d.ts +++ b/react-icons/io/social-instagram.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialInstagram extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-javascript-outline.d.ts b/react-icons/io/social-javascript-outline.d.ts index 27ff65ef9a..915eee31c7 100644 --- a/react-icons/io/social-javascript-outline.d.ts +++ b/react-icons/io/social-javascript-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialJavascriptOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-javascript.d.ts b/react-icons/io/social-javascript.d.ts index a6234509b8..3e35c37924 100644 --- a/react-icons/io/social-javascript.d.ts +++ b/react-icons/io/social-javascript.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialJavascript extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-linkedin-outline.d.ts b/react-icons/io/social-linkedin-outline.d.ts index b1f7c9081b..e6df03bd6d 100644 --- a/react-icons/io/social-linkedin-outline.d.ts +++ b/react-icons/io/social-linkedin-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialLinkedinOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-linkedin.d.ts b/react-icons/io/social-linkedin.d.ts index d18382fc37..0438233daa 100644 --- a/react-icons/io/social-linkedin.d.ts +++ b/react-icons/io/social-linkedin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialLinkedin extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-markdown.d.ts b/react-icons/io/social-markdown.d.ts index a24229e995..39bf11fcae 100644 --- a/react-icons/io/social-markdown.d.ts +++ b/react-icons/io/social-markdown.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialMarkdown extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-nodejs.d.ts b/react-icons/io/social-nodejs.d.ts index 12a1c9c7a9..ccb3697e7d 100644 --- a/react-icons/io/social-nodejs.d.ts +++ b/react-icons/io/social-nodejs.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialNodejs extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-octocat.d.ts b/react-icons/io/social-octocat.d.ts index 16d6459764..9bf46f1838 100644 --- a/react-icons/io/social-octocat.d.ts +++ b/react-icons/io/social-octocat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialOctocat extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-pinterest-outline.d.ts b/react-icons/io/social-pinterest-outline.d.ts index 30f6f1dc26..6d286c2517 100644 --- a/react-icons/io/social-pinterest-outline.d.ts +++ b/react-icons/io/social-pinterest-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialPinterestOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-pinterest.d.ts b/react-icons/io/social-pinterest.d.ts index 62da22c9ba..6224823e67 100644 --- a/react-icons/io/social-pinterest.d.ts +++ b/react-icons/io/social-pinterest.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialPinterest extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-python.d.ts b/react-icons/io/social-python.d.ts index 904c00771e..3910c80371 100644 --- a/react-icons/io/social-python.d.ts +++ b/react-icons/io/social-python.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialPython extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-reddit-outline.d.ts b/react-icons/io/social-reddit-outline.d.ts index 0c29fb1713..7b1789d379 100644 --- a/react-icons/io/social-reddit-outline.d.ts +++ b/react-icons/io/social-reddit-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialRedditOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-reddit.d.ts b/react-icons/io/social-reddit.d.ts index fea98a9427..3ece9a1721 100644 --- a/react-icons/io/social-reddit.d.ts +++ b/react-icons/io/social-reddit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialReddit extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-rss-outline.d.ts b/react-icons/io/social-rss-outline.d.ts index 982d12d958..4665436dcc 100644 --- a/react-icons/io/social-rss-outline.d.ts +++ b/react-icons/io/social-rss-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialRssOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-rss.d.ts b/react-icons/io/social-rss.d.ts index f8531f904e..57a06fc493 100644 --- a/react-icons/io/social-rss.d.ts +++ b/react-icons/io/social-rss.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialRss extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-sass.d.ts b/react-icons/io/social-sass.d.ts index 335582a86e..58f49988c8 100644 --- a/react-icons/io/social-sass.d.ts +++ b/react-icons/io/social-sass.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialSass extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-skype-outline.d.ts b/react-icons/io/social-skype-outline.d.ts index d3bcc480a6..73115c6dde 100644 --- a/react-icons/io/social-skype-outline.d.ts +++ b/react-icons/io/social-skype-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialSkypeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-skype.d.ts b/react-icons/io/social-skype.d.ts index 1027e27bc4..09cf5fc442 100644 --- a/react-icons/io/social-skype.d.ts +++ b/react-icons/io/social-skype.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialSkype extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-snapchat-outline.d.ts b/react-icons/io/social-snapchat-outline.d.ts index 9224a9a53b..6de97eb8e2 100644 --- a/react-icons/io/social-snapchat-outline.d.ts +++ b/react-icons/io/social-snapchat-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialSnapchatOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-snapchat.d.ts b/react-icons/io/social-snapchat.d.ts index 85c73efbeb..b0a51fa116 100644 --- a/react-icons/io/social-snapchat.d.ts +++ b/react-icons/io/social-snapchat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialSnapchat extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-tumblr-outline.d.ts b/react-icons/io/social-tumblr-outline.d.ts index c53ebeb776..5ff83deb6f 100644 --- a/react-icons/io/social-tumblr-outline.d.ts +++ b/react-icons/io/social-tumblr-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialTumblrOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-tumblr.d.ts b/react-icons/io/social-tumblr.d.ts index 21bedfaab4..5656710426 100644 --- a/react-icons/io/social-tumblr.d.ts +++ b/react-icons/io/social-tumblr.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialTumblr extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-tux.d.ts b/react-icons/io/social-tux.d.ts index bcb334e888..39afb29256 100644 --- a/react-icons/io/social-tux.d.ts +++ b/react-icons/io/social-tux.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialTux extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-twitch-outline.d.ts b/react-icons/io/social-twitch-outline.d.ts index 58d0143fb1..6190e568b5 100644 --- a/react-icons/io/social-twitch-outline.d.ts +++ b/react-icons/io/social-twitch-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialTwitchOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-twitch.d.ts b/react-icons/io/social-twitch.d.ts index 30fca19177..f33865501b 100644 --- a/react-icons/io/social-twitch.d.ts +++ b/react-icons/io/social-twitch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialTwitch extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-twitter-outline.d.ts b/react-icons/io/social-twitter-outline.d.ts index 0b99f4915d..f729554730 100644 --- a/react-icons/io/social-twitter-outline.d.ts +++ b/react-icons/io/social-twitter-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialTwitterOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-twitter.d.ts b/react-icons/io/social-twitter.d.ts index bb68f877a7..5ade8e36b8 100644 --- a/react-icons/io/social-twitter.d.ts +++ b/react-icons/io/social-twitter.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialTwitter extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-usd-outline.d.ts b/react-icons/io/social-usd-outline.d.ts index 87a374d90c..3dc60d944d 100644 --- a/react-icons/io/social-usd-outline.d.ts +++ b/react-icons/io/social-usd-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialUsdOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-usd.d.ts b/react-icons/io/social-usd.d.ts index 7e59793b77..f2c209b99d 100644 --- a/react-icons/io/social-usd.d.ts +++ b/react-icons/io/social-usd.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialUsd extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-vimeo-outline.d.ts b/react-icons/io/social-vimeo-outline.d.ts index bd06e0a589..e271564598 100644 --- a/react-icons/io/social-vimeo-outline.d.ts +++ b/react-icons/io/social-vimeo-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialVimeoOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-vimeo.d.ts b/react-icons/io/social-vimeo.d.ts index db7ba718ee..ff12851c4d 100644 --- a/react-icons/io/social-vimeo.d.ts +++ b/react-icons/io/social-vimeo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialVimeo extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-whatsapp-outline.d.ts b/react-icons/io/social-whatsapp-outline.d.ts index 52a8a670fc..6b39e949d3 100644 --- a/react-icons/io/social-whatsapp-outline.d.ts +++ b/react-icons/io/social-whatsapp-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialWhatsappOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-whatsapp.d.ts b/react-icons/io/social-whatsapp.d.ts index 5ad86eaba9..aa17ea0260 100644 --- a/react-icons/io/social-whatsapp.d.ts +++ b/react-icons/io/social-whatsapp.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialWhatsapp extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-windows-outline.d.ts b/react-icons/io/social-windows-outline.d.ts index 1b6a6bdaae..d0d8fc8622 100644 --- a/react-icons/io/social-windows-outline.d.ts +++ b/react-icons/io/social-windows-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialWindowsOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-windows.d.ts b/react-icons/io/social-windows.d.ts index e5b4ab4f0e..6b13578738 100644 --- a/react-icons/io/social-windows.d.ts +++ b/react-icons/io/social-windows.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialWindows extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-wordpress-outline.d.ts b/react-icons/io/social-wordpress-outline.d.ts index 39b50eb908..d43f6ded07 100644 --- a/react-icons/io/social-wordpress-outline.d.ts +++ b/react-icons/io/social-wordpress-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialWordpressOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-wordpress.d.ts b/react-icons/io/social-wordpress.d.ts index 465fbfeb5a..2003ec24ef 100644 --- a/react-icons/io/social-wordpress.d.ts +++ b/react-icons/io/social-wordpress.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialWordpress extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-yahoo-outline.d.ts b/react-icons/io/social-yahoo-outline.d.ts index 8ba24396f3..cddafb8379 100644 --- a/react-icons/io/social-yahoo-outline.d.ts +++ b/react-icons/io/social-yahoo-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialYahooOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-yahoo.d.ts b/react-icons/io/social-yahoo.d.ts index 6765dae4fd..d6a2569882 100644 --- a/react-icons/io/social-yahoo.d.ts +++ b/react-icons/io/social-yahoo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialYahoo extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-yen-outline.d.ts b/react-icons/io/social-yen-outline.d.ts index 2d4cb13638..48539380d1 100644 --- a/react-icons/io/social-yen-outline.d.ts +++ b/react-icons/io/social-yen-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialYenOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-yen.d.ts b/react-icons/io/social-yen.d.ts index 32c1d38c0c..e3647335ca 100644 --- a/react-icons/io/social-yen.d.ts +++ b/react-icons/io/social-yen.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialYen extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-youtube-outline.d.ts b/react-icons/io/social-youtube-outline.d.ts index aa264d9269..06e6a83808 100644 --- a/react-icons/io/social-youtube-outline.d.ts +++ b/react-icons/io/social-youtube-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialYoutubeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/social-youtube.d.ts b/react-icons/io/social-youtube.d.ts index 2c95b92289..5bde01897b 100644 --- a/react-icons/io/social-youtube.d.ts +++ b/react-icons/io/social-youtube.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSocialYoutube extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/soup-can-outline.d.ts b/react-icons/io/soup-can-outline.d.ts index acb476af05..954c9390e6 100644 --- a/react-icons/io/soup-can-outline.d.ts +++ b/react-icons/io/soup-can-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSoupCanOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/soup-can.d.ts b/react-icons/io/soup-can.d.ts index ea47ab79d4..f5124bc894 100644 --- a/react-icons/io/soup-can.d.ts +++ b/react-icons/io/soup-can.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSoupCan extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/speakerphone.d.ts b/react-icons/io/speakerphone.d.ts index d8572af7e5..fae69283aa 100644 --- a/react-icons/io/speakerphone.d.ts +++ b/react-icons/io/speakerphone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSpeakerphone extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/speedometer.d.ts b/react-icons/io/speedometer.d.ts index bac34b411c..953719ab9b 100644 --- a/react-icons/io/speedometer.d.ts +++ b/react-icons/io/speedometer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSpeedometer extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/spoon.d.ts b/react-icons/io/spoon.d.ts index d524e9d8e8..c287364fcc 100644 --- a/react-icons/io/spoon.d.ts +++ b/react-icons/io/spoon.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSpoon extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/star.d.ts b/react-icons/io/star.d.ts index e8c0290df9..986d5f2716 100644 --- a/react-icons/io/star.d.ts +++ b/react-icons/io/star.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoStar extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/stats-bars.d.ts b/react-icons/io/stats-bars.d.ts index 0190e36b1a..78396a5c9d 100644 --- a/react-icons/io/stats-bars.d.ts +++ b/react-icons/io/stats-bars.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoStatsBars extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/steam.d.ts b/react-icons/io/steam.d.ts index 299f5178eb..fcd318b525 100644 --- a/react-icons/io/steam.d.ts +++ b/react-icons/io/steam.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoSteam extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/stop.d.ts b/react-icons/io/stop.d.ts index 803a7e1168..40e7f3e0a7 100644 --- a/react-icons/io/stop.d.ts +++ b/react-icons/io/stop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoStop extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/thermometer.d.ts b/react-icons/io/thermometer.d.ts index 1d12a78157..21d2bc2453 100644 --- a/react-icons/io/thermometer.d.ts +++ b/react-icons/io/thermometer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoThermometer extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/thumbsdown.d.ts b/react-icons/io/thumbsdown.d.ts index 4ddb3eefd3..49ea8e4622 100644 --- a/react-icons/io/thumbsdown.d.ts +++ b/react-icons/io/thumbsdown.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoThumbsdown extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/thumbsup.d.ts b/react-icons/io/thumbsup.d.ts index 1a18ff5518..1e7ed433d8 100644 --- a/react-icons/io/thumbsup.d.ts +++ b/react-icons/io/thumbsup.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoThumbsup extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/toggle-filled.d.ts b/react-icons/io/toggle-filled.d.ts index fa53a3270c..8a15cfc117 100644 --- a/react-icons/io/toggle-filled.d.ts +++ b/react-icons/io/toggle-filled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoToggleFilled extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/toggle.d.ts b/react-icons/io/toggle.d.ts index a47e348928..ca97228b50 100644 --- a/react-icons/io/toggle.d.ts +++ b/react-icons/io/toggle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoToggle extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/transgender.d.ts b/react-icons/io/transgender.d.ts index f844d58ded..f33634b408 100644 --- a/react-icons/io/transgender.d.ts +++ b/react-icons/io/transgender.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoTransgender extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/trash-a.d.ts b/react-icons/io/trash-a.d.ts index 1e9289c450..99583c1d83 100644 --- a/react-icons/io/trash-a.d.ts +++ b/react-icons/io/trash-a.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoTrashA extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/trash-b.d.ts b/react-icons/io/trash-b.d.ts index b83fb80c6e..ef38e67a6d 100644 --- a/react-icons/io/trash-b.d.ts +++ b/react-icons/io/trash-b.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoTrashB extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/trophy.d.ts b/react-icons/io/trophy.d.ts index 190f41f4f0..8c8813e494 100644 --- a/react-icons/io/trophy.d.ts +++ b/react-icons/io/trophy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoTrophy extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/tshirt-outline.d.ts b/react-icons/io/tshirt-outline.d.ts index 9abb8d8855..46e02a6601 100644 --- a/react-icons/io/tshirt-outline.d.ts +++ b/react-icons/io/tshirt-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoTshirtOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/tshirt.d.ts b/react-icons/io/tshirt.d.ts index 2542976a4a..dda96fb87f 100644 --- a/react-icons/io/tshirt.d.ts +++ b/react-icons/io/tshirt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoTshirt extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/umbrella.d.ts b/react-icons/io/umbrella.d.ts index 4ce53a4254..833822ae0e 100644 --- a/react-icons/io/umbrella.d.ts +++ b/react-icons/io/umbrella.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoUmbrella extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/university.d.ts b/react-icons/io/university.d.ts index a4d09ec898..9cda36aea6 100644 --- a/react-icons/io/university.d.ts +++ b/react-icons/io/university.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoUniversity extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/unlocked.d.ts b/react-icons/io/unlocked.d.ts index e64b8c24ab..7889eead25 100644 --- a/react-icons/io/unlocked.d.ts +++ b/react-icons/io/unlocked.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoUnlocked extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/upload.d.ts b/react-icons/io/upload.d.ts index e75aea206a..7cf6ab8809 100644 --- a/react-icons/io/upload.d.ts +++ b/react-icons/io/upload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoUpload extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/usb.d.ts b/react-icons/io/usb.d.ts index 261e94feaf..9f1f993f0f 100644 --- a/react-icons/io/usb.d.ts +++ b/react-icons/io/usb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoUsb extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/videocamera.d.ts b/react-icons/io/videocamera.d.ts index 95e509bff3..2139a133c8 100644 --- a/react-icons/io/videocamera.d.ts +++ b/react-icons/io/videocamera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoVideocamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/volume-high.d.ts b/react-icons/io/volume-high.d.ts index a6d53f534f..3f74606653 100644 --- a/react-icons/io/volume-high.d.ts +++ b/react-icons/io/volume-high.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoVolumeHigh extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/volume-low.d.ts b/react-icons/io/volume-low.d.ts index d2ed4cfc86..7d2fe40601 100644 --- a/react-icons/io/volume-low.d.ts +++ b/react-icons/io/volume-low.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoVolumeLow extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/volume-medium.d.ts b/react-icons/io/volume-medium.d.ts index 353822883d..c49f51c704 100644 --- a/react-icons/io/volume-medium.d.ts +++ b/react-icons/io/volume-medium.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoVolumeMedium extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/volume-mute.d.ts b/react-icons/io/volume-mute.d.ts index 82ed44e8f9..3dd3b649db 100644 --- a/react-icons/io/volume-mute.d.ts +++ b/react-icons/io/volume-mute.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoVolumeMute extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/wand.d.ts b/react-icons/io/wand.d.ts index 4f3270455e..e66356d944 100644 --- a/react-icons/io/wand.d.ts +++ b/react-icons/io/wand.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoWand extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/waterdrop.d.ts b/react-icons/io/waterdrop.d.ts index 5f0685a85d..a4cb424719 100644 --- a/react-icons/io/waterdrop.d.ts +++ b/react-icons/io/waterdrop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoWaterdrop extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/wifi.d.ts b/react-icons/io/wifi.d.ts index 8732a95264..5ca80ad571 100644 --- a/react-icons/io/wifi.d.ts +++ b/react-icons/io/wifi.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoWifi extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/wineglass.d.ts b/react-icons/io/wineglass.d.ts index c196ca273f..40baadf053 100644 --- a/react-icons/io/wineglass.d.ts +++ b/react-icons/io/wineglass.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoWineglass extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/woman.d.ts b/react-icons/io/woman.d.ts index 1359d9cf99..12c5aa9a4b 100644 --- a/react-icons/io/woman.d.ts +++ b/react-icons/io/woman.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoWoman extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/wrench.d.ts b/react-icons/io/wrench.d.ts index 24b1b59d4a..8cf4dd3b05 100644 --- a/react-icons/io/wrench.d.ts +++ b/react-icons/io/wrench.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoWrench extends React.Component { } \ No newline at end of file diff --git a/react-icons/io/xbox.d.ts b/react-icons/io/xbox.d.ts index 86eb5706e0..2bcc1b7821 100644 --- a/react-icons/io/xbox.d.ts +++ b/react-icons/io/xbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class IoXbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/3d-rotation.d.ts b/react-icons/md/3d-rotation.d.ts index 19e765ab5f..5baf87cc8f 100644 --- a/react-icons/md/3d-rotation.d.ts +++ b/react-icons/md/3d-rotation.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class Md3dRotation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/ac-unit.d.ts b/react-icons/md/ac-unit.d.ts index 58bedaa746..d669f407c6 100644 --- a/react-icons/md/ac-unit.d.ts +++ b/react-icons/md/ac-unit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAcUnit extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/access-alarm.d.ts b/react-icons/md/access-alarm.d.ts index 119b5519db..6e71f6f2e0 100644 --- a/react-icons/md/access-alarm.d.ts +++ b/react-icons/md/access-alarm.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAccessAlarm extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/access-alarms.d.ts b/react-icons/md/access-alarms.d.ts index 0ea0447905..564449ef7a 100644 --- a/react-icons/md/access-alarms.d.ts +++ b/react-icons/md/access-alarms.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAccessAlarms extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/access-time.d.ts b/react-icons/md/access-time.d.ts index 38b2738390..d1fcbc1a3b 100644 --- a/react-icons/md/access-time.d.ts +++ b/react-icons/md/access-time.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAccessTime extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/accessibility.d.ts b/react-icons/md/accessibility.d.ts index 278057de76..959140dcca 100644 --- a/react-icons/md/accessibility.d.ts +++ b/react-icons/md/accessibility.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAccessibility extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/accessible.d.ts b/react-icons/md/accessible.d.ts index 6893d94002..b400b48ede 100644 --- a/react-icons/md/accessible.d.ts +++ b/react-icons/md/accessible.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAccessible extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/account-balance-wallet.d.ts b/react-icons/md/account-balance-wallet.d.ts index ce4a3289f4..069f34a720 100644 --- a/react-icons/md/account-balance-wallet.d.ts +++ b/react-icons/md/account-balance-wallet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAccountBalanceWallet extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/account-balance.d.ts b/react-icons/md/account-balance.d.ts index 457d0bb081..37303d1f6e 100644 --- a/react-icons/md/account-balance.d.ts +++ b/react-icons/md/account-balance.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAccountBalance extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/account-box.d.ts b/react-icons/md/account-box.d.ts index f4f3d1adf5..44c8595e78 100644 --- a/react-icons/md/account-box.d.ts +++ b/react-icons/md/account-box.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAccountBox extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/account-circle.d.ts b/react-icons/md/account-circle.d.ts index f9743e9304..0a807530f2 100644 --- a/react-icons/md/account-circle.d.ts +++ b/react-icons/md/account-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAccountCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/adb.d.ts b/react-icons/md/adb.d.ts index f35bce79fa..3af7d58662 100644 --- a/react-icons/md/adb.d.ts +++ b/react-icons/md/adb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAdb extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add-a-photo.d.ts b/react-icons/md/add-a-photo.d.ts index e9709bb745..6331a3bbc7 100644 --- a/react-icons/md/add-a-photo.d.ts +++ b/react-icons/md/add-a-photo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAddAPhoto extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add-alarm.d.ts b/react-icons/md/add-alarm.d.ts index 443f68dbea..f506cb3b1d 100644 --- a/react-icons/md/add-alarm.d.ts +++ b/react-icons/md/add-alarm.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAddAlarm extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add-alert.d.ts b/react-icons/md/add-alert.d.ts index cb594072d0..df41f36259 100644 --- a/react-icons/md/add-alert.d.ts +++ b/react-icons/md/add-alert.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAddAlert extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add-box.d.ts b/react-icons/md/add-box.d.ts index e37e29e4de..dfe7770e8b 100644 --- a/react-icons/md/add-box.d.ts +++ b/react-icons/md/add-box.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAddBox extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add-circle-outline.d.ts b/react-icons/md/add-circle-outline.d.ts index 4114c83a51..d30180b3e9 100644 --- a/react-icons/md/add-circle-outline.d.ts +++ b/react-icons/md/add-circle-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAddCircleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add-circle.d.ts b/react-icons/md/add-circle.d.ts index 32b0438ccc..9a4d37755f 100644 --- a/react-icons/md/add-circle.d.ts +++ b/react-icons/md/add-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAddCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add-location.d.ts b/react-icons/md/add-location.d.ts index c028f1852a..541b279478 100644 --- a/react-icons/md/add-location.d.ts +++ b/react-icons/md/add-location.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAddLocation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add-shopping-cart.d.ts b/react-icons/md/add-shopping-cart.d.ts index adbbd1821b..2f61871b11 100644 --- a/react-icons/md/add-shopping-cart.d.ts +++ b/react-icons/md/add-shopping-cart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAddShoppingCart extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add-to-photos.d.ts b/react-icons/md/add-to-photos.d.ts index 7e8c00f276..9082ede1c2 100644 --- a/react-icons/md/add-to-photos.d.ts +++ b/react-icons/md/add-to-photos.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAddToPhotos extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add-to-queue.d.ts b/react-icons/md/add-to-queue.d.ts index ca3cad9f74..7f75c27f7f 100644 --- a/react-icons/md/add-to-queue.d.ts +++ b/react-icons/md/add-to-queue.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAddToQueue extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/add.d.ts b/react-icons/md/add.d.ts index f5cbee9adc..3e4a377de5 100644 --- a/react-icons/md/add.d.ts +++ b/react-icons/md/add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/adjust.d.ts b/react-icons/md/adjust.d.ts index 1a52fcd840..1f83a46a10 100644 --- a/react-icons/md/adjust.d.ts +++ b/react-icons/md/adjust.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAdjust extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airline-seat-flat-angled.d.ts b/react-icons/md/airline-seat-flat-angled.d.ts index 63ee4a6362..2b6e6ddda8 100644 --- a/react-icons/md/airline-seat-flat-angled.d.ts +++ b/react-icons/md/airline-seat-flat-angled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirlineSeatFlatAngled extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airline-seat-flat.d.ts b/react-icons/md/airline-seat-flat.d.ts index 165a767f3e..5856f07d62 100644 --- a/react-icons/md/airline-seat-flat.d.ts +++ b/react-icons/md/airline-seat-flat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirlineSeatFlat extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airline-seat-individual-suite.d.ts b/react-icons/md/airline-seat-individual-suite.d.ts index d230031301..ef1d9fa50e 100644 --- a/react-icons/md/airline-seat-individual-suite.d.ts +++ b/react-icons/md/airline-seat-individual-suite.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirlineSeatIndividualSuite extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airline-seat-legroom-extra.d.ts b/react-icons/md/airline-seat-legroom-extra.d.ts index 6f3bd28393..f67bfc9f91 100644 --- a/react-icons/md/airline-seat-legroom-extra.d.ts +++ b/react-icons/md/airline-seat-legroom-extra.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirlineSeatLegroomExtra extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airline-seat-legroom-normal.d.ts b/react-icons/md/airline-seat-legroom-normal.d.ts index 35a8c00596..a265014d4a 100644 --- a/react-icons/md/airline-seat-legroom-normal.d.ts +++ b/react-icons/md/airline-seat-legroom-normal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirlineSeatLegroomNormal extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airline-seat-legroom-reduced.d.ts b/react-icons/md/airline-seat-legroom-reduced.d.ts index 0fb47f4dc9..eecdfec1cb 100644 --- a/react-icons/md/airline-seat-legroom-reduced.d.ts +++ b/react-icons/md/airline-seat-legroom-reduced.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirlineSeatLegroomReduced extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airline-seat-recline-extra.d.ts b/react-icons/md/airline-seat-recline-extra.d.ts index 3af6223633..572f269aa1 100644 --- a/react-icons/md/airline-seat-recline-extra.d.ts +++ b/react-icons/md/airline-seat-recline-extra.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirlineSeatReclineExtra extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airline-seat-recline-normal.d.ts b/react-icons/md/airline-seat-recline-normal.d.ts index 2b7e334ee0..1ed876d358 100644 --- a/react-icons/md/airline-seat-recline-normal.d.ts +++ b/react-icons/md/airline-seat-recline-normal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirlineSeatReclineNormal extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airplanemode-active.d.ts b/react-icons/md/airplanemode-active.d.ts index c94a1b43ba..484f778a58 100644 --- a/react-icons/md/airplanemode-active.d.ts +++ b/react-icons/md/airplanemode-active.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirplanemodeActive extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airplanemode-inactive.d.ts b/react-icons/md/airplanemode-inactive.d.ts index 3e786eedc2..635a12bdef 100644 --- a/react-icons/md/airplanemode-inactive.d.ts +++ b/react-icons/md/airplanemode-inactive.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirplanemodeInactive extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airplay.d.ts b/react-icons/md/airplay.d.ts index 5ff9ea4f74..cec2a78401 100644 --- a/react-icons/md/airplay.d.ts +++ b/react-icons/md/airplay.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirplay extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/airport-shuttle.d.ts b/react-icons/md/airport-shuttle.d.ts index b9c472bd4a..9a32318974 100644 --- a/react-icons/md/airport-shuttle.d.ts +++ b/react-icons/md/airport-shuttle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAirportShuttle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/alarm-add.d.ts b/react-icons/md/alarm-add.d.ts index c8eaf5d017..a28d930d1a 100644 --- a/react-icons/md/alarm-add.d.ts +++ b/react-icons/md/alarm-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAlarmAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/alarm-off.d.ts b/react-icons/md/alarm-off.d.ts index 6c9583ea6d..a0536d3b15 100644 --- a/react-icons/md/alarm-off.d.ts +++ b/react-icons/md/alarm-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAlarmOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/alarm-on.d.ts b/react-icons/md/alarm-on.d.ts index 2ae4c856fd..a932fbc804 100644 --- a/react-icons/md/alarm-on.d.ts +++ b/react-icons/md/alarm-on.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAlarmOn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/alarm.d.ts b/react-icons/md/alarm.d.ts index 8850827bf8..d4a7a5d483 100644 --- a/react-icons/md/alarm.d.ts +++ b/react-icons/md/alarm.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAlarm extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/album.d.ts b/react-icons/md/album.d.ts index 0706d24c4f..1c1467ab44 100644 --- a/react-icons/md/album.d.ts +++ b/react-icons/md/album.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAlbum extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/all-inclusive.d.ts b/react-icons/md/all-inclusive.d.ts index 29636993ed..813bd4d797 100644 --- a/react-icons/md/all-inclusive.d.ts +++ b/react-icons/md/all-inclusive.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAllInclusive extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/all-out.d.ts b/react-icons/md/all-out.d.ts index 7d9c85efdf..3e35f2ce02 100644 --- a/react-icons/md/all-out.d.ts +++ b/react-icons/md/all-out.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAllOut extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/android.d.ts b/react-icons/md/android.d.ts index cd501a7c56..ff487c07af 100644 --- a/react-icons/md/android.d.ts +++ b/react-icons/md/android.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAndroid extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/announcement.d.ts b/react-icons/md/announcement.d.ts index 6dd45cf8fc..0b94b6aae5 100644 --- a/react-icons/md/announcement.d.ts +++ b/react-icons/md/announcement.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAnnouncement extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/apps.d.ts b/react-icons/md/apps.d.ts index e606dd5002..e57589f5de 100644 --- a/react-icons/md/apps.d.ts +++ b/react-icons/md/apps.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdApps extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/archive.d.ts b/react-icons/md/archive.d.ts index f11b161368..2054cc628a 100644 --- a/react-icons/md/archive.d.ts +++ b/react-icons/md/archive.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdArchive extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/arrow-back.d.ts b/react-icons/md/arrow-back.d.ts index e8e01df8b0..3d13fb04fd 100644 --- a/react-icons/md/arrow-back.d.ts +++ b/react-icons/md/arrow-back.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdArrowBack extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/arrow-downward.d.ts b/react-icons/md/arrow-downward.d.ts index 8d8425f3ec..3bf892322b 100644 --- a/react-icons/md/arrow-downward.d.ts +++ b/react-icons/md/arrow-downward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdArrowDownward extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/arrow-drop-down-circle.d.ts b/react-icons/md/arrow-drop-down-circle.d.ts index f8ccf1da95..506de19fbf 100644 --- a/react-icons/md/arrow-drop-down-circle.d.ts +++ b/react-icons/md/arrow-drop-down-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdArrowDropDownCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/arrow-drop-down.d.ts b/react-icons/md/arrow-drop-down.d.ts index 3e84ea4edb..1c8335c4af 100644 --- a/react-icons/md/arrow-drop-down.d.ts +++ b/react-icons/md/arrow-drop-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdArrowDropDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/arrow-drop-up.d.ts b/react-icons/md/arrow-drop-up.d.ts index 0d0ea12f7d..fd156f6207 100644 --- a/react-icons/md/arrow-drop-up.d.ts +++ b/react-icons/md/arrow-drop-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdArrowDropUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/arrow-forward.d.ts b/react-icons/md/arrow-forward.d.ts index 77ec2664cd..ccf6f2b6c4 100644 --- a/react-icons/md/arrow-forward.d.ts +++ b/react-icons/md/arrow-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdArrowForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/arrow-upward.d.ts b/react-icons/md/arrow-upward.d.ts index c310093ef3..7df406cc3e 100644 --- a/react-icons/md/arrow-upward.d.ts +++ b/react-icons/md/arrow-upward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdArrowUpward extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/art-track.d.ts b/react-icons/md/art-track.d.ts index aac05766d3..b8dee6f0e4 100644 --- a/react-icons/md/art-track.d.ts +++ b/react-icons/md/art-track.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdArtTrack extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/aspect-ratio.d.ts b/react-icons/md/aspect-ratio.d.ts index dfba6900ad..f3436d9234 100644 --- a/react-icons/md/aspect-ratio.d.ts +++ b/react-icons/md/aspect-ratio.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAspectRatio extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/assessment.d.ts b/react-icons/md/assessment.d.ts index 9a5b370b5d..5767a7213f 100644 --- a/react-icons/md/assessment.d.ts +++ b/react-icons/md/assessment.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAssessment extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/assignment-ind.d.ts b/react-icons/md/assignment-ind.d.ts index 173222418a..545bbbf6fd 100644 --- a/react-icons/md/assignment-ind.d.ts +++ b/react-icons/md/assignment-ind.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAssignmentInd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/assignment-late.d.ts b/react-icons/md/assignment-late.d.ts index 04c04762ff..6b1024669d 100644 --- a/react-icons/md/assignment-late.d.ts +++ b/react-icons/md/assignment-late.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAssignmentLate extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/assignment-return.d.ts b/react-icons/md/assignment-return.d.ts index 77bac5b502..33be1d9c7c 100644 --- a/react-icons/md/assignment-return.d.ts +++ b/react-icons/md/assignment-return.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAssignmentReturn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/assignment-returned.d.ts b/react-icons/md/assignment-returned.d.ts index 0f98090ed3..7033893557 100644 --- a/react-icons/md/assignment-returned.d.ts +++ b/react-icons/md/assignment-returned.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAssignmentReturned extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/assignment-turned-in.d.ts b/react-icons/md/assignment-turned-in.d.ts index 5a39d4a04c..f29ab08efd 100644 --- a/react-icons/md/assignment-turned-in.d.ts +++ b/react-icons/md/assignment-turned-in.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAssignmentTurnedIn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/assignment.d.ts b/react-icons/md/assignment.d.ts index c44a9712e2..f9301311a9 100644 --- a/react-icons/md/assignment.d.ts +++ b/react-icons/md/assignment.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAssignment extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/assistant-photo.d.ts b/react-icons/md/assistant-photo.d.ts index 03c8221f9d..eb92371118 100644 --- a/react-icons/md/assistant-photo.d.ts +++ b/react-icons/md/assistant-photo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAssistantPhoto extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/assistant.d.ts b/react-icons/md/assistant.d.ts index dfa373633a..cd2ebe0ddb 100644 --- a/react-icons/md/assistant.d.ts +++ b/react-icons/md/assistant.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAssistant extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/attach-file.d.ts b/react-icons/md/attach-file.d.ts index d6bd375aa6..13e5dd8128 100644 --- a/react-icons/md/attach-file.d.ts +++ b/react-icons/md/attach-file.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAttachFile extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/attach-money.d.ts b/react-icons/md/attach-money.d.ts index 2547240b9b..daac66a11f 100644 --- a/react-icons/md/attach-money.d.ts +++ b/react-icons/md/attach-money.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAttachMoney extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/attachment.d.ts b/react-icons/md/attachment.d.ts index 319803626d..d0183021e8 100644 --- a/react-icons/md/attachment.d.ts +++ b/react-icons/md/attachment.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAttachment extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/audiotrack.d.ts b/react-icons/md/audiotrack.d.ts index a7dcac4f5b..4ff4b05d0b 100644 --- a/react-icons/md/audiotrack.d.ts +++ b/react-icons/md/audiotrack.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAudiotrack extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/autorenew.d.ts b/react-icons/md/autorenew.d.ts index d6d3ad5882..a1f18e85ec 100644 --- a/react-icons/md/autorenew.d.ts +++ b/react-icons/md/autorenew.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAutorenew extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/av-timer.d.ts b/react-icons/md/av-timer.d.ts index dc2123ce77..2577275bd7 100644 --- a/react-icons/md/av-timer.d.ts +++ b/react-icons/md/av-timer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdAvTimer extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/backspace.d.ts b/react-icons/md/backspace.d.ts index 2f2b351a08..527260ef66 100644 --- a/react-icons/md/backspace.d.ts +++ b/react-icons/md/backspace.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBackspace extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/backup.d.ts b/react-icons/md/backup.d.ts index 9ebfb6e163..8ac15863a9 100644 --- a/react-icons/md/backup.d.ts +++ b/react-icons/md/backup.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBackup extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/battery-alert.d.ts b/react-icons/md/battery-alert.d.ts index 416976e8da..c73b0d78ed 100644 --- a/react-icons/md/battery-alert.d.ts +++ b/react-icons/md/battery-alert.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBatteryAlert extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/battery-charging-full.d.ts b/react-icons/md/battery-charging-full.d.ts index 382a0fd32d..a95817ec91 100644 --- a/react-icons/md/battery-charging-full.d.ts +++ b/react-icons/md/battery-charging-full.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBatteryChargingFull extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/battery-full.d.ts b/react-icons/md/battery-full.d.ts index 34e16d5cec..07eb211980 100644 --- a/react-icons/md/battery-full.d.ts +++ b/react-icons/md/battery-full.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBatteryFull extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/battery-std.d.ts b/react-icons/md/battery-std.d.ts index a8d6b896f7..59d3a7ccc1 100644 --- a/react-icons/md/battery-std.d.ts +++ b/react-icons/md/battery-std.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBatteryStd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/battery-unknown.d.ts b/react-icons/md/battery-unknown.d.ts index b46f9ffd27..70d9743358 100644 --- a/react-icons/md/battery-unknown.d.ts +++ b/react-icons/md/battery-unknown.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBatteryUnknown extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/beach-access.d.ts b/react-icons/md/beach-access.d.ts index cda4a2440f..59d2e62b0d 100644 --- a/react-icons/md/beach-access.d.ts +++ b/react-icons/md/beach-access.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBeachAccess extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/beenhere.d.ts b/react-icons/md/beenhere.d.ts index 5a222aed28..f7b37702bd 100644 --- a/react-icons/md/beenhere.d.ts +++ b/react-icons/md/beenhere.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBeenhere extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/block.d.ts b/react-icons/md/block.d.ts index 60f382ec29..12d1546762 100644 --- a/react-icons/md/block.d.ts +++ b/react-icons/md/block.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBlock extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/bluetooth-audio.d.ts b/react-icons/md/bluetooth-audio.d.ts index 64b2d08e95..5f5e959350 100644 --- a/react-icons/md/bluetooth-audio.d.ts +++ b/react-icons/md/bluetooth-audio.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBluetoothAudio extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/bluetooth-connected.d.ts b/react-icons/md/bluetooth-connected.d.ts index 152f72af9c..a9b116dc26 100644 --- a/react-icons/md/bluetooth-connected.d.ts +++ b/react-icons/md/bluetooth-connected.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBluetoothConnected extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/bluetooth-disabled.d.ts b/react-icons/md/bluetooth-disabled.d.ts index 16787e69be..4f7ec1af73 100644 --- a/react-icons/md/bluetooth-disabled.d.ts +++ b/react-icons/md/bluetooth-disabled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBluetoothDisabled extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/bluetooth-searching.d.ts b/react-icons/md/bluetooth-searching.d.ts index 915fcdbe3b..279edd6f58 100644 --- a/react-icons/md/bluetooth-searching.d.ts +++ b/react-icons/md/bluetooth-searching.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBluetoothSearching extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/bluetooth.d.ts b/react-icons/md/bluetooth.d.ts index 6d3d10d0df..756729b2a8 100644 --- a/react-icons/md/bluetooth.d.ts +++ b/react-icons/md/bluetooth.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBluetooth extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/blur-circular.d.ts b/react-icons/md/blur-circular.d.ts index 932925a316..73c798bee2 100644 --- a/react-icons/md/blur-circular.d.ts +++ b/react-icons/md/blur-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBlurCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/blur-linear.d.ts b/react-icons/md/blur-linear.d.ts index 0a72b6c6a6..8e719b5641 100644 --- a/react-icons/md/blur-linear.d.ts +++ b/react-icons/md/blur-linear.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBlurLinear extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/blur-off.d.ts b/react-icons/md/blur-off.d.ts index 4c3fce012e..b9ab1375e4 100644 --- a/react-icons/md/blur-off.d.ts +++ b/react-icons/md/blur-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBlurOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/blur-on.d.ts b/react-icons/md/blur-on.d.ts index bdfc8a53a9..512adfc9bc 100644 --- a/react-icons/md/blur-on.d.ts +++ b/react-icons/md/blur-on.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBlurOn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/book.d.ts b/react-icons/md/book.d.ts index 2a1ed10849..4c663242ee 100644 --- a/react-icons/md/book.d.ts +++ b/react-icons/md/book.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBook extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/bookmark-outline.d.ts b/react-icons/md/bookmark-outline.d.ts index 74aebf5678..93269f2fda 100644 --- a/react-icons/md/bookmark-outline.d.ts +++ b/react-icons/md/bookmark-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBookmarkOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/bookmark.d.ts b/react-icons/md/bookmark.d.ts index 2b23c0dd2f..5026dbae42 100644 --- a/react-icons/md/bookmark.d.ts +++ b/react-icons/md/bookmark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBookmark extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-all.d.ts b/react-icons/md/border-all.d.ts index 3e1d491618..efc6c0cfc4 100644 --- a/react-icons/md/border-all.d.ts +++ b/react-icons/md/border-all.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderAll extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-bottom.d.ts b/react-icons/md/border-bottom.d.ts index e19b8f3022..430d959555 100644 --- a/react-icons/md/border-bottom.d.ts +++ b/react-icons/md/border-bottom.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderBottom extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-clear.d.ts b/react-icons/md/border-clear.d.ts index e334c9af3a..d329daca54 100644 --- a/react-icons/md/border-clear.d.ts +++ b/react-icons/md/border-clear.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderClear extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-color.d.ts b/react-icons/md/border-color.d.ts index a15796c8b7..09e17e9c31 100644 --- a/react-icons/md/border-color.d.ts +++ b/react-icons/md/border-color.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderColor extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-horizontal.d.ts b/react-icons/md/border-horizontal.d.ts index 6b4a418272..c42ca432f9 100644 --- a/react-icons/md/border-horizontal.d.ts +++ b/react-icons/md/border-horizontal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderHorizontal extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-inner.d.ts b/react-icons/md/border-inner.d.ts index 5cb3a4c990..5b6f3d450d 100644 --- a/react-icons/md/border-inner.d.ts +++ b/react-icons/md/border-inner.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderInner extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-left.d.ts b/react-icons/md/border-left.d.ts index 353f7a6446..3d6de8faf2 100644 --- a/react-icons/md/border-left.d.ts +++ b/react-icons/md/border-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-outer.d.ts b/react-icons/md/border-outer.d.ts index cff1e7d824..3d5b389df7 100644 --- a/react-icons/md/border-outer.d.ts +++ b/react-icons/md/border-outer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderOuter extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-right.d.ts b/react-icons/md/border-right.d.ts index be0243dbea..5de3157ecd 100644 --- a/react-icons/md/border-right.d.ts +++ b/react-icons/md/border-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-style.d.ts b/react-icons/md/border-style.d.ts index fa54f25dd2..7703d5d7d1 100644 --- a/react-icons/md/border-style.d.ts +++ b/react-icons/md/border-style.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderStyle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-top.d.ts b/react-icons/md/border-top.d.ts index 5590914fed..8edb997586 100644 --- a/react-icons/md/border-top.d.ts +++ b/react-icons/md/border-top.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderTop extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/border-vertical.d.ts b/react-icons/md/border-vertical.d.ts index c406f3df32..3525a61d73 100644 --- a/react-icons/md/border-vertical.d.ts +++ b/react-icons/md/border-vertical.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBorderVertical extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/branding-watermark.d.ts b/react-icons/md/branding-watermark.d.ts index 9c53bc6b01..e335969ba5 100644 --- a/react-icons/md/branding-watermark.d.ts +++ b/react-icons/md/branding-watermark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrandingWatermark extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-1.d.ts b/react-icons/md/brightness-1.d.ts index ddc2ab0546..01a657f8b8 100644 --- a/react-icons/md/brightness-1.d.ts +++ b/react-icons/md/brightness-1.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightness1 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-2.d.ts b/react-icons/md/brightness-2.d.ts index 702c6bdb0c..20c54043c2 100644 --- a/react-icons/md/brightness-2.d.ts +++ b/react-icons/md/brightness-2.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightness2 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-3.d.ts b/react-icons/md/brightness-3.d.ts index 5cc3747f95..83802280a5 100644 --- a/react-icons/md/brightness-3.d.ts +++ b/react-icons/md/brightness-3.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightness3 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-4.d.ts b/react-icons/md/brightness-4.d.ts index 2ee97fd50f..73ff592ec8 100644 --- a/react-icons/md/brightness-4.d.ts +++ b/react-icons/md/brightness-4.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightness4 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-5.d.ts b/react-icons/md/brightness-5.d.ts index a7bddd84f7..919f665433 100644 --- a/react-icons/md/brightness-5.d.ts +++ b/react-icons/md/brightness-5.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightness5 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-6.d.ts b/react-icons/md/brightness-6.d.ts index 2b272f3ead..997fc7a448 100644 --- a/react-icons/md/brightness-6.d.ts +++ b/react-icons/md/brightness-6.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightness6 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-7.d.ts b/react-icons/md/brightness-7.d.ts index d46ab5ccab..53507ba1c9 100644 --- a/react-icons/md/brightness-7.d.ts +++ b/react-icons/md/brightness-7.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightness7 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-auto.d.ts b/react-icons/md/brightness-auto.d.ts index e3f0e57bf4..3332063ea5 100644 --- a/react-icons/md/brightness-auto.d.ts +++ b/react-icons/md/brightness-auto.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightnessAuto extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-high.d.ts b/react-icons/md/brightness-high.d.ts index 341ee34b20..f01da1b199 100644 --- a/react-icons/md/brightness-high.d.ts +++ b/react-icons/md/brightness-high.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightnessHigh extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-low.d.ts b/react-icons/md/brightness-low.d.ts index ee60528413..c788f55f19 100644 --- a/react-icons/md/brightness-low.d.ts +++ b/react-icons/md/brightness-low.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightnessLow extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brightness-medium.d.ts b/react-icons/md/brightness-medium.d.ts index 2be9995869..4ad2f158ef 100644 --- a/react-icons/md/brightness-medium.d.ts +++ b/react-icons/md/brightness-medium.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightnessMedium extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/broken-image.d.ts b/react-icons/md/broken-image.d.ts index 623bb33bb8..92795dd0f1 100644 --- a/react-icons/md/broken-image.d.ts +++ b/react-icons/md/broken-image.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrokenImage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/brush.d.ts b/react-icons/md/brush.d.ts index 64d753b38f..f28533ff70 100644 --- a/react-icons/md/brush.d.ts +++ b/react-icons/md/brush.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrush extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/bubble-chart.d.ts b/react-icons/md/bubble-chart.d.ts index 4cfe3aa2ae..2d6a56a805 100644 --- a/react-icons/md/bubble-chart.d.ts +++ b/react-icons/md/bubble-chart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBubbleChart extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/bug-report.d.ts b/react-icons/md/bug-report.d.ts index 0c0ec6e20e..64f831ee2f 100644 --- a/react-icons/md/bug-report.d.ts +++ b/react-icons/md/bug-report.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBugReport extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/build.d.ts b/react-icons/md/build.d.ts index 3523760005..55bf404788 100644 --- a/react-icons/md/build.d.ts +++ b/react-icons/md/build.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBuild extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/burst-mode.d.ts b/react-icons/md/burst-mode.d.ts index 3a5b696556..014e6c715e 100644 --- a/react-icons/md/burst-mode.d.ts +++ b/react-icons/md/burst-mode.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBurstMode extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/business-center.d.ts b/react-icons/md/business-center.d.ts index 26cfd38279..edb362155d 100644 --- a/react-icons/md/business-center.d.ts +++ b/react-icons/md/business-center.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBusinessCenter extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/business.d.ts b/react-icons/md/business.d.ts index ee164a1f8a..5a0f7b9cd8 100644 --- a/react-icons/md/business.d.ts +++ b/react-icons/md/business.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBusiness extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cached.d.ts b/react-icons/md/cached.d.ts index 82f1de3846..ce96b23815 100644 --- a/react-icons/md/cached.d.ts +++ b/react-icons/md/cached.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCached extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cake.d.ts b/react-icons/md/cake.d.ts index 3aec6e753d..108da6088b 100644 --- a/react-icons/md/cake.d.ts +++ b/react-icons/md/cake.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCake extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/call-end.d.ts b/react-icons/md/call-end.d.ts index 8503cd0495..72b32b3af5 100644 --- a/react-icons/md/call-end.d.ts +++ b/react-icons/md/call-end.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCallEnd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/call-made.d.ts b/react-icons/md/call-made.d.ts index e992aaa135..76cbf99806 100644 --- a/react-icons/md/call-made.d.ts +++ b/react-icons/md/call-made.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCallMade extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/call-merge.d.ts b/react-icons/md/call-merge.d.ts index 18517a6f12..233c21dfbb 100644 --- a/react-icons/md/call-merge.d.ts +++ b/react-icons/md/call-merge.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCallMerge extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/call-missed-outgoing.d.ts b/react-icons/md/call-missed-outgoing.d.ts index 3e0b2bf351..31d5be931b 100644 --- a/react-icons/md/call-missed-outgoing.d.ts +++ b/react-icons/md/call-missed-outgoing.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCallMissedOutgoing extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/call-missed.d.ts b/react-icons/md/call-missed.d.ts index 09fc83dac5..1afac7aa48 100644 --- a/react-icons/md/call-missed.d.ts +++ b/react-icons/md/call-missed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCallMissed extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/call-received.d.ts b/react-icons/md/call-received.d.ts index f7f4fd0bb9..17b7ccddd3 100644 --- a/react-icons/md/call-received.d.ts +++ b/react-icons/md/call-received.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCallReceived extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/call-split.d.ts b/react-icons/md/call-split.d.ts index 7159575113..be66cabb95 100644 --- a/react-icons/md/call-split.d.ts +++ b/react-icons/md/call-split.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCallSplit extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/call-to-action.d.ts b/react-icons/md/call-to-action.d.ts index c9a48703e6..2acb152ef9 100644 --- a/react-icons/md/call-to-action.d.ts +++ b/react-icons/md/call-to-action.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCallToAction extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/call.d.ts b/react-icons/md/call.d.ts index 1c2040ace7..0567e5901e 100644 --- a/react-icons/md/call.d.ts +++ b/react-icons/md/call.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCall extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/camera-alt.d.ts b/react-icons/md/camera-alt.d.ts index d6c3172baa..a132993c14 100644 --- a/react-icons/md/camera-alt.d.ts +++ b/react-icons/md/camera-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCameraAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/camera-enhance.d.ts b/react-icons/md/camera-enhance.d.ts index 28d3e6a791..ad66f838b7 100644 --- a/react-icons/md/camera-enhance.d.ts +++ b/react-icons/md/camera-enhance.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCameraEnhance extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/camera-front.d.ts b/react-icons/md/camera-front.d.ts index 8e8285e738..d1c9b610d2 100644 --- a/react-icons/md/camera-front.d.ts +++ b/react-icons/md/camera-front.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCameraFront extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/camera-rear.d.ts b/react-icons/md/camera-rear.d.ts index 4968c3246e..4f03a6090b 100644 --- a/react-icons/md/camera-rear.d.ts +++ b/react-icons/md/camera-rear.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCameraRear extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/camera-roll.d.ts b/react-icons/md/camera-roll.d.ts index 938cc391c0..48ad74db02 100644 --- a/react-icons/md/camera-roll.d.ts +++ b/react-icons/md/camera-roll.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCameraRoll extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/camera.d.ts b/react-icons/md/camera.d.ts index 59820447fa..45543b6be5 100644 --- a/react-icons/md/camera.d.ts +++ b/react-icons/md/camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cancel.d.ts b/react-icons/md/cancel.d.ts index d7bd231cf6..3532c847c4 100644 --- a/react-icons/md/cancel.d.ts +++ b/react-icons/md/cancel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCancel extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/card-giftcard.d.ts b/react-icons/md/card-giftcard.d.ts index bb35b79ab4..c85b7ff87c 100644 --- a/react-icons/md/card-giftcard.d.ts +++ b/react-icons/md/card-giftcard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCardGiftcard extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/card-membership.d.ts b/react-icons/md/card-membership.d.ts index e1c995c8d6..5027205ed9 100644 --- a/react-icons/md/card-membership.d.ts +++ b/react-icons/md/card-membership.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCardMembership extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/card-travel.d.ts b/react-icons/md/card-travel.d.ts index cf5f4b444e..b0f8cba9aa 100644 --- a/react-icons/md/card-travel.d.ts +++ b/react-icons/md/card-travel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCardTravel extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/casino.d.ts b/react-icons/md/casino.d.ts index 020c36edf7..cffd6a65f2 100644 --- a/react-icons/md/casino.d.ts +++ b/react-icons/md/casino.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCasino extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cast-connected.d.ts b/react-icons/md/cast-connected.d.ts index e9092f7d0e..e135e44ddc 100644 --- a/react-icons/md/cast-connected.d.ts +++ b/react-icons/md/cast-connected.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCastConnected extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cast.d.ts b/react-icons/md/cast.d.ts index 61fc21f368..36272af852 100644 --- a/react-icons/md/cast.d.ts +++ b/react-icons/md/cast.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCast extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/center-focus-strong.d.ts b/react-icons/md/center-focus-strong.d.ts index 3ec0dac572..be09082391 100644 --- a/react-icons/md/center-focus-strong.d.ts +++ b/react-icons/md/center-focus-strong.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCenterFocusStrong extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/center-focus-weak.d.ts b/react-icons/md/center-focus-weak.d.ts index 1ee251df6a..4e8bfe29bd 100644 --- a/react-icons/md/center-focus-weak.d.ts +++ b/react-icons/md/center-focus-weak.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCenterFocusWeak extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/change-history.d.ts b/react-icons/md/change-history.d.ts index 03b54bf9cb..42705e708e 100644 --- a/react-icons/md/change-history.d.ts +++ b/react-icons/md/change-history.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdChangeHistory extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/chat-bubble-outline.d.ts b/react-icons/md/chat-bubble-outline.d.ts index 1f9bfe9cd8..1069d91d64 100644 --- a/react-icons/md/chat-bubble-outline.d.ts +++ b/react-icons/md/chat-bubble-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdChatBubbleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/chat-bubble.d.ts b/react-icons/md/chat-bubble.d.ts index 1e22764d25..bb4d2bbc1b 100644 --- a/react-icons/md/chat-bubble.d.ts +++ b/react-icons/md/chat-bubble.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdChatBubble extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/chat.d.ts b/react-icons/md/chat.d.ts index 1ffa7a2243..e3d34d7930 100644 --- a/react-icons/md/chat.d.ts +++ b/react-icons/md/chat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdChat extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/check-box-outline-blank.d.ts b/react-icons/md/check-box-outline-blank.d.ts index 634bdf2a2c..50caae8229 100644 --- a/react-icons/md/check-box-outline-blank.d.ts +++ b/react-icons/md/check-box-outline-blank.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCheckBoxOutlineBlank extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/check-box.d.ts b/react-icons/md/check-box.d.ts index ed7930efd9..dce7bcf698 100644 --- a/react-icons/md/check-box.d.ts +++ b/react-icons/md/check-box.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCheckBox extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/check-circle.d.ts b/react-icons/md/check-circle.d.ts index de13aaafb5..fae81f60d8 100644 --- a/react-icons/md/check-circle.d.ts +++ b/react-icons/md/check-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCheckCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/check.d.ts b/react-icons/md/check.d.ts index 01cff35374..e15b5b55e9 100644 --- a/react-icons/md/check.d.ts +++ b/react-icons/md/check.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCheck extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/chevron-left.d.ts b/react-icons/md/chevron-left.d.ts index f035ad104c..47bb5bf24d 100644 --- a/react-icons/md/chevron-left.d.ts +++ b/react-icons/md/chevron-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdChevronLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/chevron-right.d.ts b/react-icons/md/chevron-right.d.ts index 20d2ea43a5..cf22f73890 100644 --- a/react-icons/md/chevron-right.d.ts +++ b/react-icons/md/chevron-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdChevronRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/child-care.d.ts b/react-icons/md/child-care.d.ts index 055ad660fc..024cf1ffbc 100644 --- a/react-icons/md/child-care.d.ts +++ b/react-icons/md/child-care.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdChildCare extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/child-friendly.d.ts b/react-icons/md/child-friendly.d.ts index 34745844d6..dd1f8c0644 100644 --- a/react-icons/md/child-friendly.d.ts +++ b/react-icons/md/child-friendly.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdChildFriendly extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/chrome-reader-mode.d.ts b/react-icons/md/chrome-reader-mode.d.ts index a8cbcaf328..079311a10e 100644 --- a/react-icons/md/chrome-reader-mode.d.ts +++ b/react-icons/md/chrome-reader-mode.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdChromeReaderMode extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/class.d.ts b/react-icons/md/class.d.ts index 8d027bc449..77d349f8e8 100644 --- a/react-icons/md/class.d.ts +++ b/react-icons/md/class.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdClass extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/clear-all.d.ts b/react-icons/md/clear-all.d.ts index 8fd8b0f0ef..b0fb4dd942 100644 --- a/react-icons/md/clear-all.d.ts +++ b/react-icons/md/clear-all.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdClearAll extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/clear.d.ts b/react-icons/md/clear.d.ts index 5f3d4a0ef7..379892f44e 100644 --- a/react-icons/md/clear.d.ts +++ b/react-icons/md/clear.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdClear extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/close.d.ts b/react-icons/md/close.d.ts index a505e930f1..5ddc77afae 100644 --- a/react-icons/md/close.d.ts +++ b/react-icons/md/close.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdClose extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/closed-caption.d.ts b/react-icons/md/closed-caption.d.ts index 9b473ae236..07b97ac228 100644 --- a/react-icons/md/closed-caption.d.ts +++ b/react-icons/md/closed-caption.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdClosedCaption extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cloud-circle.d.ts b/react-icons/md/cloud-circle.d.ts index 5bf3352b85..2189e3a3e0 100644 --- a/react-icons/md/cloud-circle.d.ts +++ b/react-icons/md/cloud-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCloudCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cloud-done.d.ts b/react-icons/md/cloud-done.d.ts index 337188364b..39367a4ca4 100644 --- a/react-icons/md/cloud-done.d.ts +++ b/react-icons/md/cloud-done.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCloudDone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cloud-download.d.ts b/react-icons/md/cloud-download.d.ts index 96b778b938..8808610991 100644 --- a/react-icons/md/cloud-download.d.ts +++ b/react-icons/md/cloud-download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCloudDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cloud-off.d.ts b/react-icons/md/cloud-off.d.ts index 8679a3a2d6..dd09a7cc0f 100644 --- a/react-icons/md/cloud-off.d.ts +++ b/react-icons/md/cloud-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCloudOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cloud-queue.d.ts b/react-icons/md/cloud-queue.d.ts index 6348b0cc53..f0dd8112fd 100644 --- a/react-icons/md/cloud-queue.d.ts +++ b/react-icons/md/cloud-queue.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCloudQueue extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cloud-upload.d.ts b/react-icons/md/cloud-upload.d.ts index 301b539cfb..0f753ded53 100644 --- a/react-icons/md/cloud-upload.d.ts +++ b/react-icons/md/cloud-upload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCloudUpload extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/cloud.d.ts b/react-icons/md/cloud.d.ts index c3bddc054c..0a2e5d2e72 100644 --- a/react-icons/md/cloud.d.ts +++ b/react-icons/md/cloud.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCloud extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/code.d.ts b/react-icons/md/code.d.ts index d0a339c9cb..223fd7470c 100644 --- a/react-icons/md/code.d.ts +++ b/react-icons/md/code.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCode extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/collections-bookmark.d.ts b/react-icons/md/collections-bookmark.d.ts index e0c0a7c17e..c3e5511547 100644 --- a/react-icons/md/collections-bookmark.d.ts +++ b/react-icons/md/collections-bookmark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCollectionsBookmark extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/collections.d.ts b/react-icons/md/collections.d.ts index 8b977ef58f..7df8054631 100644 --- a/react-icons/md/collections.d.ts +++ b/react-icons/md/collections.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCollections extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/color-lens.d.ts b/react-icons/md/color-lens.d.ts index e436db591e..8109a0cfd5 100644 --- a/react-icons/md/color-lens.d.ts +++ b/react-icons/md/color-lens.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdColorLens extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/colorize.d.ts b/react-icons/md/colorize.d.ts index a6fe6863b3..3fc584ee0e 100644 --- a/react-icons/md/colorize.d.ts +++ b/react-icons/md/colorize.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdColorize extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/comment.d.ts b/react-icons/md/comment.d.ts index 1e97d4cb01..4625d9cf85 100644 --- a/react-icons/md/comment.d.ts +++ b/react-icons/md/comment.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdComment extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/compare-arrows.d.ts b/react-icons/md/compare-arrows.d.ts index 61420ba2c4..c75289f9e4 100644 --- a/react-icons/md/compare-arrows.d.ts +++ b/react-icons/md/compare-arrows.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCompareArrows extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/compare.d.ts b/react-icons/md/compare.d.ts index 6240434f3c..df7a941715 100644 --- a/react-icons/md/compare.d.ts +++ b/react-icons/md/compare.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCompare extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/computer.d.ts b/react-icons/md/computer.d.ts index 9d72743312..abc78fc8f3 100644 --- a/react-icons/md/computer.d.ts +++ b/react-icons/md/computer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdComputer extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/confirmation-number.d.ts b/react-icons/md/confirmation-number.d.ts index e5a74280b2..8fcd093d84 100644 --- a/react-icons/md/confirmation-number.d.ts +++ b/react-icons/md/confirmation-number.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdConfirmationNumber extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/contact-mail.d.ts b/react-icons/md/contact-mail.d.ts index 0ade90df21..f9d8712b87 100644 --- a/react-icons/md/contact-mail.d.ts +++ b/react-icons/md/contact-mail.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdContactMail extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/contact-phone.d.ts b/react-icons/md/contact-phone.d.ts index cd298779c2..c190b95d8a 100644 --- a/react-icons/md/contact-phone.d.ts +++ b/react-icons/md/contact-phone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdContactPhone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/contacts.d.ts b/react-icons/md/contacts.d.ts index b21ebeadcf..75656af163 100644 --- a/react-icons/md/contacts.d.ts +++ b/react-icons/md/contacts.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdContacts extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/content-copy.d.ts b/react-icons/md/content-copy.d.ts index 1fa4c2c4e7..51d06bc2c6 100644 --- a/react-icons/md/content-copy.d.ts +++ b/react-icons/md/content-copy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdContentCopy extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/content-cut.d.ts b/react-icons/md/content-cut.d.ts index ad12a7dcbe..a81b3d8616 100644 --- a/react-icons/md/content-cut.d.ts +++ b/react-icons/md/content-cut.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdContentCut extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/content-paste.d.ts b/react-icons/md/content-paste.d.ts index 91ca107619..eb7289f95f 100644 --- a/react-icons/md/content-paste.d.ts +++ b/react-icons/md/content-paste.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdContentPaste extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/control-point-duplicate.d.ts b/react-icons/md/control-point-duplicate.d.ts index fefa78758f..721d682643 100644 --- a/react-icons/md/control-point-duplicate.d.ts +++ b/react-icons/md/control-point-duplicate.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdControlPointDuplicate extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/control-point.d.ts b/react-icons/md/control-point.d.ts index d30f5b828e..e14d664e15 100644 --- a/react-icons/md/control-point.d.ts +++ b/react-icons/md/control-point.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdControlPoint extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/copyright.d.ts b/react-icons/md/copyright.d.ts index d638a0472f..7c83106a7c 100644 --- a/react-icons/md/copyright.d.ts +++ b/react-icons/md/copyright.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCopyright extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/create-new-folder.d.ts b/react-icons/md/create-new-folder.d.ts index 6bb187aca2..ec4527cfa9 100644 --- a/react-icons/md/create-new-folder.d.ts +++ b/react-icons/md/create-new-folder.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCreateNewFolder extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/create.d.ts b/react-icons/md/create.d.ts index a844c16865..5494ec4b77 100644 --- a/react-icons/md/create.d.ts +++ b/react-icons/md/create.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCreate extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/credit-card.d.ts b/react-icons/md/credit-card.d.ts index 2518880524..47c9086839 100644 --- a/react-icons/md/credit-card.d.ts +++ b/react-icons/md/credit-card.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCreditCard extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-16-9.d.ts b/react-icons/md/crop-16-9.d.ts index 36db803d73..244308b25a 100644 --- a/react-icons/md/crop-16-9.d.ts +++ b/react-icons/md/crop-16-9.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCrop169 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-3-2.d.ts b/react-icons/md/crop-3-2.d.ts index 1a9d515e06..624060b6f9 100644 --- a/react-icons/md/crop-3-2.d.ts +++ b/react-icons/md/crop-3-2.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCrop32 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-5-4.d.ts b/react-icons/md/crop-5-4.d.ts index 8d273f0b70..da7929d07c 100644 --- a/react-icons/md/crop-5-4.d.ts +++ b/react-icons/md/crop-5-4.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCrop54 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-7-5.d.ts b/react-icons/md/crop-7-5.d.ts index b4ca3793ec..e285f6edf1 100644 --- a/react-icons/md/crop-7-5.d.ts +++ b/react-icons/md/crop-7-5.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCrop75 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-din.d.ts b/react-icons/md/crop-din.d.ts index d872be1e03..e9b99b9006 100644 --- a/react-icons/md/crop-din.d.ts +++ b/react-icons/md/crop-din.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCropDin extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-free.d.ts b/react-icons/md/crop-free.d.ts index 31b56f854b..9c7255e461 100644 --- a/react-icons/md/crop-free.d.ts +++ b/react-icons/md/crop-free.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCropFree extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-landscape.d.ts b/react-icons/md/crop-landscape.d.ts index 10a47e3100..8b36f2a8a4 100644 --- a/react-icons/md/crop-landscape.d.ts +++ b/react-icons/md/crop-landscape.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCropLandscape extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-original.d.ts b/react-icons/md/crop-original.d.ts index a5514257cb..1f4b9c7d92 100644 --- a/react-icons/md/crop-original.d.ts +++ b/react-icons/md/crop-original.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCropOriginal extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-portrait.d.ts b/react-icons/md/crop-portrait.d.ts index d18ac7c85f..19e8c65731 100644 --- a/react-icons/md/crop-portrait.d.ts +++ b/react-icons/md/crop-portrait.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCropPortrait extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-rotate.d.ts b/react-icons/md/crop-rotate.d.ts index b259775e9c..0c1eee80a5 100644 --- a/react-icons/md/crop-rotate.d.ts +++ b/react-icons/md/crop-rotate.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCropRotate extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop-square.d.ts b/react-icons/md/crop-square.d.ts index 350872f53a..bc638a6557 100644 --- a/react-icons/md/crop-square.d.ts +++ b/react-icons/md/crop-square.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCropSquare extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/crop.d.ts b/react-icons/md/crop.d.ts index 45a5438d78..84ed23905e 100644 --- a/react-icons/md/crop.d.ts +++ b/react-icons/md/crop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdCrop extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/dashboard.d.ts b/react-icons/md/dashboard.d.ts index f9bab209a4..0af8cd753a 100644 --- a/react-icons/md/dashboard.d.ts +++ b/react-icons/md/dashboard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDashboard extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/data-usage.d.ts b/react-icons/md/data-usage.d.ts index 9c74afde64..2689156d97 100644 --- a/react-icons/md/data-usage.d.ts +++ b/react-icons/md/data-usage.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDataUsage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/date-range.d.ts b/react-icons/md/date-range.d.ts index 14366e2d04..3a2bba2ffa 100644 --- a/react-icons/md/date-range.d.ts +++ b/react-icons/md/date-range.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDateRange extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/dehaze.d.ts b/react-icons/md/dehaze.d.ts index e2fdf12415..ed8589b3a0 100644 --- a/react-icons/md/dehaze.d.ts +++ b/react-icons/md/dehaze.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDehaze extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/delete-forever.d.ts b/react-icons/md/delete-forever.d.ts index a46f65ba9e..840f1dad08 100644 --- a/react-icons/md/delete-forever.d.ts +++ b/react-icons/md/delete-forever.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDeleteForever extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/delete-sweep.d.ts b/react-icons/md/delete-sweep.d.ts index 4ffc936e8a..7fe69af108 100644 --- a/react-icons/md/delete-sweep.d.ts +++ b/react-icons/md/delete-sweep.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDeleteSweep extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/delete.d.ts b/react-icons/md/delete.d.ts index 1045f39a3b..dc1f8d8bf5 100644 --- a/react-icons/md/delete.d.ts +++ b/react-icons/md/delete.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDelete extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/description.d.ts b/react-icons/md/description.d.ts index 721bb25213..9ad045edb4 100644 --- a/react-icons/md/description.d.ts +++ b/react-icons/md/description.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDescription extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/desktop-mac.d.ts b/react-icons/md/desktop-mac.d.ts index 761168179f..16f9a11877 100644 --- a/react-icons/md/desktop-mac.d.ts +++ b/react-icons/md/desktop-mac.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDesktopMac extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/desktop-windows.d.ts b/react-icons/md/desktop-windows.d.ts index 70335a5419..65bbba2972 100644 --- a/react-icons/md/desktop-windows.d.ts +++ b/react-icons/md/desktop-windows.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDesktopWindows extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/details.d.ts b/react-icons/md/details.d.ts index 1f73d98048..d8fd11ed19 100644 --- a/react-icons/md/details.d.ts +++ b/react-icons/md/details.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDetails extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/developer-board.d.ts b/react-icons/md/developer-board.d.ts index f8957b9e5f..a3d9afe014 100644 --- a/react-icons/md/developer-board.d.ts +++ b/react-icons/md/developer-board.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDeveloperBoard extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/developer-mode.d.ts b/react-icons/md/developer-mode.d.ts index 40872e163c..771a928248 100644 --- a/react-icons/md/developer-mode.d.ts +++ b/react-icons/md/developer-mode.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDeveloperMode extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/device-hub.d.ts b/react-icons/md/device-hub.d.ts index 666bca2a81..a1cd8a247b 100644 --- a/react-icons/md/device-hub.d.ts +++ b/react-icons/md/device-hub.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDeviceHub extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/devices-other.d.ts b/react-icons/md/devices-other.d.ts index 07c18026c3..c4cf71c489 100644 --- a/react-icons/md/devices-other.d.ts +++ b/react-icons/md/devices-other.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDevicesOther extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/devices.d.ts b/react-icons/md/devices.d.ts index 81946c825f..05965ed4c8 100644 --- a/react-icons/md/devices.d.ts +++ b/react-icons/md/devices.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDevices extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/dialer-sip.d.ts b/react-icons/md/dialer-sip.d.ts index b29d3be8b2..428efb3451 100644 --- a/react-icons/md/dialer-sip.d.ts +++ b/react-icons/md/dialer-sip.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDialerSip extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/dialpad.d.ts b/react-icons/md/dialpad.d.ts index 7644b13154..23046158e1 100644 --- a/react-icons/md/dialpad.d.ts +++ b/react-icons/md/dialpad.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDialpad extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions-bike.d.ts b/react-icons/md/directions-bike.d.ts index ba7c94af4a..74b2ca331d 100644 --- a/react-icons/md/directions-bike.d.ts +++ b/react-icons/md/directions-bike.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirectionsBike extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions-boat.d.ts b/react-icons/md/directions-boat.d.ts index eae9599e6f..30950e1a77 100644 --- a/react-icons/md/directions-boat.d.ts +++ b/react-icons/md/directions-boat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirectionsBoat extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions-bus.d.ts b/react-icons/md/directions-bus.d.ts index 0e3e2446c9..c2a61de5a0 100644 --- a/react-icons/md/directions-bus.d.ts +++ b/react-icons/md/directions-bus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirectionsBus extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions-car.d.ts b/react-icons/md/directions-car.d.ts index f62997b885..dd12e66d45 100644 --- a/react-icons/md/directions-car.d.ts +++ b/react-icons/md/directions-car.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirectionsCar extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions-ferry.d.ts b/react-icons/md/directions-ferry.d.ts index 237ca41571..e4803c8177 100644 --- a/react-icons/md/directions-ferry.d.ts +++ b/react-icons/md/directions-ferry.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirectionsFerry extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions-railway.d.ts b/react-icons/md/directions-railway.d.ts index 0037a8b11f..c1d586e225 100644 --- a/react-icons/md/directions-railway.d.ts +++ b/react-icons/md/directions-railway.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirectionsRailway extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions-run.d.ts b/react-icons/md/directions-run.d.ts index 391e653b1d..f82b78ac1b 100644 --- a/react-icons/md/directions-run.d.ts +++ b/react-icons/md/directions-run.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirectionsRun extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions-subway.d.ts b/react-icons/md/directions-subway.d.ts index 79a7688234..ecb0a00b5c 100644 --- a/react-icons/md/directions-subway.d.ts +++ b/react-icons/md/directions-subway.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirectionsSubway extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions-transit.d.ts b/react-icons/md/directions-transit.d.ts index 4871738ecc..c3cb44b411 100644 --- a/react-icons/md/directions-transit.d.ts +++ b/react-icons/md/directions-transit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirectionsTransit extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions-walk.d.ts b/react-icons/md/directions-walk.d.ts index 4616d50b87..5ccc16e7bd 100644 --- a/react-icons/md/directions-walk.d.ts +++ b/react-icons/md/directions-walk.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirectionsWalk extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/directions.d.ts b/react-icons/md/directions.d.ts index 01691f867c..7b6430d431 100644 --- a/react-icons/md/directions.d.ts +++ b/react-icons/md/directions.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDirections extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/disc-full.d.ts b/react-icons/md/disc-full.d.ts index e736a79d07..ff37cecece 100644 --- a/react-icons/md/disc-full.d.ts +++ b/react-icons/md/disc-full.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDiscFull extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/dns.d.ts b/react-icons/md/dns.d.ts index 99a7856a51..ccc20e316f 100644 --- a/react-icons/md/dns.d.ts +++ b/react-icons/md/dns.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDns extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/do-not-disturb-alt.d.ts b/react-icons/md/do-not-disturb-alt.d.ts index 09e86eef05..a93d3dac8e 100644 --- a/react-icons/md/do-not-disturb-alt.d.ts +++ b/react-icons/md/do-not-disturb-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDoNotDisturbAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/do-not-disturb-off.d.ts b/react-icons/md/do-not-disturb-off.d.ts index 2362b9e9d2..a5dbcb45f3 100644 --- a/react-icons/md/do-not-disturb-off.d.ts +++ b/react-icons/md/do-not-disturb-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDoNotDisturbOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/do-not-disturb.d.ts b/react-icons/md/do-not-disturb.d.ts index edd7483acd..6be2245a32 100644 --- a/react-icons/md/do-not-disturb.d.ts +++ b/react-icons/md/do-not-disturb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDoNotDisturb extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/dock.d.ts b/react-icons/md/dock.d.ts index 506d1ed153..a2a98b8d4e 100644 --- a/react-icons/md/dock.d.ts +++ b/react-icons/md/dock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDock extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/domain.d.ts b/react-icons/md/domain.d.ts index 87996cd9c9..9a8b2164b2 100644 --- a/react-icons/md/domain.d.ts +++ b/react-icons/md/domain.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDomain extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/done-all.d.ts b/react-icons/md/done-all.d.ts index a8c1d3e5c5..6152a6f5b3 100644 --- a/react-icons/md/done-all.d.ts +++ b/react-icons/md/done-all.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDoneAll extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/done.d.ts b/react-icons/md/done.d.ts index 8e25324f44..fe668587d1 100644 --- a/react-icons/md/done.d.ts +++ b/react-icons/md/done.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/donut-large.d.ts b/react-icons/md/donut-large.d.ts index b53d82a2ec..aae8262f6d 100644 --- a/react-icons/md/donut-large.d.ts +++ b/react-icons/md/donut-large.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDonutLarge extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/donut-small.d.ts b/react-icons/md/donut-small.d.ts index b764a1029c..0d39674ed4 100644 --- a/react-icons/md/donut-small.d.ts +++ b/react-icons/md/donut-small.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDonutSmall extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/drafts.d.ts b/react-icons/md/drafts.d.ts index e1542cfdf7..985f2f1872 100644 --- a/react-icons/md/drafts.d.ts +++ b/react-icons/md/drafts.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDrafts extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/drag-handle.d.ts b/react-icons/md/drag-handle.d.ts index 6e379c3c2a..3f284844b8 100644 --- a/react-icons/md/drag-handle.d.ts +++ b/react-icons/md/drag-handle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDragHandle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/drive-eta.d.ts b/react-icons/md/drive-eta.d.ts index 4f972b7028..c892b39db7 100644 --- a/react-icons/md/drive-eta.d.ts +++ b/react-icons/md/drive-eta.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDriveEta extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/dvr.d.ts b/react-icons/md/dvr.d.ts index 437300e895..552713e9e9 100644 --- a/react-icons/md/dvr.d.ts +++ b/react-icons/md/dvr.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdDvr extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/edit-location.d.ts b/react-icons/md/edit-location.d.ts index f5830a2364..19b3ba13a8 100644 --- a/react-icons/md/edit-location.d.ts +++ b/react-icons/md/edit-location.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEditLocation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/edit.d.ts b/react-icons/md/edit.d.ts index f1ddc123bb..c10b313bb6 100644 --- a/react-icons/md/edit.d.ts +++ b/react-icons/md/edit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEdit extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/eject.d.ts b/react-icons/md/eject.d.ts index 3867f6a56f..375a041643 100644 --- a/react-icons/md/eject.d.ts +++ b/react-icons/md/eject.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEject extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/email.d.ts b/react-icons/md/email.d.ts index ed37c51e94..8ec2fa3d2c 100644 --- a/react-icons/md/email.d.ts +++ b/react-icons/md/email.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEmail extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/enhanced-encryption.d.ts b/react-icons/md/enhanced-encryption.d.ts index 07f0ceafe5..d7a92c977f 100644 --- a/react-icons/md/enhanced-encryption.d.ts +++ b/react-icons/md/enhanced-encryption.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEnhancedEncryption extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/equalizer.d.ts b/react-icons/md/equalizer.d.ts index f4aafe6899..09940b01a2 100644 --- a/react-icons/md/equalizer.d.ts +++ b/react-icons/md/equalizer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEqualizer extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/error-outline.d.ts b/react-icons/md/error-outline.d.ts index dbea1bb1c5..15f5baa73b 100644 --- a/react-icons/md/error-outline.d.ts +++ b/react-icons/md/error-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdErrorOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/error.d.ts b/react-icons/md/error.d.ts index 0b25e65088..0394dd57d7 100644 --- a/react-icons/md/error.d.ts +++ b/react-icons/md/error.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdError extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/euro-symbol.d.ts b/react-icons/md/euro-symbol.d.ts index 733ea4d094..d6e1491cb1 100644 --- a/react-icons/md/euro-symbol.d.ts +++ b/react-icons/md/euro-symbol.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEuroSymbol extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/ev-station.d.ts b/react-icons/md/ev-station.d.ts index 7239630fcc..de277821d6 100644 --- a/react-icons/md/ev-station.d.ts +++ b/react-icons/md/ev-station.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEvStation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/event-available.d.ts b/react-icons/md/event-available.d.ts index e26f3cffca..534b122f93 100644 --- a/react-icons/md/event-available.d.ts +++ b/react-icons/md/event-available.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEventAvailable extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/event-busy.d.ts b/react-icons/md/event-busy.d.ts index 3ccf5ab74e..1fc007e305 100644 --- a/react-icons/md/event-busy.d.ts +++ b/react-icons/md/event-busy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEventBusy extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/event-note.d.ts b/react-icons/md/event-note.d.ts index 13052c998e..525a26caae 100644 --- a/react-icons/md/event-note.d.ts +++ b/react-icons/md/event-note.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEventNote extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/event-seat.d.ts b/react-icons/md/event-seat.d.ts index fe2832150d..389624466a 100644 --- a/react-icons/md/event-seat.d.ts +++ b/react-icons/md/event-seat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEventSeat extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/event.d.ts b/react-icons/md/event.d.ts index 2c913354c5..bc4663643d 100644 --- a/react-icons/md/event.d.ts +++ b/react-icons/md/event.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdEvent extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/exit-to-app.d.ts b/react-icons/md/exit-to-app.d.ts index 91cf0fdcdb..94e783757e 100644 --- a/react-icons/md/exit-to-app.d.ts +++ b/react-icons/md/exit-to-app.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExitToApp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/expand-less.d.ts b/react-icons/md/expand-less.d.ts index 88db71719b..56fb852c28 100644 --- a/react-icons/md/expand-less.d.ts +++ b/react-icons/md/expand-less.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExpandLess extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/expand-more.d.ts b/react-icons/md/expand-more.d.ts index e5513c38bf..97df23f656 100644 --- a/react-icons/md/expand-more.d.ts +++ b/react-icons/md/expand-more.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExpandMore extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/explicit.d.ts b/react-icons/md/explicit.d.ts index a2e679f632..c15c605fb8 100644 --- a/react-icons/md/explicit.d.ts +++ b/react-icons/md/explicit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExplicit extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/explore.d.ts b/react-icons/md/explore.d.ts index 8e431deac9..6a4d908184 100644 --- a/react-icons/md/explore.d.ts +++ b/react-icons/md/explore.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExplore extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/exposure-minus-1.d.ts b/react-icons/md/exposure-minus-1.d.ts index b4018510dc..5d14e27189 100644 --- a/react-icons/md/exposure-minus-1.d.ts +++ b/react-icons/md/exposure-minus-1.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExposureMinus1 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/exposure-minus-2.d.ts b/react-icons/md/exposure-minus-2.d.ts index 15d5d7c5b5..ae536ef8a3 100644 --- a/react-icons/md/exposure-minus-2.d.ts +++ b/react-icons/md/exposure-minus-2.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExposureMinus2 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/exposure-neg-1.d.ts b/react-icons/md/exposure-neg-1.d.ts index 4cd0ef15fc..89dfe364f0 100644 --- a/react-icons/md/exposure-neg-1.d.ts +++ b/react-icons/md/exposure-neg-1.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExposureNeg1 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/exposure-neg-2.d.ts b/react-icons/md/exposure-neg-2.d.ts index 9d37e58250..114ca7deb4 100644 --- a/react-icons/md/exposure-neg-2.d.ts +++ b/react-icons/md/exposure-neg-2.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExposureNeg2 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/exposure-plus-1.d.ts b/react-icons/md/exposure-plus-1.d.ts index d0438a4b02..a03d8b5ff8 100644 --- a/react-icons/md/exposure-plus-1.d.ts +++ b/react-icons/md/exposure-plus-1.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExposurePlus1 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/exposure-plus-2.d.ts b/react-icons/md/exposure-plus-2.d.ts index b56fd5e978..296e27da8e 100644 --- a/react-icons/md/exposure-plus-2.d.ts +++ b/react-icons/md/exposure-plus-2.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExposurePlus2 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/exposure-zero.d.ts b/react-icons/md/exposure-zero.d.ts index 479724cf1e..ee9d18e047 100644 --- a/react-icons/md/exposure-zero.d.ts +++ b/react-icons/md/exposure-zero.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExposureZero extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/exposure.d.ts b/react-icons/md/exposure.d.ts index a863c94bb1..fb5b1a8075 100644 --- a/react-icons/md/exposure.d.ts +++ b/react-icons/md/exposure.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExposure extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/extension.d.ts b/react-icons/md/extension.d.ts index fa8ab0bcb5..70e4630ab0 100644 --- a/react-icons/md/extension.d.ts +++ b/react-icons/md/extension.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdExtension extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/face.d.ts b/react-icons/md/face.d.ts index ae2d3acfd9..f6f74193c1 100644 --- a/react-icons/md/face.d.ts +++ b/react-icons/md/face.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFace extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fast-forward.d.ts b/react-icons/md/fast-forward.d.ts index 7a4bcf3955..8df39ae2ef 100644 --- a/react-icons/md/fast-forward.d.ts +++ b/react-icons/md/fast-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFastForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fast-rewind.d.ts b/react-icons/md/fast-rewind.d.ts index 24f8a46519..6c5d1d5891 100644 --- a/react-icons/md/fast-rewind.d.ts +++ b/react-icons/md/fast-rewind.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFastRewind extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/favorite-border.d.ts b/react-icons/md/favorite-border.d.ts index 59cb64f8dc..6b54af53b0 100644 --- a/react-icons/md/favorite-border.d.ts +++ b/react-icons/md/favorite-border.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFavoriteBorder extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/favorite-outline.d.ts b/react-icons/md/favorite-outline.d.ts index 41d2c5013a..5d20e1e788 100644 --- a/react-icons/md/favorite-outline.d.ts +++ b/react-icons/md/favorite-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFavoriteOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/favorite.d.ts b/react-icons/md/favorite.d.ts index 193e384b9e..c4e419a590 100644 --- a/react-icons/md/favorite.d.ts +++ b/react-icons/md/favorite.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFavorite extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/featured-play-list.d.ts b/react-icons/md/featured-play-list.d.ts index 0344137dd0..f6da2cff40 100644 --- a/react-icons/md/featured-play-list.d.ts +++ b/react-icons/md/featured-play-list.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFeaturedPlayList extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/featured-video.d.ts b/react-icons/md/featured-video.d.ts index b6f62f7ef6..e517556405 100644 --- a/react-icons/md/featured-video.d.ts +++ b/react-icons/md/featured-video.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFeaturedVideo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/feedback.d.ts b/react-icons/md/feedback.d.ts index ff49020b95..33d0492efd 100644 --- a/react-icons/md/feedback.d.ts +++ b/react-icons/md/feedback.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFeedback extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fiber-dvr.d.ts b/react-icons/md/fiber-dvr.d.ts index 8968f1e977..6005df349e 100644 --- a/react-icons/md/fiber-dvr.d.ts +++ b/react-icons/md/fiber-dvr.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFiberDvr extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fiber-manual-record.d.ts b/react-icons/md/fiber-manual-record.d.ts index ab72e777ce..2879538278 100644 --- a/react-icons/md/fiber-manual-record.d.ts +++ b/react-icons/md/fiber-manual-record.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFiberManualRecord extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fiber-new.d.ts b/react-icons/md/fiber-new.d.ts index 270d9ba4f2..df1c6c4af8 100644 --- a/react-icons/md/fiber-new.d.ts +++ b/react-icons/md/fiber-new.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFiberNew extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fiber-pin.d.ts b/react-icons/md/fiber-pin.d.ts index 5f9a6b6b41..13a57376c3 100644 --- a/react-icons/md/fiber-pin.d.ts +++ b/react-icons/md/fiber-pin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFiberPin extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fiber-smart-record.d.ts b/react-icons/md/fiber-smart-record.d.ts index e46c44d5b3..e7135c18c0 100644 --- a/react-icons/md/fiber-smart-record.d.ts +++ b/react-icons/md/fiber-smart-record.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFiberSmartRecord extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/file-download.d.ts b/react-icons/md/file-download.d.ts index ceb2305bd0..744e151320 100644 --- a/react-icons/md/file-download.d.ts +++ b/react-icons/md/file-download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFileDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/file-upload.d.ts b/react-icons/md/file-upload.d.ts index fd48fe2d29..b0bd8a8e54 100644 --- a/react-icons/md/file-upload.d.ts +++ b/react-icons/md/file-upload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFileUpload extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-1.d.ts b/react-icons/md/filter-1.d.ts index 1ac9f10fea..10ecae23b7 100644 --- a/react-icons/md/filter-1.d.ts +++ b/react-icons/md/filter-1.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter1 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-2.d.ts b/react-icons/md/filter-2.d.ts index 83670b6b95..9baa3253bd 100644 --- a/react-icons/md/filter-2.d.ts +++ b/react-icons/md/filter-2.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter2 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-3.d.ts b/react-icons/md/filter-3.d.ts index a2fedb7b88..891dd23d84 100644 --- a/react-icons/md/filter-3.d.ts +++ b/react-icons/md/filter-3.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter3 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-4.d.ts b/react-icons/md/filter-4.d.ts index d10581266c..02f815102f 100644 --- a/react-icons/md/filter-4.d.ts +++ b/react-icons/md/filter-4.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter4 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-5.d.ts b/react-icons/md/filter-5.d.ts index e23ad0da14..ee6e643808 100644 --- a/react-icons/md/filter-5.d.ts +++ b/react-icons/md/filter-5.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter5 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-6.d.ts b/react-icons/md/filter-6.d.ts index ed37d66aa7..31287086f9 100644 --- a/react-icons/md/filter-6.d.ts +++ b/react-icons/md/filter-6.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter6 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-7.d.ts b/react-icons/md/filter-7.d.ts index 4e2f64bf7e..c88faa2791 100644 --- a/react-icons/md/filter-7.d.ts +++ b/react-icons/md/filter-7.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter7 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-8.d.ts b/react-icons/md/filter-8.d.ts index adea5c709e..10171dfab1 100644 --- a/react-icons/md/filter-8.d.ts +++ b/react-icons/md/filter-8.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter8 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-9-plus.d.ts b/react-icons/md/filter-9-plus.d.ts index 3617079cc5..6fec4446e6 100644 --- a/react-icons/md/filter-9-plus.d.ts +++ b/react-icons/md/filter-9-plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter9Plus extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-9.d.ts b/react-icons/md/filter-9.d.ts index 4999520d22..3bf6bae6d2 100644 --- a/react-icons/md/filter-9.d.ts +++ b/react-icons/md/filter-9.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter9 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-b-and-w.d.ts b/react-icons/md/filter-b-and-w.d.ts index 6eb46b43d6..0173db1827 100644 --- a/react-icons/md/filter-b-and-w.d.ts +++ b/react-icons/md/filter-b-and-w.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilterBAndW extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-center-focus.d.ts b/react-icons/md/filter-center-focus.d.ts index 7bb247c256..a528a7e735 100644 --- a/react-icons/md/filter-center-focus.d.ts +++ b/react-icons/md/filter-center-focus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilterCenterFocus extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-drama.d.ts b/react-icons/md/filter-drama.d.ts index 85a961539f..c125f2c094 100644 --- a/react-icons/md/filter-drama.d.ts +++ b/react-icons/md/filter-drama.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilterDrama extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-frames.d.ts b/react-icons/md/filter-frames.d.ts index 3a08c8701a..37c0b895e7 100644 --- a/react-icons/md/filter-frames.d.ts +++ b/react-icons/md/filter-frames.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilterFrames extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-hdr.d.ts b/react-icons/md/filter-hdr.d.ts index 3cdc21ccb6..f7c844346a 100644 --- a/react-icons/md/filter-hdr.d.ts +++ b/react-icons/md/filter-hdr.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilterHdr extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-list.d.ts b/react-icons/md/filter-list.d.ts index 959fc09193..c8803c4e77 100644 --- a/react-icons/md/filter-list.d.ts +++ b/react-icons/md/filter-list.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilterList extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-none.d.ts b/react-icons/md/filter-none.d.ts index 270208192c..94656e8454 100644 --- a/react-icons/md/filter-none.d.ts +++ b/react-icons/md/filter-none.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilterNone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-tilt-shift.d.ts b/react-icons/md/filter-tilt-shift.d.ts index 0eb232d205..ddd4dd1105 100644 --- a/react-icons/md/filter-tilt-shift.d.ts +++ b/react-icons/md/filter-tilt-shift.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilterTiltShift extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter-vintage.d.ts b/react-icons/md/filter-vintage.d.ts index ed55988a1e..09fb365366 100644 --- a/react-icons/md/filter-vintage.d.ts +++ b/react-icons/md/filter-vintage.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilterVintage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/filter.d.ts b/react-icons/md/filter.d.ts index 4bb45f848d..14fd08285a 100644 --- a/react-icons/md/filter.d.ts +++ b/react-icons/md/filter.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFilter extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/find-in-page.d.ts b/react-icons/md/find-in-page.d.ts index df4029b46f..29a267344a 100644 --- a/react-icons/md/find-in-page.d.ts +++ b/react-icons/md/find-in-page.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFindInPage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/find-replace.d.ts b/react-icons/md/find-replace.d.ts index a02b0c0d2b..e6772cf2c8 100644 --- a/react-icons/md/find-replace.d.ts +++ b/react-icons/md/find-replace.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFindReplace extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fingerprint.d.ts b/react-icons/md/fingerprint.d.ts index ff49e35a25..501e2bbe41 100644 --- a/react-icons/md/fingerprint.d.ts +++ b/react-icons/md/fingerprint.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFingerprint extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/first-page.d.ts b/react-icons/md/first-page.d.ts index cd1d2df56c..af550a65e9 100644 --- a/react-icons/md/first-page.d.ts +++ b/react-icons/md/first-page.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFirstPage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fitness-center.d.ts b/react-icons/md/fitness-center.d.ts index 595f83c50e..af9d070377 100644 --- a/react-icons/md/fitness-center.d.ts +++ b/react-icons/md/fitness-center.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFitnessCenter extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flag.d.ts b/react-icons/md/flag.d.ts index e8a4ecb6e2..2d39fd5f38 100644 --- a/react-icons/md/flag.d.ts +++ b/react-icons/md/flag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlag extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flare.d.ts b/react-icons/md/flare.d.ts index e7b1f4e039..5d4cb29bdd 100644 --- a/react-icons/md/flare.d.ts +++ b/react-icons/md/flare.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlare extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flash-auto.d.ts b/react-icons/md/flash-auto.d.ts index c23c8a598e..f0b505ed30 100644 --- a/react-icons/md/flash-auto.d.ts +++ b/react-icons/md/flash-auto.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlashAuto extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flash-off.d.ts b/react-icons/md/flash-off.d.ts index b239a9810b..7f1ea9c7dc 100644 --- a/react-icons/md/flash-off.d.ts +++ b/react-icons/md/flash-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlashOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flash-on.d.ts b/react-icons/md/flash-on.d.ts index c05726f21a..7fb4d6c63f 100644 --- a/react-icons/md/flash-on.d.ts +++ b/react-icons/md/flash-on.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlashOn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flight-land.d.ts b/react-icons/md/flight-land.d.ts index 68b2ab9dc2..b7d58c3c06 100644 --- a/react-icons/md/flight-land.d.ts +++ b/react-icons/md/flight-land.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlightLand extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flight-takeoff.d.ts b/react-icons/md/flight-takeoff.d.ts index 29ebd9c57b..47130fcacf 100644 --- a/react-icons/md/flight-takeoff.d.ts +++ b/react-icons/md/flight-takeoff.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlightTakeoff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flight.d.ts b/react-icons/md/flight.d.ts index 5046627763..e458d87378 100644 --- a/react-icons/md/flight.d.ts +++ b/react-icons/md/flight.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlight extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flip-to-back.d.ts b/react-icons/md/flip-to-back.d.ts index 8a3af14dc7..b79d84a159 100644 --- a/react-icons/md/flip-to-back.d.ts +++ b/react-icons/md/flip-to-back.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlipToBack extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flip-to-front.d.ts b/react-icons/md/flip-to-front.d.ts index 46abe7df52..f79544940c 100644 --- a/react-icons/md/flip-to-front.d.ts +++ b/react-icons/md/flip-to-front.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlipToFront extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/flip.d.ts b/react-icons/md/flip.d.ts index c0599efdd0..1769e4012c 100644 --- a/react-icons/md/flip.d.ts +++ b/react-icons/md/flip.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFlip extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/folder-open.d.ts b/react-icons/md/folder-open.d.ts index 67d7769d27..896645daad 100644 --- a/react-icons/md/folder-open.d.ts +++ b/react-icons/md/folder-open.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFolderOpen extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/folder-shared.d.ts b/react-icons/md/folder-shared.d.ts index 5ece421dbb..75f3703ee2 100644 --- a/react-icons/md/folder-shared.d.ts +++ b/react-icons/md/folder-shared.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFolderShared extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/folder-special.d.ts b/react-icons/md/folder-special.d.ts index e0afc89b75..3846cd5b8a 100644 --- a/react-icons/md/folder-special.d.ts +++ b/react-icons/md/folder-special.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFolderSpecial extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/folder.d.ts b/react-icons/md/folder.d.ts index 44a78bb487..ed3538d72d 100644 --- a/react-icons/md/folder.d.ts +++ b/react-icons/md/folder.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFolder extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/font-download.d.ts b/react-icons/md/font-download.d.ts index a0833e01fb..a181b0e21b 100644 --- a/react-icons/md/font-download.d.ts +++ b/react-icons/md/font-download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFontDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-align-center.d.ts b/react-icons/md/format-align-center.d.ts index d5fd2ef985..2440330999 100644 --- a/react-icons/md/format-align-center.d.ts +++ b/react-icons/md/format-align-center.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatAlignCenter extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-align-justify.d.ts b/react-icons/md/format-align-justify.d.ts index 500128da94..fa0ecbf750 100644 --- a/react-icons/md/format-align-justify.d.ts +++ b/react-icons/md/format-align-justify.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatAlignJustify extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-align-left.d.ts b/react-icons/md/format-align-left.d.ts index ba55dee382..517f310864 100644 --- a/react-icons/md/format-align-left.d.ts +++ b/react-icons/md/format-align-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatAlignLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-align-right.d.ts b/react-icons/md/format-align-right.d.ts index dc274ae907..cb60d09580 100644 --- a/react-icons/md/format-align-right.d.ts +++ b/react-icons/md/format-align-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatAlignRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-bold.d.ts b/react-icons/md/format-bold.d.ts index 2e0e2527d2..3bf6f5fc25 100644 --- a/react-icons/md/format-bold.d.ts +++ b/react-icons/md/format-bold.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatBold extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-clear.d.ts b/react-icons/md/format-clear.d.ts index 00aa460e9f..3753681af4 100644 --- a/react-icons/md/format-clear.d.ts +++ b/react-icons/md/format-clear.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatClear extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-color-fill.d.ts b/react-icons/md/format-color-fill.d.ts index 562849897f..cc5ff44b0e 100644 --- a/react-icons/md/format-color-fill.d.ts +++ b/react-icons/md/format-color-fill.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatColorFill extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-color-reset.d.ts b/react-icons/md/format-color-reset.d.ts index 2c61bd9bf6..08cbf0df24 100644 --- a/react-icons/md/format-color-reset.d.ts +++ b/react-icons/md/format-color-reset.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatColorReset extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-color-text.d.ts b/react-icons/md/format-color-text.d.ts index bc6481df34..ce571106de 100644 --- a/react-icons/md/format-color-text.d.ts +++ b/react-icons/md/format-color-text.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatColorText extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-indent-decrease.d.ts b/react-icons/md/format-indent-decrease.d.ts index 86b0940a0d..786fed03cf 100644 --- a/react-icons/md/format-indent-decrease.d.ts +++ b/react-icons/md/format-indent-decrease.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatIndentDecrease extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-indent-increase.d.ts b/react-icons/md/format-indent-increase.d.ts index 77c1433a05..3af1d028d5 100644 --- a/react-icons/md/format-indent-increase.d.ts +++ b/react-icons/md/format-indent-increase.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatIndentIncrease extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-italic.d.ts b/react-icons/md/format-italic.d.ts index 68bb69b95c..105e195abc 100644 --- a/react-icons/md/format-italic.d.ts +++ b/react-icons/md/format-italic.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatItalic extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-line-spacing.d.ts b/react-icons/md/format-line-spacing.d.ts index 8cc71f2c98..629bb621f1 100644 --- a/react-icons/md/format-line-spacing.d.ts +++ b/react-icons/md/format-line-spacing.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatLineSpacing extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-list-bulleted.d.ts b/react-icons/md/format-list-bulleted.d.ts index dabfbaceae..9fbf06e578 100644 --- a/react-icons/md/format-list-bulleted.d.ts +++ b/react-icons/md/format-list-bulleted.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatListBulleted extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-list-numbered.d.ts b/react-icons/md/format-list-numbered.d.ts index ab917a76d4..2a872311c0 100644 --- a/react-icons/md/format-list-numbered.d.ts +++ b/react-icons/md/format-list-numbered.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatListNumbered extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-paint.d.ts b/react-icons/md/format-paint.d.ts index c16cd205bc..1d9530118d 100644 --- a/react-icons/md/format-paint.d.ts +++ b/react-icons/md/format-paint.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatPaint extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-quote.d.ts b/react-icons/md/format-quote.d.ts index c862f94d63..1f11cb2b00 100644 --- a/react-icons/md/format-quote.d.ts +++ b/react-icons/md/format-quote.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatQuote extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-shapes.d.ts b/react-icons/md/format-shapes.d.ts index f912cd435b..877b9877c6 100644 --- a/react-icons/md/format-shapes.d.ts +++ b/react-icons/md/format-shapes.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatShapes extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-size.d.ts b/react-icons/md/format-size.d.ts index d83580625f..5cc31a6265 100644 --- a/react-icons/md/format-size.d.ts +++ b/react-icons/md/format-size.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatSize extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-strikethrough.d.ts b/react-icons/md/format-strikethrough.d.ts index 5b58300960..305b047c14 100644 --- a/react-icons/md/format-strikethrough.d.ts +++ b/react-icons/md/format-strikethrough.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatStrikethrough extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-textdirection-l-to-r.d.ts b/react-icons/md/format-textdirection-l-to-r.d.ts index 3153274dd8..954ce03a2e 100644 --- a/react-icons/md/format-textdirection-l-to-r.d.ts +++ b/react-icons/md/format-textdirection-l-to-r.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatTextdirectionLToR extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-textdirection-r-to-l.d.ts b/react-icons/md/format-textdirection-r-to-l.d.ts index 64c007d9da..b83be45db8 100644 --- a/react-icons/md/format-textdirection-r-to-l.d.ts +++ b/react-icons/md/format-textdirection-r-to-l.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatTextdirectionRToL extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/format-underlined.d.ts b/react-icons/md/format-underlined.d.ts index aa12079e6c..8f658949d4 100644 --- a/react-icons/md/format-underlined.d.ts +++ b/react-icons/md/format-underlined.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFormatUnderlined extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/forum.d.ts b/react-icons/md/forum.d.ts index 9a42ca4b95..4b62fff7e5 100644 --- a/react-icons/md/forum.d.ts +++ b/react-icons/md/forum.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdForum extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/forward-10.d.ts b/react-icons/md/forward-10.d.ts index 92434d3e2a..ea3ffaa48b 100644 --- a/react-icons/md/forward-10.d.ts +++ b/react-icons/md/forward-10.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdForward10 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/forward-30.d.ts b/react-icons/md/forward-30.d.ts index 317730f070..8b7d6ee080 100644 --- a/react-icons/md/forward-30.d.ts +++ b/react-icons/md/forward-30.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdForward30 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/forward-5.d.ts b/react-icons/md/forward-5.d.ts index 5c6f4e9825..26bd39c0c5 100644 --- a/react-icons/md/forward-5.d.ts +++ b/react-icons/md/forward-5.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdForward5 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/forward.d.ts b/react-icons/md/forward.d.ts index 0c228c8dd7..7111fc9020 100644 --- a/react-icons/md/forward.d.ts +++ b/react-icons/md/forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/free-breakfast.d.ts b/react-icons/md/free-breakfast.d.ts index 1ccee8dfb7..d410cd9666 100644 --- a/react-icons/md/free-breakfast.d.ts +++ b/react-icons/md/free-breakfast.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFreeBreakfast extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fullscreen-exit.d.ts b/react-icons/md/fullscreen-exit.d.ts index 88dd0905c9..fcf74a4d1d 100644 --- a/react-icons/md/fullscreen-exit.d.ts +++ b/react-icons/md/fullscreen-exit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFullscreenExit extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/fullscreen.d.ts b/react-icons/md/fullscreen.d.ts index f80ebfd89d..f3c8a6ed90 100644 --- a/react-icons/md/fullscreen.d.ts +++ b/react-icons/md/fullscreen.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFullscreen extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/functions.d.ts b/react-icons/md/functions.d.ts index 0bfd4d0f53..c6abe47252 100644 --- a/react-icons/md/functions.d.ts +++ b/react-icons/md/functions.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdFunctions extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/g-translate.d.ts b/react-icons/md/g-translate.d.ts index bfdb034c16..581189fcb2 100644 --- a/react-icons/md/g-translate.d.ts +++ b/react-icons/md/g-translate.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGTranslate extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/gamepad.d.ts b/react-icons/md/gamepad.d.ts index 87b22b1e6c..6dab1cf898 100644 --- a/react-icons/md/gamepad.d.ts +++ b/react-icons/md/gamepad.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGamepad extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/games.d.ts b/react-icons/md/games.d.ts index 8a7a900ec1..fe32d0d4ca 100644 --- a/react-icons/md/games.d.ts +++ b/react-icons/md/games.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGames extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/gavel.d.ts b/react-icons/md/gavel.d.ts index 0f29f6da1f..8e6b4b8818 100644 --- a/react-icons/md/gavel.d.ts +++ b/react-icons/md/gavel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGavel extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/gesture.d.ts b/react-icons/md/gesture.d.ts index efe723344b..6492f8657c 100644 --- a/react-icons/md/gesture.d.ts +++ b/react-icons/md/gesture.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGesture extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/get-app.d.ts b/react-icons/md/get-app.d.ts index 435224b5be..c5dcb1cbcd 100644 --- a/react-icons/md/get-app.d.ts +++ b/react-icons/md/get-app.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGetApp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/gif.d.ts b/react-icons/md/gif.d.ts index 53ca018d85..2bfa8f05c7 100644 --- a/react-icons/md/gif.d.ts +++ b/react-icons/md/gif.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGif extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/goat.d.ts b/react-icons/md/goat.d.ts index 23f4bf01d6..09c5ca41a0 100644 --- a/react-icons/md/goat.d.ts +++ b/react-icons/md/goat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGoat extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/golf-course.d.ts b/react-icons/md/golf-course.d.ts index 96942a3782..0c2824788e 100644 --- a/react-icons/md/golf-course.d.ts +++ b/react-icons/md/golf-course.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGolfCourse extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/gps-fixed.d.ts b/react-icons/md/gps-fixed.d.ts index 6962a68d19..dd770f9b27 100644 --- a/react-icons/md/gps-fixed.d.ts +++ b/react-icons/md/gps-fixed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGpsFixed extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/gps-not-fixed.d.ts b/react-icons/md/gps-not-fixed.d.ts index 405cc2bded..b722efd66a 100644 --- a/react-icons/md/gps-not-fixed.d.ts +++ b/react-icons/md/gps-not-fixed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGpsNotFixed extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/gps-off.d.ts b/react-icons/md/gps-off.d.ts index 57d681f6f3..5915976213 100644 --- a/react-icons/md/gps-off.d.ts +++ b/react-icons/md/gps-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGpsOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/grade.d.ts b/react-icons/md/grade.d.ts index 4141cab03a..5f9473dd91 100644 --- a/react-icons/md/grade.d.ts +++ b/react-icons/md/grade.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGrade extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/gradient.d.ts b/react-icons/md/gradient.d.ts index 98fd005447..f016561d7b 100644 --- a/react-icons/md/gradient.d.ts +++ b/react-icons/md/gradient.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGradient extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/grain.d.ts b/react-icons/md/grain.d.ts index d65c03cf18..06e2c1051f 100644 --- a/react-icons/md/grain.d.ts +++ b/react-icons/md/grain.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGrain extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/graphic-eq.d.ts b/react-icons/md/graphic-eq.d.ts index b5d169bb44..3548da3dd9 100644 --- a/react-icons/md/graphic-eq.d.ts +++ b/react-icons/md/graphic-eq.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGraphicEq extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/grid-off.d.ts b/react-icons/md/grid-off.d.ts index ab6cc652c4..b178d004a8 100644 --- a/react-icons/md/grid-off.d.ts +++ b/react-icons/md/grid-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGridOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/grid-on.d.ts b/react-icons/md/grid-on.d.ts index b830aecfad..a462e28b50 100644 --- a/react-icons/md/grid-on.d.ts +++ b/react-icons/md/grid-on.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGridOn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/group-add.d.ts b/react-icons/md/group-add.d.ts index 6df0247d62..a7989b110c 100644 --- a/react-icons/md/group-add.d.ts +++ b/react-icons/md/group-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGroupAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/group-work.d.ts b/react-icons/md/group-work.d.ts index edbddae967..d4ededa66e 100644 --- a/react-icons/md/group-work.d.ts +++ b/react-icons/md/group-work.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGroupWork extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/group.d.ts b/react-icons/md/group.d.ts index 08038c3cf2..fe24082e39 100644 --- a/react-icons/md/group.d.ts +++ b/react-icons/md/group.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdGroup extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/hd.d.ts b/react-icons/md/hd.d.ts index 219ef6d1e1..2b36d5cbf5 100644 --- a/react-icons/md/hd.d.ts +++ b/react-icons/md/hd.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/hdr-off.d.ts b/react-icons/md/hdr-off.d.ts index 8de3235811..8150678ded 100644 --- a/react-icons/md/hdr-off.d.ts +++ b/react-icons/md/hdr-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHdrOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/hdr-on.d.ts b/react-icons/md/hdr-on.d.ts index c3ee3e35e1..52baf4c1ad 100644 --- a/react-icons/md/hdr-on.d.ts +++ b/react-icons/md/hdr-on.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHdrOn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/hdr-strong.d.ts b/react-icons/md/hdr-strong.d.ts index c3ee01e0a3..38f848807e 100644 --- a/react-icons/md/hdr-strong.d.ts +++ b/react-icons/md/hdr-strong.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHdrStrong extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/hdr-weak.d.ts b/react-icons/md/hdr-weak.d.ts index 6e4b8753e4..079c33af3b 100644 --- a/react-icons/md/hdr-weak.d.ts +++ b/react-icons/md/hdr-weak.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHdrWeak extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/headset-mic.d.ts b/react-icons/md/headset-mic.d.ts index ebfb448bcc..92e3ef8643 100644 --- a/react-icons/md/headset-mic.d.ts +++ b/react-icons/md/headset-mic.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHeadsetMic extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/headset.d.ts b/react-icons/md/headset.d.ts index 4f18d3d82c..90fd831720 100644 --- a/react-icons/md/headset.d.ts +++ b/react-icons/md/headset.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHeadset extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/healing.d.ts b/react-icons/md/healing.d.ts index a5bb954cbd..23eb5edb8d 100644 --- a/react-icons/md/healing.d.ts +++ b/react-icons/md/healing.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHealing extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/hearing.d.ts b/react-icons/md/hearing.d.ts index 1495b42a92..390105f500 100644 --- a/react-icons/md/hearing.d.ts +++ b/react-icons/md/hearing.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHearing extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/help-outline.d.ts b/react-icons/md/help-outline.d.ts index 694ba83296..3e2658f1ea 100644 --- a/react-icons/md/help-outline.d.ts +++ b/react-icons/md/help-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHelpOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/help.d.ts b/react-icons/md/help.d.ts index 9807a61dde..ca551e14b4 100644 --- a/react-icons/md/help.d.ts +++ b/react-icons/md/help.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHelp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/high-quality.d.ts b/react-icons/md/high-quality.d.ts index e53ef78cf7..1513201aab 100644 --- a/react-icons/md/high-quality.d.ts +++ b/react-icons/md/high-quality.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHighQuality extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/highlight-off.d.ts b/react-icons/md/highlight-off.d.ts index 19366c72bd..faf2cc4875 100644 --- a/react-icons/md/highlight-off.d.ts +++ b/react-icons/md/highlight-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHighlightOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/highlight-remove.d.ts b/react-icons/md/highlight-remove.d.ts index 0400f49b98..7ff4eee66c 100644 --- a/react-icons/md/highlight-remove.d.ts +++ b/react-icons/md/highlight-remove.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHighlightRemove extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/highlight.d.ts b/react-icons/md/highlight.d.ts index 987932f59b..28679358d2 100644 --- a/react-icons/md/highlight.d.ts +++ b/react-icons/md/highlight.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHighlight extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/history.d.ts b/react-icons/md/history.d.ts index 6f35ce57b5..6392fee540 100644 --- a/react-icons/md/history.d.ts +++ b/react-icons/md/history.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHistory extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/home.d.ts b/react-icons/md/home.d.ts index 26fece415b..26121a9bf7 100644 --- a/react-icons/md/home.d.ts +++ b/react-icons/md/home.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHome extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/hot-tub.d.ts b/react-icons/md/hot-tub.d.ts index c9e2164e2d..3dfce1a015 100644 --- a/react-icons/md/hot-tub.d.ts +++ b/react-icons/md/hot-tub.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHotTub extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/hotel.d.ts b/react-icons/md/hotel.d.ts index e2fbae3a7f..9d81b10c44 100644 --- a/react-icons/md/hotel.d.ts +++ b/react-icons/md/hotel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHotel extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/hourglass-empty.d.ts b/react-icons/md/hourglass-empty.d.ts index d45be408ab..60cd18d4de 100644 --- a/react-icons/md/hourglass-empty.d.ts +++ b/react-icons/md/hourglass-empty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHourglassEmpty extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/hourglass-full.d.ts b/react-icons/md/hourglass-full.d.ts index 7efc836af7..8dc67a4e51 100644 --- a/react-icons/md/hourglass-full.d.ts +++ b/react-icons/md/hourglass-full.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHourglassFull extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/http.d.ts b/react-icons/md/http.d.ts index ad66033351..e0fcdfedaf 100644 --- a/react-icons/md/http.d.ts +++ b/react-icons/md/http.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHttp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/https.d.ts b/react-icons/md/https.d.ts index 0177e69b5e..eb285e6e3e 100644 --- a/react-icons/md/https.d.ts +++ b/react-icons/md/https.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdHttps extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/image-aspect-ratio.d.ts b/react-icons/md/image-aspect-ratio.d.ts index 65e0d00a8f..65f926d18e 100644 --- a/react-icons/md/image-aspect-ratio.d.ts +++ b/react-icons/md/image-aspect-ratio.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdImageAspectRatio extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/image.d.ts b/react-icons/md/image.d.ts index 3bd97a8996..ac1fa5aae1 100644 --- a/react-icons/md/image.d.ts +++ b/react-icons/md/image.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdImage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/import-contacts.d.ts b/react-icons/md/import-contacts.d.ts index 72d5530d2f..f527b0b32c 100644 --- a/react-icons/md/import-contacts.d.ts +++ b/react-icons/md/import-contacts.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdImportContacts extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/import-export.d.ts b/react-icons/md/import-export.d.ts index ea66d13cf7..76e6edb6d8 100644 --- a/react-icons/md/import-export.d.ts +++ b/react-icons/md/import-export.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdImportExport extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/important-devices.d.ts b/react-icons/md/important-devices.d.ts index b750221780..64e2241926 100644 --- a/react-icons/md/important-devices.d.ts +++ b/react-icons/md/important-devices.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdImportantDevices extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/inbox.d.ts b/react-icons/md/inbox.d.ts index 1dc33d87bb..3be3e52ac1 100644 --- a/react-icons/md/inbox.d.ts +++ b/react-icons/md/inbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/indeterminate-check-box.d.ts b/react-icons/md/indeterminate-check-box.d.ts index 582ed7bde8..921d65c6eb 100644 --- a/react-icons/md/indeterminate-check-box.d.ts +++ b/react-icons/md/indeterminate-check-box.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdIndeterminateCheckBox extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/index.d.ts b/react-icons/md/index.d.ts index fc7223e5b3..0e5254bb38 100644 --- a/react-icons/md/index.d.ts +++ b/react-icons/md/index.d.ts @@ -1,3 +1,4 @@ +// TypeScript Version: 2.1 import _Md3dRotation from "./3d-rotation"; import _MdAcUnit from "./ac-unit"; import _MdAccessAlarm from "./access-alarm"; diff --git a/react-icons/md/info-outline.d.ts b/react-icons/md/info-outline.d.ts index dee4beba46..a7aa30ff58 100644 --- a/react-icons/md/info-outline.d.ts +++ b/react-icons/md/info-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInfoOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/info.d.ts b/react-icons/md/info.d.ts index 58cb8f3237..9f4f2a36e9 100644 --- a/react-icons/md/info.d.ts +++ b/react-icons/md/info.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInfo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/input.d.ts b/react-icons/md/input.d.ts index 9b30b09918..722cec3802 100644 --- a/react-icons/md/input.d.ts +++ b/react-icons/md/input.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInput extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/insert-chart.d.ts b/react-icons/md/insert-chart.d.ts index a16566bed0..e21f1b9a8f 100644 --- a/react-icons/md/insert-chart.d.ts +++ b/react-icons/md/insert-chart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInsertChart extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/insert-comment.d.ts b/react-icons/md/insert-comment.d.ts index 0eb6d9e51f..6a9f7e9cd3 100644 --- a/react-icons/md/insert-comment.d.ts +++ b/react-icons/md/insert-comment.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInsertComment extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/insert-drive-file.d.ts b/react-icons/md/insert-drive-file.d.ts index 82de961c88..10b0c4daf0 100644 --- a/react-icons/md/insert-drive-file.d.ts +++ b/react-icons/md/insert-drive-file.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInsertDriveFile extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/insert-emoticon.d.ts b/react-icons/md/insert-emoticon.d.ts index debf0675c7..707ac4b0db 100644 --- a/react-icons/md/insert-emoticon.d.ts +++ b/react-icons/md/insert-emoticon.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInsertEmoticon extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/insert-invitation.d.ts b/react-icons/md/insert-invitation.d.ts index 6d09b27375..f4ec4b2712 100644 --- a/react-icons/md/insert-invitation.d.ts +++ b/react-icons/md/insert-invitation.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInsertInvitation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/insert-link.d.ts b/react-icons/md/insert-link.d.ts index 4b1ef544d6..694b05f7fe 100644 --- a/react-icons/md/insert-link.d.ts +++ b/react-icons/md/insert-link.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInsertLink extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/insert-photo.d.ts b/react-icons/md/insert-photo.d.ts index 30ea00ec86..3ee9e616e8 100644 --- a/react-icons/md/insert-photo.d.ts +++ b/react-icons/md/insert-photo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInsertPhoto extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/invert-colors-off.d.ts b/react-icons/md/invert-colors-off.d.ts index cebe2f3ad4..67510d2374 100644 --- a/react-icons/md/invert-colors-off.d.ts +++ b/react-icons/md/invert-colors-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInvertColorsOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/invert-colors-on.d.ts b/react-icons/md/invert-colors-on.d.ts index ea144963fa..69a2583ed9 100644 --- a/react-icons/md/invert-colors-on.d.ts +++ b/react-icons/md/invert-colors-on.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInvertColorsOn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/invert-colors.d.ts b/react-icons/md/invert-colors.d.ts index dbd356fef8..6fe7dbb6c0 100644 --- a/react-icons/md/invert-colors.d.ts +++ b/react-icons/md/invert-colors.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdInvertColors extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/iso.d.ts b/react-icons/md/iso.d.ts index a868ebbce4..50ac529d71 100644 --- a/react-icons/md/iso.d.ts +++ b/react-icons/md/iso.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdIso extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-arrow-down.d.ts b/react-icons/md/keyboard-arrow-down.d.ts index afa2b6951c..c77b29b3d3 100644 --- a/react-icons/md/keyboard-arrow-down.d.ts +++ b/react-icons/md/keyboard-arrow-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardArrowDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-arrow-left.d.ts b/react-icons/md/keyboard-arrow-left.d.ts index bd1404bcf9..4d48f820d0 100644 --- a/react-icons/md/keyboard-arrow-left.d.ts +++ b/react-icons/md/keyboard-arrow-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardArrowLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-arrow-right.d.ts b/react-icons/md/keyboard-arrow-right.d.ts index 3a86f545c3..ccdf7a84a1 100644 --- a/react-icons/md/keyboard-arrow-right.d.ts +++ b/react-icons/md/keyboard-arrow-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardArrowRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-arrow-up.d.ts b/react-icons/md/keyboard-arrow-up.d.ts index 643e41db3a..a2eea3f88b 100644 --- a/react-icons/md/keyboard-arrow-up.d.ts +++ b/react-icons/md/keyboard-arrow-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardArrowUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-backspace.d.ts b/react-icons/md/keyboard-backspace.d.ts index 5658eb6817..e883e5759c 100644 --- a/react-icons/md/keyboard-backspace.d.ts +++ b/react-icons/md/keyboard-backspace.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardBackspace extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-capslock.d.ts b/react-icons/md/keyboard-capslock.d.ts index 866efc04e4..59dc521786 100644 --- a/react-icons/md/keyboard-capslock.d.ts +++ b/react-icons/md/keyboard-capslock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardCapslock extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-control.d.ts b/react-icons/md/keyboard-control.d.ts index 4ff5bef372..c42e1345a7 100644 --- a/react-icons/md/keyboard-control.d.ts +++ b/react-icons/md/keyboard-control.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardControl extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-hide.d.ts b/react-icons/md/keyboard-hide.d.ts index 436dafae71..b5b4eaed90 100644 --- a/react-icons/md/keyboard-hide.d.ts +++ b/react-icons/md/keyboard-hide.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardHide extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-return.d.ts b/react-icons/md/keyboard-return.d.ts index cf88f85ad8..bf1a689f52 100644 --- a/react-icons/md/keyboard-return.d.ts +++ b/react-icons/md/keyboard-return.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardReturn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-tab.d.ts b/react-icons/md/keyboard-tab.d.ts index 846fd7229c..3d2045f806 100644 --- a/react-icons/md/keyboard-tab.d.ts +++ b/react-icons/md/keyboard-tab.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardTab extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard-voice.d.ts b/react-icons/md/keyboard-voice.d.ts index 5a7783fd19..1ae565b660 100644 --- a/react-icons/md/keyboard-voice.d.ts +++ b/react-icons/md/keyboard-voice.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboardVoice extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/keyboard.d.ts b/react-icons/md/keyboard.d.ts index 9a35216205..1159679eaa 100644 --- a/react-icons/md/keyboard.d.ts +++ b/react-icons/md/keyboard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKeyboard extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/kitchen.d.ts b/react-icons/md/kitchen.d.ts index 445124bd91..3853aa1cd3 100644 --- a/react-icons/md/kitchen.d.ts +++ b/react-icons/md/kitchen.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdKitchen extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/label-outline.d.ts b/react-icons/md/label-outline.d.ts index d985face81..670c94ca9d 100644 --- a/react-icons/md/label-outline.d.ts +++ b/react-icons/md/label-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLabelOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/label.d.ts b/react-icons/md/label.d.ts index 9c5d5b0a6d..3ec9f9f898 100644 --- a/react-icons/md/label.d.ts +++ b/react-icons/md/label.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLabel extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/landscape.d.ts b/react-icons/md/landscape.d.ts index 699775a8d5..d4227bee3f 100644 --- a/react-icons/md/landscape.d.ts +++ b/react-icons/md/landscape.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLandscape extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/language.d.ts b/react-icons/md/language.d.ts index 3791435e37..3b37990b6e 100644 --- a/react-icons/md/language.d.ts +++ b/react-icons/md/language.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLanguage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/laptop-chromebook.d.ts b/react-icons/md/laptop-chromebook.d.ts index f37baf9c01..c4a86d6f17 100644 --- a/react-icons/md/laptop-chromebook.d.ts +++ b/react-icons/md/laptop-chromebook.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLaptopChromebook extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/laptop-mac.d.ts b/react-icons/md/laptop-mac.d.ts index 170c06c15f..a5186e6f3f 100644 --- a/react-icons/md/laptop-mac.d.ts +++ b/react-icons/md/laptop-mac.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLaptopMac extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/laptop-windows.d.ts b/react-icons/md/laptop-windows.d.ts index 5e83e89da8..e87f88cb80 100644 --- a/react-icons/md/laptop-windows.d.ts +++ b/react-icons/md/laptop-windows.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLaptopWindows extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/laptop.d.ts b/react-icons/md/laptop.d.ts index 0ac9d8e0e4..eadc3a12d2 100644 --- a/react-icons/md/laptop.d.ts +++ b/react-icons/md/laptop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLaptop extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/last-page.d.ts b/react-icons/md/last-page.d.ts index 00df0ca446..5625afb138 100644 --- a/react-icons/md/last-page.d.ts +++ b/react-icons/md/last-page.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLastPage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/launch.d.ts b/react-icons/md/launch.d.ts index 572a0ad40e..b951fc9aba 100644 --- a/react-icons/md/launch.d.ts +++ b/react-icons/md/launch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLaunch extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/layers-clear.d.ts b/react-icons/md/layers-clear.d.ts index 15c50ac304..0bc1f3bad2 100644 --- a/react-icons/md/layers-clear.d.ts +++ b/react-icons/md/layers-clear.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLayersClear extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/layers.d.ts b/react-icons/md/layers.d.ts index 1473386bfe..04ce584bd3 100644 --- a/react-icons/md/layers.d.ts +++ b/react-icons/md/layers.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLayers extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/leak-add.d.ts b/react-icons/md/leak-add.d.ts index c90f4b3871..b58a28aaff 100644 --- a/react-icons/md/leak-add.d.ts +++ b/react-icons/md/leak-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLeakAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/leak-remove.d.ts b/react-icons/md/leak-remove.d.ts index 1fc3eb2872..9a090ecdb6 100644 --- a/react-icons/md/leak-remove.d.ts +++ b/react-icons/md/leak-remove.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLeakRemove extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/lens.d.ts b/react-icons/md/lens.d.ts index 03d9294ee5..01e4e3006b 100644 --- a/react-icons/md/lens.d.ts +++ b/react-icons/md/lens.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLens extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/library-add.d.ts b/react-icons/md/library-add.d.ts index 4d360359dc..3ec97adbfc 100644 --- a/react-icons/md/library-add.d.ts +++ b/react-icons/md/library-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLibraryAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/library-books.d.ts b/react-icons/md/library-books.d.ts index b0a62aae74..85920070bb 100644 --- a/react-icons/md/library-books.d.ts +++ b/react-icons/md/library-books.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLibraryBooks extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/library-music.d.ts b/react-icons/md/library-music.d.ts index 3ae263eea3..67e2a6adfd 100644 --- a/react-icons/md/library-music.d.ts +++ b/react-icons/md/library-music.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLibraryMusic extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/lightbulb-outline.d.ts b/react-icons/md/lightbulb-outline.d.ts index 7a80cb4279..ccb9f48acf 100644 --- a/react-icons/md/lightbulb-outline.d.ts +++ b/react-icons/md/lightbulb-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLightbulbOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/line-style.d.ts b/react-icons/md/line-style.d.ts index 74b8e27b2d..f851b324aa 100644 --- a/react-icons/md/line-style.d.ts +++ b/react-icons/md/line-style.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLineStyle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/line-weight.d.ts b/react-icons/md/line-weight.d.ts index 5f027d1687..708134f5ae 100644 --- a/react-icons/md/line-weight.d.ts +++ b/react-icons/md/line-weight.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLineWeight extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/linear-scale.d.ts b/react-icons/md/linear-scale.d.ts index 7ddf675ded..4e4444bbd1 100644 --- a/react-icons/md/linear-scale.d.ts +++ b/react-icons/md/linear-scale.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLinearScale extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/link.d.ts b/react-icons/md/link.d.ts index 7989011bea..777449b4ac 100644 --- a/react-icons/md/link.d.ts +++ b/react-icons/md/link.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLink extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/linked-camera.d.ts b/react-icons/md/linked-camera.d.ts index 3f2becec47..1f8b893340 100644 --- a/react-icons/md/linked-camera.d.ts +++ b/react-icons/md/linked-camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLinkedCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/list.d.ts b/react-icons/md/list.d.ts index 5fe07ae66f..b0fff17a19 100644 --- a/react-icons/md/list.d.ts +++ b/react-icons/md/list.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdList extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/live-help.d.ts b/react-icons/md/live-help.d.ts index fc611fbc21..327ba8f669 100644 --- a/react-icons/md/live-help.d.ts +++ b/react-icons/md/live-help.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLiveHelp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/live-tv.d.ts b/react-icons/md/live-tv.d.ts index b156f8a70c..fa908a01fe 100644 --- a/react-icons/md/live-tv.d.ts +++ b/react-icons/md/live-tv.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLiveTv extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-airport.d.ts b/react-icons/md/local-airport.d.ts index 2b48a8df98..5e5a59b741 100644 --- a/react-icons/md/local-airport.d.ts +++ b/react-icons/md/local-airport.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalAirport extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-atm.d.ts b/react-icons/md/local-atm.d.ts index 80e163811e..9c2a1df2c8 100644 --- a/react-icons/md/local-atm.d.ts +++ b/react-icons/md/local-atm.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalAtm extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-attraction.d.ts b/react-icons/md/local-attraction.d.ts index 847373d030..cd1735c858 100644 --- a/react-icons/md/local-attraction.d.ts +++ b/react-icons/md/local-attraction.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalAttraction extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-bar.d.ts b/react-icons/md/local-bar.d.ts index 6d21516f07..bb95ea29c5 100644 --- a/react-icons/md/local-bar.d.ts +++ b/react-icons/md/local-bar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalBar extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-cafe.d.ts b/react-icons/md/local-cafe.d.ts index 2ddb173dcc..be6c6ab05b 100644 --- a/react-icons/md/local-cafe.d.ts +++ b/react-icons/md/local-cafe.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalCafe extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-car-wash.d.ts b/react-icons/md/local-car-wash.d.ts index 30f32efcc0..5589c1cc56 100644 --- a/react-icons/md/local-car-wash.d.ts +++ b/react-icons/md/local-car-wash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalCarWash extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-convenience-store.d.ts b/react-icons/md/local-convenience-store.d.ts index 5f3122dc72..d0de046c07 100644 --- a/react-icons/md/local-convenience-store.d.ts +++ b/react-icons/md/local-convenience-store.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalConvenienceStore extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-drink.d.ts b/react-icons/md/local-drink.d.ts index c655f3fa10..8e6182a686 100644 --- a/react-icons/md/local-drink.d.ts +++ b/react-icons/md/local-drink.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalDrink extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-florist.d.ts b/react-icons/md/local-florist.d.ts index 8ad0700269..7b234062c4 100644 --- a/react-icons/md/local-florist.d.ts +++ b/react-icons/md/local-florist.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalFlorist extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-gas-station.d.ts b/react-icons/md/local-gas-station.d.ts index 9f8e0f51ee..d33d7ce2b1 100644 --- a/react-icons/md/local-gas-station.d.ts +++ b/react-icons/md/local-gas-station.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalGasStation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-grocery-store.d.ts b/react-icons/md/local-grocery-store.d.ts index a266baf995..51402b0af7 100644 --- a/react-icons/md/local-grocery-store.d.ts +++ b/react-icons/md/local-grocery-store.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalGroceryStore extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-hospital.d.ts b/react-icons/md/local-hospital.d.ts index 0b516c956d..7bad9512bd 100644 --- a/react-icons/md/local-hospital.d.ts +++ b/react-icons/md/local-hospital.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalHospital extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-hotel.d.ts b/react-icons/md/local-hotel.d.ts index d2e8ba4326..a7fecdd38a 100644 --- a/react-icons/md/local-hotel.d.ts +++ b/react-icons/md/local-hotel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalHotel extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-laundry-service.d.ts b/react-icons/md/local-laundry-service.d.ts index 69dc1d91fa..1e155f9b83 100644 --- a/react-icons/md/local-laundry-service.d.ts +++ b/react-icons/md/local-laundry-service.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalLaundryService extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-library.d.ts b/react-icons/md/local-library.d.ts index 8323474502..7395db484f 100644 --- a/react-icons/md/local-library.d.ts +++ b/react-icons/md/local-library.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalLibrary extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-mall.d.ts b/react-icons/md/local-mall.d.ts index ff498e258c..d1938cb81e 100644 --- a/react-icons/md/local-mall.d.ts +++ b/react-icons/md/local-mall.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalMall extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-movies.d.ts b/react-icons/md/local-movies.d.ts index fdea5b8143..b869e8bbbc 100644 --- a/react-icons/md/local-movies.d.ts +++ b/react-icons/md/local-movies.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalMovies extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-offer.d.ts b/react-icons/md/local-offer.d.ts index d24f367bf4..dc4147d45a 100644 --- a/react-icons/md/local-offer.d.ts +++ b/react-icons/md/local-offer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalOffer extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-parking.d.ts b/react-icons/md/local-parking.d.ts index db29d102c5..11f6840e9c 100644 --- a/react-icons/md/local-parking.d.ts +++ b/react-icons/md/local-parking.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalParking extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-pharmacy.d.ts b/react-icons/md/local-pharmacy.d.ts index 6d0b8cd48c..21b6e38f15 100644 --- a/react-icons/md/local-pharmacy.d.ts +++ b/react-icons/md/local-pharmacy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalPharmacy extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-phone.d.ts b/react-icons/md/local-phone.d.ts index 5feb41d802..68d6601d0b 100644 --- a/react-icons/md/local-phone.d.ts +++ b/react-icons/md/local-phone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalPhone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-pizza.d.ts b/react-icons/md/local-pizza.d.ts index 03eae8d045..074e37c085 100644 --- a/react-icons/md/local-pizza.d.ts +++ b/react-icons/md/local-pizza.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalPizza extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-play.d.ts b/react-icons/md/local-play.d.ts index 57de312f4a..e28ff41588 100644 --- a/react-icons/md/local-play.d.ts +++ b/react-icons/md/local-play.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalPlay extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-post-office.d.ts b/react-icons/md/local-post-office.d.ts index daa26b0811..0ca4c79f97 100644 --- a/react-icons/md/local-post-office.d.ts +++ b/react-icons/md/local-post-office.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalPostOffice extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-print-shop.d.ts b/react-icons/md/local-print-shop.d.ts index 9af1ddc253..3cae51257f 100644 --- a/react-icons/md/local-print-shop.d.ts +++ b/react-icons/md/local-print-shop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalPrintShop extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-restaurant.d.ts b/react-icons/md/local-restaurant.d.ts index aa175439f8..baf3f71389 100644 --- a/react-icons/md/local-restaurant.d.ts +++ b/react-icons/md/local-restaurant.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalRestaurant extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-see.d.ts b/react-icons/md/local-see.d.ts index 2a58205790..b4cdb8308d 100644 --- a/react-icons/md/local-see.d.ts +++ b/react-icons/md/local-see.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalSee extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-shipping.d.ts b/react-icons/md/local-shipping.d.ts index 4623d7e0ef..c1b23074ef 100644 --- a/react-icons/md/local-shipping.d.ts +++ b/react-icons/md/local-shipping.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalShipping extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/local-taxi.d.ts b/react-icons/md/local-taxi.d.ts index 3d72753fde..66ef3b48e4 100644 --- a/react-icons/md/local-taxi.d.ts +++ b/react-icons/md/local-taxi.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocalTaxi extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/location-city.d.ts b/react-icons/md/location-city.d.ts index cf7ab9c034..42084443fd 100644 --- a/react-icons/md/location-city.d.ts +++ b/react-icons/md/location-city.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocationCity extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/location-disabled.d.ts b/react-icons/md/location-disabled.d.ts index f79f03432c..b732a398e8 100644 --- a/react-icons/md/location-disabled.d.ts +++ b/react-icons/md/location-disabled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocationDisabled extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/location-history.d.ts b/react-icons/md/location-history.d.ts index 32e5e2d583..aacaf5131d 100644 --- a/react-icons/md/location-history.d.ts +++ b/react-icons/md/location-history.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocationHistory extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/location-off.d.ts b/react-icons/md/location-off.d.ts index 65bdb9e669..a17bd55a21 100644 --- a/react-icons/md/location-off.d.ts +++ b/react-icons/md/location-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocationOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/location-on.d.ts b/react-icons/md/location-on.d.ts index 0b7629ea86..0422148bf6 100644 --- a/react-icons/md/location-on.d.ts +++ b/react-icons/md/location-on.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocationOn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/location-searching.d.ts b/react-icons/md/location-searching.d.ts index 243d04d3b8..90d111c5a0 100644 --- a/react-icons/md/location-searching.d.ts +++ b/react-icons/md/location-searching.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLocationSearching extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/lock-open.d.ts b/react-icons/md/lock-open.d.ts index 5c9a5e6bdd..5dbc5e1dc8 100644 --- a/react-icons/md/lock-open.d.ts +++ b/react-icons/md/lock-open.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLockOpen extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/lock-outline.d.ts b/react-icons/md/lock-outline.d.ts index 81f1b082e8..548f6912d0 100644 --- a/react-icons/md/lock-outline.d.ts +++ b/react-icons/md/lock-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLockOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/lock.d.ts b/react-icons/md/lock.d.ts index a0d1d74716..f5cf6ca046 100644 --- a/react-icons/md/lock.d.ts +++ b/react-icons/md/lock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLock extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/looks-3.d.ts b/react-icons/md/looks-3.d.ts index 2c3e69d835..416def3052 100644 --- a/react-icons/md/looks-3.d.ts +++ b/react-icons/md/looks-3.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLooks3 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/looks-4.d.ts b/react-icons/md/looks-4.d.ts index 2cb7a35e12..a07e8d57ff 100644 --- a/react-icons/md/looks-4.d.ts +++ b/react-icons/md/looks-4.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLooks4 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/looks-5.d.ts b/react-icons/md/looks-5.d.ts index 9a86f4cd2b..24d8bc1640 100644 --- a/react-icons/md/looks-5.d.ts +++ b/react-icons/md/looks-5.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLooks5 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/looks-6.d.ts b/react-icons/md/looks-6.d.ts index d942e32e16..c7e92b90c8 100644 --- a/react-icons/md/looks-6.d.ts +++ b/react-icons/md/looks-6.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLooks6 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/looks-one.d.ts b/react-icons/md/looks-one.d.ts index 9c719456ac..1c4ae890e9 100644 --- a/react-icons/md/looks-one.d.ts +++ b/react-icons/md/looks-one.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLooksOne extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/looks-two.d.ts b/react-icons/md/looks-two.d.ts index 85d9227f4e..ee19326085 100644 --- a/react-icons/md/looks-two.d.ts +++ b/react-icons/md/looks-two.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLooksTwo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/looks.d.ts b/react-icons/md/looks.d.ts index a2be6217cf..d13832e114 100644 --- a/react-icons/md/looks.d.ts +++ b/react-icons/md/looks.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLooks extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/loop.d.ts b/react-icons/md/loop.d.ts index 20a5e658e4..6dfefc0cf2 100644 --- a/react-icons/md/loop.d.ts +++ b/react-icons/md/loop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLoop extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/loupe.d.ts b/react-icons/md/loupe.d.ts index c68c70a354..e34781b87a 100644 --- a/react-icons/md/loupe.d.ts +++ b/react-icons/md/loupe.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLoupe extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/low-priority.d.ts b/react-icons/md/low-priority.d.ts index 9ca926e382..1cebbf3ff2 100644 --- a/react-icons/md/low-priority.d.ts +++ b/react-icons/md/low-priority.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLowPriority extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/loyalty.d.ts b/react-icons/md/loyalty.d.ts index ceb0a4a8ab..23368152ba 100644 --- a/react-icons/md/loyalty.d.ts +++ b/react-icons/md/loyalty.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdLoyalty extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mail-outline.d.ts b/react-icons/md/mail-outline.d.ts index aa776f10bf..53a786342b 100644 --- a/react-icons/md/mail-outline.d.ts +++ b/react-icons/md/mail-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMailOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mail.d.ts b/react-icons/md/mail.d.ts index 88df96f01d..f58cf3e407 100644 --- a/react-icons/md/mail.d.ts +++ b/react-icons/md/mail.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMail extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/map.d.ts b/react-icons/md/map.d.ts index ba1e57f062..44432a79c8 100644 --- a/react-icons/md/map.d.ts +++ b/react-icons/md/map.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMap extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/markunread-mailbox.d.ts b/react-icons/md/markunread-mailbox.d.ts index 29557d6a20..8cb6bae8af 100644 --- a/react-icons/md/markunread-mailbox.d.ts +++ b/react-icons/md/markunread-mailbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMarkunreadMailbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/markunread.d.ts b/react-icons/md/markunread.d.ts index 28319efdfe..79d2981582 100644 --- a/react-icons/md/markunread.d.ts +++ b/react-icons/md/markunread.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMarkunread extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/memory.d.ts b/react-icons/md/memory.d.ts index 308655329d..1877820752 100644 --- a/react-icons/md/memory.d.ts +++ b/react-icons/md/memory.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMemory extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/menu.d.ts b/react-icons/md/menu.d.ts index 899ebe0a24..3cc01fe6a6 100644 --- a/react-icons/md/menu.d.ts +++ b/react-icons/md/menu.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMenu extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/merge-type.d.ts b/react-icons/md/merge-type.d.ts index 4c76526df7..1b24c5a3f7 100644 --- a/react-icons/md/merge-type.d.ts +++ b/react-icons/md/merge-type.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMergeType extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/message.d.ts b/react-icons/md/message.d.ts index a09d53a0c5..91a3a5ae22 100644 --- a/react-icons/md/message.d.ts +++ b/react-icons/md/message.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMessage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mic-none.d.ts b/react-icons/md/mic-none.d.ts index 884bf1b628..d428268c3d 100644 --- a/react-icons/md/mic-none.d.ts +++ b/react-icons/md/mic-none.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMicNone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mic-off.d.ts b/react-icons/md/mic-off.d.ts index dbeec4e49c..6a870f7204 100644 --- a/react-icons/md/mic-off.d.ts +++ b/react-icons/md/mic-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMicOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mic.d.ts b/react-icons/md/mic.d.ts index 0339acb382..121d5d6ea8 100644 --- a/react-icons/md/mic.d.ts +++ b/react-icons/md/mic.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMic extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mms.d.ts b/react-icons/md/mms.d.ts index 2b279c230f..f0548775d1 100644 --- a/react-icons/md/mms.d.ts +++ b/react-icons/md/mms.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMms extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mode-comment.d.ts b/react-icons/md/mode-comment.d.ts index 8ca1317733..fd43778275 100644 --- a/react-icons/md/mode-comment.d.ts +++ b/react-icons/md/mode-comment.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdModeComment extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mode-edit.d.ts b/react-icons/md/mode-edit.d.ts index ef0f3e573a..20e77be5e6 100644 --- a/react-icons/md/mode-edit.d.ts +++ b/react-icons/md/mode-edit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdModeEdit extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/monetization-on.d.ts b/react-icons/md/monetization-on.d.ts index cd57df7fdd..0a64afcafd 100644 --- a/react-icons/md/monetization-on.d.ts +++ b/react-icons/md/monetization-on.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMonetizationOn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/money-off.d.ts b/react-icons/md/money-off.d.ts index 8f154a2bc4..75ca0fe5d9 100644 --- a/react-icons/md/money-off.d.ts +++ b/react-icons/md/money-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMoneyOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/monochrome-photos.d.ts b/react-icons/md/monochrome-photos.d.ts index fc5c716167..d4683c1b10 100644 --- a/react-icons/md/monochrome-photos.d.ts +++ b/react-icons/md/monochrome-photos.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMonochromePhotos extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mood-bad.d.ts b/react-icons/md/mood-bad.d.ts index 17d34b9f45..14f41785c5 100644 --- a/react-icons/md/mood-bad.d.ts +++ b/react-icons/md/mood-bad.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMoodBad extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mood.d.ts b/react-icons/md/mood.d.ts index b59615b6f8..4fd1b91995 100644 --- a/react-icons/md/mood.d.ts +++ b/react-icons/md/mood.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMood extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/more-horiz.d.ts b/react-icons/md/more-horiz.d.ts index ac8c1a2e89..b139bd0b7c 100644 --- a/react-icons/md/more-horiz.d.ts +++ b/react-icons/md/more-horiz.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMoreHoriz extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/more-vert.d.ts b/react-icons/md/more-vert.d.ts index b919e9fdce..5421946b3b 100644 --- a/react-icons/md/more-vert.d.ts +++ b/react-icons/md/more-vert.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMoreVert extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/more.d.ts b/react-icons/md/more.d.ts index fec4ad1b55..9502268760 100644 --- a/react-icons/md/more.d.ts +++ b/react-icons/md/more.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMore extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/motorcycle.d.ts b/react-icons/md/motorcycle.d.ts index 151dc7163f..f2b263ba19 100644 --- a/react-icons/md/motorcycle.d.ts +++ b/react-icons/md/motorcycle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMotorcycle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/mouse.d.ts b/react-icons/md/mouse.d.ts index 37ac1a263a..2b7c41bde8 100644 --- a/react-icons/md/mouse.d.ts +++ b/react-icons/md/mouse.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMouse extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/move-to-inbox.d.ts b/react-icons/md/move-to-inbox.d.ts index 44b6d99209..33b2a62f9e 100644 --- a/react-icons/md/move-to-inbox.d.ts +++ b/react-icons/md/move-to-inbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMoveToInbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/movie-creation.d.ts b/react-icons/md/movie-creation.d.ts index 598edc5cf1..65ce13a4a1 100644 --- a/react-icons/md/movie-creation.d.ts +++ b/react-icons/md/movie-creation.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMovieCreation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/movie-filter.d.ts b/react-icons/md/movie-filter.d.ts index 1596550584..a38e09dc14 100644 --- a/react-icons/md/movie-filter.d.ts +++ b/react-icons/md/movie-filter.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMovieFilter extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/movie.d.ts b/react-icons/md/movie.d.ts index b0fae87b66..7aeb5f5ee3 100644 --- a/react-icons/md/movie.d.ts +++ b/react-icons/md/movie.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMovie extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/multiline-chart.d.ts b/react-icons/md/multiline-chart.d.ts index b5b312f5e2..f6d3d0f197 100644 --- a/react-icons/md/multiline-chart.d.ts +++ b/react-icons/md/multiline-chart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMultilineChart extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/music-note.d.ts b/react-icons/md/music-note.d.ts index 1147b0c126..387ad6e407 100644 --- a/react-icons/md/music-note.d.ts +++ b/react-icons/md/music-note.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMusicNote extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/music-video.d.ts b/react-icons/md/music-video.d.ts index 4faa13b1fc..64b3e90003 100644 --- a/react-icons/md/music-video.d.ts +++ b/react-icons/md/music-video.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMusicVideo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/my-location.d.ts b/react-icons/md/my-location.d.ts index d3afc728ca..c38a9f836a 100644 --- a/react-icons/md/my-location.d.ts +++ b/react-icons/md/my-location.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdMyLocation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/nature-people.d.ts b/react-icons/md/nature-people.d.ts index 17a7577779..6f0b374a89 100644 --- a/react-icons/md/nature-people.d.ts +++ b/react-icons/md/nature-people.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNaturePeople extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/nature.d.ts b/react-icons/md/nature.d.ts index cca39b9b6d..24bf266ca2 100644 --- a/react-icons/md/nature.d.ts +++ b/react-icons/md/nature.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNature extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/navigate-before.d.ts b/react-icons/md/navigate-before.d.ts index 36f548b487..2fd6b0016d 100644 --- a/react-icons/md/navigate-before.d.ts +++ b/react-icons/md/navigate-before.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNavigateBefore extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/navigate-next.d.ts b/react-icons/md/navigate-next.d.ts index 37b72edcd3..3837cfeee5 100644 --- a/react-icons/md/navigate-next.d.ts +++ b/react-icons/md/navigate-next.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNavigateNext extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/navigation.d.ts b/react-icons/md/navigation.d.ts index dfd8d23a13..469983eba0 100644 --- a/react-icons/md/navigation.d.ts +++ b/react-icons/md/navigation.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNavigation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/near-me.d.ts b/react-icons/md/near-me.d.ts index 9ca6ca2105..bf8f4e3d49 100644 --- a/react-icons/md/near-me.d.ts +++ b/react-icons/md/near-me.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNearMe extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/network-cell.d.ts b/react-icons/md/network-cell.d.ts index 0d0d2f7564..61c855de27 100644 --- a/react-icons/md/network-cell.d.ts +++ b/react-icons/md/network-cell.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNetworkCell extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/network-check.d.ts b/react-icons/md/network-check.d.ts index b0fc6ac8c8..eaa9e06436 100644 --- a/react-icons/md/network-check.d.ts +++ b/react-icons/md/network-check.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNetworkCheck extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/network-locked.d.ts b/react-icons/md/network-locked.d.ts index f7efd01377..02087c2c78 100644 --- a/react-icons/md/network-locked.d.ts +++ b/react-icons/md/network-locked.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNetworkLocked extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/network-wifi.d.ts b/react-icons/md/network-wifi.d.ts index 6a167d9ada..e6151c9b6e 100644 --- a/react-icons/md/network-wifi.d.ts +++ b/react-icons/md/network-wifi.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNetworkWifi extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/new-releases.d.ts b/react-icons/md/new-releases.d.ts index fc850459b1..8ddfff78f0 100644 --- a/react-icons/md/new-releases.d.ts +++ b/react-icons/md/new-releases.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNewReleases extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/next-week.d.ts b/react-icons/md/next-week.d.ts index 63ef505d4c..eb311a0fa6 100644 --- a/react-icons/md/next-week.d.ts +++ b/react-icons/md/next-week.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNextWeek extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/nfc.d.ts b/react-icons/md/nfc.d.ts index 8cb8cd692c..ed68e45492 100644 --- a/react-icons/md/nfc.d.ts +++ b/react-icons/md/nfc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNfc extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/no-encryption.d.ts b/react-icons/md/no-encryption.d.ts index 220d617b9c..972c6548fc 100644 --- a/react-icons/md/no-encryption.d.ts +++ b/react-icons/md/no-encryption.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNoEncryption extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/no-sim.d.ts b/react-icons/md/no-sim.d.ts index 1bec6d6c85..e727253cdc 100644 --- a/react-icons/md/no-sim.d.ts +++ b/react-icons/md/no-sim.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNoSim extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/not-interested.d.ts b/react-icons/md/not-interested.d.ts index 7abe215564..fa2ebf7e7b 100644 --- a/react-icons/md/not-interested.d.ts +++ b/react-icons/md/not-interested.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNotInterested extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/note-add.d.ts b/react-icons/md/note-add.d.ts index 3fc21bff5c..5bac8801be 100644 --- a/react-icons/md/note-add.d.ts +++ b/react-icons/md/note-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNoteAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/note.d.ts b/react-icons/md/note.d.ts index e1e3464242..3b804cd526 100644 --- a/react-icons/md/note.d.ts +++ b/react-icons/md/note.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNote extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/notifications-active.d.ts b/react-icons/md/notifications-active.d.ts index 4cccbc876d..b0cef34757 100644 --- a/react-icons/md/notifications-active.d.ts +++ b/react-icons/md/notifications-active.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNotificationsActive extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/notifications-none.d.ts b/react-icons/md/notifications-none.d.ts index 9b3c9a70ea..1d8daa0a49 100644 --- a/react-icons/md/notifications-none.d.ts +++ b/react-icons/md/notifications-none.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNotificationsNone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/notifications-off.d.ts b/react-icons/md/notifications-off.d.ts index c233934614..eee052416b 100644 --- a/react-icons/md/notifications-off.d.ts +++ b/react-icons/md/notifications-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNotificationsOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/notifications-paused.d.ts b/react-icons/md/notifications-paused.d.ts index 6d455d25ef..76e8d600d9 100644 --- a/react-icons/md/notifications-paused.d.ts +++ b/react-icons/md/notifications-paused.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNotificationsPaused extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/notifications.d.ts b/react-icons/md/notifications.d.ts index 7fb593896c..5061b6fbf2 100644 --- a/react-icons/md/notifications.d.ts +++ b/react-icons/md/notifications.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNotifications extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/now-wallpaper.d.ts b/react-icons/md/now-wallpaper.d.ts index 762d995655..ce24bb6774 100644 --- a/react-icons/md/now-wallpaper.d.ts +++ b/react-icons/md/now-wallpaper.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNowWallpaper extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/now-widgets.d.ts b/react-icons/md/now-widgets.d.ts index 025fa5ba3f..c17dd8a1e2 100644 --- a/react-icons/md/now-widgets.d.ts +++ b/react-icons/md/now-widgets.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdNowWidgets extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/offline-pin.d.ts b/react-icons/md/offline-pin.d.ts index 84de0c67c3..95a0868546 100644 --- a/react-icons/md/offline-pin.d.ts +++ b/react-icons/md/offline-pin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdOfflinePin extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/ondemand-video.d.ts b/react-icons/md/ondemand-video.d.ts index 43b67ead89..ecb47468ba 100644 --- a/react-icons/md/ondemand-video.d.ts +++ b/react-icons/md/ondemand-video.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdOndemandVideo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/opacity.d.ts b/react-icons/md/opacity.d.ts index 9e11a95333..a63f40eb52 100644 --- a/react-icons/md/opacity.d.ts +++ b/react-icons/md/opacity.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdOpacity extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/open-in-browser.d.ts b/react-icons/md/open-in-browser.d.ts index ebd1c0e166..f74f62c621 100644 --- a/react-icons/md/open-in-browser.d.ts +++ b/react-icons/md/open-in-browser.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdOpenInBrowser extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/open-in-new.d.ts b/react-icons/md/open-in-new.d.ts index 17e67dc6f5..62e3068ebd 100644 --- a/react-icons/md/open-in-new.d.ts +++ b/react-icons/md/open-in-new.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdOpenInNew extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/open-with.d.ts b/react-icons/md/open-with.d.ts index 2a16675b3e..2944150a3c 100644 --- a/react-icons/md/open-with.d.ts +++ b/react-icons/md/open-with.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdOpenWith extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pages.d.ts b/react-icons/md/pages.d.ts index 3fcfe0a5fe..1c53fa1c78 100644 --- a/react-icons/md/pages.d.ts +++ b/react-icons/md/pages.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPages extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pageview.d.ts b/react-icons/md/pageview.d.ts index 4d901a7e19..e287b467d1 100644 --- a/react-icons/md/pageview.d.ts +++ b/react-icons/md/pageview.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPageview extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/palette.d.ts b/react-icons/md/palette.d.ts index 967cee8f94..67525e2f02 100644 --- a/react-icons/md/palette.d.ts +++ b/react-icons/md/palette.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPalette extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pan-tool.d.ts b/react-icons/md/pan-tool.d.ts index eeaaeaa4c0..276854e5fc 100644 --- a/react-icons/md/pan-tool.d.ts +++ b/react-icons/md/pan-tool.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPanTool extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/panorama-fish-eye.d.ts b/react-icons/md/panorama-fish-eye.d.ts index 329a7b64d9..9a8e5cb631 100644 --- a/react-icons/md/panorama-fish-eye.d.ts +++ b/react-icons/md/panorama-fish-eye.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPanoramaFishEye extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/panorama-horizontal.d.ts b/react-icons/md/panorama-horizontal.d.ts index 9eeab792cd..0a7ee309a0 100644 --- a/react-icons/md/panorama-horizontal.d.ts +++ b/react-icons/md/panorama-horizontal.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPanoramaHorizontal extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/panorama-vertical.d.ts b/react-icons/md/panorama-vertical.d.ts index 6b7d6f1db0..74464aa811 100644 --- a/react-icons/md/panorama-vertical.d.ts +++ b/react-icons/md/panorama-vertical.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPanoramaVertical extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/panorama-wide-angle.d.ts b/react-icons/md/panorama-wide-angle.d.ts index 8d0f366b3a..b0ff9c518b 100644 --- a/react-icons/md/panorama-wide-angle.d.ts +++ b/react-icons/md/panorama-wide-angle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPanoramaWideAngle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/panorama.d.ts b/react-icons/md/panorama.d.ts index 409d5ed6e9..c0839446ff 100644 --- a/react-icons/md/panorama.d.ts +++ b/react-icons/md/panorama.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPanorama extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/party-mode.d.ts b/react-icons/md/party-mode.d.ts index a203e8c342..8f8b223429 100644 --- a/react-icons/md/party-mode.d.ts +++ b/react-icons/md/party-mode.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPartyMode extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pause-circle-filled.d.ts b/react-icons/md/pause-circle-filled.d.ts index b48c74026e..1f91299cf3 100644 --- a/react-icons/md/pause-circle-filled.d.ts +++ b/react-icons/md/pause-circle-filled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPauseCircleFilled extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pause-circle-outline.d.ts b/react-icons/md/pause-circle-outline.d.ts index 9a900a6a70..8eba5344da 100644 --- a/react-icons/md/pause-circle-outline.d.ts +++ b/react-icons/md/pause-circle-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPauseCircleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pause.d.ts b/react-icons/md/pause.d.ts index caa3e17352..976e92e444 100644 --- a/react-icons/md/pause.d.ts +++ b/react-icons/md/pause.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPause extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/payment.d.ts b/react-icons/md/payment.d.ts index e6ccf7aa26..4dc4bb7a98 100644 --- a/react-icons/md/payment.d.ts +++ b/react-icons/md/payment.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPayment extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/people-outline.d.ts b/react-icons/md/people-outline.d.ts index 6a20458f3d..5ac6dac234 100644 --- a/react-icons/md/people-outline.d.ts +++ b/react-icons/md/people-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPeopleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/people.d.ts b/react-icons/md/people.d.ts index 0ece11cd59..e0d971e69b 100644 --- a/react-icons/md/people.d.ts +++ b/react-icons/md/people.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPeople extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/perm-camera-mic.d.ts b/react-icons/md/perm-camera-mic.d.ts index 971a0f33a5..3919d68543 100644 --- a/react-icons/md/perm-camera-mic.d.ts +++ b/react-icons/md/perm-camera-mic.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPermCameraMic extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/perm-contact-calendar.d.ts b/react-icons/md/perm-contact-calendar.d.ts index 71152edd0f..9f4f78f873 100644 --- a/react-icons/md/perm-contact-calendar.d.ts +++ b/react-icons/md/perm-contact-calendar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPermContactCalendar extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/perm-data-setting.d.ts b/react-icons/md/perm-data-setting.d.ts index 9ec9343e2c..00f30939fb 100644 --- a/react-icons/md/perm-data-setting.d.ts +++ b/react-icons/md/perm-data-setting.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPermDataSetting extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/perm-device-information.d.ts b/react-icons/md/perm-device-information.d.ts index 6d1c487865..b015c12ca7 100644 --- a/react-icons/md/perm-device-information.d.ts +++ b/react-icons/md/perm-device-information.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPermDeviceInformation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/perm-identity.d.ts b/react-icons/md/perm-identity.d.ts index a7e5b12531..659b327041 100644 --- a/react-icons/md/perm-identity.d.ts +++ b/react-icons/md/perm-identity.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPermIdentity extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/perm-media.d.ts b/react-icons/md/perm-media.d.ts index dd63105c86..18d44b350f 100644 --- a/react-icons/md/perm-media.d.ts +++ b/react-icons/md/perm-media.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPermMedia extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/perm-phone-msg.d.ts b/react-icons/md/perm-phone-msg.d.ts index 5819bc2a8c..badfb6b66d 100644 --- a/react-icons/md/perm-phone-msg.d.ts +++ b/react-icons/md/perm-phone-msg.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPermPhoneMsg extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/perm-scan-wifi.d.ts b/react-icons/md/perm-scan-wifi.d.ts index df045d3307..97eb578048 100644 --- a/react-icons/md/perm-scan-wifi.d.ts +++ b/react-icons/md/perm-scan-wifi.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPermScanWifi extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/person-add.d.ts b/react-icons/md/person-add.d.ts index a80075f1c8..fbcaf30900 100644 --- a/react-icons/md/person-add.d.ts +++ b/react-icons/md/person-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPersonAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/person-outline.d.ts b/react-icons/md/person-outline.d.ts index 359f464647..5fca684d40 100644 --- a/react-icons/md/person-outline.d.ts +++ b/react-icons/md/person-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPersonOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/person-pin-circle.d.ts b/react-icons/md/person-pin-circle.d.ts index 653989979b..64716d75fb 100644 --- a/react-icons/md/person-pin-circle.d.ts +++ b/react-icons/md/person-pin-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPersonPinCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/person-pin.d.ts b/react-icons/md/person-pin.d.ts index eafbcd83d8..bb75a861cc 100644 --- a/react-icons/md/person-pin.d.ts +++ b/react-icons/md/person-pin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPersonPin extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/person.d.ts b/react-icons/md/person.d.ts index 530330cd9e..7faee5e57a 100644 --- a/react-icons/md/person.d.ts +++ b/react-icons/md/person.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPerson extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/personal-video.d.ts b/react-icons/md/personal-video.d.ts index b72c14f489..88f73b1966 100644 --- a/react-icons/md/personal-video.d.ts +++ b/react-icons/md/personal-video.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPersonalVideo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pets.d.ts b/react-icons/md/pets.d.ts index 7a9fb747ce..6cd84c1ed9 100644 --- a/react-icons/md/pets.d.ts +++ b/react-icons/md/pets.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPets extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phone-android.d.ts b/react-icons/md/phone-android.d.ts index 6bffd6ef7c..55297bbe6a 100644 --- a/react-icons/md/phone-android.d.ts +++ b/react-icons/md/phone-android.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhoneAndroid extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phone-bluetooth-speaker.d.ts b/react-icons/md/phone-bluetooth-speaker.d.ts index 3395c95243..37bf47bf83 100644 --- a/react-icons/md/phone-bluetooth-speaker.d.ts +++ b/react-icons/md/phone-bluetooth-speaker.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhoneBluetoothSpeaker extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phone-forwarded.d.ts b/react-icons/md/phone-forwarded.d.ts index 206e985a05..85cbd7a00e 100644 --- a/react-icons/md/phone-forwarded.d.ts +++ b/react-icons/md/phone-forwarded.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhoneForwarded extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phone-in-talk.d.ts b/react-icons/md/phone-in-talk.d.ts index 5934da24d6..009a64915f 100644 --- a/react-icons/md/phone-in-talk.d.ts +++ b/react-icons/md/phone-in-talk.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhoneInTalk extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phone-iphone.d.ts b/react-icons/md/phone-iphone.d.ts index 3c9e4b6350..d2aa25ee0e 100644 --- a/react-icons/md/phone-iphone.d.ts +++ b/react-icons/md/phone-iphone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhoneIphone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phone-locked.d.ts b/react-icons/md/phone-locked.d.ts index 9370064722..eadcc1bdfc 100644 --- a/react-icons/md/phone-locked.d.ts +++ b/react-icons/md/phone-locked.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhoneLocked extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phone-missed.d.ts b/react-icons/md/phone-missed.d.ts index eaa3b5622d..ed9fb43d94 100644 --- a/react-icons/md/phone-missed.d.ts +++ b/react-icons/md/phone-missed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhoneMissed extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phone-paused.d.ts b/react-icons/md/phone-paused.d.ts index 45dd40376c..9864736a77 100644 --- a/react-icons/md/phone-paused.d.ts +++ b/react-icons/md/phone-paused.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhonePaused extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phone.d.ts b/react-icons/md/phone.d.ts index 3ce2737de0..c22c0c2798 100644 --- a/react-icons/md/phone.d.ts +++ b/react-icons/md/phone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phonelink-erase.d.ts b/react-icons/md/phonelink-erase.d.ts index 3df95d0af8..53ab6d2ce6 100644 --- a/react-icons/md/phonelink-erase.d.ts +++ b/react-icons/md/phonelink-erase.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhonelinkErase extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phonelink-lock.d.ts b/react-icons/md/phonelink-lock.d.ts index 2fb774271c..fb35b3fcad 100644 --- a/react-icons/md/phonelink-lock.d.ts +++ b/react-icons/md/phonelink-lock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhonelinkLock extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phonelink-off.d.ts b/react-icons/md/phonelink-off.d.ts index ef41b0b6a6..9d5f9abc9b 100644 --- a/react-icons/md/phonelink-off.d.ts +++ b/react-icons/md/phonelink-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhonelinkOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phonelink-ring.d.ts b/react-icons/md/phonelink-ring.d.ts index cfa58d10e2..d5875e841e 100644 --- a/react-icons/md/phonelink-ring.d.ts +++ b/react-icons/md/phonelink-ring.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhonelinkRing extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phonelink-setup.d.ts b/react-icons/md/phonelink-setup.d.ts index 3d4e83f335..88ee029723 100644 --- a/react-icons/md/phonelink-setup.d.ts +++ b/react-icons/md/phonelink-setup.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhonelinkSetup extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/phonelink.d.ts b/react-icons/md/phonelink.d.ts index 754b2c5155..cd03ec359c 100644 --- a/react-icons/md/phonelink.d.ts +++ b/react-icons/md/phonelink.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhonelink extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/photo-album.d.ts b/react-icons/md/photo-album.d.ts index 437dadf1b0..78f5d8d54d 100644 --- a/react-icons/md/photo-album.d.ts +++ b/react-icons/md/photo-album.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhotoAlbum extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/photo-camera.d.ts b/react-icons/md/photo-camera.d.ts index 9a79a20722..b61f881440 100644 --- a/react-icons/md/photo-camera.d.ts +++ b/react-icons/md/photo-camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhotoCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/photo-filter.d.ts b/react-icons/md/photo-filter.d.ts index 8b3a34b4bd..105f221d2b 100644 --- a/react-icons/md/photo-filter.d.ts +++ b/react-icons/md/photo-filter.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhotoFilter extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/photo-library.d.ts b/react-icons/md/photo-library.d.ts index b2af6cacac..8dfd798014 100644 --- a/react-icons/md/photo-library.d.ts +++ b/react-icons/md/photo-library.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhotoLibrary extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/photo-size-select-actual.d.ts b/react-icons/md/photo-size-select-actual.d.ts index 4c40c7b34c..fc3bb109ba 100644 --- a/react-icons/md/photo-size-select-actual.d.ts +++ b/react-icons/md/photo-size-select-actual.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhotoSizeSelectActual extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/photo-size-select-large.d.ts b/react-icons/md/photo-size-select-large.d.ts index 9037238c38..455cc3eba9 100644 --- a/react-icons/md/photo-size-select-large.d.ts +++ b/react-icons/md/photo-size-select-large.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhotoSizeSelectLarge extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/photo-size-select-small.d.ts b/react-icons/md/photo-size-select-small.d.ts index 36531f6da9..0aec69b0e7 100644 --- a/react-icons/md/photo-size-select-small.d.ts +++ b/react-icons/md/photo-size-select-small.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhotoSizeSelectSmall extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/photo.d.ts b/react-icons/md/photo.d.ts index 7304d205af..e07c4d7e8c 100644 --- a/react-icons/md/photo.d.ts +++ b/react-icons/md/photo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhoto extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/picture-as-pdf.d.ts b/react-icons/md/picture-as-pdf.d.ts index e6d7ad5ec8..89d9b27cf9 100644 --- a/react-icons/md/picture-as-pdf.d.ts +++ b/react-icons/md/picture-as-pdf.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPictureAsPdf extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/picture-in-picture-alt.d.ts b/react-icons/md/picture-in-picture-alt.d.ts index d680da7d7b..dfb3d0c759 100644 --- a/react-icons/md/picture-in-picture-alt.d.ts +++ b/react-icons/md/picture-in-picture-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPictureInPictureAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/picture-in-picture.d.ts b/react-icons/md/picture-in-picture.d.ts index 95a002c05f..616af0ecb1 100644 --- a/react-icons/md/picture-in-picture.d.ts +++ b/react-icons/md/picture-in-picture.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPictureInPicture extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pie-chart-outlined.d.ts b/react-icons/md/pie-chart-outlined.d.ts index 6011528b36..442fed8275 100644 --- a/react-icons/md/pie-chart-outlined.d.ts +++ b/react-icons/md/pie-chart-outlined.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPieChartOutlined extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pie-chart.d.ts b/react-icons/md/pie-chart.d.ts index 3e1923ff3e..6e987cd6e3 100644 --- a/react-icons/md/pie-chart.d.ts +++ b/react-icons/md/pie-chart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPieChart extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pin-drop.d.ts b/react-icons/md/pin-drop.d.ts index 68669ad886..e4d196f79c 100644 --- a/react-icons/md/pin-drop.d.ts +++ b/react-icons/md/pin-drop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPinDrop extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/place.d.ts b/react-icons/md/place.d.ts index f5cfa87181..eac8731212 100644 --- a/react-icons/md/place.d.ts +++ b/react-icons/md/place.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPlace extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/play-arrow.d.ts b/react-icons/md/play-arrow.d.ts index 307db41417..1534fd29d0 100644 --- a/react-icons/md/play-arrow.d.ts +++ b/react-icons/md/play-arrow.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPlayArrow extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/play-circle-filled.d.ts b/react-icons/md/play-circle-filled.d.ts index f429c81821..f6a118d06e 100644 --- a/react-icons/md/play-circle-filled.d.ts +++ b/react-icons/md/play-circle-filled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPlayCircleFilled extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/play-circle-outline.d.ts b/react-icons/md/play-circle-outline.d.ts index 4ea40c6077..d91b8982db 100644 --- a/react-icons/md/play-circle-outline.d.ts +++ b/react-icons/md/play-circle-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPlayCircleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/play-for-work.d.ts b/react-icons/md/play-for-work.d.ts index 728008553a..129dab9941 100644 --- a/react-icons/md/play-for-work.d.ts +++ b/react-icons/md/play-for-work.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPlayForWork extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/playlist-add-check.d.ts b/react-icons/md/playlist-add-check.d.ts index 4052d6923b..70e4042333 100644 --- a/react-icons/md/playlist-add-check.d.ts +++ b/react-icons/md/playlist-add-check.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPlaylistAddCheck extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/playlist-add.d.ts b/react-icons/md/playlist-add.d.ts index 77848aaec7..292a943c6c 100644 --- a/react-icons/md/playlist-add.d.ts +++ b/react-icons/md/playlist-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPlaylistAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/playlist-play.d.ts b/react-icons/md/playlist-play.d.ts index e8f92a7f6c..836eaa47c2 100644 --- a/react-icons/md/playlist-play.d.ts +++ b/react-icons/md/playlist-play.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPlaylistPlay extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/plus-one.d.ts b/react-icons/md/plus-one.d.ts index 653b206722..f7978967fd 100644 --- a/react-icons/md/plus-one.d.ts +++ b/react-icons/md/plus-one.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPlusOne extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/poll.d.ts b/react-icons/md/poll.d.ts index 65339f5268..c99371da02 100644 --- a/react-icons/md/poll.d.ts +++ b/react-icons/md/poll.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPoll extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/polymer.d.ts b/react-icons/md/polymer.d.ts index 7e84fdfc0a..5e47c39585 100644 --- a/react-icons/md/polymer.d.ts +++ b/react-icons/md/polymer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPolymer extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pool.d.ts b/react-icons/md/pool.d.ts index b66e44bd94..2da1fcb6c9 100644 --- a/react-icons/md/pool.d.ts +++ b/react-icons/md/pool.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPool extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/portable-wifi-off.d.ts b/react-icons/md/portable-wifi-off.d.ts index fe983ab621..38763a99e1 100644 --- a/react-icons/md/portable-wifi-off.d.ts +++ b/react-icons/md/portable-wifi-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPortableWifiOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/portrait.d.ts b/react-icons/md/portrait.d.ts index 1ad7f3343f..7bdec6db8f 100644 --- a/react-icons/md/portrait.d.ts +++ b/react-icons/md/portrait.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPortrait extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/power-input.d.ts b/react-icons/md/power-input.d.ts index a28296a117..5cec24c8af 100644 --- a/react-icons/md/power-input.d.ts +++ b/react-icons/md/power-input.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPowerInput extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/power-settings-new.d.ts b/react-icons/md/power-settings-new.d.ts index e6e20f5767..576bfe995c 100644 --- a/react-icons/md/power-settings-new.d.ts +++ b/react-icons/md/power-settings-new.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPowerSettingsNew extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/power.d.ts b/react-icons/md/power.d.ts index 2a14156858..78822c79e3 100644 --- a/react-icons/md/power.d.ts +++ b/react-icons/md/power.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPower extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/pregnant-woman.d.ts b/react-icons/md/pregnant-woman.d.ts index 9b8eda86ea..d224ace9b4 100644 --- a/react-icons/md/pregnant-woman.d.ts +++ b/react-icons/md/pregnant-woman.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPregnantWoman extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/present-to-all.d.ts b/react-icons/md/present-to-all.d.ts index 3303c940e0..2ae392805a 100644 --- a/react-icons/md/present-to-all.d.ts +++ b/react-icons/md/present-to-all.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPresentToAll extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/print.d.ts b/react-icons/md/print.d.ts index 5a7b38aa27..c68190d1e2 100644 --- a/react-icons/md/print.d.ts +++ b/react-icons/md/print.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPrint extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/priority-high.d.ts b/react-icons/md/priority-high.d.ts index dc496550ce..68a35035d2 100644 --- a/react-icons/md/priority-high.d.ts +++ b/react-icons/md/priority-high.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPriorityHigh extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/public.d.ts b/react-icons/md/public.d.ts index c3d7214ce0..5aef886b9f 100644 --- a/react-icons/md/public.d.ts +++ b/react-icons/md/public.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPublic extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/publish.d.ts b/react-icons/md/publish.d.ts index db4a3b1f35..35ad94e8db 100644 --- a/react-icons/md/publish.d.ts +++ b/react-icons/md/publish.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPublish extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/query-builder.d.ts b/react-icons/md/query-builder.d.ts index e4a4e2249d..96a80b6b16 100644 --- a/react-icons/md/query-builder.d.ts +++ b/react-icons/md/query-builder.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdQueryBuilder extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/question-answer.d.ts b/react-icons/md/question-answer.d.ts index 6ebcf43c8e..a535d06454 100644 --- a/react-icons/md/question-answer.d.ts +++ b/react-icons/md/question-answer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdQuestionAnswer extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/queue-music.d.ts b/react-icons/md/queue-music.d.ts index 094fae589c..43ad37a9f6 100644 --- a/react-icons/md/queue-music.d.ts +++ b/react-icons/md/queue-music.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdQueueMusic extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/queue-play-next.d.ts b/react-icons/md/queue-play-next.d.ts index 597b5494f7..fc3350106e 100644 --- a/react-icons/md/queue-play-next.d.ts +++ b/react-icons/md/queue-play-next.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdQueuePlayNext extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/queue.d.ts b/react-icons/md/queue.d.ts index 1d1adf5b62..d91295f5d8 100644 --- a/react-icons/md/queue.d.ts +++ b/react-icons/md/queue.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdQueue extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/radio-button-checked.d.ts b/react-icons/md/radio-button-checked.d.ts index 97ce89f3b4..60daa63dbb 100644 --- a/react-icons/md/radio-button-checked.d.ts +++ b/react-icons/md/radio-button-checked.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRadioButtonChecked extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/radio-button-unchecked.d.ts b/react-icons/md/radio-button-unchecked.d.ts index 45858f8f0d..0c236e8480 100644 --- a/react-icons/md/radio-button-unchecked.d.ts +++ b/react-icons/md/radio-button-unchecked.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRadioButtonUnchecked extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/radio.d.ts b/react-icons/md/radio.d.ts index c18de32f40..ed42a6186d 100644 --- a/react-icons/md/radio.d.ts +++ b/react-icons/md/radio.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRadio extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/rate-review.d.ts b/react-icons/md/rate-review.d.ts index 2ab3b3886a..8d03b3cce9 100644 --- a/react-icons/md/rate-review.d.ts +++ b/react-icons/md/rate-review.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRateReview extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/receipt.d.ts b/react-icons/md/receipt.d.ts index 74cb100754..9ca045a812 100644 --- a/react-icons/md/receipt.d.ts +++ b/react-icons/md/receipt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdReceipt extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/recent-actors.d.ts b/react-icons/md/recent-actors.d.ts index 41a14f5a95..42f4a80dd5 100644 --- a/react-icons/md/recent-actors.d.ts +++ b/react-icons/md/recent-actors.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRecentActors extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/record-voice-over.d.ts b/react-icons/md/record-voice-over.d.ts index b7a1d93a63..89cdd6912d 100644 --- a/react-icons/md/record-voice-over.d.ts +++ b/react-icons/md/record-voice-over.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRecordVoiceOver extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/redeem.d.ts b/react-icons/md/redeem.d.ts index 094071f611..839059ee82 100644 --- a/react-icons/md/redeem.d.ts +++ b/react-icons/md/redeem.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRedeem extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/redo.d.ts b/react-icons/md/redo.d.ts index 036ee3cb1b..c97cffc5fe 100644 --- a/react-icons/md/redo.d.ts +++ b/react-icons/md/redo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRedo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/refresh.d.ts b/react-icons/md/refresh.d.ts index 7a7ab5e939..36804df66f 100644 --- a/react-icons/md/refresh.d.ts +++ b/react-icons/md/refresh.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRefresh extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/remove-circle-outline.d.ts b/react-icons/md/remove-circle-outline.d.ts index 51c675ee41..bf9c0b9005 100644 --- a/react-icons/md/remove-circle-outline.d.ts +++ b/react-icons/md/remove-circle-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRemoveCircleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/remove-circle.d.ts b/react-icons/md/remove-circle.d.ts index 9f9f61c684..4cbe816ccf 100644 --- a/react-icons/md/remove-circle.d.ts +++ b/react-icons/md/remove-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRemoveCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/remove-from-queue.d.ts b/react-icons/md/remove-from-queue.d.ts index 21ece9c2ee..0e9121c537 100644 --- a/react-icons/md/remove-from-queue.d.ts +++ b/react-icons/md/remove-from-queue.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRemoveFromQueue extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/remove-red-eye.d.ts b/react-icons/md/remove-red-eye.d.ts index db3fcbfcd1..c557b24102 100644 --- a/react-icons/md/remove-red-eye.d.ts +++ b/react-icons/md/remove-red-eye.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRemoveRedEye extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/remove-shopping-cart.d.ts b/react-icons/md/remove-shopping-cart.d.ts index c5fa8dc01b..8410212cdd 100644 --- a/react-icons/md/remove-shopping-cart.d.ts +++ b/react-icons/md/remove-shopping-cart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRemoveShoppingCart extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/remove.d.ts b/react-icons/md/remove.d.ts index e1ebf1bfc5..c85fc1603f 100644 --- a/react-icons/md/remove.d.ts +++ b/react-icons/md/remove.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRemove extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/reorder.d.ts b/react-icons/md/reorder.d.ts index ab0b465152..8ab8438ee5 100644 --- a/react-icons/md/reorder.d.ts +++ b/react-icons/md/reorder.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdReorder extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/repeat-one.d.ts b/react-icons/md/repeat-one.d.ts index e4fc80eb27..4f64c83662 100644 --- a/react-icons/md/repeat-one.d.ts +++ b/react-icons/md/repeat-one.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRepeatOne extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/repeat.d.ts b/react-icons/md/repeat.d.ts index d0cd3655fd..6a721d01dc 100644 --- a/react-icons/md/repeat.d.ts +++ b/react-icons/md/repeat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRepeat extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/replay-10.d.ts b/react-icons/md/replay-10.d.ts index 70d75d7856..cef2f2de04 100644 --- a/react-icons/md/replay-10.d.ts +++ b/react-icons/md/replay-10.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdReplay10 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/replay-30.d.ts b/react-icons/md/replay-30.d.ts index 1972668312..208c9d9f20 100644 --- a/react-icons/md/replay-30.d.ts +++ b/react-icons/md/replay-30.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdReplay30 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/replay-5.d.ts b/react-icons/md/replay-5.d.ts index 5fe22c164f..0d53436dae 100644 --- a/react-icons/md/replay-5.d.ts +++ b/react-icons/md/replay-5.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdReplay5 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/replay.d.ts b/react-icons/md/replay.d.ts index dfc3ab4fa2..f3b619d7d8 100644 --- a/react-icons/md/replay.d.ts +++ b/react-icons/md/replay.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdReplay extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/reply-all.d.ts b/react-icons/md/reply-all.d.ts index 51df424dc9..7b763d52a1 100644 --- a/react-icons/md/reply-all.d.ts +++ b/react-icons/md/reply-all.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdReplyAll extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/reply.d.ts b/react-icons/md/reply.d.ts index c483b86b82..582843a5ab 100644 --- a/react-icons/md/reply.d.ts +++ b/react-icons/md/reply.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdReply extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/report-problem.d.ts b/react-icons/md/report-problem.d.ts index c8dacf054c..b7f764b4ba 100644 --- a/react-icons/md/report-problem.d.ts +++ b/react-icons/md/report-problem.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdReportProblem extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/report.d.ts b/react-icons/md/report.d.ts index 360b8cbc3a..bf52e62396 100644 --- a/react-icons/md/report.d.ts +++ b/react-icons/md/report.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdReport extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/restaurant-menu.d.ts b/react-icons/md/restaurant-menu.d.ts index ac96c5b1a2..64e962ecac 100644 --- a/react-icons/md/restaurant-menu.d.ts +++ b/react-icons/md/restaurant-menu.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRestaurantMenu extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/restaurant.d.ts b/react-icons/md/restaurant.d.ts index 01c48c9988..026b3022c9 100644 --- a/react-icons/md/restaurant.d.ts +++ b/react-icons/md/restaurant.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRestaurant extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/restore-page.d.ts b/react-icons/md/restore-page.d.ts index 21442288f4..0ca3b9a452 100644 --- a/react-icons/md/restore-page.d.ts +++ b/react-icons/md/restore-page.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRestorePage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/restore.d.ts b/react-icons/md/restore.d.ts index adeebb72ce..a6fa2285b7 100644 --- a/react-icons/md/restore.d.ts +++ b/react-icons/md/restore.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRestore extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/ring-volume.d.ts b/react-icons/md/ring-volume.d.ts index 2136940900..1df24dfc99 100644 --- a/react-icons/md/ring-volume.d.ts +++ b/react-icons/md/ring-volume.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRingVolume extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/room-service.d.ts b/react-icons/md/room-service.d.ts index 9cb60d92ba..3d56c6a52d 100644 --- a/react-icons/md/room-service.d.ts +++ b/react-icons/md/room-service.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRoomService extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/room.d.ts b/react-icons/md/room.d.ts index 2f50ff33e3..82dcbeba95 100644 --- a/react-icons/md/room.d.ts +++ b/react-icons/md/room.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRoom extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/rotate-90-degrees-ccw.d.ts b/react-icons/md/rotate-90-degrees-ccw.d.ts index 80e3b85e93..8cbed1bd43 100644 --- a/react-icons/md/rotate-90-degrees-ccw.d.ts +++ b/react-icons/md/rotate-90-degrees-ccw.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRotate90DegreesCcw extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/rotate-left.d.ts b/react-icons/md/rotate-left.d.ts index 00781fd467..fb5f965f8b 100644 --- a/react-icons/md/rotate-left.d.ts +++ b/react-icons/md/rotate-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRotateLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/rotate-right.d.ts b/react-icons/md/rotate-right.d.ts index 833bf60899..eef60f54e6 100644 --- a/react-icons/md/rotate-right.d.ts +++ b/react-icons/md/rotate-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRotateRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/rounded-corner.d.ts b/react-icons/md/rounded-corner.d.ts index 32bc3f28d8..c2ec95ced8 100644 --- a/react-icons/md/rounded-corner.d.ts +++ b/react-icons/md/rounded-corner.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRoundedCorner extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/router.d.ts b/react-icons/md/router.d.ts index 781a1dd169..38adce79db 100644 --- a/react-icons/md/router.d.ts +++ b/react-icons/md/router.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRouter extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/rowing.d.ts b/react-icons/md/rowing.d.ts index 055733fbab..9fea44a803 100644 --- a/react-icons/md/rowing.d.ts +++ b/react-icons/md/rowing.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRowing extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/rss-feed.d.ts b/react-icons/md/rss-feed.d.ts index d47035083e..959a26c06e 100644 --- a/react-icons/md/rss-feed.d.ts +++ b/react-icons/md/rss-feed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRssFeed extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/rv-hookup.d.ts b/react-icons/md/rv-hookup.d.ts index 49c78419d2..d58a5403cb 100644 --- a/react-icons/md/rv-hookup.d.ts +++ b/react-icons/md/rv-hookup.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdRvHookup extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/satellite.d.ts b/react-icons/md/satellite.d.ts index 898852a6be..015355b402 100644 --- a/react-icons/md/satellite.d.ts +++ b/react-icons/md/satellite.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSatellite extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/save.d.ts b/react-icons/md/save.d.ts index 7a8250c634..e167746b4f 100644 --- a/react-icons/md/save.d.ts +++ b/react-icons/md/save.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSave extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/scanner.d.ts b/react-icons/md/scanner.d.ts index b0503667fc..b6a06b4f1d 100644 --- a/react-icons/md/scanner.d.ts +++ b/react-icons/md/scanner.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdScanner extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/schedule.d.ts b/react-icons/md/schedule.d.ts index b438196298..445bb09834 100644 --- a/react-icons/md/schedule.d.ts +++ b/react-icons/md/schedule.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSchedule extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/school.d.ts b/react-icons/md/school.d.ts index 2d0032a8a4..9491da3a00 100644 --- a/react-icons/md/school.d.ts +++ b/react-icons/md/school.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSchool extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/screen-lock-landscape.d.ts b/react-icons/md/screen-lock-landscape.d.ts index 1c72c25b6f..5f364a0cd8 100644 --- a/react-icons/md/screen-lock-landscape.d.ts +++ b/react-icons/md/screen-lock-landscape.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdScreenLockLandscape extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/screen-lock-portrait.d.ts b/react-icons/md/screen-lock-portrait.d.ts index 341778c4d8..572a5c281c 100644 --- a/react-icons/md/screen-lock-portrait.d.ts +++ b/react-icons/md/screen-lock-portrait.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdScreenLockPortrait extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/screen-lock-rotation.d.ts b/react-icons/md/screen-lock-rotation.d.ts index 8983bfd97f..e1b25f9119 100644 --- a/react-icons/md/screen-lock-rotation.d.ts +++ b/react-icons/md/screen-lock-rotation.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdScreenLockRotation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/screen-rotation.d.ts b/react-icons/md/screen-rotation.d.ts index 7754cf623e..d3e2c951c1 100644 --- a/react-icons/md/screen-rotation.d.ts +++ b/react-icons/md/screen-rotation.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdScreenRotation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/screen-share.d.ts b/react-icons/md/screen-share.d.ts index b88b3ec3dd..4e28a0e073 100644 --- a/react-icons/md/screen-share.d.ts +++ b/react-icons/md/screen-share.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdScreenShare extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sd-card.d.ts b/react-icons/md/sd-card.d.ts index 979b7a949a..17988eed64 100644 --- a/react-icons/md/sd-card.d.ts +++ b/react-icons/md/sd-card.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSdCard extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sd-storage.d.ts b/react-icons/md/sd-storage.d.ts index 811180683f..9dfb4e918f 100644 --- a/react-icons/md/sd-storage.d.ts +++ b/react-icons/md/sd-storage.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSdStorage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/search.d.ts b/react-icons/md/search.d.ts index 99c919293e..98d0ea6dcd 100644 --- a/react-icons/md/search.d.ts +++ b/react-icons/md/search.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSearch extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/security.d.ts b/react-icons/md/security.d.ts index b80f2802d1..768234cab5 100644 --- a/react-icons/md/security.d.ts +++ b/react-icons/md/security.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSecurity extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/select-all.d.ts b/react-icons/md/select-all.d.ts index b9b4135d19..23e90960f8 100644 --- a/react-icons/md/select-all.d.ts +++ b/react-icons/md/select-all.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSelectAll extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/send.d.ts b/react-icons/md/send.d.ts index 698a92b21e..34bbc6e166 100644 --- a/react-icons/md/send.d.ts +++ b/react-icons/md/send.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSend extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sentiment-dissatisfied.d.ts b/react-icons/md/sentiment-dissatisfied.d.ts index a7720ca7a6..05615fa01f 100644 --- a/react-icons/md/sentiment-dissatisfied.d.ts +++ b/react-icons/md/sentiment-dissatisfied.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSentimentDissatisfied extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sentiment-neutral.d.ts b/react-icons/md/sentiment-neutral.d.ts index 8774b302cd..2aedfaf77f 100644 --- a/react-icons/md/sentiment-neutral.d.ts +++ b/react-icons/md/sentiment-neutral.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSentimentNeutral extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sentiment-satisfied.d.ts b/react-icons/md/sentiment-satisfied.d.ts index 079aee9844..174dfee72a 100644 --- a/react-icons/md/sentiment-satisfied.d.ts +++ b/react-icons/md/sentiment-satisfied.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSentimentSatisfied extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sentiment-very-dissatisfied.d.ts b/react-icons/md/sentiment-very-dissatisfied.d.ts index ede62ab469..7b21215ee7 100644 --- a/react-icons/md/sentiment-very-dissatisfied.d.ts +++ b/react-icons/md/sentiment-very-dissatisfied.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSentimentVeryDissatisfied extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sentiment-very-satisfied.d.ts b/react-icons/md/sentiment-very-satisfied.d.ts index 8400df879b..150a13eecb 100644 --- a/react-icons/md/sentiment-very-satisfied.d.ts +++ b/react-icons/md/sentiment-very-satisfied.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSentimentVerySatisfied extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-applications.d.ts b/react-icons/md/settings-applications.d.ts index c5a662b244..95f3d7ed28 100644 --- a/react-icons/md/settings-applications.d.ts +++ b/react-icons/md/settings-applications.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsApplications extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-backup-restore.d.ts b/react-icons/md/settings-backup-restore.d.ts index 852e417122..1b7dbcf401 100644 --- a/react-icons/md/settings-backup-restore.d.ts +++ b/react-icons/md/settings-backup-restore.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsBackupRestore extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-bluetooth.d.ts b/react-icons/md/settings-bluetooth.d.ts index 6b8b22b434..b052404f44 100644 --- a/react-icons/md/settings-bluetooth.d.ts +++ b/react-icons/md/settings-bluetooth.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsBluetooth extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-brightness.d.ts b/react-icons/md/settings-brightness.d.ts index 20a0b4cfb7..e7d4b5f09c 100644 --- a/react-icons/md/settings-brightness.d.ts +++ b/react-icons/md/settings-brightness.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsBrightness extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-cell.d.ts b/react-icons/md/settings-cell.d.ts index 44729bd993..33e5c9fd48 100644 --- a/react-icons/md/settings-cell.d.ts +++ b/react-icons/md/settings-cell.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsCell extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-ethernet.d.ts b/react-icons/md/settings-ethernet.d.ts index c94d2d1392..a6895ec756 100644 --- a/react-icons/md/settings-ethernet.d.ts +++ b/react-icons/md/settings-ethernet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsEthernet extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-input-antenna.d.ts b/react-icons/md/settings-input-antenna.d.ts index f9d108d911..70396a08e9 100644 --- a/react-icons/md/settings-input-antenna.d.ts +++ b/react-icons/md/settings-input-antenna.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsInputAntenna extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-input-component.d.ts b/react-icons/md/settings-input-component.d.ts index b262f2953b..f1bfff537b 100644 --- a/react-icons/md/settings-input-component.d.ts +++ b/react-icons/md/settings-input-component.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsInputComponent extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-input-composite.d.ts b/react-icons/md/settings-input-composite.d.ts index 866644f99a..337a3d9d08 100644 --- a/react-icons/md/settings-input-composite.d.ts +++ b/react-icons/md/settings-input-composite.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsInputComposite extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-input-hdmi.d.ts b/react-icons/md/settings-input-hdmi.d.ts index 5eca80b0bb..b9d380a573 100644 --- a/react-icons/md/settings-input-hdmi.d.ts +++ b/react-icons/md/settings-input-hdmi.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsInputHdmi extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-input-svideo.d.ts b/react-icons/md/settings-input-svideo.d.ts index 772b817bfe..4f151625dc 100644 --- a/react-icons/md/settings-input-svideo.d.ts +++ b/react-icons/md/settings-input-svideo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsInputSvideo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-overscan.d.ts b/react-icons/md/settings-overscan.d.ts index a0770b97c3..789c49c6e5 100644 --- a/react-icons/md/settings-overscan.d.ts +++ b/react-icons/md/settings-overscan.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsOverscan extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-phone.d.ts b/react-icons/md/settings-phone.d.ts index 1d4b4e2cca..67d5485bcf 100644 --- a/react-icons/md/settings-phone.d.ts +++ b/react-icons/md/settings-phone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsPhone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-power.d.ts b/react-icons/md/settings-power.d.ts index 2a71f561d7..1bb0dc69c6 100644 --- a/react-icons/md/settings-power.d.ts +++ b/react-icons/md/settings-power.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsPower extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-remote.d.ts b/react-icons/md/settings-remote.d.ts index d996216fb3..4453a24cf6 100644 --- a/react-icons/md/settings-remote.d.ts +++ b/react-icons/md/settings-remote.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsRemote extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-system-daydream.d.ts b/react-icons/md/settings-system-daydream.d.ts index db317ffe17..ccf0495bd3 100644 --- a/react-icons/md/settings-system-daydream.d.ts +++ b/react-icons/md/settings-system-daydream.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsSystemDaydream extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings-voice.d.ts b/react-icons/md/settings-voice.d.ts index a972251712..1b69b5d07e 100644 --- a/react-icons/md/settings-voice.d.ts +++ b/react-icons/md/settings-voice.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettingsVoice extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/settings.d.ts b/react-icons/md/settings.d.ts index 734c0047b9..a7a57525e9 100644 --- a/react-icons/md/settings.d.ts +++ b/react-icons/md/settings.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSettings extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/share.d.ts b/react-icons/md/share.d.ts index f9bce23a9c..ae392fd7a1 100644 --- a/react-icons/md/share.d.ts +++ b/react-icons/md/share.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdShare extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/shop-two.d.ts b/react-icons/md/shop-two.d.ts index e60b964290..0a485ae60d 100644 --- a/react-icons/md/shop-two.d.ts +++ b/react-icons/md/shop-two.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdShopTwo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/shop.d.ts b/react-icons/md/shop.d.ts index 0c2af01020..82745dfb04 100644 --- a/react-icons/md/shop.d.ts +++ b/react-icons/md/shop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdShop extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/shopping-basket.d.ts b/react-icons/md/shopping-basket.d.ts index 2b40316eb6..8d8c264902 100644 --- a/react-icons/md/shopping-basket.d.ts +++ b/react-icons/md/shopping-basket.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdShoppingBasket extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/shopping-cart.d.ts b/react-icons/md/shopping-cart.d.ts index dd3733a2ee..ca9e10899c 100644 --- a/react-icons/md/shopping-cart.d.ts +++ b/react-icons/md/shopping-cart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdShoppingCart extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/short-text.d.ts b/react-icons/md/short-text.d.ts index a66ed5a4f3..5c42e287dd 100644 --- a/react-icons/md/short-text.d.ts +++ b/react-icons/md/short-text.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdShortText extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/show-chart.d.ts b/react-icons/md/show-chart.d.ts index 2111950ee9..9820b0c744 100644 --- a/react-icons/md/show-chart.d.ts +++ b/react-icons/md/show-chart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdShowChart extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/shuffle.d.ts b/react-icons/md/shuffle.d.ts index 8b7c66a3c4..6fc0d6f399 100644 --- a/react-icons/md/shuffle.d.ts +++ b/react-icons/md/shuffle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdShuffle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/signal-cellular-4-bar.d.ts b/react-icons/md/signal-cellular-4-bar.d.ts index ba15cdb135..31258a9fb9 100644 --- a/react-icons/md/signal-cellular-4-bar.d.ts +++ b/react-icons/md/signal-cellular-4-bar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSignalCellular4Bar extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/signal-cellular-connected-no-internet-4-bar.d.ts b/react-icons/md/signal-cellular-connected-no-internet-4-bar.d.ts index eba4104439..94f5bdbbc9 100644 --- a/react-icons/md/signal-cellular-connected-no-internet-4-bar.d.ts +++ b/react-icons/md/signal-cellular-connected-no-internet-4-bar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSignalCellularConnectedNoInternet4Bar extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/signal-cellular-no-sim.d.ts b/react-icons/md/signal-cellular-no-sim.d.ts index 9bae0ad813..5c0c8a5897 100644 --- a/react-icons/md/signal-cellular-no-sim.d.ts +++ b/react-icons/md/signal-cellular-no-sim.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSignalCellularNoSim extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/signal-cellular-null.d.ts b/react-icons/md/signal-cellular-null.d.ts index c1b7b55b7e..522133eea5 100644 --- a/react-icons/md/signal-cellular-null.d.ts +++ b/react-icons/md/signal-cellular-null.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSignalCellularNull extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/signal-cellular-off.d.ts b/react-icons/md/signal-cellular-off.d.ts index 0da9be4b79..d9112ea81a 100644 --- a/react-icons/md/signal-cellular-off.d.ts +++ b/react-icons/md/signal-cellular-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSignalCellularOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/signal-wifi-4-bar-lock.d.ts b/react-icons/md/signal-wifi-4-bar-lock.d.ts index 81e9136b9b..8abedc2746 100644 --- a/react-icons/md/signal-wifi-4-bar-lock.d.ts +++ b/react-icons/md/signal-wifi-4-bar-lock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSignalWifi4BarLock extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/signal-wifi-4-bar.d.ts b/react-icons/md/signal-wifi-4-bar.d.ts index 8051e8d0fa..88872ac517 100644 --- a/react-icons/md/signal-wifi-4-bar.d.ts +++ b/react-icons/md/signal-wifi-4-bar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSignalWifi4Bar extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/signal-wifi-off.d.ts b/react-icons/md/signal-wifi-off.d.ts index eb9144e525..0a247fd738 100644 --- a/react-icons/md/signal-wifi-off.d.ts +++ b/react-icons/md/signal-wifi-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSignalWifiOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sim-card-alert.d.ts b/react-icons/md/sim-card-alert.d.ts index 82596f557c..95de6ad37e 100644 --- a/react-icons/md/sim-card-alert.d.ts +++ b/react-icons/md/sim-card-alert.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSimCardAlert extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sim-card.d.ts b/react-icons/md/sim-card.d.ts index 27a1d002ae..99ce2a5bae 100644 --- a/react-icons/md/sim-card.d.ts +++ b/react-icons/md/sim-card.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSimCard extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/skip-next.d.ts b/react-icons/md/skip-next.d.ts index 1abf4d63e6..8b4d7521f7 100644 --- a/react-icons/md/skip-next.d.ts +++ b/react-icons/md/skip-next.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSkipNext extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/skip-previous.d.ts b/react-icons/md/skip-previous.d.ts index fbcc20372a..6db6085f05 100644 --- a/react-icons/md/skip-previous.d.ts +++ b/react-icons/md/skip-previous.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSkipPrevious extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/slideshow.d.ts b/react-icons/md/slideshow.d.ts index 4a121257cc..581ae9c51a 100644 --- a/react-icons/md/slideshow.d.ts +++ b/react-icons/md/slideshow.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSlideshow extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/slow-motion-video.d.ts b/react-icons/md/slow-motion-video.d.ts index 846c21a378..2ea24f2e10 100644 --- a/react-icons/md/slow-motion-video.d.ts +++ b/react-icons/md/slow-motion-video.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSlowMotionVideo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/smartphone.d.ts b/react-icons/md/smartphone.d.ts index b7b81103d7..34a3518890 100644 --- a/react-icons/md/smartphone.d.ts +++ b/react-icons/md/smartphone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSmartphone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/smoke-free.d.ts b/react-icons/md/smoke-free.d.ts index 80ac19c831..6c50ff67a6 100644 --- a/react-icons/md/smoke-free.d.ts +++ b/react-icons/md/smoke-free.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSmokeFree extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/smoking-rooms.d.ts b/react-icons/md/smoking-rooms.d.ts index 05074808d0..9851ca579c 100644 --- a/react-icons/md/smoking-rooms.d.ts +++ b/react-icons/md/smoking-rooms.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSmokingRooms extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sms-failed.d.ts b/react-icons/md/sms-failed.d.ts index ad4b374b25..59eb27f3f4 100644 --- a/react-icons/md/sms-failed.d.ts +++ b/react-icons/md/sms-failed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSmsFailed extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sms.d.ts b/react-icons/md/sms.d.ts index c2e81cc4bd..0a855fdcf6 100644 --- a/react-icons/md/sms.d.ts +++ b/react-icons/md/sms.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSms extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/snooze.d.ts b/react-icons/md/snooze.d.ts index 077c5c73f3..3eb9afadb1 100644 --- a/react-icons/md/snooze.d.ts +++ b/react-icons/md/snooze.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSnooze extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sort-by-alpha.d.ts b/react-icons/md/sort-by-alpha.d.ts index cd59d5b99e..f1e0f87977 100644 --- a/react-icons/md/sort-by-alpha.d.ts +++ b/react-icons/md/sort-by-alpha.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSortByAlpha extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sort.d.ts b/react-icons/md/sort.d.ts index 7d3183de1c..5ea89d650b 100644 --- a/react-icons/md/sort.d.ts +++ b/react-icons/md/sort.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSort extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/spa.d.ts b/react-icons/md/spa.d.ts index d325fe0519..51a13a0a2b 100644 --- a/react-icons/md/spa.d.ts +++ b/react-icons/md/spa.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSpa extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/space-bar.d.ts b/react-icons/md/space-bar.d.ts index a99c41c81c..20bfb23488 100644 --- a/react-icons/md/space-bar.d.ts +++ b/react-icons/md/space-bar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSpaceBar extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/speaker-group.d.ts b/react-icons/md/speaker-group.d.ts index b2793c0815..3eb53bf5ef 100644 --- a/react-icons/md/speaker-group.d.ts +++ b/react-icons/md/speaker-group.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSpeakerGroup extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/speaker-notes-off.d.ts b/react-icons/md/speaker-notes-off.d.ts index 3e83815529..1f609032da 100644 --- a/react-icons/md/speaker-notes-off.d.ts +++ b/react-icons/md/speaker-notes-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSpeakerNotesOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/speaker-notes.d.ts b/react-icons/md/speaker-notes.d.ts index 63aa9978df..587ef04f8d 100644 --- a/react-icons/md/speaker-notes.d.ts +++ b/react-icons/md/speaker-notes.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSpeakerNotes extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/speaker-phone.d.ts b/react-icons/md/speaker-phone.d.ts index bf343c6952..d1b843725e 100644 --- a/react-icons/md/speaker-phone.d.ts +++ b/react-icons/md/speaker-phone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSpeakerPhone extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/speaker.d.ts b/react-icons/md/speaker.d.ts index 1c0709f0c5..e11fea172d 100644 --- a/react-icons/md/speaker.d.ts +++ b/react-icons/md/speaker.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSpeaker extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/spellcheck.d.ts b/react-icons/md/spellcheck.d.ts index b4000a076d..f51f83243c 100644 --- a/react-icons/md/spellcheck.d.ts +++ b/react-icons/md/spellcheck.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSpellcheck extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/star-border.d.ts b/react-icons/md/star-border.d.ts index 513a4b0936..30dac545e3 100644 --- a/react-icons/md/star-border.d.ts +++ b/react-icons/md/star-border.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStarBorder extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/star-half.d.ts b/react-icons/md/star-half.d.ts index c7ee0dde07..e62e2177a2 100644 --- a/react-icons/md/star-half.d.ts +++ b/react-icons/md/star-half.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStarHalf extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/star-outline.d.ts b/react-icons/md/star-outline.d.ts index 595d80c494..c85881bf74 100644 --- a/react-icons/md/star-outline.d.ts +++ b/react-icons/md/star-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStarOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/star.d.ts b/react-icons/md/star.d.ts index 65a7398f6d..e7690143d0 100644 --- a/react-icons/md/star.d.ts +++ b/react-icons/md/star.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStar extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/stars.d.ts b/react-icons/md/stars.d.ts index 12f1695a7a..0d4d1e8ab3 100644 --- a/react-icons/md/stars.d.ts +++ b/react-icons/md/stars.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStars extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/stay-current-landscape.d.ts b/react-icons/md/stay-current-landscape.d.ts index a5f304aad1..650b4f868d 100644 --- a/react-icons/md/stay-current-landscape.d.ts +++ b/react-icons/md/stay-current-landscape.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStayCurrentLandscape extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/stay-current-portrait.d.ts b/react-icons/md/stay-current-portrait.d.ts index 551e47bab1..941eae88de 100644 --- a/react-icons/md/stay-current-portrait.d.ts +++ b/react-icons/md/stay-current-portrait.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStayCurrentPortrait extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/stay-primary-landscape.d.ts b/react-icons/md/stay-primary-landscape.d.ts index b9c5480f0b..512c47c20e 100644 --- a/react-icons/md/stay-primary-landscape.d.ts +++ b/react-icons/md/stay-primary-landscape.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStayPrimaryLandscape extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/stay-primary-portrait.d.ts b/react-icons/md/stay-primary-portrait.d.ts index fb81b17571..2edc5be4d8 100644 --- a/react-icons/md/stay-primary-portrait.d.ts +++ b/react-icons/md/stay-primary-portrait.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStayPrimaryPortrait extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/stop-screen-share.d.ts b/react-icons/md/stop-screen-share.d.ts index 5fe257544c..dc4f5fbde3 100644 --- a/react-icons/md/stop-screen-share.d.ts +++ b/react-icons/md/stop-screen-share.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStopScreenShare extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/stop.d.ts b/react-icons/md/stop.d.ts index 89e4e3dcf5..5f317956a9 100644 --- a/react-icons/md/stop.d.ts +++ b/react-icons/md/stop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStop extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/storage.d.ts b/react-icons/md/storage.d.ts index 6e0287c7cf..ee8c28184b 100644 --- a/react-icons/md/storage.d.ts +++ b/react-icons/md/storage.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStorage extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/store-mall-directory.d.ts b/react-icons/md/store-mall-directory.d.ts index d6d0f3ae04..98be2200a1 100644 --- a/react-icons/md/store-mall-directory.d.ts +++ b/react-icons/md/store-mall-directory.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStoreMallDirectory extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/store.d.ts b/react-icons/md/store.d.ts index 7810674bc0..306c6b84f1 100644 --- a/react-icons/md/store.d.ts +++ b/react-icons/md/store.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStore extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/straighten.d.ts b/react-icons/md/straighten.d.ts index f0d72a6a47..fb9dd4605a 100644 --- a/react-icons/md/straighten.d.ts +++ b/react-icons/md/straighten.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStraighten extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/streetview.d.ts b/react-icons/md/streetview.d.ts index 6e975e8190..ee56384b92 100644 --- a/react-icons/md/streetview.d.ts +++ b/react-icons/md/streetview.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStreetview extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/strikethrough-s.d.ts b/react-icons/md/strikethrough-s.d.ts index 22f207d3e1..fab921b89b 100644 --- a/react-icons/md/strikethrough-s.d.ts +++ b/react-icons/md/strikethrough-s.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStrikethroughS extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/style.d.ts b/react-icons/md/style.d.ts index 7bdcae58dc..36ae90814b 100644 --- a/react-icons/md/style.d.ts +++ b/react-icons/md/style.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdStyle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/subdirectory-arrow-left.d.ts b/react-icons/md/subdirectory-arrow-left.d.ts index 47119a8fe2..fcd32ec0d7 100644 --- a/react-icons/md/subdirectory-arrow-left.d.ts +++ b/react-icons/md/subdirectory-arrow-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSubdirectoryArrowLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/subdirectory-arrow-right.d.ts b/react-icons/md/subdirectory-arrow-right.d.ts index 5cbcdeb77a..2df3d31109 100644 --- a/react-icons/md/subdirectory-arrow-right.d.ts +++ b/react-icons/md/subdirectory-arrow-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSubdirectoryArrowRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/subject.d.ts b/react-icons/md/subject.d.ts index 81ca2b871b..8e8f17f88d 100644 --- a/react-icons/md/subject.d.ts +++ b/react-icons/md/subject.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSubject extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/subscriptions.d.ts b/react-icons/md/subscriptions.d.ts index 3f592255d7..8858bced43 100644 --- a/react-icons/md/subscriptions.d.ts +++ b/react-icons/md/subscriptions.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSubscriptions extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/subtitles.d.ts b/react-icons/md/subtitles.d.ts index 0b4257334e..d0a0cf29f3 100644 --- a/react-icons/md/subtitles.d.ts +++ b/react-icons/md/subtitles.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSubtitles extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/subway.d.ts b/react-icons/md/subway.d.ts index cb841055fa..8c6352dc7d 100644 --- a/react-icons/md/subway.d.ts +++ b/react-icons/md/subway.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSubway extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/supervisor-account.d.ts b/react-icons/md/supervisor-account.d.ts index 8c977c80f5..8f3b274c4e 100644 --- a/react-icons/md/supervisor-account.d.ts +++ b/react-icons/md/supervisor-account.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSupervisorAccount extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/surround-sound.d.ts b/react-icons/md/surround-sound.d.ts index 72bb4a4c7a..4ea34d59f3 100644 --- a/react-icons/md/surround-sound.d.ts +++ b/react-icons/md/surround-sound.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSurroundSound extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/swap-calls.d.ts b/react-icons/md/swap-calls.d.ts index cbb7de2169..d9cf542263 100644 --- a/react-icons/md/swap-calls.d.ts +++ b/react-icons/md/swap-calls.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSwapCalls extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/swap-horiz.d.ts b/react-icons/md/swap-horiz.d.ts index 391bc3762d..0a9283d954 100644 --- a/react-icons/md/swap-horiz.d.ts +++ b/react-icons/md/swap-horiz.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSwapHoriz extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/swap-vert.d.ts b/react-icons/md/swap-vert.d.ts index f63001a514..f1233ec179 100644 --- a/react-icons/md/swap-vert.d.ts +++ b/react-icons/md/swap-vert.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSwapVert extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/swap-vertical-circle.d.ts b/react-icons/md/swap-vertical-circle.d.ts index 6b38e0d145..ba99926278 100644 --- a/react-icons/md/swap-vertical-circle.d.ts +++ b/react-icons/md/swap-vertical-circle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSwapVerticalCircle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/switch-camera.d.ts b/react-icons/md/switch-camera.d.ts index dc2bf2a634..8d8c794285 100644 --- a/react-icons/md/switch-camera.d.ts +++ b/react-icons/md/switch-camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSwitchCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/switch-video.d.ts b/react-icons/md/switch-video.d.ts index 9b7dbd4dc5..9794689e64 100644 --- a/react-icons/md/switch-video.d.ts +++ b/react-icons/md/switch-video.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSwitchVideo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sync-disabled.d.ts b/react-icons/md/sync-disabled.d.ts index b67b661649..226b3c8dc4 100644 --- a/react-icons/md/sync-disabled.d.ts +++ b/react-icons/md/sync-disabled.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSyncDisabled extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sync-problem.d.ts b/react-icons/md/sync-problem.d.ts index 52576cbf44..e8761764da 100644 --- a/react-icons/md/sync-problem.d.ts +++ b/react-icons/md/sync-problem.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSyncProblem extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/sync.d.ts b/react-icons/md/sync.d.ts index 294c385d01..03406f4230 100644 --- a/react-icons/md/sync.d.ts +++ b/react-icons/md/sync.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSync extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/system-update-alt.d.ts b/react-icons/md/system-update-alt.d.ts index 858eb653d2..517200c650 100644 --- a/react-icons/md/system-update-alt.d.ts +++ b/react-icons/md/system-update-alt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSystemUpdateAlt extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/system-update.d.ts b/react-icons/md/system-update.d.ts index 23c35b7c6f..dbdaeea7e6 100644 --- a/react-icons/md/system-update.d.ts +++ b/react-icons/md/system-update.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdSystemUpdate extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tab-unselected.d.ts b/react-icons/md/tab-unselected.d.ts index b01e374044..0ed14f4a5f 100644 --- a/react-icons/md/tab-unselected.d.ts +++ b/react-icons/md/tab-unselected.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTabUnselected extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tab.d.ts b/react-icons/md/tab.d.ts index 59b84c13a6..7cb6f19eae 100644 --- a/react-icons/md/tab.d.ts +++ b/react-icons/md/tab.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTab extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tablet-android.d.ts b/react-icons/md/tablet-android.d.ts index fa79ab69de..b6ab7be7a2 100644 --- a/react-icons/md/tablet-android.d.ts +++ b/react-icons/md/tablet-android.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTabletAndroid extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tablet-mac.d.ts b/react-icons/md/tablet-mac.d.ts index 80c82da1bf..19c1990e0d 100644 --- a/react-icons/md/tablet-mac.d.ts +++ b/react-icons/md/tablet-mac.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTabletMac extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tablet.d.ts b/react-icons/md/tablet.d.ts index 9bce195d36..3bb3ef6098 100644 --- a/react-icons/md/tablet.d.ts +++ b/react-icons/md/tablet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTablet extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tag-faces.d.ts b/react-icons/md/tag-faces.d.ts index 877341e2c9..c100da26b1 100644 --- a/react-icons/md/tag-faces.d.ts +++ b/react-icons/md/tag-faces.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTagFaces extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tap-and-play.d.ts b/react-icons/md/tap-and-play.d.ts index 6a33636553..fb226d0c9a 100644 --- a/react-icons/md/tap-and-play.d.ts +++ b/react-icons/md/tap-and-play.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTapAndPlay extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/terrain.d.ts b/react-icons/md/terrain.d.ts index aeab23837b..55a4c8d463 100644 --- a/react-icons/md/terrain.d.ts +++ b/react-icons/md/terrain.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTerrain extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/text-fields.d.ts b/react-icons/md/text-fields.d.ts index 3b338aaf06..1fa0d8c57c 100644 --- a/react-icons/md/text-fields.d.ts +++ b/react-icons/md/text-fields.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTextFields extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/text-format.d.ts b/react-icons/md/text-format.d.ts index 53802c3075..6fa716d57b 100644 --- a/react-icons/md/text-format.d.ts +++ b/react-icons/md/text-format.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTextFormat extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/textsms.d.ts b/react-icons/md/textsms.d.ts index 7555b57070..d714e4f7f6 100644 --- a/react-icons/md/textsms.d.ts +++ b/react-icons/md/textsms.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTextsms extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/texture.d.ts b/react-icons/md/texture.d.ts index 6c24a6710a..76a0e04cb4 100644 --- a/react-icons/md/texture.d.ts +++ b/react-icons/md/texture.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTexture extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/theaters.d.ts b/react-icons/md/theaters.d.ts index 469a643367..0d0239648d 100644 --- a/react-icons/md/theaters.d.ts +++ b/react-icons/md/theaters.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTheaters extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/thumb-down.d.ts b/react-icons/md/thumb-down.d.ts index 9aff3f72d6..c062fe7ba2 100644 --- a/react-icons/md/thumb-down.d.ts +++ b/react-icons/md/thumb-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdThumbDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/thumb-up.d.ts b/react-icons/md/thumb-up.d.ts index beaf19f8ea..74fcf07a70 100644 --- a/react-icons/md/thumb-up.d.ts +++ b/react-icons/md/thumb-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdThumbUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/thumbs-up-down.d.ts b/react-icons/md/thumbs-up-down.d.ts index 48a844ee28..0b62bd1854 100644 --- a/react-icons/md/thumbs-up-down.d.ts +++ b/react-icons/md/thumbs-up-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdThumbsUpDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/time-to-leave.d.ts b/react-icons/md/time-to-leave.d.ts index 272b8c43c7..a72c8545ee 100644 --- a/react-icons/md/time-to-leave.d.ts +++ b/react-icons/md/time-to-leave.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTimeToLeave extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/timelapse.d.ts b/react-icons/md/timelapse.d.ts index 5d5a0cd9f1..a5f0f301fd 100644 --- a/react-icons/md/timelapse.d.ts +++ b/react-icons/md/timelapse.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTimelapse extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/timeline.d.ts b/react-icons/md/timeline.d.ts index 2c5f0bb190..83cfb23bb3 100644 --- a/react-icons/md/timeline.d.ts +++ b/react-icons/md/timeline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTimeline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/timer-10.d.ts b/react-icons/md/timer-10.d.ts index f1e26cac9b..14ec8c96ba 100644 --- a/react-icons/md/timer-10.d.ts +++ b/react-icons/md/timer-10.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTimer10 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/timer-3.d.ts b/react-icons/md/timer-3.d.ts index 35c4a2a32b..cd95801eef 100644 --- a/react-icons/md/timer-3.d.ts +++ b/react-icons/md/timer-3.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTimer3 extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/timer-off.d.ts b/react-icons/md/timer-off.d.ts index 081db80f24..73aab4f4da 100644 --- a/react-icons/md/timer-off.d.ts +++ b/react-icons/md/timer-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTimerOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/timer.d.ts b/react-icons/md/timer.d.ts index 33ccc05917..ecd6a763d5 100644 --- a/react-icons/md/timer.d.ts +++ b/react-icons/md/timer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTimer extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/title.d.ts b/react-icons/md/title.d.ts index fff88a2eb2..7e65d49160 100644 --- a/react-icons/md/title.d.ts +++ b/react-icons/md/title.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTitle extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/toc.d.ts b/react-icons/md/toc.d.ts index 5e1d9960b3..037b48badf 100644 --- a/react-icons/md/toc.d.ts +++ b/react-icons/md/toc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdToc extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/today.d.ts b/react-icons/md/today.d.ts index deb162e0a3..1094db9f78 100644 --- a/react-icons/md/today.d.ts +++ b/react-icons/md/today.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdToday extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/toll.d.ts b/react-icons/md/toll.d.ts index f424ef6268..764f9e71c7 100644 --- a/react-icons/md/toll.d.ts +++ b/react-icons/md/toll.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdToll extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tonality.d.ts b/react-icons/md/tonality.d.ts index 999b6fb149..736e142087 100644 --- a/react-icons/md/tonality.d.ts +++ b/react-icons/md/tonality.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTonality extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/touch-app.d.ts b/react-icons/md/touch-app.d.ts index 9c8a7d5498..2910ecaf4c 100644 --- a/react-icons/md/touch-app.d.ts +++ b/react-icons/md/touch-app.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTouchApp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/toys.d.ts b/react-icons/md/toys.d.ts index 4ecb76c7b5..ab4430d744 100644 --- a/react-icons/md/toys.d.ts +++ b/react-icons/md/toys.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdToys extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/track-changes.d.ts b/react-icons/md/track-changes.d.ts index 07802325ae..2c57d43c76 100644 --- a/react-icons/md/track-changes.d.ts +++ b/react-icons/md/track-changes.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTrackChanges extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/traffic.d.ts b/react-icons/md/traffic.d.ts index 6185a1949e..447d144dca 100644 --- a/react-icons/md/traffic.d.ts +++ b/react-icons/md/traffic.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTraffic extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/train.d.ts b/react-icons/md/train.d.ts index 874b170166..8f4e5d946e 100644 --- a/react-icons/md/train.d.ts +++ b/react-icons/md/train.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTrain extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tram.d.ts b/react-icons/md/tram.d.ts index df96514c49..709a3e3252 100644 --- a/react-icons/md/tram.d.ts +++ b/react-icons/md/tram.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTram extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/transfer-within-a-station.d.ts b/react-icons/md/transfer-within-a-station.d.ts index 1d5c4f70e7..067758afa9 100644 --- a/react-icons/md/transfer-within-a-station.d.ts +++ b/react-icons/md/transfer-within-a-station.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTransferWithinAStation extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/transform.d.ts b/react-icons/md/transform.d.ts index 61d3c2d507..81606d53c1 100644 --- a/react-icons/md/transform.d.ts +++ b/react-icons/md/transform.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTransform extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/translate.d.ts b/react-icons/md/translate.d.ts index f8dfd9144d..8b878a626e 100644 --- a/react-icons/md/translate.d.ts +++ b/react-icons/md/translate.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTranslate extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/trending-down.d.ts b/react-icons/md/trending-down.d.ts index 0c3a7fb5f2..661e8ccab3 100644 --- a/react-icons/md/trending-down.d.ts +++ b/react-icons/md/trending-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTrendingDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/trending-flat.d.ts b/react-icons/md/trending-flat.d.ts index 4bbdef2c21..eee8a1da43 100644 --- a/react-icons/md/trending-flat.d.ts +++ b/react-icons/md/trending-flat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTrendingFlat extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/trending-neutral.d.ts b/react-icons/md/trending-neutral.d.ts index e52bc0118a..2de745da34 100644 --- a/react-icons/md/trending-neutral.d.ts +++ b/react-icons/md/trending-neutral.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTrendingNeutral extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/trending-up.d.ts b/react-icons/md/trending-up.d.ts index 4926f9a91b..a73dfd9f5f 100644 --- a/react-icons/md/trending-up.d.ts +++ b/react-icons/md/trending-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTrendingUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tune.d.ts b/react-icons/md/tune.d.ts index fb8bb50c9e..b41f6d7044 100644 --- a/react-icons/md/tune.d.ts +++ b/react-icons/md/tune.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTune extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/turned-in-not.d.ts b/react-icons/md/turned-in-not.d.ts index cc192aa9b4..c528b6bd34 100644 --- a/react-icons/md/turned-in-not.d.ts +++ b/react-icons/md/turned-in-not.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTurnedInNot extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/turned-in.d.ts b/react-icons/md/turned-in.d.ts index 9991b15167..b5c40ec8e4 100644 --- a/react-icons/md/turned-in.d.ts +++ b/react-icons/md/turned-in.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTurnedIn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/tv.d.ts b/react-icons/md/tv.d.ts index f345b86349..6a3f6f4695 100644 --- a/react-icons/md/tv.d.ts +++ b/react-icons/md/tv.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdTv extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/unarchive.d.ts b/react-icons/md/unarchive.d.ts index ed3f656fe5..a7b0c481da 100644 --- a/react-icons/md/unarchive.d.ts +++ b/react-icons/md/unarchive.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdUnarchive extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/undo.d.ts b/react-icons/md/undo.d.ts index ba47ba7a1d..0ea76a8939 100644 --- a/react-icons/md/undo.d.ts +++ b/react-icons/md/undo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdUndo extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/unfold-less.d.ts b/react-icons/md/unfold-less.d.ts index fc396bc102..33ec7b20be 100644 --- a/react-icons/md/unfold-less.d.ts +++ b/react-icons/md/unfold-less.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdUnfoldLess extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/unfold-more.d.ts b/react-icons/md/unfold-more.d.ts index 467d346b02..06a6d369f8 100644 --- a/react-icons/md/unfold-more.d.ts +++ b/react-icons/md/unfold-more.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdUnfoldMore extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/update.d.ts b/react-icons/md/update.d.ts index fb26b1613f..f21af218c9 100644 --- a/react-icons/md/update.d.ts +++ b/react-icons/md/update.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdUpdate extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/usb.d.ts b/react-icons/md/usb.d.ts index cf931f0de3..cde6cce43a 100644 --- a/react-icons/md/usb.d.ts +++ b/react-icons/md/usb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdUsb extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/verified-user.d.ts b/react-icons/md/verified-user.d.ts index 332ab3f002..51b6ed43ae 100644 --- a/react-icons/md/verified-user.d.ts +++ b/react-icons/md/verified-user.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVerifiedUser extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/vertical-align-bottom.d.ts b/react-icons/md/vertical-align-bottom.d.ts index 5163fcbbed..e4a88e4783 100644 --- a/react-icons/md/vertical-align-bottom.d.ts +++ b/react-icons/md/vertical-align-bottom.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVerticalAlignBottom extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/vertical-align-center.d.ts b/react-icons/md/vertical-align-center.d.ts index e9943c0e01..6db4ab60ef 100644 --- a/react-icons/md/vertical-align-center.d.ts +++ b/react-icons/md/vertical-align-center.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVerticalAlignCenter extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/vertical-align-top.d.ts b/react-icons/md/vertical-align-top.d.ts index 082840e08c..c08a02e004 100644 --- a/react-icons/md/vertical-align-top.d.ts +++ b/react-icons/md/vertical-align-top.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVerticalAlignTop extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/vibration.d.ts b/react-icons/md/vibration.d.ts index 6a3a6c9770..7e3bf93443 100644 --- a/react-icons/md/vibration.d.ts +++ b/react-icons/md/vibration.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVibration extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/video-call.d.ts b/react-icons/md/video-call.d.ts index 2e846030f4..0757b41db5 100644 --- a/react-icons/md/video-call.d.ts +++ b/react-icons/md/video-call.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVideoCall extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/video-collection.d.ts b/react-icons/md/video-collection.d.ts index 2ae7844e64..4b04658d79 100644 --- a/react-icons/md/video-collection.d.ts +++ b/react-icons/md/video-collection.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVideoCollection extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/video-label.d.ts b/react-icons/md/video-label.d.ts index ed31c93626..75b59db647 100644 --- a/react-icons/md/video-label.d.ts +++ b/react-icons/md/video-label.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVideoLabel extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/video-library.d.ts b/react-icons/md/video-library.d.ts index 0ab753b0d4..87f58e4970 100644 --- a/react-icons/md/video-library.d.ts +++ b/react-icons/md/video-library.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVideoLibrary extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/videocam-off.d.ts b/react-icons/md/videocam-off.d.ts index 7a5174f77a..e7327fb3fc 100644 --- a/react-icons/md/videocam-off.d.ts +++ b/react-icons/md/videocam-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVideocamOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/videocam.d.ts b/react-icons/md/videocam.d.ts index 114b9ffabc..2ecb7fe76d 100644 --- a/react-icons/md/videocam.d.ts +++ b/react-icons/md/videocam.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVideocam extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/videogame-asset.d.ts b/react-icons/md/videogame-asset.d.ts index f3168d7aff..08819560c0 100644 --- a/react-icons/md/videogame-asset.d.ts +++ b/react-icons/md/videogame-asset.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVideogameAsset extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-agenda.d.ts b/react-icons/md/view-agenda.d.ts index e44d4322cc..f288374864 100644 --- a/react-icons/md/view-agenda.d.ts +++ b/react-icons/md/view-agenda.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewAgenda extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-array.d.ts b/react-icons/md/view-array.d.ts index 9f09393b50..d9d93e485b 100644 --- a/react-icons/md/view-array.d.ts +++ b/react-icons/md/view-array.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewArray extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-carousel.d.ts b/react-icons/md/view-carousel.d.ts index 6ea94e127c..92a6f94e6b 100644 --- a/react-icons/md/view-carousel.d.ts +++ b/react-icons/md/view-carousel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewCarousel extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-column.d.ts b/react-icons/md/view-column.d.ts index 34d3d2c742..c2abcbf98b 100644 --- a/react-icons/md/view-column.d.ts +++ b/react-icons/md/view-column.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewColumn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-comfortable.d.ts b/react-icons/md/view-comfortable.d.ts index eb75a5cfc1..7863a79612 100644 --- a/react-icons/md/view-comfortable.d.ts +++ b/react-icons/md/view-comfortable.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewComfortable extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-comfy.d.ts b/react-icons/md/view-comfy.d.ts index 8ad9432293..72601d671f 100644 --- a/react-icons/md/view-comfy.d.ts +++ b/react-icons/md/view-comfy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewComfy extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-compact.d.ts b/react-icons/md/view-compact.d.ts index 663aa2e1c1..e5a0adb7fd 100644 --- a/react-icons/md/view-compact.d.ts +++ b/react-icons/md/view-compact.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewCompact extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-day.d.ts b/react-icons/md/view-day.d.ts index 5fb5625f0f..b31e96aa3a 100644 --- a/react-icons/md/view-day.d.ts +++ b/react-icons/md/view-day.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewDay extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-headline.d.ts b/react-icons/md/view-headline.d.ts index ea131765a9..a427ad9690 100644 --- a/react-icons/md/view-headline.d.ts +++ b/react-icons/md/view-headline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewHeadline extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-list.d.ts b/react-icons/md/view-list.d.ts index 6d2a670820..5e312ee65c 100644 --- a/react-icons/md/view-list.d.ts +++ b/react-icons/md/view-list.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewList extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-module.d.ts b/react-icons/md/view-module.d.ts index 20814db577..ca7aa2ece8 100644 --- a/react-icons/md/view-module.d.ts +++ b/react-icons/md/view-module.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewModule extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-quilt.d.ts b/react-icons/md/view-quilt.d.ts index 13c73c5375..71dd71d430 100644 --- a/react-icons/md/view-quilt.d.ts +++ b/react-icons/md/view-quilt.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewQuilt extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-stream.d.ts b/react-icons/md/view-stream.d.ts index 9f898ed880..917f8518fd 100644 --- a/react-icons/md/view-stream.d.ts +++ b/react-icons/md/view-stream.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewStream extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/view-week.d.ts b/react-icons/md/view-week.d.ts index bafa896326..1cbe165b36 100644 --- a/react-icons/md/view-week.d.ts +++ b/react-icons/md/view-week.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdViewWeek extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/vignette.d.ts b/react-icons/md/vignette.d.ts index d555a44da0..439bf9529b 100644 --- a/react-icons/md/vignette.d.ts +++ b/react-icons/md/vignette.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVignette extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/visibility-off.d.ts b/react-icons/md/visibility-off.d.ts index 0c08afeabe..876af69b35 100644 --- a/react-icons/md/visibility-off.d.ts +++ b/react-icons/md/visibility-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVisibilityOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/visibility.d.ts b/react-icons/md/visibility.d.ts index 5a917999e3..eeec8dc229 100644 --- a/react-icons/md/visibility.d.ts +++ b/react-icons/md/visibility.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVisibility extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/voice-chat.d.ts b/react-icons/md/voice-chat.d.ts index 21a1470156..80e06ec32a 100644 --- a/react-icons/md/voice-chat.d.ts +++ b/react-icons/md/voice-chat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVoiceChat extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/voicemail.d.ts b/react-icons/md/voicemail.d.ts index 3582bca35d..ebf64ad20f 100644 --- a/react-icons/md/voicemail.d.ts +++ b/react-icons/md/voicemail.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVoicemail extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/volume-down.d.ts b/react-icons/md/volume-down.d.ts index 9c73e40c60..166b3c787c 100644 --- a/react-icons/md/volume-down.d.ts +++ b/react-icons/md/volume-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVolumeDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/volume-mute.d.ts b/react-icons/md/volume-mute.d.ts index a648ef6788..bb189fb588 100644 --- a/react-icons/md/volume-mute.d.ts +++ b/react-icons/md/volume-mute.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVolumeMute extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/volume-off.d.ts b/react-icons/md/volume-off.d.ts index 72ffd436f5..5a89b539d4 100644 --- a/react-icons/md/volume-off.d.ts +++ b/react-icons/md/volume-off.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVolumeOff extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/volume-up.d.ts b/react-icons/md/volume-up.d.ts index a28d29a92e..5ed4249930 100644 --- a/react-icons/md/volume-up.d.ts +++ b/react-icons/md/volume-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVolumeUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/vpn-key.d.ts b/react-icons/md/vpn-key.d.ts index 9c3da5ac9f..c3843fb7e6 100644 --- a/react-icons/md/vpn-key.d.ts +++ b/react-icons/md/vpn-key.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVpnKey extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/vpn-lock.d.ts b/react-icons/md/vpn-lock.d.ts index 02307de308..d40bbd7c2b 100644 --- a/react-icons/md/vpn-lock.d.ts +++ b/react-icons/md/vpn-lock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdVpnLock extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wallpaper.d.ts b/react-icons/md/wallpaper.d.ts index 09f436ea72..199ade8484 100644 --- a/react-icons/md/wallpaper.d.ts +++ b/react-icons/md/wallpaper.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWallpaper extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/warning.d.ts b/react-icons/md/warning.d.ts index cb52080f49..147618ac73 100644 --- a/react-icons/md/warning.d.ts +++ b/react-icons/md/warning.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWarning extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/watch-later.d.ts b/react-icons/md/watch-later.d.ts index 6ff56ea604..118ba96233 100644 --- a/react-icons/md/watch-later.d.ts +++ b/react-icons/md/watch-later.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWatchLater extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/watch.d.ts b/react-icons/md/watch.d.ts index 0304107a36..83cdbf6719 100644 --- a/react-icons/md/watch.d.ts +++ b/react-icons/md/watch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWatch extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wb-auto.d.ts b/react-icons/md/wb-auto.d.ts index 7094dbab5e..c919fb73dc 100644 --- a/react-icons/md/wb-auto.d.ts +++ b/react-icons/md/wb-auto.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWbAuto extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wb-cloudy.d.ts b/react-icons/md/wb-cloudy.d.ts index e6cc818893..6fd3ceacd4 100644 --- a/react-icons/md/wb-cloudy.d.ts +++ b/react-icons/md/wb-cloudy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWbCloudy extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wb-incandescent.d.ts b/react-icons/md/wb-incandescent.d.ts index 7539a62e08..4df631690b 100644 --- a/react-icons/md/wb-incandescent.d.ts +++ b/react-icons/md/wb-incandescent.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWbIncandescent extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wb-iridescent.d.ts b/react-icons/md/wb-iridescent.d.ts index 9a30790d34..e0f2b85002 100644 --- a/react-icons/md/wb-iridescent.d.ts +++ b/react-icons/md/wb-iridescent.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWbIridescent extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wb-sunny.d.ts b/react-icons/md/wb-sunny.d.ts index 1ef8f5bcd9..9a082e802a 100644 --- a/react-icons/md/wb-sunny.d.ts +++ b/react-icons/md/wb-sunny.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWbSunny extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wc.d.ts b/react-icons/md/wc.d.ts index 707fa091a7..d0137162f4 100644 --- a/react-icons/md/wc.d.ts +++ b/react-icons/md/wc.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWc extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/web-asset.d.ts b/react-icons/md/web-asset.d.ts index 8d85e297f1..a148257564 100644 --- a/react-icons/md/web-asset.d.ts +++ b/react-icons/md/web-asset.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWebAsset extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/web.d.ts b/react-icons/md/web.d.ts index 39427baba2..814eddbe01 100644 --- a/react-icons/md/web.d.ts +++ b/react-icons/md/web.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWeb extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/weekend.d.ts b/react-icons/md/weekend.d.ts index fd9459e0fc..27f0830708 100644 --- a/react-icons/md/weekend.d.ts +++ b/react-icons/md/weekend.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWeekend extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/whatshot.d.ts b/react-icons/md/whatshot.d.ts index 0953f5a3ab..a5ce34b1e9 100644 --- a/react-icons/md/whatshot.d.ts +++ b/react-icons/md/whatshot.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWhatshot extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/widgets.d.ts b/react-icons/md/widgets.d.ts index 0e946f8d1a..2558c42d72 100644 --- a/react-icons/md/widgets.d.ts +++ b/react-icons/md/widgets.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWidgets extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wifi-lock.d.ts b/react-icons/md/wifi-lock.d.ts index f59d1531ad..ec5677cae2 100644 --- a/react-icons/md/wifi-lock.d.ts +++ b/react-icons/md/wifi-lock.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWifiLock extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wifi-tethering.d.ts b/react-icons/md/wifi-tethering.d.ts index b2101a889d..7ec4badacf 100644 --- a/react-icons/md/wifi-tethering.d.ts +++ b/react-icons/md/wifi-tethering.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWifiTethering extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wifi.d.ts b/react-icons/md/wifi.d.ts index c0e6523233..c53319dc58 100644 --- a/react-icons/md/wifi.d.ts +++ b/react-icons/md/wifi.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWifi extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/work.d.ts b/react-icons/md/work.d.ts index 4fd83c108f..2d492182c2 100644 --- a/react-icons/md/work.d.ts +++ b/react-icons/md/work.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWork extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/wrap-text.d.ts b/react-icons/md/wrap-text.d.ts index 63310fe255..e16f24a264 100644 --- a/react-icons/md/wrap-text.d.ts +++ b/react-icons/md/wrap-text.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdWrapText extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/youtube-searched-for.d.ts b/react-icons/md/youtube-searched-for.d.ts index a64fc5f798..63be33ac90 100644 --- a/react-icons/md/youtube-searched-for.d.ts +++ b/react-icons/md/youtube-searched-for.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdYoutubeSearchedFor extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/zoom-in.d.ts b/react-icons/md/zoom-in.d.ts index b5969ca02e..7923a71fe1 100644 --- a/react-icons/md/zoom-in.d.ts +++ b/react-icons/md/zoom-in.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdZoomIn extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/zoom-out-map.d.ts b/react-icons/md/zoom-out-map.d.ts index 1a2af3f147..ff0b3fa3c5 100644 --- a/react-icons/md/zoom-out-map.d.ts +++ b/react-icons/md/zoom-out-map.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdZoomOutMap extends React.Component { } \ No newline at end of file diff --git a/react-icons/md/zoom-out.d.ts b/react-icons/md/zoom-out.d.ts index 064f6dcbca..41eb2d8c77 100644 --- a/react-icons/md/zoom-out.d.ts +++ b/react-icons/md/zoom-out.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdZoomOut extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/adjust-brightness.d.ts b/react-icons/ti/adjust-brightness.d.ts index 596936255a..301d8a11f2 100644 --- a/react-icons/ti/adjust-brightness.d.ts +++ b/react-icons/ti/adjust-brightness.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiAdjustBrightness extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/adjust-contrast.d.ts b/react-icons/ti/adjust-contrast.d.ts index 8993740265..1c521da080 100644 --- a/react-icons/ti/adjust-contrast.d.ts +++ b/react-icons/ti/adjust-contrast.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiAdjustContrast extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/anchor-outline.d.ts b/react-icons/ti/anchor-outline.d.ts index 47097b6ec3..d983cb2022 100644 --- a/react-icons/ti/anchor-outline.d.ts +++ b/react-icons/ti/anchor-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiAnchorOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/anchor.d.ts b/react-icons/ti/anchor.d.ts index b551e044c9..a79b900d48 100644 --- a/react-icons/ti/anchor.d.ts +++ b/react-icons/ti/anchor.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiAnchor extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/archive.d.ts b/react-icons/ti/archive.d.ts index d5df8751a8..60d92b2bec 100644 --- a/react-icons/ti/archive.d.ts +++ b/react-icons/ti/archive.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArchive extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-back-outline.d.ts b/react-icons/ti/arrow-back-outline.d.ts index 1f3d9b55cf..0ccb58323a 100644 --- a/react-icons/ti/arrow-back-outline.d.ts +++ b/react-icons/ti/arrow-back-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowBackOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-back.d.ts b/react-icons/ti/arrow-back.d.ts index 89cb507ac2..aa937e7de4 100644 --- a/react-icons/ti/arrow-back.d.ts +++ b/react-icons/ti/arrow-back.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowBack extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-down-outline.d.ts b/react-icons/ti/arrow-down-outline.d.ts index d057ac1741..02f5d3b5f2 100644 --- a/react-icons/ti/arrow-down-outline.d.ts +++ b/react-icons/ti/arrow-down-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowDownOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-down-thick.d.ts b/react-icons/ti/arrow-down-thick.d.ts index 1b40860bdb..264eaa3bd7 100644 --- a/react-icons/ti/arrow-down-thick.d.ts +++ b/react-icons/ti/arrow-down-thick.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowDownThick extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-down.d.ts b/react-icons/ti/arrow-down.d.ts index 0142b7bb50..f1a950853c 100644 --- a/react-icons/ti/arrow-down.d.ts +++ b/react-icons/ti/arrow-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-forward-outline.d.ts b/react-icons/ti/arrow-forward-outline.d.ts index 295ef2b65b..7ff4d91ff0 100644 --- a/react-icons/ti/arrow-forward-outline.d.ts +++ b/react-icons/ti/arrow-forward-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowForwardOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-forward.d.ts b/react-icons/ti/arrow-forward.d.ts index 77ff1dbcdf..63ade0a596 100644 --- a/react-icons/ti/arrow-forward.d.ts +++ b/react-icons/ti/arrow-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-left-outline.d.ts b/react-icons/ti/arrow-left-outline.d.ts index 8373a35a8a..fb99127e6d 100644 --- a/react-icons/ti/arrow-left-outline.d.ts +++ b/react-icons/ti/arrow-left-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowLeftOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-left-thick.d.ts b/react-icons/ti/arrow-left-thick.d.ts index e3544e3ef5..61d59c572b 100644 --- a/react-icons/ti/arrow-left-thick.d.ts +++ b/react-icons/ti/arrow-left-thick.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowLeftThick extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-left.d.ts b/react-icons/ti/arrow-left.d.ts index 83f97e675e..04d5458133 100644 --- a/react-icons/ti/arrow-left.d.ts +++ b/react-icons/ti/arrow-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-loop-outline.d.ts b/react-icons/ti/arrow-loop-outline.d.ts index d2e0464a75..32cc3d31b4 100644 --- a/react-icons/ti/arrow-loop-outline.d.ts +++ b/react-icons/ti/arrow-loop-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowLoopOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-loop.d.ts b/react-icons/ti/arrow-loop.d.ts index d9f38d92f6..649c2aaeeb 100644 --- a/react-icons/ti/arrow-loop.d.ts +++ b/react-icons/ti/arrow-loop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowLoop extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-maximise-outline.d.ts b/react-icons/ti/arrow-maximise-outline.d.ts index aa96161155..57ace57901 100644 --- a/react-icons/ti/arrow-maximise-outline.d.ts +++ b/react-icons/ti/arrow-maximise-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowMaximiseOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-maximise.d.ts b/react-icons/ti/arrow-maximise.d.ts index e019b58b8d..a7550e6d08 100644 --- a/react-icons/ti/arrow-maximise.d.ts +++ b/react-icons/ti/arrow-maximise.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowMaximise extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-minimise-outline.d.ts b/react-icons/ti/arrow-minimise-outline.d.ts index ade9ad485e..ef17685222 100644 --- a/react-icons/ti/arrow-minimise-outline.d.ts +++ b/react-icons/ti/arrow-minimise-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowMinimiseOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-minimise.d.ts b/react-icons/ti/arrow-minimise.d.ts index c083ef682c..6b352e070a 100644 --- a/react-icons/ti/arrow-minimise.d.ts +++ b/react-icons/ti/arrow-minimise.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowMinimise extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-move-outline.d.ts b/react-icons/ti/arrow-move-outline.d.ts index ecc382dc0c..78b2547bcf 100644 --- a/react-icons/ti/arrow-move-outline.d.ts +++ b/react-icons/ti/arrow-move-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowMoveOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-move.d.ts b/react-icons/ti/arrow-move.d.ts index 26104332e5..33674ca08b 100644 --- a/react-icons/ti/arrow-move.d.ts +++ b/react-icons/ti/arrow-move.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowMove extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-repeat-outline.d.ts b/react-icons/ti/arrow-repeat-outline.d.ts index 287e0ecf04..684f9cce45 100644 --- a/react-icons/ti/arrow-repeat-outline.d.ts +++ b/react-icons/ti/arrow-repeat-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowRepeatOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-repeat.d.ts b/react-icons/ti/arrow-repeat.d.ts index 8882eff7d6..6d9f5910b4 100644 --- a/react-icons/ti/arrow-repeat.d.ts +++ b/react-icons/ti/arrow-repeat.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowRepeat extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-right-outline.d.ts b/react-icons/ti/arrow-right-outline.d.ts index 2134b51834..8eacd04e09 100644 --- a/react-icons/ti/arrow-right-outline.d.ts +++ b/react-icons/ti/arrow-right-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowRightOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-right-thick.d.ts b/react-icons/ti/arrow-right-thick.d.ts index f10f3f238c..a6cd6d4401 100644 --- a/react-icons/ti/arrow-right-thick.d.ts +++ b/react-icons/ti/arrow-right-thick.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowRightThick extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-right.d.ts b/react-icons/ti/arrow-right.d.ts index 972bc24311..6853dd7a7c 100644 --- a/react-icons/ti/arrow-right.d.ts +++ b/react-icons/ti/arrow-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-shuffle.d.ts b/react-icons/ti/arrow-shuffle.d.ts index 29c1988c44..f024667e48 100644 --- a/react-icons/ti/arrow-shuffle.d.ts +++ b/react-icons/ti/arrow-shuffle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowShuffle extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-sorted-down.d.ts b/react-icons/ti/arrow-sorted-down.d.ts index b8de6a783b..ceed9988f6 100644 --- a/react-icons/ti/arrow-sorted-down.d.ts +++ b/react-icons/ti/arrow-sorted-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowSortedDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-sorted-up.d.ts b/react-icons/ti/arrow-sorted-up.d.ts index 4c755bd395..da7ccc928f 100644 --- a/react-icons/ti/arrow-sorted-up.d.ts +++ b/react-icons/ti/arrow-sorted-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowSortedUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-sync-outline.d.ts b/react-icons/ti/arrow-sync-outline.d.ts index 316a8fc76f..147228ca59 100644 --- a/react-icons/ti/arrow-sync-outline.d.ts +++ b/react-icons/ti/arrow-sync-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowSyncOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-sync.d.ts b/react-icons/ti/arrow-sync.d.ts index ddfe0a676a..4125ea4c86 100644 --- a/react-icons/ti/arrow-sync.d.ts +++ b/react-icons/ti/arrow-sync.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowSync extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-unsorted.d.ts b/react-icons/ti/arrow-unsorted.d.ts index 97962a866a..e2ddd2f338 100644 --- a/react-icons/ti/arrow-unsorted.d.ts +++ b/react-icons/ti/arrow-unsorted.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowUnsorted extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-up-outline.d.ts b/react-icons/ti/arrow-up-outline.d.ts index 230d7da1ca..28ca9ea814 100644 --- a/react-icons/ti/arrow-up-outline.d.ts +++ b/react-icons/ti/arrow-up-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowUpOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-up-thick.d.ts b/react-icons/ti/arrow-up-thick.d.ts index 06367f1dc2..97f7fcf59f 100644 --- a/react-icons/ti/arrow-up-thick.d.ts +++ b/react-icons/ti/arrow-up-thick.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowUpThick extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/arrow-up.d.ts b/react-icons/ti/arrow-up.d.ts index aaad8108e4..4e04c7a4f0 100644 --- a/react-icons/ti/arrow-up.d.ts +++ b/react-icons/ti/arrow-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiArrowUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/at.d.ts b/react-icons/ti/at.d.ts index fb58ac6010..a9ef9efe0c 100644 --- a/react-icons/ti/at.d.ts +++ b/react-icons/ti/at.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiAt extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/attachment-outline.d.ts b/react-icons/ti/attachment-outline.d.ts index 71b865944e..2b7731118a 100644 --- a/react-icons/ti/attachment-outline.d.ts +++ b/react-icons/ti/attachment-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiAttachmentOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/attachment.d.ts b/react-icons/ti/attachment.d.ts index f75a95d608..513f5132a8 100644 --- a/react-icons/ti/attachment.d.ts +++ b/react-icons/ti/attachment.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiAttachment extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/backspace-outline.d.ts b/react-icons/ti/backspace-outline.d.ts index 087c4d1d2c..a2609b5bf9 100644 --- a/react-icons/ti/backspace-outline.d.ts +++ b/react-icons/ti/backspace-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBackspaceOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/backspace.d.ts b/react-icons/ti/backspace.d.ts index abfb24a367..dfbef1eeaf 100644 --- a/react-icons/ti/backspace.d.ts +++ b/react-icons/ti/backspace.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBackspace extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/battery-charge.d.ts b/react-icons/ti/battery-charge.d.ts index 1d8ccbe5c3..c19cc1ade5 100644 --- a/react-icons/ti/battery-charge.d.ts +++ b/react-icons/ti/battery-charge.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBatteryCharge extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/battery-full.d.ts b/react-icons/ti/battery-full.d.ts index e7dafc411c..3dce0e1e5e 100644 --- a/react-icons/ti/battery-full.d.ts +++ b/react-icons/ti/battery-full.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBatteryFull extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/battery-high.d.ts b/react-icons/ti/battery-high.d.ts index 7908343ccd..5fd4f71585 100644 --- a/react-icons/ti/battery-high.d.ts +++ b/react-icons/ti/battery-high.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBatteryHigh extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/battery-low.d.ts b/react-icons/ti/battery-low.d.ts index 31a3d170ab..bdd1129420 100644 --- a/react-icons/ti/battery-low.d.ts +++ b/react-icons/ti/battery-low.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBatteryLow extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/battery-mid.d.ts b/react-icons/ti/battery-mid.d.ts index ffd918cf39..7cbe309629 100644 --- a/react-icons/ti/battery-mid.d.ts +++ b/react-icons/ti/battery-mid.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBatteryMid extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/beaker.d.ts b/react-icons/ti/beaker.d.ts index 02484f3c3a..2b5f62cd9a 100644 --- a/react-icons/ti/beaker.d.ts +++ b/react-icons/ti/beaker.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBeaker extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/beer.d.ts b/react-icons/ti/beer.d.ts index 37c18ee453..02a0baf127 100644 --- a/react-icons/ti/beer.d.ts +++ b/react-icons/ti/beer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBeer extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/bell.d.ts b/react-icons/ti/bell.d.ts index 4074ec7a34..44c3f19470 100644 --- a/react-icons/ti/bell.d.ts +++ b/react-icons/ti/bell.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBell extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/book.d.ts b/react-icons/ti/book.d.ts index c3a0ad12a0..f53a59f50d 100644 --- a/react-icons/ti/book.d.ts +++ b/react-icons/ti/book.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBook extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/bookmark.d.ts b/react-icons/ti/bookmark.d.ts index bc2736986d..b1facac22e 100644 --- a/react-icons/ti/bookmark.d.ts +++ b/react-icons/ti/bookmark.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBookmark extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/briefcase.d.ts b/react-icons/ti/briefcase.d.ts index bdc5ff8c9d..b48dfc4514 100644 --- a/react-icons/ti/briefcase.d.ts +++ b/react-icons/ti/briefcase.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBriefcase extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/brush.d.ts b/react-icons/ti/brush.d.ts index 3d66ffafe8..51d546c8eb 100644 --- a/react-icons/ti/brush.d.ts +++ b/react-icons/ti/brush.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBrush extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/business-card.d.ts b/react-icons/ti/business-card.d.ts index b75c8dd8f0..da99e85b5b 100644 --- a/react-icons/ti/business-card.d.ts +++ b/react-icons/ti/business-card.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiBusinessCard extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/calculator.d.ts b/react-icons/ti/calculator.d.ts index 1673ca6f56..44ac054ee0 100644 --- a/react-icons/ti/calculator.d.ts +++ b/react-icons/ti/calculator.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCalculator extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/calendar-outline.d.ts b/react-icons/ti/calendar-outline.d.ts index 9375d9b9cd..4837ad1ed7 100644 --- a/react-icons/ti/calendar-outline.d.ts +++ b/react-icons/ti/calendar-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCalendarOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/calendar.d.ts b/react-icons/ti/calendar.d.ts index d898cb1de5..1fa9b40a37 100644 --- a/react-icons/ti/calendar.d.ts +++ b/react-icons/ti/calendar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCalendar extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/calender-outline.d.ts b/react-icons/ti/calender-outline.d.ts index 6b8272a6fa..72f8f58a31 100644 --- a/react-icons/ti/calender-outline.d.ts +++ b/react-icons/ti/calender-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCalenderOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/calender.d.ts b/react-icons/ti/calender.d.ts index 65de8fa2b6..7513859621 100644 --- a/react-icons/ti/calender.d.ts +++ b/react-icons/ti/calender.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCalender extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/camera-outline.d.ts b/react-icons/ti/camera-outline.d.ts index 36dbea9108..ff44e81d3a 100644 --- a/react-icons/ti/camera-outline.d.ts +++ b/react-icons/ti/camera-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCameraOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/camera.d.ts b/react-icons/ti/camera.d.ts index 65df0425c6..d82afe4e3f 100644 --- a/react-icons/ti/camera.d.ts +++ b/react-icons/ti/camera.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCamera extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/cancel-outline.d.ts b/react-icons/ti/cancel-outline.d.ts index 4efe1949ae..0264863aa4 100644 --- a/react-icons/ti/cancel-outline.d.ts +++ b/react-icons/ti/cancel-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCancelOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/cancel.d.ts b/react-icons/ti/cancel.d.ts index 75473c3dda..3fad265aa1 100644 --- a/react-icons/ti/cancel.d.ts +++ b/react-icons/ti/cancel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCancel extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chart-area-outline.d.ts b/react-icons/ti/chart-area-outline.d.ts index 10e5732b02..1f4bf842b6 100644 --- a/react-icons/ti/chart-area-outline.d.ts +++ b/react-icons/ti/chart-area-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChartAreaOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chart-area.d.ts b/react-icons/ti/chart-area.d.ts index 22aa1c87fd..fa6330381f 100644 --- a/react-icons/ti/chart-area.d.ts +++ b/react-icons/ti/chart-area.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChartArea extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chart-bar-outline.d.ts b/react-icons/ti/chart-bar-outline.d.ts index 77c0e9bd55..11c2ddf889 100644 --- a/react-icons/ti/chart-bar-outline.d.ts +++ b/react-icons/ti/chart-bar-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChartBarOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chart-bar.d.ts b/react-icons/ti/chart-bar.d.ts index 57c9c6401d..ed4604e4aa 100644 --- a/react-icons/ti/chart-bar.d.ts +++ b/react-icons/ti/chart-bar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChartBar extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chart-line-outline.d.ts b/react-icons/ti/chart-line-outline.d.ts index 7bc4d7d31d..634bbd3a1c 100644 --- a/react-icons/ti/chart-line-outline.d.ts +++ b/react-icons/ti/chart-line-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChartLineOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chart-line.d.ts b/react-icons/ti/chart-line.d.ts index d3a83096b4..a5ad4d196c 100644 --- a/react-icons/ti/chart-line.d.ts +++ b/react-icons/ti/chart-line.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChartLine extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chart-pie-outline.d.ts b/react-icons/ti/chart-pie-outline.d.ts index 49c1d5e4a3..9e52bf956f 100644 --- a/react-icons/ti/chart-pie-outline.d.ts +++ b/react-icons/ti/chart-pie-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChartPieOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chart-pie.d.ts b/react-icons/ti/chart-pie.d.ts index 043d613fa2..9a2169533e 100644 --- a/react-icons/ti/chart-pie.d.ts +++ b/react-icons/ti/chart-pie.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChartPie extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chevron-left-outline.d.ts b/react-icons/ti/chevron-left-outline.d.ts index 2a80ae47bc..4468417051 100644 --- a/react-icons/ti/chevron-left-outline.d.ts +++ b/react-icons/ti/chevron-left-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChevronLeftOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chevron-left.d.ts b/react-icons/ti/chevron-left.d.ts index dc38a0e899..8b80b12237 100644 --- a/react-icons/ti/chevron-left.d.ts +++ b/react-icons/ti/chevron-left.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChevronLeft extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chevron-right-outline.d.ts b/react-icons/ti/chevron-right-outline.d.ts index a4c5497b98..03f8a0bcb4 100644 --- a/react-icons/ti/chevron-right-outline.d.ts +++ b/react-icons/ti/chevron-right-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChevronRightOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/chevron-right.d.ts b/react-icons/ti/chevron-right.d.ts index a595783f39..8c4cb0754e 100644 --- a/react-icons/ti/chevron-right.d.ts +++ b/react-icons/ti/chevron-right.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiChevronRight extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/clipboard.d.ts b/react-icons/ti/clipboard.d.ts index 232aff9210..c3f9887dcb 100644 --- a/react-icons/ti/clipboard.d.ts +++ b/react-icons/ti/clipboard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiClipboard extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/cloud-storage-outline.d.ts b/react-icons/ti/cloud-storage-outline.d.ts index 70a1b09ee2..f9f7f9aaf5 100644 --- a/react-icons/ti/cloud-storage-outline.d.ts +++ b/react-icons/ti/cloud-storage-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCloudStorageOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/cloud-storage.d.ts b/react-icons/ti/cloud-storage.d.ts index a0b55596e9..a766450e09 100644 --- a/react-icons/ti/cloud-storage.d.ts +++ b/react-icons/ti/cloud-storage.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCloudStorage extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/code-outline.d.ts b/react-icons/ti/code-outline.d.ts index 18898601b7..7e79fd4462 100644 --- a/react-icons/ti/code-outline.d.ts +++ b/react-icons/ti/code-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCodeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/code.d.ts b/react-icons/ti/code.d.ts index e56523e7ac..47593bae21 100644 --- a/react-icons/ti/code.d.ts +++ b/react-icons/ti/code.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCode extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/coffee.d.ts b/react-icons/ti/coffee.d.ts index 4f56bda6c6..ac443517e0 100644 --- a/react-icons/ti/coffee.d.ts +++ b/react-icons/ti/coffee.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCoffee extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/cog-outline.d.ts b/react-icons/ti/cog-outline.d.ts index 4358079e25..e11347f1ce 100644 --- a/react-icons/ti/cog-outline.d.ts +++ b/react-icons/ti/cog-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCogOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/cog.d.ts b/react-icons/ti/cog.d.ts index f2c8c3b247..bc7699e24a 100644 --- a/react-icons/ti/cog.d.ts +++ b/react-icons/ti/cog.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCog extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/compass.d.ts b/react-icons/ti/compass.d.ts index b674f8798e..e183cf4a93 100644 --- a/react-icons/ti/compass.d.ts +++ b/react-icons/ti/compass.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCompass extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/contacts.d.ts b/react-icons/ti/contacts.d.ts index d3f1b6de96..6214a5a37e 100644 --- a/react-icons/ti/contacts.d.ts +++ b/react-icons/ti/contacts.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiContacts extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/credit-card.d.ts b/react-icons/ti/credit-card.d.ts index 5ba40a4889..909905c4d7 100644 --- a/react-icons/ti/credit-card.d.ts +++ b/react-icons/ti/credit-card.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCreditCard extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/cross.d.ts b/react-icons/ti/cross.d.ts index 66ead9ed6f..e2e1f277ac 100644 --- a/react-icons/ti/cross.d.ts +++ b/react-icons/ti/cross.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCross extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/css3.d.ts b/react-icons/ti/css3.d.ts index 2e4ff86921..8157cb4b2f 100644 --- a/react-icons/ti/css3.d.ts +++ b/react-icons/ti/css3.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiCss3 extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/database.d.ts b/react-icons/ti/database.d.ts index cd19a38395..1c9356b9bb 100644 --- a/react-icons/ti/database.d.ts +++ b/react-icons/ti/database.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDatabase extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/delete-outline.d.ts b/react-icons/ti/delete-outline.d.ts index ce1a46afe0..1349491ea2 100644 --- a/react-icons/ti/delete-outline.d.ts +++ b/react-icons/ti/delete-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDeleteOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/delete.d.ts b/react-icons/ti/delete.d.ts index 54b7a52798..ad7aecd415 100644 --- a/react-icons/ti/delete.d.ts +++ b/react-icons/ti/delete.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDelete extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/device-desktop.d.ts b/react-icons/ti/device-desktop.d.ts index 4082937cfa..289e2d1adb 100644 --- a/react-icons/ti/device-desktop.d.ts +++ b/react-icons/ti/device-desktop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDeviceDesktop extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/device-laptop.d.ts b/react-icons/ti/device-laptop.d.ts index 223e8cb78f..d297a92941 100644 --- a/react-icons/ti/device-laptop.d.ts +++ b/react-icons/ti/device-laptop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDeviceLaptop extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/device-phone.d.ts b/react-icons/ti/device-phone.d.ts index 099ba01e32..8f427eaacc 100644 --- a/react-icons/ti/device-phone.d.ts +++ b/react-icons/ti/device-phone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDevicePhone extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/device-tablet.d.ts b/react-icons/ti/device-tablet.d.ts index 4d2e7c7ecb..71ddf58c41 100644 --- a/react-icons/ti/device-tablet.d.ts +++ b/react-icons/ti/device-tablet.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDeviceTablet extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/directions.d.ts b/react-icons/ti/directions.d.ts index 9b8033529b..fb9df44e4b 100644 --- a/react-icons/ti/directions.d.ts +++ b/react-icons/ti/directions.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDirections extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/divide-outline.d.ts b/react-icons/ti/divide-outline.d.ts index 1ce6008736..21b7fae5b7 100644 --- a/react-icons/ti/divide-outline.d.ts +++ b/react-icons/ti/divide-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDivideOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/divide.d.ts b/react-icons/ti/divide.d.ts index ba049b42b6..7c01635634 100644 --- a/react-icons/ti/divide.d.ts +++ b/react-icons/ti/divide.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDivide extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/document-add.d.ts b/react-icons/ti/document-add.d.ts index c96e6da84a..0233e00abc 100644 --- a/react-icons/ti/document-add.d.ts +++ b/react-icons/ti/document-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDocumentAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/document-delete.d.ts b/react-icons/ti/document-delete.d.ts index fdcc134d84..1628b5e7f3 100644 --- a/react-icons/ti/document-delete.d.ts +++ b/react-icons/ti/document-delete.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDocumentDelete extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/document-text.d.ts b/react-icons/ti/document-text.d.ts index 132a18e341..7225a988b0 100644 --- a/react-icons/ti/document-text.d.ts +++ b/react-icons/ti/document-text.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDocumentText extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/document.d.ts b/react-icons/ti/document.d.ts index 18b90c8078..443cc61b93 100644 --- a/react-icons/ti/document.d.ts +++ b/react-icons/ti/document.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDocument extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/download-outline.d.ts b/react-icons/ti/download-outline.d.ts index 9c7b4117d9..522e4842df 100644 --- a/react-icons/ti/download-outline.d.ts +++ b/react-icons/ti/download-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDownloadOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/download.d.ts b/react-icons/ti/download.d.ts index 165981a873..3d78cd7a9c 100644 --- a/react-icons/ti/download.d.ts +++ b/react-icons/ti/download.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDownload extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/dropbox.d.ts b/react-icons/ti/dropbox.d.ts index 6d5db24646..4239a95c87 100644 --- a/react-icons/ti/dropbox.d.ts +++ b/react-icons/ti/dropbox.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiDropbox extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/edit.d.ts b/react-icons/ti/edit.d.ts index 0a20f0d9bb..2821797d1d 100644 --- a/react-icons/ti/edit.d.ts +++ b/react-icons/ti/edit.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiEdit extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/eject-outline.d.ts b/react-icons/ti/eject-outline.d.ts index 9238d38c60..95a42f9084 100644 --- a/react-icons/ti/eject-outline.d.ts +++ b/react-icons/ti/eject-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiEjectOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/eject.d.ts b/react-icons/ti/eject.d.ts index 04578932aa..b362940e4d 100644 --- a/react-icons/ti/eject.d.ts +++ b/react-icons/ti/eject.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiEject extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/equals-outline.d.ts b/react-icons/ti/equals-outline.d.ts index cd8ffdada6..f82e98b90d 100644 --- a/react-icons/ti/equals-outline.d.ts +++ b/react-icons/ti/equals-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiEqualsOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/equals.d.ts b/react-icons/ti/equals.d.ts index 4a41e9c5a6..99f543b7e4 100644 --- a/react-icons/ti/equals.d.ts +++ b/react-icons/ti/equals.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiEquals extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/export-outline.d.ts b/react-icons/ti/export-outline.d.ts index a16dc24f03..fa94602205 100644 --- a/react-icons/ti/export-outline.d.ts +++ b/react-icons/ti/export-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiExportOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/export.d.ts b/react-icons/ti/export.d.ts index 815b8b9860..2dd56e2ebe 100644 --- a/react-icons/ti/export.d.ts +++ b/react-icons/ti/export.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiExport extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/eye-outline.d.ts b/react-icons/ti/eye-outline.d.ts index f948c1f806..c251d8c981 100644 --- a/react-icons/ti/eye-outline.d.ts +++ b/react-icons/ti/eye-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiEyeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/eye.d.ts b/react-icons/ti/eye.d.ts index 2766026c15..7d834667fa 100644 --- a/react-icons/ti/eye.d.ts +++ b/react-icons/ti/eye.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiEye extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/feather.d.ts b/react-icons/ti/feather.d.ts index e3ee080a39..93d2aeefa3 100644 --- a/react-icons/ti/feather.d.ts +++ b/react-icons/ti/feather.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFeather extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/film.d.ts b/react-icons/ti/film.d.ts index ca097907b5..c40da10be4 100644 --- a/react-icons/ti/film.d.ts +++ b/react-icons/ti/film.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFilm extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/filter.d.ts b/react-icons/ti/filter.d.ts index 7a792ce53d..460337dd31 100644 --- a/react-icons/ti/filter.d.ts +++ b/react-icons/ti/filter.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFilter extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/flag-outline.d.ts b/react-icons/ti/flag-outline.d.ts index 39b61f70df..7ed7540c56 100644 --- a/react-icons/ti/flag-outline.d.ts +++ b/react-icons/ti/flag-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFlagOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/flag.d.ts b/react-icons/ti/flag.d.ts index 6756d5ad02..429004cc9c 100644 --- a/react-icons/ti/flag.d.ts +++ b/react-icons/ti/flag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFlag extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/flash-outline.d.ts b/react-icons/ti/flash-outline.d.ts index 4206624b4a..ea4e04e800 100644 --- a/react-icons/ti/flash-outline.d.ts +++ b/react-icons/ti/flash-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFlashOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/flash.d.ts b/react-icons/ti/flash.d.ts index c155d980bb..6f754b0990 100644 --- a/react-icons/ti/flash.d.ts +++ b/react-icons/ti/flash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFlash extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/flow-children.d.ts b/react-icons/ti/flow-children.d.ts index 9ab26c796d..0ef516c6d5 100644 --- a/react-icons/ti/flow-children.d.ts +++ b/react-icons/ti/flow-children.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFlowChildren extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/flow-merge.d.ts b/react-icons/ti/flow-merge.d.ts index c31657001f..10738a1975 100644 --- a/react-icons/ti/flow-merge.d.ts +++ b/react-icons/ti/flow-merge.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFlowMerge extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/flow-parallel.d.ts b/react-icons/ti/flow-parallel.d.ts index b50cece646..3b9741178a 100644 --- a/react-icons/ti/flow-parallel.d.ts +++ b/react-icons/ti/flow-parallel.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFlowParallel extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/flow-switch.d.ts b/react-icons/ti/flow-switch.d.ts index f211d0bff6..69ee164d62 100644 --- a/react-icons/ti/flow-switch.d.ts +++ b/react-icons/ti/flow-switch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFlowSwitch extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/folder-add.d.ts b/react-icons/ti/folder-add.d.ts index bb77eb4f17..66ae262d65 100644 --- a/react-icons/ti/folder-add.d.ts +++ b/react-icons/ti/folder-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFolderAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/folder-delete.d.ts b/react-icons/ti/folder-delete.d.ts index bf3bfe3958..7b448ba689 100644 --- a/react-icons/ti/folder-delete.d.ts +++ b/react-icons/ti/folder-delete.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFolderDelete extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/folder-open.d.ts b/react-icons/ti/folder-open.d.ts index 6f0f188e86..37b76dd291 100644 --- a/react-icons/ti/folder-open.d.ts +++ b/react-icons/ti/folder-open.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFolderOpen extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/folder.d.ts b/react-icons/ti/folder.d.ts index 0ce5764483..0604d1a259 100644 --- a/react-icons/ti/folder.d.ts +++ b/react-icons/ti/folder.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiFolder extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/gift.d.ts b/react-icons/ti/gift.d.ts index 1335e2a466..c55a3ca5a8 100644 --- a/react-icons/ti/gift.d.ts +++ b/react-icons/ti/gift.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiGift extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/globe-outline.d.ts b/react-icons/ti/globe-outline.d.ts index 4a35336cee..c23a68d7e7 100644 --- a/react-icons/ti/globe-outline.d.ts +++ b/react-icons/ti/globe-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiGlobeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/globe.d.ts b/react-icons/ti/globe.d.ts index 9a8c4d81b5..f7e8e737d2 100644 --- a/react-icons/ti/globe.d.ts +++ b/react-icons/ti/globe.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiGlobe extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/group-outline.d.ts b/react-icons/ti/group-outline.d.ts index c90a63b8d8..b167600574 100644 --- a/react-icons/ti/group-outline.d.ts +++ b/react-icons/ti/group-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiGroupOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/group.d.ts b/react-icons/ti/group.d.ts index 4f5fd1ecb0..aa4b6639df 100644 --- a/react-icons/ti/group.d.ts +++ b/react-icons/ti/group.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiGroup extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/headphones.d.ts b/react-icons/ti/headphones.d.ts index 7fa32b06de..e48460c45a 100644 --- a/react-icons/ti/headphones.d.ts +++ b/react-icons/ti/headphones.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiHeadphones extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/heart-full-outline.d.ts b/react-icons/ti/heart-full-outline.d.ts index 528f286bcd..3a0c556394 100644 --- a/react-icons/ti/heart-full-outline.d.ts +++ b/react-icons/ti/heart-full-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiHeartFullOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/heart-half-outline.d.ts b/react-icons/ti/heart-half-outline.d.ts index d36d3ef634..0ce00b48da 100644 --- a/react-icons/ti/heart-half-outline.d.ts +++ b/react-icons/ti/heart-half-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiHeartHalfOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/heart-outline.d.ts b/react-icons/ti/heart-outline.d.ts index a456814f14..889e71cad4 100644 --- a/react-icons/ti/heart-outline.d.ts +++ b/react-icons/ti/heart-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiHeartOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/heart.d.ts b/react-icons/ti/heart.d.ts index 9b7f9a63d6..07d291b914 100644 --- a/react-icons/ti/heart.d.ts +++ b/react-icons/ti/heart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiHeart extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/home-outline.d.ts b/react-icons/ti/home-outline.d.ts index d8e356aea5..88725b4d59 100644 --- a/react-icons/ti/home-outline.d.ts +++ b/react-icons/ti/home-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiHomeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/home.d.ts b/react-icons/ti/home.d.ts index d4b20e2a1b..79fe66b989 100644 --- a/react-icons/ti/home.d.ts +++ b/react-icons/ti/home.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiHome extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/html5.d.ts b/react-icons/ti/html5.d.ts index 8d5d862ddd..fdf11b3e1a 100644 --- a/react-icons/ti/html5.d.ts +++ b/react-icons/ti/html5.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiHtml5 extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/image-outline.d.ts b/react-icons/ti/image-outline.d.ts index 47cdff063f..b4a2790f47 100644 --- a/react-icons/ti/image-outline.d.ts +++ b/react-icons/ti/image-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiImageOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/image.d.ts b/react-icons/ti/image.d.ts index ed7769b86a..5d42fd9722 100644 --- a/react-icons/ti/image.d.ts +++ b/react-icons/ti/image.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiImage extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/index.d.ts b/react-icons/ti/index.d.ts index 4156d41c8b..0e78b73fd9 100644 --- a/react-icons/ti/index.d.ts +++ b/react-icons/ti/index.d.ts @@ -1,3 +1,4 @@ +// TypeScript Version: 2.1 import _TiAdjustBrightness from "./adjust-brightness"; import _TiAdjustContrast from "./adjust-contrast"; import _TiAnchorOutline from "./anchor-outline"; diff --git a/react-icons/ti/infinity-outline.d.ts b/react-icons/ti/infinity-outline.d.ts index 99f4df44ec..933f3f3fea 100644 --- a/react-icons/ti/infinity-outline.d.ts +++ b/react-icons/ti/infinity-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiInfinityOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/infinity.d.ts b/react-icons/ti/infinity.d.ts index cd61ba08e9..23b785225d 100644 --- a/react-icons/ti/infinity.d.ts +++ b/react-icons/ti/infinity.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiInfinity extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/info-large-outline.d.ts b/react-icons/ti/info-large-outline.d.ts index 7c8ea2ce3b..3355ed8c8a 100644 --- a/react-icons/ti/info-large-outline.d.ts +++ b/react-icons/ti/info-large-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiInfoLargeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/info-large.d.ts b/react-icons/ti/info-large.d.ts index d041ff5004..63899d3050 100644 --- a/react-icons/ti/info-large.d.ts +++ b/react-icons/ti/info-large.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiInfoLarge extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/info-outline.d.ts b/react-icons/ti/info-outline.d.ts index 7730a94e80..e22aeee30b 100644 --- a/react-icons/ti/info-outline.d.ts +++ b/react-icons/ti/info-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiInfoOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/info.d.ts b/react-icons/ti/info.d.ts index 910e7b78be..c7973c14f5 100644 --- a/react-icons/ti/info.d.ts +++ b/react-icons/ti/info.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiInfo extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/input-checked-outline.d.ts b/react-icons/ti/input-checked-outline.d.ts index 0ae10c5aed..a58c6529aa 100644 --- a/react-icons/ti/input-checked-outline.d.ts +++ b/react-icons/ti/input-checked-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiInputCheckedOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/input-checked.d.ts b/react-icons/ti/input-checked.d.ts index 05e5d8e863..67ab5f42fc 100644 --- a/react-icons/ti/input-checked.d.ts +++ b/react-icons/ti/input-checked.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiInputChecked extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/key-outline.d.ts b/react-icons/ti/key-outline.d.ts index 2d04dd40f8..708a18e2f5 100644 --- a/react-icons/ti/key-outline.d.ts +++ b/react-icons/ti/key-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiKeyOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/key.d.ts b/react-icons/ti/key.d.ts index 153334362e..1f381ab7c8 100644 --- a/react-icons/ti/key.d.ts +++ b/react-icons/ti/key.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiKey extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/keyboard.d.ts b/react-icons/ti/keyboard.d.ts index c08d26f31b..b61e7213bf 100644 --- a/react-icons/ti/keyboard.d.ts +++ b/react-icons/ti/keyboard.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiKeyboard extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/leaf.d.ts b/react-icons/ti/leaf.d.ts index ff1e20feed..8d825ceeaa 100644 --- a/react-icons/ti/leaf.d.ts +++ b/react-icons/ti/leaf.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLeaf extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/lightbulb.d.ts b/react-icons/ti/lightbulb.d.ts index 00aa241f89..81fc2fd2c8 100644 --- a/react-icons/ti/lightbulb.d.ts +++ b/react-icons/ti/lightbulb.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLightbulb extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/link-outline.d.ts b/react-icons/ti/link-outline.d.ts index aa88dbf990..97c83ba957 100644 --- a/react-icons/ti/link-outline.d.ts +++ b/react-icons/ti/link-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLinkOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/link.d.ts b/react-icons/ti/link.d.ts index 88dedeec88..6815ae94ed 100644 --- a/react-icons/ti/link.d.ts +++ b/react-icons/ti/link.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLink extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/location-arrow-outline.d.ts b/react-icons/ti/location-arrow-outline.d.ts index de09dd0674..2cc783d438 100644 --- a/react-icons/ti/location-arrow-outline.d.ts +++ b/react-icons/ti/location-arrow-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLocationArrowOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/location-arrow.d.ts b/react-icons/ti/location-arrow.d.ts index 822b6c34bd..5bf8cea431 100644 --- a/react-icons/ti/location-arrow.d.ts +++ b/react-icons/ti/location-arrow.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLocationArrow extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/location-outline.d.ts b/react-icons/ti/location-outline.d.ts index 8ad13faca7..bb4e2bb16d 100644 --- a/react-icons/ti/location-outline.d.ts +++ b/react-icons/ti/location-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLocationOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/location.d.ts b/react-icons/ti/location.d.ts index 6b6f1f2053..7d885fa226 100644 --- a/react-icons/ti/location.d.ts +++ b/react-icons/ti/location.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLocation extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/lock-closed-outline.d.ts b/react-icons/ti/lock-closed-outline.d.ts index 22bba33c82..64c64e7a43 100644 --- a/react-icons/ti/lock-closed-outline.d.ts +++ b/react-icons/ti/lock-closed-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLockClosedOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/lock-closed.d.ts b/react-icons/ti/lock-closed.d.ts index 941292bc3f..e1692ec279 100644 --- a/react-icons/ti/lock-closed.d.ts +++ b/react-icons/ti/lock-closed.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLockClosed extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/lock-open-outline.d.ts b/react-icons/ti/lock-open-outline.d.ts index a003f56fc8..a229b2fe1e 100644 --- a/react-icons/ti/lock-open-outline.d.ts +++ b/react-icons/ti/lock-open-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLockOpenOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/lock-open.d.ts b/react-icons/ti/lock-open.d.ts index 793afc929d..64f4a5fc6b 100644 --- a/react-icons/ti/lock-open.d.ts +++ b/react-icons/ti/lock-open.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiLockOpen extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/mail.d.ts b/react-icons/ti/mail.d.ts index 50e22df8f0..11970ba04c 100644 --- a/react-icons/ti/mail.d.ts +++ b/react-icons/ti/mail.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMail extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/map.d.ts b/react-icons/ti/map.d.ts index a4232ab434..af02bb1235 100644 --- a/react-icons/ti/map.d.ts +++ b/react-icons/ti/map.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMap extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-eject-outline.d.ts b/react-icons/ti/media-eject-outline.d.ts index f4a4ec314d..7f48d6f622 100644 --- a/react-icons/ti/media-eject-outline.d.ts +++ b/react-icons/ti/media-eject-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaEjectOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-eject.d.ts b/react-icons/ti/media-eject.d.ts index aae290207f..60fb5dad53 100644 --- a/react-icons/ti/media-eject.d.ts +++ b/react-icons/ti/media-eject.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaEject extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-fast-forward-outline.d.ts b/react-icons/ti/media-fast-forward-outline.d.ts index 9fd3a0b44c..9f6ce95161 100644 --- a/react-icons/ti/media-fast-forward-outline.d.ts +++ b/react-icons/ti/media-fast-forward-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaFastForwardOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-fast-forward.d.ts b/react-icons/ti/media-fast-forward.d.ts index f96582a23f..a0fd63802c 100644 --- a/react-icons/ti/media-fast-forward.d.ts +++ b/react-icons/ti/media-fast-forward.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaFastForward extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-pause-outline.d.ts b/react-icons/ti/media-pause-outline.d.ts index 2488cb7731..3b131883a8 100644 --- a/react-icons/ti/media-pause-outline.d.ts +++ b/react-icons/ti/media-pause-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaPauseOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-pause.d.ts b/react-icons/ti/media-pause.d.ts index 07e23dc8c5..d6ccbe43d8 100644 --- a/react-icons/ti/media-pause.d.ts +++ b/react-icons/ti/media-pause.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaPause extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-play-outline.d.ts b/react-icons/ti/media-play-outline.d.ts index db49c26a4b..9f0cfde0e8 100644 --- a/react-icons/ti/media-play-outline.d.ts +++ b/react-icons/ti/media-play-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaPlayOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-play-reverse-outline.d.ts b/react-icons/ti/media-play-reverse-outline.d.ts index 1390231aec..ef84f545c9 100644 --- a/react-icons/ti/media-play-reverse-outline.d.ts +++ b/react-icons/ti/media-play-reverse-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaPlayReverseOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-play-reverse.d.ts b/react-icons/ti/media-play-reverse.d.ts index ebd83c738a..cefa9d02b0 100644 --- a/react-icons/ti/media-play-reverse.d.ts +++ b/react-icons/ti/media-play-reverse.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaPlayReverse extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-play.d.ts b/react-icons/ti/media-play.d.ts index 87134282a9..ba8fe73bd7 100644 --- a/react-icons/ti/media-play.d.ts +++ b/react-icons/ti/media-play.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaPlay extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-record-outline.d.ts b/react-icons/ti/media-record-outline.d.ts index 012aaebf1d..13b6d02ea8 100644 --- a/react-icons/ti/media-record-outline.d.ts +++ b/react-icons/ti/media-record-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaRecordOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-record.d.ts b/react-icons/ti/media-record.d.ts index f94da12a9e..e37312e2c8 100644 --- a/react-icons/ti/media-record.d.ts +++ b/react-icons/ti/media-record.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaRecord extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-rewind-outline.d.ts b/react-icons/ti/media-rewind-outline.d.ts index 506a37639e..6673419051 100644 --- a/react-icons/ti/media-rewind-outline.d.ts +++ b/react-icons/ti/media-rewind-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaRewindOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-rewind.d.ts b/react-icons/ti/media-rewind.d.ts index dec64cff1a..6355fc70c8 100644 --- a/react-icons/ti/media-rewind.d.ts +++ b/react-icons/ti/media-rewind.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaRewind extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-stop-outline.d.ts b/react-icons/ti/media-stop-outline.d.ts index cecc1238b6..284b6d619a 100644 --- a/react-icons/ti/media-stop-outline.d.ts +++ b/react-icons/ti/media-stop-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaStopOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/media-stop.d.ts b/react-icons/ti/media-stop.d.ts index 2dc50bd65a..7ed85be809 100644 --- a/react-icons/ti/media-stop.d.ts +++ b/react-icons/ti/media-stop.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMediaStop extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/message-typing.d.ts b/react-icons/ti/message-typing.d.ts index 559edc55b2..593360a0c1 100644 --- a/react-icons/ti/message-typing.d.ts +++ b/react-icons/ti/message-typing.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMessageTyping extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/message.d.ts b/react-icons/ti/message.d.ts index 66b35f3436..d7fdef598c 100644 --- a/react-icons/ti/message.d.ts +++ b/react-icons/ti/message.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMessage extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/messages.d.ts b/react-icons/ti/messages.d.ts index bc34ba77c5..3061a4b1d8 100644 --- a/react-icons/ti/messages.d.ts +++ b/react-icons/ti/messages.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMessages extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/microphone-outline.d.ts b/react-icons/ti/microphone-outline.d.ts index 576c405276..15b36cd6ba 100644 --- a/react-icons/ti/microphone-outline.d.ts +++ b/react-icons/ti/microphone-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMicrophoneOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/microphone.d.ts b/react-icons/ti/microphone.d.ts index ff42d8d24e..3840e20255 100644 --- a/react-icons/ti/microphone.d.ts +++ b/react-icons/ti/microphone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMicrophone extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/minus-outline.d.ts b/react-icons/ti/minus-outline.d.ts index 4c58f8b1f7..2770ce005c 100644 --- a/react-icons/ti/minus-outline.d.ts +++ b/react-icons/ti/minus-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMinusOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/minus.d.ts b/react-icons/ti/minus.d.ts index 6bc72816ee..20d69e69e8 100644 --- a/react-icons/ti/minus.d.ts +++ b/react-icons/ti/minus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMinus extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/mortar-board.d.ts b/react-icons/ti/mortar-board.d.ts index 77306e7798..c5b18dd504 100644 --- a/react-icons/ti/mortar-board.d.ts +++ b/react-icons/ti/mortar-board.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiMortarBoard extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/news.d.ts b/react-icons/ti/news.d.ts index 064ddd778c..9afffc6ee5 100644 --- a/react-icons/ti/news.d.ts +++ b/react-icons/ti/news.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiNews extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/notes-outline.d.ts b/react-icons/ti/notes-outline.d.ts index c8c828dec2..be4f5413d6 100644 --- a/react-icons/ti/notes-outline.d.ts +++ b/react-icons/ti/notes-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiNotesOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/notes.d.ts b/react-icons/ti/notes.d.ts index 302a40958a..f2592b376f 100644 --- a/react-icons/ti/notes.d.ts +++ b/react-icons/ti/notes.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiNotes extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/pen.d.ts b/react-icons/ti/pen.d.ts index 48e1f2769d..a2fd27eee9 100644 --- a/react-icons/ti/pen.d.ts +++ b/react-icons/ti/pen.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPen extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/pencil.d.ts b/react-icons/ti/pencil.d.ts index b87c34f011..93b63951b7 100644 --- a/react-icons/ti/pencil.d.ts +++ b/react-icons/ti/pencil.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPencil extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/phone-outline.d.ts b/react-icons/ti/phone-outline.d.ts index 701be542a6..fcfa477bb5 100644 --- a/react-icons/ti/phone-outline.d.ts +++ b/react-icons/ti/phone-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPhoneOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/phone.d.ts b/react-icons/ti/phone.d.ts index edbc041074..b0e7e7feea 100644 --- a/react-icons/ti/phone.d.ts +++ b/react-icons/ti/phone.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPhone extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/pi-outline.d.ts b/react-icons/ti/pi-outline.d.ts index 091b8d9326..6869435ee4 100644 --- a/react-icons/ti/pi-outline.d.ts +++ b/react-icons/ti/pi-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPiOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/pi.d.ts b/react-icons/ti/pi.d.ts index 6ebd0d14d9..1617294646 100644 --- a/react-icons/ti/pi.d.ts +++ b/react-icons/ti/pi.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPi extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/pin-outline.d.ts b/react-icons/ti/pin-outline.d.ts index 67493da5ad..b373513a10 100644 --- a/react-icons/ti/pin-outline.d.ts +++ b/react-icons/ti/pin-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPinOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/pin.d.ts b/react-icons/ti/pin.d.ts index 2f57819616..099fb4f3c7 100644 --- a/react-icons/ti/pin.d.ts +++ b/react-icons/ti/pin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPin extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/pipette.d.ts b/react-icons/ti/pipette.d.ts index 8e170a3cf0..1121ff32e2 100644 --- a/react-icons/ti/pipette.d.ts +++ b/react-icons/ti/pipette.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPipette extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/plane-outline.d.ts b/react-icons/ti/plane-outline.d.ts index b03ec32fa7..41f5f816ad 100644 --- a/react-icons/ti/plane-outline.d.ts +++ b/react-icons/ti/plane-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPlaneOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/plane.d.ts b/react-icons/ti/plane.d.ts index 94859c916f..8876824ca8 100644 --- a/react-icons/ti/plane.d.ts +++ b/react-icons/ti/plane.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPlane extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/plug.d.ts b/react-icons/ti/plug.d.ts index 72bf334ba4..ff7acd70e7 100644 --- a/react-icons/ti/plug.d.ts +++ b/react-icons/ti/plug.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPlug extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/plus-outline.d.ts b/react-icons/ti/plus-outline.d.ts index 90f94429bd..07878f2724 100644 --- a/react-icons/ti/plus-outline.d.ts +++ b/react-icons/ti/plus-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPlusOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/plus.d.ts b/react-icons/ti/plus.d.ts index 67da8332a9..83bb89db55 100644 --- a/react-icons/ti/plus.d.ts +++ b/react-icons/ti/plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPlus extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/point-of-interest-outline.d.ts b/react-icons/ti/point-of-interest-outline.d.ts index 2524c60855..2e94299ade 100644 --- a/react-icons/ti/point-of-interest-outline.d.ts +++ b/react-icons/ti/point-of-interest-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPointOfInterestOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/point-of-interest.d.ts b/react-icons/ti/point-of-interest.d.ts index 034fd2d631..4b60c5714a 100644 --- a/react-icons/ti/point-of-interest.d.ts +++ b/react-icons/ti/point-of-interest.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPointOfInterest extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/power-outline.d.ts b/react-icons/ti/power-outline.d.ts index 29c1297149..fb1989b052 100644 --- a/react-icons/ti/power-outline.d.ts +++ b/react-icons/ti/power-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPowerOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/power.d.ts b/react-icons/ti/power.d.ts index f5c1ef8761..bff6aafd9d 100644 --- a/react-icons/ti/power.d.ts +++ b/react-icons/ti/power.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPower extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/printer.d.ts b/react-icons/ti/printer.d.ts index b22a9adce5..1282c2f00f 100644 --- a/react-icons/ti/printer.d.ts +++ b/react-icons/ti/printer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPrinter extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/puzzle-outline.d.ts b/react-icons/ti/puzzle-outline.d.ts index fc35550aac..c48cab8864 100644 --- a/react-icons/ti/puzzle-outline.d.ts +++ b/react-icons/ti/puzzle-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPuzzleOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/puzzle.d.ts b/react-icons/ti/puzzle.d.ts index 4f200af790..47e1532f46 100644 --- a/react-icons/ti/puzzle.d.ts +++ b/react-icons/ti/puzzle.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiPuzzle extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/radar-outline.d.ts b/react-icons/ti/radar-outline.d.ts index 3d78fe41cc..cd738b7d4e 100644 --- a/react-icons/ti/radar-outline.d.ts +++ b/react-icons/ti/radar-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiRadarOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/radar.d.ts b/react-icons/ti/radar.d.ts index 0705f0b4c9..9bf0baaeb5 100644 --- a/react-icons/ti/radar.d.ts +++ b/react-icons/ti/radar.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiRadar extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/refresh-outline.d.ts b/react-icons/ti/refresh-outline.d.ts index 4c49aa6958..8c5e85d643 100644 --- a/react-icons/ti/refresh-outline.d.ts +++ b/react-icons/ti/refresh-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiRefreshOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/refresh.d.ts b/react-icons/ti/refresh.d.ts index 597b6ce3f7..de9f31e098 100644 --- a/react-icons/ti/refresh.d.ts +++ b/react-icons/ti/refresh.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiRefresh extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/rss-outline.d.ts b/react-icons/ti/rss-outline.d.ts index 4a8815516c..68e073ee0f 100644 --- a/react-icons/ti/rss-outline.d.ts +++ b/react-icons/ti/rss-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiRssOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/rss.d.ts b/react-icons/ti/rss.d.ts index bd7896bb2f..9beb85a66d 100644 --- a/react-icons/ti/rss.d.ts +++ b/react-icons/ti/rss.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiRss extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/scissors-outline.d.ts b/react-icons/ti/scissors-outline.d.ts index be3c744160..68aaff6c40 100644 --- a/react-icons/ti/scissors-outline.d.ts +++ b/react-icons/ti/scissors-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiScissorsOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/scissors.d.ts b/react-icons/ti/scissors.d.ts index c580e89b36..dfa70d7f36 100644 --- a/react-icons/ti/scissors.d.ts +++ b/react-icons/ti/scissors.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiScissors extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/shopping-bag.d.ts b/react-icons/ti/shopping-bag.d.ts index 7fb312ff26..62366e0555 100644 --- a/react-icons/ti/shopping-bag.d.ts +++ b/react-icons/ti/shopping-bag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiShoppingBag extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/shopping-cart.d.ts b/react-icons/ti/shopping-cart.d.ts index 45346962f8..e56c94e9f7 100644 --- a/react-icons/ti/shopping-cart.d.ts +++ b/react-icons/ti/shopping-cart.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiShoppingCart extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-at-circular.d.ts b/react-icons/ti/social-at-circular.d.ts index 66589c3bdc..d8e93ddba8 100644 --- a/react-icons/ti/social-at-circular.d.ts +++ b/react-icons/ti/social-at-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialAtCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-dribbble-circular.d.ts b/react-icons/ti/social-dribbble-circular.d.ts index d347f8c3da..68b605c14e 100644 --- a/react-icons/ti/social-dribbble-circular.d.ts +++ b/react-icons/ti/social-dribbble-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialDribbbleCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-dribbble.d.ts b/react-icons/ti/social-dribbble.d.ts index 9c7f97ecff..69bf5aa0ca 100644 --- a/react-icons/ti/social-dribbble.d.ts +++ b/react-icons/ti/social-dribbble.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialDribbble extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-facebook-circular.d.ts b/react-icons/ti/social-facebook-circular.d.ts index cf8381bf91..d3c781a910 100644 --- a/react-icons/ti/social-facebook-circular.d.ts +++ b/react-icons/ti/social-facebook-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialFacebookCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-facebook.d.ts b/react-icons/ti/social-facebook.d.ts index c5fb07eef6..987aa840d8 100644 --- a/react-icons/ti/social-facebook.d.ts +++ b/react-icons/ti/social-facebook.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialFacebook extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-flickr-circular.d.ts b/react-icons/ti/social-flickr-circular.d.ts index 1b8ccf81db..47d3b5a0a7 100644 --- a/react-icons/ti/social-flickr-circular.d.ts +++ b/react-icons/ti/social-flickr-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialFlickrCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-flickr.d.ts b/react-icons/ti/social-flickr.d.ts index a5ec6185e4..aca7a7fe68 100644 --- a/react-icons/ti/social-flickr.d.ts +++ b/react-icons/ti/social-flickr.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialFlickr extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-github-circular.d.ts b/react-icons/ti/social-github-circular.d.ts index 9f56ff055b..18f9e5792a 100644 --- a/react-icons/ti/social-github-circular.d.ts +++ b/react-icons/ti/social-github-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialGithubCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-github.d.ts b/react-icons/ti/social-github.d.ts index 4ea50420cf..f4a6934aa0 100644 --- a/react-icons/ti/social-github.d.ts +++ b/react-icons/ti/social-github.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialGithub extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-google-plus-circular.d.ts b/react-icons/ti/social-google-plus-circular.d.ts index 8f49a49abe..0c0da14423 100644 --- a/react-icons/ti/social-google-plus-circular.d.ts +++ b/react-icons/ti/social-google-plus-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialGooglePlusCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-google-plus.d.ts b/react-icons/ti/social-google-plus.d.ts index 05040796b3..048b92803e 100644 --- a/react-icons/ti/social-google-plus.d.ts +++ b/react-icons/ti/social-google-plus.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialGooglePlus extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-instagram-circular.d.ts b/react-icons/ti/social-instagram-circular.d.ts index 89ac3765ec..b1984e843f 100644 --- a/react-icons/ti/social-instagram-circular.d.ts +++ b/react-icons/ti/social-instagram-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialInstagramCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-instagram.d.ts b/react-icons/ti/social-instagram.d.ts index c59385aaf8..2cf8e947b5 100644 --- a/react-icons/ti/social-instagram.d.ts +++ b/react-icons/ti/social-instagram.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialInstagram extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-last-fm-circular.d.ts b/react-icons/ti/social-last-fm-circular.d.ts index ad5629d115..4840e8d1f7 100644 --- a/react-icons/ti/social-last-fm-circular.d.ts +++ b/react-icons/ti/social-last-fm-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialLastFmCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-last-fm.d.ts b/react-icons/ti/social-last-fm.d.ts index 532cbe8962..cb0a1b49c8 100644 --- a/react-icons/ti/social-last-fm.d.ts +++ b/react-icons/ti/social-last-fm.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialLastFm extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-linkedin-circular.d.ts b/react-icons/ti/social-linkedin-circular.d.ts index ee784428be..865e71c5d8 100644 --- a/react-icons/ti/social-linkedin-circular.d.ts +++ b/react-icons/ti/social-linkedin-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialLinkedinCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-linkedin.d.ts b/react-icons/ti/social-linkedin.d.ts index ea6ab8842a..375ba290fd 100644 --- a/react-icons/ti/social-linkedin.d.ts +++ b/react-icons/ti/social-linkedin.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialLinkedin extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-pinterest-circular.d.ts b/react-icons/ti/social-pinterest-circular.d.ts index f3a8d5fe54..f432cf5adc 100644 --- a/react-icons/ti/social-pinterest-circular.d.ts +++ b/react-icons/ti/social-pinterest-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialPinterestCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-pinterest.d.ts b/react-icons/ti/social-pinterest.d.ts index 1e87668d6c..63a474c97e 100644 --- a/react-icons/ti/social-pinterest.d.ts +++ b/react-icons/ti/social-pinterest.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialPinterest extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-skype-outline.d.ts b/react-icons/ti/social-skype-outline.d.ts index eb07aadc7c..e3efecc73f 100644 --- a/react-icons/ti/social-skype-outline.d.ts +++ b/react-icons/ti/social-skype-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialSkypeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-skype.d.ts b/react-icons/ti/social-skype.d.ts index f4cd7d2e7e..a5d22f640b 100644 --- a/react-icons/ti/social-skype.d.ts +++ b/react-icons/ti/social-skype.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialSkype extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-tumbler-circular.d.ts b/react-icons/ti/social-tumbler-circular.d.ts index 3cb8a76816..9b48cd3903 100644 --- a/react-icons/ti/social-tumbler-circular.d.ts +++ b/react-icons/ti/social-tumbler-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialTumblerCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-tumbler.d.ts b/react-icons/ti/social-tumbler.d.ts index e5a9cdd8e1..a149d2cfb2 100644 --- a/react-icons/ti/social-tumbler.d.ts +++ b/react-icons/ti/social-tumbler.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialTumbler extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-twitter-circular.d.ts b/react-icons/ti/social-twitter-circular.d.ts index 2e620a4b4a..02ac7d361b 100644 --- a/react-icons/ti/social-twitter-circular.d.ts +++ b/react-icons/ti/social-twitter-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialTwitterCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-twitter.d.ts b/react-icons/ti/social-twitter.d.ts index b16b20fc25..9866ed4313 100644 --- a/react-icons/ti/social-twitter.d.ts +++ b/react-icons/ti/social-twitter.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialTwitter extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-vimeo-circular.d.ts b/react-icons/ti/social-vimeo-circular.d.ts index 1dc19b0077..71a5d79bce 100644 --- a/react-icons/ti/social-vimeo-circular.d.ts +++ b/react-icons/ti/social-vimeo-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialVimeoCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-vimeo.d.ts b/react-icons/ti/social-vimeo.d.ts index 30432e4eae..5b29be3ef3 100644 --- a/react-icons/ti/social-vimeo.d.ts +++ b/react-icons/ti/social-vimeo.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialVimeo extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-youtube-circular.d.ts b/react-icons/ti/social-youtube-circular.d.ts index 02840ae42c..9429b00bf1 100644 --- a/react-icons/ti/social-youtube-circular.d.ts +++ b/react-icons/ti/social-youtube-circular.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialYoutubeCircular extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/social-youtube.d.ts b/react-icons/ti/social-youtube.d.ts index fe216972ea..dc7cbdf97f 100644 --- a/react-icons/ti/social-youtube.d.ts +++ b/react-icons/ti/social-youtube.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSocialYoutube extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/sort-alphabetically-outline.d.ts b/react-icons/ti/sort-alphabetically-outline.d.ts index 70aa417903..febb2f4e1f 100644 --- a/react-icons/ti/sort-alphabetically-outline.d.ts +++ b/react-icons/ti/sort-alphabetically-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSortAlphabeticallyOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/sort-alphabetically.d.ts b/react-icons/ti/sort-alphabetically.d.ts index 310f4f70cf..bcaefdac7e 100644 --- a/react-icons/ti/sort-alphabetically.d.ts +++ b/react-icons/ti/sort-alphabetically.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSortAlphabetically extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/sort-numerically-outline.d.ts b/react-icons/ti/sort-numerically-outline.d.ts index d471e0dc12..1ab9d543b4 100644 --- a/react-icons/ti/sort-numerically-outline.d.ts +++ b/react-icons/ti/sort-numerically-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSortNumericallyOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/sort-numerically.d.ts b/react-icons/ti/sort-numerically.d.ts index 03bb5ea517..bc2a9b3294 100644 --- a/react-icons/ti/sort-numerically.d.ts +++ b/react-icons/ti/sort-numerically.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSortNumerically extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/spanner-outline.d.ts b/react-icons/ti/spanner-outline.d.ts index af1782b6ec..f96e12c629 100644 --- a/react-icons/ti/spanner-outline.d.ts +++ b/react-icons/ti/spanner-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSpannerOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/spanner.d.ts b/react-icons/ti/spanner.d.ts index caadbac51b..4ce975ed7e 100644 --- a/react-icons/ti/spanner.d.ts +++ b/react-icons/ti/spanner.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSpanner extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/spiral.d.ts b/react-icons/ti/spiral.d.ts index 08b6256cd0..49025e1d35 100644 --- a/react-icons/ti/spiral.d.ts +++ b/react-icons/ti/spiral.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSpiral extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/star-full-outline.d.ts b/react-icons/ti/star-full-outline.d.ts index f0a4a21891..4bea37a1af 100644 --- a/react-icons/ti/star-full-outline.d.ts +++ b/react-icons/ti/star-full-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiStarFullOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/star-half-outline.d.ts b/react-icons/ti/star-half-outline.d.ts index 506d371624..6b9b736859 100644 --- a/react-icons/ti/star-half-outline.d.ts +++ b/react-icons/ti/star-half-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiStarHalfOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/star-half.d.ts b/react-icons/ti/star-half.d.ts index 77b1e03ee1..48442d42c5 100644 --- a/react-icons/ti/star-half.d.ts +++ b/react-icons/ti/star-half.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiStarHalf extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/star-outline.d.ts b/react-icons/ti/star-outline.d.ts index 51761c4a8e..9041873a29 100644 --- a/react-icons/ti/star-outline.d.ts +++ b/react-icons/ti/star-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiStarOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/star.d.ts b/react-icons/ti/star.d.ts index 47d9abf9f8..3d686a5509 100644 --- a/react-icons/ti/star.d.ts +++ b/react-icons/ti/star.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiStar extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/starburst-outline.d.ts b/react-icons/ti/starburst-outline.d.ts index 89f22a38a0..19f8257d69 100644 --- a/react-icons/ti/starburst-outline.d.ts +++ b/react-icons/ti/starburst-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiStarburstOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/starburst.d.ts b/react-icons/ti/starburst.d.ts index 6f704427a8..50daa7c3ad 100644 --- a/react-icons/ti/starburst.d.ts +++ b/react-icons/ti/starburst.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiStarburst extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/stopwatch.d.ts b/react-icons/ti/stopwatch.d.ts index 43a9c51ee2..ccf8c61ba7 100644 --- a/react-icons/ti/stopwatch.d.ts +++ b/react-icons/ti/stopwatch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiStopwatch extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/support.d.ts b/react-icons/ti/support.d.ts index af36f51d0c..a5d9f1f417 100644 --- a/react-icons/ti/support.d.ts +++ b/react-icons/ti/support.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiSupport extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/tabs-outline.d.ts b/react-icons/ti/tabs-outline.d.ts index f463ce23bd..a9d701a2c7 100644 --- a/react-icons/ti/tabs-outline.d.ts +++ b/react-icons/ti/tabs-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTabsOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/tag.d.ts b/react-icons/ti/tag.d.ts index cb8d9cdced..b7ebce6e2e 100644 --- a/react-icons/ti/tag.d.ts +++ b/react-icons/ti/tag.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTag extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/tags.d.ts b/react-icons/ti/tags.d.ts index 003def5e02..7733b0ce90 100644 --- a/react-icons/ti/tags.d.ts +++ b/react-icons/ti/tags.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTags extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/th-large-outline.d.ts b/react-icons/ti/th-large-outline.d.ts index 476043f358..fec0fac8b7 100644 --- a/react-icons/ti/th-large-outline.d.ts +++ b/react-icons/ti/th-large-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThLargeOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/th-large.d.ts b/react-icons/ti/th-large.d.ts index e8321ddc96..d4f225e2b5 100644 --- a/react-icons/ti/th-large.d.ts +++ b/react-icons/ti/th-large.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThLarge extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/th-list-outline.d.ts b/react-icons/ti/th-list-outline.d.ts index 3ade28003c..3a6e7b020a 100644 --- a/react-icons/ti/th-list-outline.d.ts +++ b/react-icons/ti/th-list-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThListOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/th-list.d.ts b/react-icons/ti/th-list.d.ts index 2337e49595..5ea9446c30 100644 --- a/react-icons/ti/th-list.d.ts +++ b/react-icons/ti/th-list.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThList extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/th-menu-outline.d.ts b/react-icons/ti/th-menu-outline.d.ts index e303022e52..3e0c6199f9 100644 --- a/react-icons/ti/th-menu-outline.d.ts +++ b/react-icons/ti/th-menu-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThMenuOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/th-menu.d.ts b/react-icons/ti/th-menu.d.ts index a051fc81bf..8fce86b636 100644 --- a/react-icons/ti/th-menu.d.ts +++ b/react-icons/ti/th-menu.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThMenu extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/th-small-outline.d.ts b/react-icons/ti/th-small-outline.d.ts index ee8333c8dc..3e2586791c 100644 --- a/react-icons/ti/th-small-outline.d.ts +++ b/react-icons/ti/th-small-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThSmallOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/th-small.d.ts b/react-icons/ti/th-small.d.ts index 4e44e78794..e5e61cfb70 100644 --- a/react-icons/ti/th-small.d.ts +++ b/react-icons/ti/th-small.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThSmall extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/thermometer.d.ts b/react-icons/ti/thermometer.d.ts index b513f44163..eae0049769 100644 --- a/react-icons/ti/thermometer.d.ts +++ b/react-icons/ti/thermometer.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThermometer extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/thumbs-down.d.ts b/react-icons/ti/thumbs-down.d.ts index 23d345e4f0..b400214a0c 100644 --- a/react-icons/ti/thumbs-down.d.ts +++ b/react-icons/ti/thumbs-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThumbsDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/thumbs-ok.d.ts b/react-icons/ti/thumbs-ok.d.ts index 08e7421282..cb931b0dbc 100644 --- a/react-icons/ti/thumbs-ok.d.ts +++ b/react-icons/ti/thumbs-ok.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThumbsOk extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/thumbs-up.d.ts b/react-icons/ti/thumbs-up.d.ts index 6a3fe07e0a..1cf8664694 100644 --- a/react-icons/ti/thumbs-up.d.ts +++ b/react-icons/ti/thumbs-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiThumbsUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/tick-outline.d.ts b/react-icons/ti/tick-outline.d.ts index 6a5ffafd63..860b5e3b99 100644 --- a/react-icons/ti/tick-outline.d.ts +++ b/react-icons/ti/tick-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTickOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/tick.d.ts b/react-icons/ti/tick.d.ts index 18a354b762..dd4bd7a435 100644 --- a/react-icons/ti/tick.d.ts +++ b/react-icons/ti/tick.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTick extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/ticket.d.ts b/react-icons/ti/ticket.d.ts index 8ac3c23ae5..1f7f9fa601 100644 --- a/react-icons/ti/ticket.d.ts +++ b/react-icons/ti/ticket.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTicket extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/time.d.ts b/react-icons/ti/time.d.ts index 4985b1ac80..2139bca590 100644 --- a/react-icons/ti/time.d.ts +++ b/react-icons/ti/time.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTime extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/times-outline.d.ts b/react-icons/ti/times-outline.d.ts index 6d1f708dd6..d3567177ea 100644 --- a/react-icons/ti/times-outline.d.ts +++ b/react-icons/ti/times-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTimesOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/times.d.ts b/react-icons/ti/times.d.ts index eb52e976d8..9afba90efa 100644 --- a/react-icons/ti/times.d.ts +++ b/react-icons/ti/times.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTimes extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/trash.d.ts b/react-icons/ti/trash.d.ts index 2ea6d74897..78f3a3182e 100644 --- a/react-icons/ti/trash.d.ts +++ b/react-icons/ti/trash.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTrash extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/tree.d.ts b/react-icons/ti/tree.d.ts index 8e33ecc871..8bdd0df2b9 100644 --- a/react-icons/ti/tree.d.ts +++ b/react-icons/ti/tree.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiTree extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/upload-outline.d.ts b/react-icons/ti/upload-outline.d.ts index 1598f91a33..c66dcdcc5e 100644 --- a/react-icons/ti/upload-outline.d.ts +++ b/react-icons/ti/upload-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiUploadOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/upload.d.ts b/react-icons/ti/upload.d.ts index c1397ba2b5..ffd8be2934 100644 --- a/react-icons/ti/upload.d.ts +++ b/react-icons/ti/upload.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiUpload extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/user-add-outline.d.ts b/react-icons/ti/user-add-outline.d.ts index caa00e4959..c87470f20b 100644 --- a/react-icons/ti/user-add-outline.d.ts +++ b/react-icons/ti/user-add-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiUserAddOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/user-add.d.ts b/react-icons/ti/user-add.d.ts index bd3df08c99..8575680546 100644 --- a/react-icons/ti/user-add.d.ts +++ b/react-icons/ti/user-add.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiUserAdd extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/user-delete-outline.d.ts b/react-icons/ti/user-delete-outline.d.ts index 7bc763000c..656aa79c57 100644 --- a/react-icons/ti/user-delete-outline.d.ts +++ b/react-icons/ti/user-delete-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiUserDeleteOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/user-delete.d.ts b/react-icons/ti/user-delete.d.ts index c7cedd6900..d647fffa64 100644 --- a/react-icons/ti/user-delete.d.ts +++ b/react-icons/ti/user-delete.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiUserDelete extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/user-outline.d.ts b/react-icons/ti/user-outline.d.ts index 9c507402cb..ed0b07e30f 100644 --- a/react-icons/ti/user-outline.d.ts +++ b/react-icons/ti/user-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiUserOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/user.d.ts b/react-icons/ti/user.d.ts index 414ba3894b..6a1b217222 100644 --- a/react-icons/ti/user.d.ts +++ b/react-icons/ti/user.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiUser extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/vendor-android.d.ts b/react-icons/ti/vendor-android.d.ts index 4c57ccee33..a893acc614 100644 --- a/react-icons/ti/vendor-android.d.ts +++ b/react-icons/ti/vendor-android.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiVendorAndroid extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/vendor-apple.d.ts b/react-icons/ti/vendor-apple.d.ts index 436c2caada..aecbcd7478 100644 --- a/react-icons/ti/vendor-apple.d.ts +++ b/react-icons/ti/vendor-apple.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiVendorApple extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/vendor-microsoft.d.ts b/react-icons/ti/vendor-microsoft.d.ts index 10dd1a07a1..92d3c75285 100644 --- a/react-icons/ti/vendor-microsoft.d.ts +++ b/react-icons/ti/vendor-microsoft.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiVendorMicrosoft extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/video-outline.d.ts b/react-icons/ti/video-outline.d.ts index 2ccf448259..f966dede09 100644 --- a/react-icons/ti/video-outline.d.ts +++ b/react-icons/ti/video-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiVideoOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/video.d.ts b/react-icons/ti/video.d.ts index 3b1a19e0f7..a5c261b64a 100644 --- a/react-icons/ti/video.d.ts +++ b/react-icons/ti/video.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiVideo extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/volume-down.d.ts b/react-icons/ti/volume-down.d.ts index 963d104757..148467fe98 100644 --- a/react-icons/ti/volume-down.d.ts +++ b/react-icons/ti/volume-down.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiVolumeDown extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/volume-mute.d.ts b/react-icons/ti/volume-mute.d.ts index a33e76bcea..61b4dbe8e1 100644 --- a/react-icons/ti/volume-mute.d.ts +++ b/react-icons/ti/volume-mute.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiVolumeMute extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/volume-up.d.ts b/react-icons/ti/volume-up.d.ts index 9cc3c4f5f2..f8416b96f2 100644 --- a/react-icons/ti/volume-up.d.ts +++ b/react-icons/ti/volume-up.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiVolumeUp extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/volume.d.ts b/react-icons/ti/volume.d.ts index c61dd7c41f..ca4e3a2e47 100644 --- a/react-icons/ti/volume.d.ts +++ b/react-icons/ti/volume.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiVolume extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/warning-outline.d.ts b/react-icons/ti/warning-outline.d.ts index cef6ac7f42..7394a90d91 100644 --- a/react-icons/ti/warning-outline.d.ts +++ b/react-icons/ti/warning-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWarningOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/warning.d.ts b/react-icons/ti/warning.d.ts index 341e792948..9a3f2467f0 100644 --- a/react-icons/ti/warning.d.ts +++ b/react-icons/ti/warning.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWarning extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/watch.d.ts b/react-icons/ti/watch.d.ts index 4160fbae7e..080afa00f9 100644 --- a/react-icons/ti/watch.d.ts +++ b/react-icons/ti/watch.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWatch extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/waves-outline.d.ts b/react-icons/ti/waves-outline.d.ts index 9bea5539fb..9eee0b273a 100644 --- a/react-icons/ti/waves-outline.d.ts +++ b/react-icons/ti/waves-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWavesOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/waves.d.ts b/react-icons/ti/waves.d.ts index cc2c664129..b151f636ac 100644 --- a/react-icons/ti/waves.d.ts +++ b/react-icons/ti/waves.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWaves extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/weather-cloudy.d.ts b/react-icons/ti/weather-cloudy.d.ts index cc5399e067..297ecce599 100644 --- a/react-icons/ti/weather-cloudy.d.ts +++ b/react-icons/ti/weather-cloudy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWeatherCloudy extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/weather-downpour.d.ts b/react-icons/ti/weather-downpour.d.ts index 657584a211..cb9e625633 100644 --- a/react-icons/ti/weather-downpour.d.ts +++ b/react-icons/ti/weather-downpour.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWeatherDownpour extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/weather-night.d.ts b/react-icons/ti/weather-night.d.ts index 524c0218d7..4701968c4e 100644 --- a/react-icons/ti/weather-night.d.ts +++ b/react-icons/ti/weather-night.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWeatherNight extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/weather-partly-sunny.d.ts b/react-icons/ti/weather-partly-sunny.d.ts index ebc1cc3498..6942efe761 100644 --- a/react-icons/ti/weather-partly-sunny.d.ts +++ b/react-icons/ti/weather-partly-sunny.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWeatherPartlySunny extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/weather-shower.d.ts b/react-icons/ti/weather-shower.d.ts index ab787b977a..4cbff134e9 100644 --- a/react-icons/ti/weather-shower.d.ts +++ b/react-icons/ti/weather-shower.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWeatherShower extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/weather-snow.d.ts b/react-icons/ti/weather-snow.d.ts index 18ba76ac43..9c237efa7a 100644 --- a/react-icons/ti/weather-snow.d.ts +++ b/react-icons/ti/weather-snow.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWeatherSnow extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/weather-stormy.d.ts b/react-icons/ti/weather-stormy.d.ts index 18d125a931..033a19ee91 100644 --- a/react-icons/ti/weather-stormy.d.ts +++ b/react-icons/ti/weather-stormy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWeatherStormy extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/weather-sunny.d.ts b/react-icons/ti/weather-sunny.d.ts index e067521c0c..848024f799 100644 --- a/react-icons/ti/weather-sunny.d.ts +++ b/react-icons/ti/weather-sunny.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWeatherSunny extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/weather-windy-cloudy.d.ts b/react-icons/ti/weather-windy-cloudy.d.ts index a361569a87..2cacc972e8 100644 --- a/react-icons/ti/weather-windy-cloudy.d.ts +++ b/react-icons/ti/weather-windy-cloudy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWeatherWindyCloudy extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/weather-windy.d.ts b/react-icons/ti/weather-windy.d.ts index d3869fbf25..ffd27bd865 100644 --- a/react-icons/ti/weather-windy.d.ts +++ b/react-icons/ti/weather-windy.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWeatherWindy extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/wi-fi-outline.d.ts b/react-icons/ti/wi-fi-outline.d.ts index b20aff78e6..6fe84be3b7 100644 --- a/react-icons/ti/wi-fi-outline.d.ts +++ b/react-icons/ti/wi-fi-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWiFiOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/wi-fi.d.ts b/react-icons/ti/wi-fi.d.ts index d22c056e18..0c4049b6cb 100644 --- a/react-icons/ti/wi-fi.d.ts +++ b/react-icons/ti/wi-fi.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWiFi extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/wine.d.ts b/react-icons/ti/wine.d.ts index 229c168a68..c5913e8196 100644 --- a/react-icons/ti/wine.d.ts +++ b/react-icons/ti/wine.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWine extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/world-outline.d.ts b/react-icons/ti/world-outline.d.ts index 01eebc2c91..77ddf5e93e 100644 --- a/react-icons/ti/world-outline.d.ts +++ b/react-icons/ti/world-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWorldOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/world.d.ts b/react-icons/ti/world.d.ts index 641377c5ee..8f628e7f18 100644 --- a/react-icons/ti/world.d.ts +++ b/react-icons/ti/world.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiWorld extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/zoom-in-outline.d.ts b/react-icons/ti/zoom-in-outline.d.ts index c2bf90e19b..440c211498 100644 --- a/react-icons/ti/zoom-in-outline.d.ts +++ b/react-icons/ti/zoom-in-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiZoomInOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/zoom-in.d.ts b/react-icons/ti/zoom-in.d.ts index 4162828821..47dcc68a9a 100644 --- a/react-icons/ti/zoom-in.d.ts +++ b/react-icons/ti/zoom-in.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiZoomIn extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/zoom-out-outline.d.ts b/react-icons/ti/zoom-out-outline.d.ts index 040d208f96..221a5b97cd 100644 --- a/react-icons/ti/zoom-out-outline.d.ts +++ b/react-icons/ti/zoom-out-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiZoomOutOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/zoom-out.d.ts b/react-icons/ti/zoom-out.d.ts index b8f83cf228..ed35bdfcb4 100644 --- a/react-icons/ti/zoom-out.d.ts +++ b/react-icons/ti/zoom-out.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiZoomOut extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/zoom-outline.d.ts b/react-icons/ti/zoom-outline.d.ts index acc1270230..95126e1e50 100644 --- a/react-icons/ti/zoom-outline.d.ts +++ b/react-icons/ti/zoom-outline.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiZoomOutline extends React.Component { } \ No newline at end of file diff --git a/react-icons/ti/zoom.d.ts b/react-icons/ti/zoom.d.ts index 994301ba74..b7e6b69c55 100644 --- a/react-icons/ti/zoom.d.ts +++ b/react-icons/ti/zoom.d.ts @@ -1,3 +1,5 @@ +// TypeScript Version: 2.1 + import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class TiZoom extends React.Component { } \ No newline at end of file From 2265316a1015ec5d89aec54f73f2b26e99f16527 Mon Sep 17 00:00:00 2001 From: Larry Bahr Date: Thu, 2 Feb 2017 17:03:43 -0600 Subject: [PATCH 366/613] Added cordova-plugin-device-name Added cordova-plugin-device-name type definitions --- cordova-plugin-device-name/README.md | 8 ++++++ .../cordova-plugin-device-name-tests.ts | 4 +++ cordova-plugin-device-name/index.d.ts | 26 +++++++++++++++++++ cordova-plugin-device-name/tsconfig.json | 23 ++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 cordova-plugin-device-name/README.md create mode 100644 cordova-plugin-device-name/cordova-plugin-device-name-tests.ts create mode 100644 cordova-plugin-device-name/index.d.ts create mode 100644 cordova-plugin-device-name/tsconfig.json diff --git a/cordova-plugin-device-name/README.md b/cordova-plugin-device-name/README.md new file mode 100644 index 0000000000..6826b06c32 --- /dev/null +++ b/cordova-plugin-device-name/README.md @@ -0,0 +1,8 @@ +# Installation +> `npm install --save @types/cordova-plugin-device-name` + +# Summary +This package contains type definitions for cordova-plugin-device-name (https://www.npmjs.com/package/cordova-plugin-device-name) + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/cordova-plugin-device-name diff --git a/cordova-plugin-device-name/cordova-plugin-device-name-tests.ts b/cordova-plugin-device-name/cordova-plugin-device-name-tests.ts new file mode 100644 index 0000000000..c101f14d97 --- /dev/null +++ b/cordova-plugin-device-name/cordova-plugin-device-name-tests.ts @@ -0,0 +1,4 @@ +/// + +var deviceName = cordova.plugins.deviceName; +console.log(deviceName.name) // e.g: Becvert's iPad diff --git a/cordova-plugin-device-name/index.d.ts b/cordova-plugin-device-name/index.d.ts new file mode 100644 index 0000000000..479f443cfd --- /dev/null +++ b/cordova-plugin-device-name/index.d.ts @@ -0,0 +1,26 @@ +// Type definitions for cordova-plugin-device-name v1.1.0 +// Project: https://www.npmjs.com/package/cordova-plugin-device-name +// Definitions by: Larry Bahr +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// +// Licensed under the MIT license. + +interface CordovaPlugins { + /** + * cordova-plugin-device-name interface + */ + deviceName: CordovaPluginDeviceName.CordovaPluginDeviceName; +} + +/** + * Keep the type global namespace clean by using a module + */ +declare module CordovaPluginDeviceName { + interface CordovaPluginDeviceName { + /** + * User-friendly name of the device. + * @example cordova.plugins.deviceName.name // e.g: Larry's Android + */ + name: string; + } +} \ No newline at end of file diff --git a/cordova-plugin-device-name/tsconfig.json b/cordova-plugin-device-name/tsconfig.json new file mode 100644 index 0000000000..5012f628be --- /dev/null +++ b/cordova-plugin-device-name/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "cordova-plugin-device-name-tests.ts" + ] +} \ No newline at end of file From fb82c5984fb42b460918be03c3aa2e0d765803be Mon Sep 17 00:00:00 2001 From: Karol Janyst Date: Fri, 3 Feb 2017 09:05:37 +0900 Subject: [PATCH 367/613] Add another signature to match() --- react-router/lib/match.d.ts | 14 +++++++++++--- react-router/react-router-tests.tsx | 6 +++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/react-router/lib/match.d.ts b/react-router/lib/match.d.ts index bc5af4fda8..407bcc80c2 100644 --- a/react-router/lib/match.d.ts +++ b/react-router/lib/match.d.ts @@ -3,14 +3,22 @@ import { Basename, LocationDescriptor, ParseQueryString, RouteConfig, StringifyQ interface MatchArgs { routes: RouteConfig; - location: LocationDescriptor; - history?: History; basename?: Basename; parseQueryString?: ParseQueryString; stringifyQuery?: StringifyQuery; } +interface MatchLocationArgs extends MatchArgs { + location: LocationDescriptor; + history?: History; +} + +interface MatchHistoryArgs extends MatchArgs { + location?: LocationDescriptor; + history: History; +} + export type MatchCallback = (error: any, redirectLocation: Location, renderProps: any) => void; -export default function match(args: MatchArgs, cb: MatchCallback): void; +export default function match(args: MatchLocationArgs | MatchHistoryArgs, cb: MatchCallback): void; diff --git a/react-router/react-router-tests.tsx b/react-router/react-router-tests.tsx index dda05ef9d8..894dfec8c7 100644 --- a/react-router/react-router-tests.tsx +++ b/react-router/react-router-tests.tsx @@ -123,7 +123,11 @@ const routes = (
); -match({history, routes, location: "baseurl"}, (error, redirectLocation, renderProps) => { +match({ routes, location: "baseurl" }, (error, redirectLocation, renderProps) => { + renderToString(); +}); + +match({ history, routes }, (error, redirectLocation, renderProps) => { renderToString(); }); From 0ae246ab30e407763fbaf3ba8bb107dfea8ac253 Mon Sep 17 00:00:00 2001 From: Justin Bay Date: Thu, 2 Feb 2017 19:14:32 -0500 Subject: [PATCH 368/613] Enzyme: .filter(selector) returns `this` add strongly typed prop selector for filter --- enzyme/enzyme-tests.tsx | 8 ++++---- enzyme/index.d.ts | 14 ++++++-------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/enzyme/enzyme-tests.tsx b/enzyme/enzyme-tests.tsx index 120365eab4..82a8dc9822 100644 --- a/enzyme/enzyme-tests.tsx +++ b/enzyme/enzyme-tests.tsx @@ -60,8 +60,8 @@ namespace ShallowWrapperTest { function test_filter() { shallowWrapper = shallowWrapper.filter(MyComponent); - statelessWrapper = shallowWrapper.filter(MyStatelessComponent); - shallowWrapper = shallowWrapper.filter({ prop: 'value' }); + statelessWrapper = statelessWrapper.filter(MyStatelessComponent); + shallowWrapper = shallowWrapper.filter({ numberProp: 12 }); elementWrapper = shallowWrapper.filter('.selector'); } @@ -384,8 +384,8 @@ namespace ReactWrapperTest { function test_filter() { reactWrapper = reactWrapper.filter(MyComponent); - statelessWrapper = reactWrapper.filter(MyStatelessComponent); - reactWrapper = reactWrapper.filter({ prop: 'myprop' }); + statelessWrapper = statelessWrapper.filter(MyStatelessComponent); + reactWrapper = reactWrapper.filter({ numberProp: 12 }); elementWrapper = reactWrapper.filter('.selector'); } diff --git a/enzyme/index.d.ts b/enzyme/index.d.ts index 7559985e21..b939fd46d9 100644 --- a/enzyme/index.d.ts +++ b/enzyme/index.d.ts @@ -352,10 +352,9 @@ export interface ShallowWrapper extends CommonWrapper { * Removes nodes in the current wrapper that do not match the provided selector. * @param selector The selector to match. */ - filter(component: ComponentClass): ShallowWrapper; - filter(statelessComponent: StatelessComponent): ShallowWrapper; - filter(props: EnzymePropSelector): ShallowWrapper; - filter(selector: string): ShallowWrapper; + filter(component: ComponentClass | StatelessComponent): this; + filter(props: Partial

): this; + filter(selector: string): this; /** * Finds every node in the render tree that returns true for the provided predicate function. @@ -459,10 +458,9 @@ export interface ReactWrapper extends CommonWrapper { * Removes nodes in the current wrapper that do not match the provided selector. * @param selector The selector to match. */ - filter(component: ComponentClass): ReactWrapper; - filter(statelessComponent: StatelessComponent): ReactWrapper; - filter(props: EnzymePropSelector): ReactWrapper; - filter(selector: string): ReactWrapper; + filter(component: ComponentClass | StatelessComponent): this; + filter(props: Partial

): this; + filter(selector: string): this; /** * Returns a new wrapper with all of the children of the node(s) in the current wrapper. Optionally, a selector From b802fda7506e1a2be2e7080b2082fd009176a82b Mon Sep 17 00:00:00 2001 From: Benjamin Shope Date: Thu, 2 Feb 2017 16:37:27 -0800 Subject: [PATCH 369/613] Fix draftjs parmater --- draft-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draft-js/index.d.ts b/draft-js/index.d.ts index e02044a006..1805a17ab0 100644 --- a/draft-js/index.d.ts +++ b/draft-js/index.d.ts @@ -458,7 +458,7 @@ declare namespace Draft { entityMap: { [key: string]: RawDraftEntity }; } - function convertFromHTMLtoContentBlocks(html: string, DOMBuilder: Function, blockRenderMap?: DraftBlockRenderMap): Array; + function convertFromHTMLtoContentBlocks(html: string, DOMBuilder?: Function, blockRenderMap?: DraftBlockRenderMap): Array; function convertFromRawToDraftState(rawState: RawDraftContentState): ContentState; function convertFromDraftStateToRaw(contentState: ContentState): RawDraftContentState; } From fc40889c035feb5f590ee7f818e7e307534b5379 Mon Sep 17 00:00:00 2001 From: Blake Embrey Date: Thu, 2 Feb 2017 18:02:47 -0800 Subject: [PATCH 370/613] Improve `accepts` definition, update `raw-body` --- accepts/index.d.ts | 55 +++++++++++++++++++++++++++++++++++---------- raw-body/index.d.ts | 37 ++++++++++++++++++++++++++---- 2 files changed, 76 insertions(+), 16 deletions(-) diff --git a/accepts/index.d.ts b/accepts/index.d.ts index ff6a9d0995..a12dcaf5c9 100644 --- a/accepts/index.d.ts +++ b/accepts/index.d.ts @@ -3,29 +3,60 @@ // Definitions by: Stefan Reichel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// -import { IncomingMessage } from "http"; - declare namespace accepts { + export interface Headers { + [key: string]: string | string[]; + } + export interface Accepts { - charset(charsets: string[]): string | string[] | boolean; - charset(...charsets: string[]): string | string[] | boolean; + /** + * Return the first accepted charset. If nothing in `charsets` is accepted, then `false` is returned. + */ + charset(charsets: string[]): string | false; + charset(...charsets: string[]): string | false; + + /** + * Return the charsets that the request accepts, in the order of the client's preference (most preferred first). + */ charsets(): string[]; - encoding(encodings: string[]): string | string[] | boolean; - encoding(...encodings: string[]): string | string[] | boolean; + /** + * Return the first accepted encoding. If nothing in `encodings` is accepted, then `false` is returned. + */ + encoding(encodings: string[]): string | false; + encoding(...encodings: string[]): string | false; + + /** + * Return the encodings that the request accepts, in the order of the client's preference (most preferred first). + */ encodings(): string[]; - language(languages: string[]): string | string[] | boolean; - language(...languages: string[]): string | string[] | boolean; + /** + * Return the first accepted language. If nothing in `languages` is accepted, then `false` is returned. + */ + language(languages: string[]): string | false; + language(...languages: string[]): string | false; + + /** + * Return the languages that the request accepts, in the order of the client's preference (most preferred first). + */ languages(): string[]; - type(types: string[]): string | string[] | boolean; - type(...types: string[]): string | string[] | boolean; + /** + * Return the first accepted type (and it is returned as the same text as what appears in the `types` array). If nothing in `types` is accepted, then `false` is returned. + * + * The `types` array can contain full MIME types or file extensions. Any value that is not a full MIME types is passed to `require('mime-types').lookup`. + */ + type(types: string[]): string | false; + type(...types: string[]): string | false; + + /** + * Return the types that the request accepts, in the order of the client's preference (most preferred first). + */ types(): string[]; } } -declare function accepts(req: IncomingMessage): accepts.Accepts; +declare function accepts(req: { headers: accepts.Headers }): accepts.Accepts; export = accepts; diff --git a/raw-body/index.d.ts b/raw-body/index.d.ts index 94131c5764..44a9289e6a 100644 --- a/raw-body/index.d.ts +++ b/raw-body/index.d.ts @@ -11,24 +11,53 @@ declare namespace getRawBody { export type Encoding = string | true; export interface Options { - length?: number; - limit?: number; - encoding?: Encoding; + /** + * The length of the stream. If the contents of the stream do not add up to this length, an 400 error code is returned. + */ + length?: number | string | null; + /** + * The byte limit of the body. This is the number of bytes or any string format supported by `bytes`, for example `1000`, `'500kb'` or `'3mb'`. If the body ends up being larger than this limit, a `413` error code is returned. + */ + limit?: number | string | null; + /** + * The encoding to use to decode the body into a string. By default, a `Buffer` instance will be returned when no encoding is specified. Most likely, you want `utf-8`, so setting encoding to `true` will decode as `utf-8`. You can use any type of encoding supported by `iconv-lite`. + */ + encoding?: Encoding | null; } export interface RawBodyError extends Error { + /** + * The limit in bytes. + */ limit?: number; + /** + * The expected length of the stream. + */ length?: number; expected?: number; + /** + * The received bytes. + */ received?: number; + /** + * The invalid encoding. + */ encoding?: string; + /** + * The corresponding status code for the error. + */ status: number; statusCode: number; + /** + * Either `entity.too.large`, `request.aborted`, `request.size.invalid`, `stream.encoding.set`, or `encoding.unsupported`. + */ type: string; } } - +/** + * Gets the entire buffer of a stream either as a `Buffer` or a string. Validates the stream's length against an expected length and maximum limit. Ideal for parsing request bodies. + */ declare function getRawBody(stream: Readable, callback: (err: getRawBody.RawBodyError, body: Buffer) => void): void; declare function getRawBody(stream: Readable, options: (getRawBody.Options & { encoding: getRawBody.Encoding }) | getRawBody.Encoding, callback: (err: getRawBody.RawBodyError, body: string) => void): void; declare function getRawBody(stream: Readable, options: getRawBody.Options, callback: (err: getRawBody.RawBodyError, body: Buffer) => void): void; From a73aa9c077a1164913af853b0acdd028cc1d3cd3 Mon Sep 17 00:00:00 2001 From: inuscript Date: Fri, 3 Feb 2017 18:39:39 +0900 Subject: [PATCH 371/613] Add axios to not needed packages --- axios/axios-tests.ts | 107 -------------- axios/index.d.ts | 316 ----------------------------------------- axios/tsconfig.json | 23 --- notNeededPackages.json | 6 + 4 files changed, 6 insertions(+), 446 deletions(-) delete mode 100644 axios/axios-tests.ts delete mode 100644 axios/index.d.ts delete mode 100644 axios/tsconfig.json diff --git a/axios/axios-tests.ts b/axios/axios-tests.ts deleted file mode 100644 index eb98e2710c..0000000000 --- a/axios/axios-tests.ts +++ /dev/null @@ -1,107 +0,0 @@ - - -enum HttpMethod { GET, PUT, POST, DELETE, CONNECT, HEAD, OPTIONS, TRACE, PATCH } -enum ResponseType { arraybuffer, blob, document, json, text } - -interface Repository { - id: number; - name: string; -} - -interface Issue { - id: number; - title: string; -} - -axios.interceptors.request.use(config => { - console.log("Method:" + config.method + " Url:" +config.url); - return config; -}); - - -const requestId: number = axios.interceptors.request.use( - (config) => { - console.log("Method:" + config.method + " Url:" +config.url); - return config; - }, - (error: any) => error); - - -axios.interceptors.request.eject(requestId); -axios.interceptors.request.eject(7); - - -axios.interceptors.response.use(config => { - console.log("Status:" + config.status); - return config; -}); - -const responseId: number = axios.interceptors.response.use( - config => { - console.log("Status:" + config.status); - return config; - }, - (error: any) => error); - -axios.interceptors.response.eject(responseId); - -axios.get("https://api.github.com/repos/mzabriskie/axios") - .then(r => console.log(r.config.method)); - -var getRepoDetails = axios({ - url: "https://api.github.com/repos/mzabriskie/axios", - method: HttpMethod[HttpMethod.GET], - headers: {}, -}).then(r => { - console.log("ID:" + r.data.id + " Name: " + r.data.name); - return r; -}); - -axios.post("http://example.com/", {}, { - transformRequest: (data: any) => data -}); - -axios.post("http://example.com/", { - headers: {'X-Custom-Header': 'foobar'} -}, { - transformRequest: [ - (data: any) => data - ] -}); - -var config: Axios.AxiosXHRConfigBase = {headers: {}}; -config.headers['X-Custom-Header'] = 'baz'; -axios.post("http://example.com/", config); - -var getRepoIssue = axios.get("https://api.github.com/repos/mzabriskie/axios/issues/1"); - -var axiosInstance = axios.create({ - baseURL: "https://api.github.com/repos/mzabriskie/axios/", - timeout: 1000 -}); - -axiosInstance.request({url: "issues/1"}).then(res => { - if (res.headers['content-type'].startsWith('application/json')) { - throw new Error('Unexpected content-type'); - } -}); - -axios.all([getRepoDetails, getRepoDetails]).then(([repo1, repo2]) => { - var sumIds = repo1.data.id + repo2.data.id; - console.log("Sum ID:" + sumIds); - return sumIds; -}); - -var repoSum = (repo1: Axios.AxiosXHR, repo2: Axios.AxiosXHR) => { - var sumIds = repo1.data.id + repo2.data.id; - console.log("Sum ID:" + sumIds); - return sumIds; -}; - -axios.all([getRepoDetails, getRepoDetails]).then(axios.spread(repoSum)); - -axios.defaults.baseURL = 'https://api.example.com'; -axios.defaults.headers.common['Authorization'] = "AUTH_TOKEN"; -axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded'; - -axiosInstance.defaults.headers.common['Authorization'] = "AUTH_TOKEN"; \ No newline at end of file diff --git a/axios/index.d.ts b/axios/index.d.ts deleted file mode 100644 index 681fefc806..0000000000 --- a/axios/index.d.ts +++ /dev/null @@ -1,316 +0,0 @@ -// Type definitions for axios 0.9.1 -// Project: https://github.com/mzabriskie/axios -// Definitions by: Marcel Buesing -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare namespace Axios { - - interface IThenable { - then(onFulfilled?: (value: R) => U | IThenable, onRejected?: (error: any) => U | IThenable): IThenable; - then(onFulfilled?: (value: R) => U | IThenable, onRejected?: (error: any) => void): IThenable; - } - - interface IPromise extends IThenable { - then(onFulfilled?: (value: R) => U | IThenable, onRejected?: (error: any) => U | IThenable): IPromise; - then(onFulfilled?: (value: R) => U | IThenable, onRejected?: (error: any) => void): IPromise; - catch(onRejected?: (error: any) => U | IThenable): IPromise; - } - - /** - * HTTP Basic auth details - */ - interface AxiosHttpBasicAuth { - username: string; - password: string; - } - - /** - * Common axios XHR config interface - * - request body data type - */ - interface AxiosXHRConfigBase { - /** - * will be prepended to `url` unless `url` is absolute. - * It can be convenient to set `baseURL` for an instance - * of axios to pass relative URLs to methods of that instance. - */ - baseURL?: string; - - /** - * custom headers to be sent - */ - headers?: {[key: string]: any}; - - /** - * URL parameters to be sent with the request - */ - params?: Object; - - /** - * optional function in charge of serializing `params` - * (e.g. https://www.npmjs.com/package/qs, http://api.jquery.com/jquery.param/) - */ - paramsSerializer?: (params: Object) => string; - - /** - * specifies the number of milliseconds before the request times out. - * If the request takes longer than `timeout`, the request will be aborted. - */ - timeout?: number; - - /** - * indicates whether or not cross-site Access-Control requests - * should be made using credentials - */ - withCredentials?: boolean; - - /** - * indicates that HTTP Basic auth should be used, and supplies - * credentials. This will set an `Authorization` header, - * overwriting any existing `Authorization` custom headers you have - * set using `headers`. - */ - auth?: AxiosHttpBasicAuth; - - /** - * indicates the type of data that the server will respond with - * options are 'arraybuffer', 'blob', 'document', 'json', 'text' - */ - responseType?: string; - - /** - * name of the cookie to use as a value for xsrf token - */ - xsrfCookieName?: string; - - /** - * name of the http header that carries the xsrf token value - */ - xsrfHeaderName?: string; - - /** - * Change the request data before it is sent to the server. - * This is only applicable for request methods 'PUT', 'POST', and 'PATCH' - * The last function in the array must return a string or an ArrayBuffer - */ - transformRequest?: ((data: T) => U) | [(data: T) => U]; - - /** - * change the response data to be made before it is passed to then/catch - */ - transformResponse?: (data: T) => U; - - /** - * defines whether to resolve or reject the promise for a given HTTP response status code. - * If returns `true` (or is set to `null` or `undefined`), the promise will be resolved; - * otherwise, the promise will be rejected - */ - validateStatus?: (status: number) => boolean | undefined; - } - - /** - * - request body data type - */ - interface AxiosXHRConfig extends AxiosXHRConfigBase { - /** - * server URL that will be used for the request, options are: - * GET, PUT, POST, DELETE, CONNECT, HEAD, OPTIONS, TRACE, PATCH - */ - url: string; - - /** - * request method to be used when making the request - */ - method?: string; - - /** - * data to be sent as the request body - * Only applicable for request methods 'PUT', 'POST', and 'PATCH' - * When no `transformRequest` is set, must be a string, an ArrayBuffer or a hash - */ - data?: T; - } - - interface AxiosXHRConfigDefaults extends AxiosXHRConfigBase { - /** - * custom headers to be sent - */ - headers: { - common: {[index: string]: string}; - patch: {[index: string]: string}; - post: {[index: string]: string}; - put: {[index: string]: string}; - }; - } - - /** - * - expected response type, - * - request body data type - */ - interface AxiosXHR { - /** - * Response that was provided by the server - */ - data: T; - - /** - * HTTP status code from the server response - */ - status: number; - - /** - * HTTP status message from the server response - */ - statusText: string; - - /** - * headers that the server responded with - */ - headers: {[index: string]: any}; - - /** - * config that was provided to `axios` for the request - */ - config: AxiosXHRConfig; - } - - interface Interceptor { - /** - * intercept request before it is sent - */ - request: RequestInterceptor; - - /** - * intercept response of request when it is received. - */ - response: ResponseInterceptor - } - - type InterceptorId = number; - - interface RequestInterceptor { - /** - * - request body data type - */ - - use(fulfilledFn: (config: AxiosXHRConfig) => AxiosXHRConfig): InterceptorId; - - use(fulfilledFn: (config: AxiosXHRConfig) => AxiosXHRConfig, - rejectedFn: (error: any) => any) - : InterceptorId; - - eject(interceptorId: InterceptorId): void; - } - - interface ResponseInterceptor { - /** - * - expected response type - */ - - use(fulfilledFn: (config: Axios.AxiosXHR) => Axios.AxiosXHR): InterceptorId; - - use(fulfilledFn: (config: Axios.AxiosXHR) => Axios.AxiosXHR, - rejectedFn: (error: any) => any) - : InterceptorId; - - eject(interceptorId: InterceptorId): void; - } - - /** - * - expected response type, - * - request body data type - */ - interface AxiosInstance { - - /** - * Send request as configured - */ - (config: AxiosXHRConfig): IPromise>; - - /** - * Send request as configured - */ - new (config: AxiosXHRConfig): IPromise>; - - /** - * Send request as configured - */ - request(config: AxiosXHRConfig): IPromise>; - - /** - * intercept requests or responses before they are handled by then or catch - */ - interceptors: Interceptor; - - /** - * Config defaults - */ - defaults: AxiosXHRConfigDefaults; - - /** - * equivalent to `Promise.all` - */ - all(values: [T1 | IPromise>, T2 | IPromise>, T3 | IPromise>, T4 | IPromise>, T5 | IPromise>, T6 | IPromise>, T7 | IPromise>, T8 | IPromise>, T9 | IPromise>, T10 | IPromise>]): IPromise<[AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR]>; - all(values: [T1 | IPromise>, T2 | IPromise>, T3 | IPromise>, T4 | IPromise>, T5 | IPromise>, T6 | IPromise>, T7 | IPromise>, T8 | IPromise>, T9 | IPromise>]): IPromise<[AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR]>; - all(values: [T1 | IPromise>, T2 | IPromise>, T3 | IPromise>, T4 | IPromise>, T5 | IPromise>, T6 | IPromise>, T7 | IPromise>, T8 | IPromise>]): IPromise<[AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR]>; - all(values: [T1 | IPromise>, T2 | IPromise>, T3 | IPromise>, T4 | IPromise>, T5 | IPromise>, T6 | IPromise>, T7 | IPromise>]): IPromise<[AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR]>; - all(values: [T1 | IPromise>, T2 | IPromise>, T3 | IPromise>, T4 | IPromise>, T5 | IPromise>, T6 | IPromise>]): IPromise<[AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR]>; - all(values: [T1 | IPromise>, T2 | IPromise>, T3 | IPromise>, T4 | IPromise>, T5 | IPromise>]): IPromise<[AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR]>; - all(values: [T1 | IPromise>, T2 | IPromise>, T3 | IPromise>, T4 | IPromise>]): IPromise<[AxiosXHR, AxiosXHR, AxiosXHR, AxiosXHR]>; - all(values: [T1 | IPromise>, T2 | IPromise>, T3 | IPromise>]): IPromise<[AxiosXHR, AxiosXHR, AxiosXHR]>; - all(values: [T1 | IPromise>, T2 | IPromise>]): IPromise<[AxiosXHR, AxiosXHR]>; - - /** - * spread array parameter to `fn`. - * note: alternative to `spread`, destructuring assignment. - */ - spread(fn: (t1: T1, t2: T2) => U): (arr: ([T1, T2])) => U; - - /** - * convenience alias, method = GET - */ - get(url: string, config?: AxiosXHRConfigBase): IPromise>; - - - /** - * convenience alias, method = DELETE - */ - delete(url: string, config?: AxiosXHRConfigBase): IPromise>; - - /** - * convenience alias, method = HEAD - */ - head(url: string, config?: AxiosXHRConfigBase): IPromise>; - - /** - * convenience alias, method = POST - */ - post(url: string, data?: any, config?: AxiosXHRConfigBase): IPromise>; - - /** - * convenience alias, method = PUT - */ - put(url: string, data?: any, config?: AxiosXHRConfigBase): IPromise>; - - /** - * convenience alias, method = PATCH - */ - patch(url: string, data?: any, config?: AxiosXHRConfigBase): IPromise>; - } - - /** - * - expected response type, - */ - interface AxiosStatic extends AxiosInstance { - /** - * create a new instance of axios with a custom config - */ - create(config: AxiosXHRConfigBase): AxiosInstance; - } -} - -declare var axios: Axios.AxiosStatic; - -declare module "axios" { - export = axios; -} diff --git a/axios/tsconfig.json b/axios/tsconfig.json deleted file mode 100644 index 4300cfb925..0000000000 --- a/axios/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "axios-tests.ts" - ] -} \ No newline at end of file diff --git a/notNeededPackages.json b/notNeededPackages.json index e671ef4523..46509a1642 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -293,6 +293,12 @@ "typingsPackageName": "redux-saga", "sourceRepoURL": "https://github.com/redux-saga/redux-saga", "asOfVersion": "0.10.5" + }, + { + "libraryName": "axios", + "typingsPackageName": "axios", + "sourceRepoURL": "https://github.com/mzabriskie/axios", + "asOfVersion": "0.14.0" } ] } From 495a0e355ecd1bebd45f562bf7f084222eeb49b7 Mon Sep 17 00:00:00 2001 From: Sindre Moen Date: Fri, 3 Feb 2017 14:01:07 +0100 Subject: [PATCH 372/613] =?UTF-8?q?Add=20=E2=80=9Cwhere=E2=80=9D=20selecto?= =?UTF-8?q?r=20version=20of=20Document#populate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mongoose/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mongoose/index.d.ts b/mongoose/index.d.ts index 56ad48e617..0ede2141a8 100644 --- a/mongoose/index.d.ts +++ b/mongoose/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for Mongoose 4.7.0 // Project: http://mongoosejs.com/ -// Definitions by: simonxca , horiuchi +// Definitions by: simonxca , horiuchi , sindrenm // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -994,10 +994,12 @@ declare module "mongoose" { * call execPopulate(). Passing the same path a second time will overwrite * the previous path options. See Model.populate() for explaination of options. * @param path The path to populate or an options object + * @param names The properties to fetch from the populated document * @param callback When passed, population is invoked */ populate(callback: (err: any, res: this) => void): this; populate(path: string, callback?: (err: any, res: this) => void): this; + populate(path: string, names: string, callback?: (err: any, res: this) => void): this; populate(options: ModelPopulateOptions | ModelPopulateOptions[], callback?: (err: any, res: this) => void): this; /** Gets _id(s) used during population of the given path. If the path was not populated, undefined is returned. */ From 966906150f5b098c91a9c8313c135d9095d2dafe Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Fri, 3 Feb 2017 16:26:59 +0300 Subject: [PATCH 373/613] Revert "update wampy.d.ts to work with in-browser typescript" --- wampy/wampy.d.ts | 209 ++++++++++++++++++++++------------------------- 1 file changed, 99 insertions(+), 110 deletions(-) diff --git a/wampy/wampy.d.ts b/wampy/wampy.d.ts index 357591acf9..e068b97a25 100644 --- a/wampy/wampy.d.ts +++ b/wampy/wampy.d.ts @@ -3,114 +3,103 @@ // Definitions by: Konstantin Burkalev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -interface WampyOptions -{ - autoReconnect?: boolean; - reconnectInterval?: number; - maxRetries?: number; - transportEncoding?: string; - realm?: string; - helloCustomDetails?: any; - onChallenge?: (auth_method: string, challenge_details: string) => string; - authid?: string; - onConnect?: () => void; - onClose?: () => void; - onError?: () => void; - onReconnect?: () => void; - onReconnectSuccess?: () => void; - ws?: any; - msgpackCoder?: any; +declare module "wampy" { + + interface WampyOptions { + autoReconnect?: boolean; + reconnectInterval?: number; + maxRetries?: number; + transportEncoding?: string; + realm?: string; + helloCustomDetails?: any; + onChallenge?: (auth_method: string, challenge_details: string) => string; + authid?: string; + onConnect?: () => void; + onClose?: () => void; + onError?: () => void; + onReconnect?: () => void; + onReconnectSuccess?: () => void; + ws?: any; + msgpackCoder?: any; + } + + interface WampyOpStatus { + code: number; + description: string; + reqId?: number; + } + + interface SuccessErrorCallbacksHash { + onSuccess?: (data: any) => void; + onError?: (err: string) => void; + } + + interface SubscribeCallbacksHash extends SuccessErrorCallbacksHash { + onEvent: (data: any) => void; + } + + interface RegisterCallbacksHash extends SuccessErrorCallbacksHash { + rpc: (data: any, options: any) => any[]; + } + + interface CallSuccessErrorCallbacksHash { + onSuccess: (data: any) => any; + onError?: (err: string) => void; + } + + interface AdvancedOptions { + exclude?: number | number[]; + eligible?: number | number[]; + exclude_me?: boolean; + disclose_me?: boolean; + } + + interface PublishAdvancedOptions extends AdvancedOptions { + exclude_authid?: string | string[]; + exclude_authrole?: string | string[]; + eligible_authid?: string | string[]; + eligible_authrole?: string | string[]; + } + + interface CallAdvancedOptions { + disclose_me?: boolean; + receive_progress?: boolean; + timeout?: number; + } + + interface CancelAdvancedOptions { + mode?: "skip" | "kill" | "killnowait"; + } + + interface Wampy { + options(opts?: WampyOptions): WampyOptions | Wampy; + getOpStatus(): WampyOpStatus; + getSessionId(): number; + connect(url?: string): Wampy; + disconnect(): Wampy; + abort(): Wampy; + subscribe(topicURI: string, callbacks: (((data: any) => void) | SubscribeCallbacksHash)): Wampy; + unsubscribe(topicURI: string, callbacks?: (((data: any) => void) | SubscribeCallbacksHash)): Wampy; + publish(topicURI: string, + payload?: any, + callbacks?: SuccessErrorCallbacksHash, + advancedOptions?: PublishAdvancedOptions): Wampy; + call(topicURI: string, + payload?: any, + callbacks?: (((data: any) => void) | CallSuccessErrorCallbacksHash), + advancedOptions?: CallAdvancedOptions): Wampy; + cancel(reqId: number, + callbacks?: ((() => void) | SuccessErrorCallbacksHash), + advancedOptions?: CancelAdvancedOptions): Wampy; + register(topicURI: string, callbacks: (((data: any, options: any) => any[]) | RegisterCallbacksHash)): Wampy; + unregister(topicURI: string, callbacks?: ((() => void) | SuccessErrorCallbacksHash)): Wampy; + } + + interface WampyInstance { + new(url?: string, options?: WampyOptions): Wampy; + } + + var wampy: WampyInstance; + + export default wampy; } - -interface WampyOpStatus -{ - code: number; - description: string; - reqId?: number; -} - -interface SuccessErrorCallbacksHash -{ - onSuccess?: (data: any) => void; - onError?: (err: string, details: any) => void; -} - -interface SubscribeCallbacksHash extends SuccessErrorCallbacksHash -{ - onEvent: (args: any[], kwargs: any) => void; -} - -interface RegisterCallbacksHash extends SuccessErrorCallbacksHash -{ - rpc: (data: any, options: any) => any[]; -} - -interface CallSuccessErrorCallbacksHash -{ - onSuccess: (args: any[], kwargs: any) => any; - onError?: (err: string, details: any, args: any[], kwargs: any) => void; -} - -interface AdvancedOptions -{ - exclude?: number | number[]; - eligible?: number | number[]; - exclude_me?: boolean; - disclose_me?: boolean; -} - -interface PublishAdvancedOptions extends AdvancedOptions -{ - exclude_authid?: string | string[]; - exclude_authrole?: string | string[]; - eligible_authid?: string | string[]; - eligible_authrole?: string | string[]; -} - -interface CallAdvancedOptions -{ - disclose_me?: boolean; - receive_progress?: boolean; - timeout?: number; -} - -interface CancelAdvancedOptions -{ - mode?: "skip" | "kill" | "killnowait"; -} - -interface Wampy -{ - new (url?: string, options?: WampyOptions): Wampy; - options(opts?: WampyOptions): WampyOptions | Wampy; - getOpStatus(): WampyOpStatus; - getSessionId(): number; - connect(url?: string): Wampy; - disconnect(): Wampy; - abort(): Wampy; - subscribe(topicURI: string, callbacks: (((args: any[], kwargs: any) => void) | SubscribeCallbacksHash)): Wampy; - unsubscribe(topicURI: string, callbacks?: (((args: any[], kwargs: any) => void) | SubscribeCallbacksHash)): Wampy; - publish(topicURI: string, - payload?: any, - callbacks?: SuccessErrorCallbacksHash, - advancedOptions?: PublishAdvancedOptions): Wampy; - call(topicURI: string, - payload?: any, - callbacks?: (((args: any[], kwargs: any) => void) | CallSuccessErrorCallbacksHash), - advancedOptions?: CallAdvancedOptions): Wampy; - cancel(reqId: number, - callbacks?: ((() => void) | SuccessErrorCallbacksHash), - advancedOptions?: CancelAdvancedOptions): Wampy; - register(topicURI: string, callbacks: (((data: any, options: any) => any[]) | RegisterCallbacksHash)): Wampy; - unregister(topicURI: string, callbacks?: ((() => void) | SuccessErrorCallbacksHash)): Wampy; -} - -declare var wampy: Wampy; - -declare module 'wampy' -{ - export = wampy -} - - - From a8d1706137128ba2634d33bd4aa94aa48b3f626f Mon Sep 17 00:00:00 2001 From: Tobias Kutter Date: Fri, 3 Feb 2017 15:17:20 +0100 Subject: [PATCH 374/613] Add cutoutPercentage to ChartOptions Add cutoutPercentage to ChartOptions interface which is available in doughnut charts --- chart.js/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chart.js/index.d.ts b/chart.js/index.d.ts index 7a7b05c714..0163c90ea7 100644 --- a/chart.js/index.d.ts +++ b/chart.js/index.d.ts @@ -103,6 +103,7 @@ declare namespace Chart { animation?: ChartAnimationOptions; elements?: ChartElementsOptions; scales?: ChartScales; + cutoutPercentage?: number; } export interface ChartFontOptions { @@ -430,4 +431,4 @@ declare namespace Chart { } export = Chart; -export as namespace Chart; \ No newline at end of file +export as namespace Chart; From d0128ad5161c0975513ca4ff745f3ba9e8f2b65d Mon Sep 17 00:00:00 2001 From: Artur Eshenbrener Date: Fri, 3 Feb 2017 18:13:17 +0300 Subject: [PATCH 375/613] react: make defaultProps Optional Actually, defaultProps is `Optional

` --- react/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/index.d.ts b/react/index.d.ts index f25e5c0afd..e929e5ed7a 100644 --- a/react/index.d.ts +++ b/react/index.d.ts @@ -207,7 +207,7 @@ declare namespace React { (props: P & { children?: ReactNode }, context?: any): ReactElement | null; propTypes?: ValidationMap

; contextTypes?: ValidationMap; - defaultProps?: P; + defaultProps?: Partial

; displayName?: string; } @@ -216,7 +216,7 @@ declare namespace React { propTypes?: ValidationMap

; contextTypes?: ValidationMap; childContextTypes?: ValidationMap; - defaultProps?: P; + defaultProps?: Partial

; displayName?: string; } From 352ee03af80d903738241bb89422e7ece88212e0 Mon Sep 17 00:00:00 2001 From: Yaroslav Serhieiev Date: Fri, 3 Feb 2017 19:27:14 +0200 Subject: [PATCH 376/613] angular: made type inference more accurate for ng.IPromise and ng.IQService --- angular/angular-tests.ts | 178 +++++++++++++++++++++++++++++---------- angular/index.d.ts | 19 +++-- 2 files changed, 149 insertions(+), 48 deletions(-) diff --git a/angular/angular-tests.ts b/angular/angular-tests.ts index 1a4841ab8c..cca4dfc420 100644 --- a/angular/angular-tests.ts +++ b/angular/angular-tests.ts @@ -271,18 +271,28 @@ angular.module('qprovider-test', []) let foo: ng.IPromise; foo.then((x) => { // x is inferred to be a number + x.toFixed(); return 'asdf'; }).then((x) => { // x is inferred to be string const len = x.length; return 123; +}, (e) => { + return anyOf2([123], toPromise([123])); // IPromise | T, both are good for the 2nd arg of .then() }).then((x) => { - // x is infered to be a number - const fixed = x.toFixed(); + // x is infered to be a number or number[] + if (Array.isArray(x)) { + x[0].toFixed(); + } else { + x.toFixed(); + } return; -}).then((x) => { - // x is infered to be void - // Typescript will prevent you to actually use x as a local variable +}).catch(e => { + return foo || 123; // IPromise | T, both are good for .catch() +}).then(x => { + // x is infered to be void | number + x && x.toFixed(); + // Typescript will prevent you to actually use x as a local variable before you check it is not void // Try object: return { a: 123 }; }).then((x) => { @@ -290,7 +300,8 @@ foo.then((x) => { x.a = 123; //Try a promise var y: ng.IPromise; - return y; + var condition: boolean; + return condition ? y : x.a; // IPromise | T, both are good for the 1st arg of .then() }).then((x) => { // x is infered to be a number, which is the resolved value of a promise x.toFixed(); @@ -307,14 +318,22 @@ namespace TestQ { e: number; f: boolean; } + interface TOther { + g: string; + h: number; + } var tResult: TResult; var promiseTResult: angular.IPromise; var tValue: TValue; var promiseTValue: angular.IPromise; + var tOther: TOther; + var promiseTOther: angular.IPromise; var $q: angular.IQService; var promiseAny: angular.IPromise; + const assertPromiseType = (arg: angular.IPromise) => arg; + // $q constructor { let result: angular.IPromise; @@ -349,13 +368,20 @@ namespace TestQ { { let result: angular.IDeferred; result = $q.defer(); + result.resolve(tResult); + var anyValue: any; + result.reject(anyValue); + result.promise.then(result => { + return $q.resolve(result); + }); } // $q.reject { - let result: angular.IPromise; + let result: angular.IPromise; result = $q.reject(); result = $q.reject(''); + result.catch(() => 5).then(x => x.toFixed()); } // $q.resolve @@ -367,6 +393,8 @@ namespace TestQ { let result: angular.IPromise; result = $q.resolve(tResult); result = $q.resolve(promiseTResult); + result = $q.resolve(Math.random() > 0.5 ? tResult : promiseTOther); + result = $q.resolve(Math.random() > 0.5 ? tResult : promiseTOther); } // $q.when @@ -376,6 +404,8 @@ namespace TestQ { } { let result: angular.IPromise; + let resultOther: angular.IPromise; + result = $q.when(tResult); result = $q.when(promiseTResult); @@ -384,16 +414,20 @@ namespace TestQ { result = $q.when(tValue, (result: TValue) => tResult, (any) => any, (any) => any); result = $q.when(promiseTValue, (result: TValue) => tResult); - result = $q.when(promiseTValue, (result: TValue) => tResult, (any) => any); - result = $q.when(promiseTValue, (result: TValue) => tResult, (any) => any, (any) => any); + result = resultOther = $q.when(promiseTValue, (result: TValue) => tResult, (any) => tOther); + result = resultOther = $q.when(promiseTValue, (result: TValue) => tResult, (any) => tOther, (any) => any); + result = resultOther = $q.when(promiseTValue, (result: TValue) => tResult, (any) => promiseTOther); + result = resultOther = $q.when(promiseTValue, (result: TValue) => tResult, (any) => promiseTOther, (any) => any); result = $q.when(tValue, (result: TValue) => promiseTResult); result = $q.when(tValue, (result: TValue) => promiseTResult, (any) => any); result = $q.when(tValue, (result: TValue) => promiseTResult, (any) => any, (any) => any); result = $q.when(promiseTValue, (result: TValue) => promiseTResult); - result = $q.when(promiseTValue, (result: TValue) => promiseTResult, (any) => any); - result = $q.when(promiseTValue, (result: TValue) => promiseTResult, (any) => any, (any) => any); + result = resultOther = $q.when(promiseTValue, (result: TValue) => promiseTResult, (any) => tOther); + result = resultOther = $q.when(promiseTValue, (result: TValue) => promiseTResult, (any) => tOther, (any) => any); + result = resultOther = $q.when(promiseTValue, (result: TValue) => promiseTResult, (any) => promiseTOther); + result = resultOther = $q.when(promiseTValue, (result: TValue) => promiseTResult, (any) => promiseTOther, (any) => any); } } @@ -466,20 +500,26 @@ namespace TestInjector { // Promise signature tests namespace TestPromise { - let result: any; var any: any; interface TResult { + kind: 'result'; a: number; b: string; c: boolean; } + interface TOther { + kind: 'other'; d: number; e: string; f: boolean; } + function isTResult(x: TResult | TOther): x is TResult { + return x.kind === 'result'; + } + var tresult: TResult; var tresultPromise: ng.IPromise; var tresultHttpPromise: ng.IHttpPromise; @@ -489,45 +529,83 @@ namespace TestPromise { var totherHttpPromise: ng.IHttpPromise; var promise: angular.IPromise; + var $q: angular.IQService; + + const assertPromiseType = (arg: angular.IPromise) => arg; + const reject = $q.reject(); // promise.then - result = promise.then((result) => any) as angular.IPromise; - result = promise.then((result) => any, (any) => any) as angular.IPromise; - result = promise.then((result) => any, (any) => any, (any) => any) as angular.IPromise; + assertPromiseType(promise.then((result) => any)); + assertPromiseType(promise.then((result) => any, (any) => any)); + assertPromiseType(promise.then((result) => any, (any) => any, (any) => any)); - result = promise.then((result) => result) as angular.IPromise; - result = promise.then((result) => result, (any) => any) as angular.IPromise; - result = promise.then((result) => result, (any) => any, (any) => any) as angular.IPromise; - result = promise.then((result) => tresultPromise) as angular.IPromise; - result = promise.then((result) => tresultPromise, (any) => any) as angular.IPromise; - result = promise.then((result) => tresultPromise, (any) => any, (any) => any) as angular.IPromise; - result = promise.then((result) => tresultHttpPromise) as angular.IPromise>; - result = promise.then((result) => tresultHttpPromise, (any) => any) as angular.IPromise>; - result = promise.then((result) => tresultHttpPromise, (any) => any, (any) => any) as angular.IPromise>; + assertPromiseType(promise.then((result) => reject)); + assertPromiseType(promise.then((result) => reject, (any) => reject)); + assertPromiseType(promise.then((result) => reject, (any) => reject, (any) => any)); - result = promise.then((result) => tother) as angular.IPromise; - result = promise.then((result) => tother, (any) => any) as angular.IPromise; - result = promise.then((result) => tother, (any) => any, (any) => any) as angular.IPromise; - result = promise.then((result) => totherPromise) as angular.IPromise; - result = promise.then((result) => totherPromise, (any) => any) as angular.IPromise; - result = promise.then((result) => totherPromise, (any) => any, (any) => any) as angular.IPromise; - result = promise.then((result) => totherHttpPromise) as angular.IPromise>; - result = promise.then((result) => totherHttpPromise, (any) => any) as angular.IPromise>; - result = promise.then((result) => totherHttpPromise, (any) => any, (any) => any) as angular.IPromise>; + assertPromiseType(promise.then((result) => result)); + assertPromiseType(promise.then((result) => tresult)); + assertPromiseType(promise.then((result) => tresultPromise)); + assertPromiseType(promise.then((result) => result, (any) => any)); + assertPromiseType(promise.then((result) => result, (any) => any, (any) => any)); + assertPromiseType(promise.then((result) => result, (any) => reject, (any) => any)); + + assertPromiseType(promise.then((result) => anyOf2(reject, result))); + assertPromiseType(promise.then((result) => anyOf3(result, tresultPromise, reject))); + assertPromiseType(promise.then( + (result) => anyOf3(reject, result, tresultPromise), + (reason) => anyOf3(reject, tresult, tresultPromise) + )); + + + assertPromiseType>(promise.then((result) => tresultHttpPromise)); + + assertPromiseType(promise.then((result) => result, (any) => tother)); + assertPromiseType(promise.then( + (result) => anyOf3(reject, result, totherPromise), + (reason) => anyOf3(reject, tother, tresultPromise) + )); + + assertPromiseType(promise.then( + (result) => anyOf3(tresultPromise, result, totherPromise) + )); + + assertPromiseType(promise.then((result) => result, (any) => tother, (any) => any)); + assertPromiseType(promise.then((result) => tresultPromise, (any) => totherPromise)); + assertPromiseType(promise.then((result) => tresultPromise, (any) => totherPromise, (any) => any)); + assertPromiseType>(promise.then((result) => tresultHttpPromise, (any) => totherHttpPromise)); + assertPromiseType>(promise.then((result) => tresultHttpPromise, (any) => totherHttpPromise, (any) => any)); + + assertPromiseType(promise.then((result) => tother)); + assertPromiseType(promise.then((result) => tother, (any) => any)); + assertPromiseType(promise.then((result) => tother, (any) => any, (any) => any)); + assertPromiseType(promise.then((result) => totherPromise)); + assertPromiseType(promise.then((result) => totherPromise, (any) => any)); + assertPromiseType(promise.then((result) => totherPromise, (any) => any, (any) => any)); + assertPromiseType>(promise.then((result) => totherHttpPromise)); + assertPromiseType>(promise.then((result) => totherHttpPromise, (any) => any)); + assertPromiseType>(promise.then((result) => totherHttpPromise, (any) => any, (any) => any)); + + assertPromiseType(promise.then((result) => tresult, (any) => tother).then(ambiguous => isTResult(ambiguous) ? ambiguous.c : ambiguous.f)); // promise.catch - result = promise.catch((err) => any) as angular.IPromise; - result = promise.catch((err) => tresult) as angular.IPromise; - result = promise.catch((err) => tresultPromise) as angular.IPromise; - result = promise.catch((err) => tresultHttpPromise) as angular.IPromise>; - result = promise.catch((err) => tother) as angular.IPromise; - result = promise.catch((err) => totherPromise) as angular.IPromise; - result = promise.catch((err) => totherHttpPromise) as angular.IPromise>; + assertPromiseType(promise.catch((err) => err)); + assertPromiseType(promise.catch((err) => any)); + assertPromiseType(promise.catch((err) => tresult)); + assertPromiseType(promise.catch((err) => anyOf2(tresult, reject))); + assertPromiseType(promise.catch((err) => anyOf3(tresult, tresultPromise, reject))); + assertPromiseType(promise.catch((err) => tresultPromise)); + assertPromiseType>(promise.catch((err) => tresultHttpPromise)); + assertPromiseType(promise.catch((err) => tother)); + assertPromiseType(promise.catch((err) => totherPromise)); + assertPromiseType>(promise.catch((err) => totherHttpPromise)); + + assertPromiseType(promise.catch((err) => tother).then(ambiguous => isTResult(ambiguous) ? ambiguous.c : ambiguous.f)); // promise.finally - result = promise.finally(() => any) as angular.IPromise; - result = promise.finally(() => tresult) as angular.IPromise; - result = promise.finally(() => tother) as angular.IPromise; + assertPromiseType(promise.finally(() => any)); + assertPromiseType(promise.finally(() => tresult)); + assertPromiseType(promise.finally(() => tother)); } function test_angular_forEach() { @@ -1212,3 +1290,17 @@ function testIHttpParamSerializerJQLikeProvider() { a: 'b' }); } + +function anyOf2(v1: T1, v2: T2) { + return Math.random() < 1/2 ? v1 : v2; +} + +function anyOf3(v1: T1, v2: T2, v3: T3) { + const rnd = Math.random(); + return rnd < 1/3 ? v1 : rnd < 2/3 ? v2 : v3; +} + +function toPromise(val: T): ng.IPromise { + var p: ng.IPromise; + return p; +} diff --git a/angular/index.d.ts b/angular/index.d.ts index 3f094f3185..73535e9922 100644 --- a/angular/index.d.ts +++ b/angular/index.d.ts @@ -1044,13 +1044,14 @@ declare namespace angular { * * @param reason Constant, message, exception or an object representing the rejection reason. */ - reject(reason?: any): IPromise; + reject(reason?: any): IPromise; /** * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted. * * @param value Value or a promise */ resolve(value: IPromise|T): IPromise; + resolve(value: IPromise|T2): IPromise; /** * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted. */ @@ -1061,7 +1062,10 @@ declare namespace angular { * @param value Value or a promise */ when(value: IPromise|T): IPromise; - when(value: IPromise|T, successCallback: (promiseValue: T) => IPromise|TResult, errorCallback?: (reason: any) => any, notifyCallback?: (state: any) => any): IPromise; + when(value: IPromise|T2): IPromise; + when(value: IPromise|T, successCallback: (promiseValue: T) => IPromise|TResult): IPromise; + when(value: T, successCallback: (promiseValue: T) => IPromise|TResult, errorCallback: null | undefined | ((reason: any) => any), notifyCallback?: (state: any) => any): IPromise; + when(value: IPromise, successCallback: (promiseValue: T) => IPromise|TResult, errorCallback: (reason: any) => TResult2 | IPromise, notifyCallback?: (state: any) => any): IPromise; /** * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted. */ @@ -1090,15 +1094,20 @@ declare namespace angular { interface IPromise { /** * Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available. The callbacks are called with a single argument: the result or rejection reason. Additionally, the notify callback may be called zero or more times to provide a progress indication, before the promise is resolved or rejected. - * The successCallBack may return IPromise for when a $q.reject() needs to be returned + * The successCallBack may return IPromise for when a $q.reject() needs to be returned * This method returns a new promise which is resolved or rejected via the return value of the successCallback, errorCallback. It also notifies via the return value of the notifyCallback method. The promise can not be resolved or rejected from the notifyCallback method. */ - then(successCallback: (promiseValue: T) => IPromise|TResult, errorCallback?: (reason: any) => any, notifyCallback?: (state: any) => any): IPromise; + then(successCallback: (promiseValue: T) => IPromise|TResult, errorCallback?: null | undefined, notifyCallback?: (state: any) => any): IPromise; + then(successCallback: (promiseValue: T) => IPromise|TResult2, errorCallback?: null | undefined, notifyCallback?: (state: any) => any): IPromise; + + then(successCallback: (promiseValue: T) => IPromise|TResult, errorCallback: (reason: any) => IPromise|TCatch, notifyCallback?: (state: any) => any): IPromise; + then(successCallback: (promiseValue: T) => IPromise|TResult2, errorCallback: (reason: any) => IPromise|TCatch2, notifyCallback?: (state: any) => any): IPromise; /** * Shorthand for promise.then(null, errorCallback) */ - catch(onRejected: (reason: any) => IPromise|TResult): IPromise; + catch(onRejected: (reason: any) => IPromise|TCatch): IPromise; + catch(onRejected: (reason: any) => IPromise|TCatch2): IPromise; /** * Allows you to observe either the fulfillment or rejection of a promise, but to do so without modifying the final value. This is useful to release resources or do some clean-up that needs to be done whether the promise was rejected or resolved. See the full specification for more information. From 01dc4752d185d4932be5617fa5f94d7717240cc9 Mon Sep 17 00:00:00 2001 From: 421p Date: Fri, 3 Feb 2017 19:35:29 +0200 Subject: [PATCH 377/613] fix tests --- wampy/wampy-tests.ts | 84 ++++++++++++++++++-------------------------- wampy/wampy.d.ts | 2 +- 2 files changed, 35 insertions(+), 51 deletions(-) diff --git a/wampy/wampy-tests.ts b/wampy/wampy-tests.ts index c0ac8d6656..bd414f8c85 100644 --- a/wampy/wampy-tests.ts +++ b/wampy/wampy-tests.ts @@ -1,47 +1,50 @@ /// /// -import Wampy from 'wampy'; +import * as Wampy from 'wampy'; -var ws = new Wampy('http://wamp.router.url', {realm: 'WAMPRealm'}); +let ws = new Wampy('http://wamp.router.url', {realm: 'WAMPRealm'}); ws.options(); ws.options({ reconnectInterval: 1000, maxRetries: 999, - onConnect: function () { console.log('Yahoo! We are online!'); }, - onClose: function () { console.log('See you next time!'); }, - onError: function () { console.log('Breakdown happened'); }, - onReconnect: function () { console.log('Reconnecting...'); }, - onReconnectSuccess: function () { console.log('Successfully reconnected!'); } + onConnect: () => console.log('Yahoo! We are online!'), + onClose: () => console.log('See you next time!'), + onError: () => console.log('Breakdown happened'), + onReconnect: () => console.log('Reconnecting...'), + onReconnectSuccess: () => console.log('Successfully reconnected!') }); ws.connect(); ws.connect('/my-socket-path'); ws.connect('wss://socket.server.com:5000/ws'); -var id: number = ws.getSessionId(); + +let id: number = ws.getSessionId(); + ws.disconnect(); ws.abort(); -ws.subscribe('system.monitor.update', function (data) { +ws.subscribe('system.monitor.update', (args: any[], kwargs: any) => { console.log('Received system.monitor.update event!'); }) - .subscribe('client.message', function (data) { + .subscribe('client.message', function (args: any[], kwargs: any) { console.log('Received client.message event!'); }); -var f1 = function () { console.log('Subscribe processing!'); }; +let f1 = () => console.log('Subscribe processing!'); + ws.unsubscribe('subscribed.topic', f1); ws.unsubscribe('chat.message.received'); ws.call('get.server.time', null, { - onSuccess: function (stime) { + onSuccess: (args: any[], kwargs: any) => { console.log('RPC successfully called'); - console.log('Server time is ' + stime); + console.log('Server time is ' + kwargs); }, - onError: function (err) { + onError: (err: string, details: any, args: any[], kwargs: any) => { console.log('RPC call failed with error ' + err); } }); @@ -54,67 +57,48 @@ ws.publish('chat.message.received', 'user message'); ws.publish('chat.message.received', ['user message1', 'user message2']); ws.publish('user.modified', { field1: 'field1', field2: true, field3: 123 }); ws.publish('user.modified', { field1: 'field1', field2: true, field3: 123 }, { - onSuccess: function () { console.log('User successfully modified'); } + onSuccess: () => console.log('User successfully modified') }); ws.publish('user.modified', { field1: 'field1', field2: true, field3: 123 }, { - onSuccess: function () { console.log('User successfully modified'); }, - onError: function (err) { console.log('User modification failed', err); } + onSuccess: () => console.log('User successfully modified'), + onError: (err: string, details: any) => console.log('User modification failed', err) }); ws.publish('chat.message.received', ['Private message'], null, { eligible: 123456789 }); -ws.call('server.time', null, function (data) { console.log('Server time is ' + data[0]); }); +ws.call('server.time', null, (args: any[], kwargs: any) => console.log('Server time is ' + args[0])); ws.call('start.migration', null, { - onSuccess: function (data) { - console.log('RPC successfully called'); - }, - onError: function (err) { - console.log('RPC call failed!',err); - } + onSuccess: (args: any[], kwargs: any) => console.log('RPC successfully called'), + onError: (err: string, details: any, args: any[], kwargs: any) => console.log('RPC call failed!',err) }); ws.call('restore.backup', { backupFile: 'backup.zip' }, { - onSuccess: function (data) { - console.log('Backup successfully restored'); - }, - onError: function (err) { - console.log('Restore failed!',err); - } + onSuccess: (args: any[], kwargs: any) => console.log('Backup successfully restored'), + onError: (err: string, details: any, args: any[], kwargs: any) => console.log('Restore failed!',err) }); ws.call('start.migration', null, { - onSuccess: function (data) { - console.log('RPC successfully called'); - }, - onError: function (err) { - console.log('RPC call failed!',err); - } + onSuccess: (args: any[], kwargs: any) => console.log('RPC successfully called'), + onError: (err: string, details: any, args: any[], kwargs: any) => console.log('RPC call failed!',err) }); -var status = ws.getOpStatus(); + +let status = ws.getOpStatus(); ws.cancel(status.reqId); -var sqrt_f = function (x: number, y: any) { return [{}, x*x]; }; +let sqrt_f = (x: number, y: any) => [{}, x*x]; ws.register('sqrt.value', sqrt_f); ws.register('sqrt.value', { rpc: sqrt_f, - onSuccess: function (data) { - console.log('RPC successfully registered'); - }, - onError: function (err) { - console.log('RPC registration failed!',err); - } + onSuccess: (data: any) => console.log('RPC successfully registered'), + onError: (err: string, details: any) => console.log('RPC registration failed!',err) }); ws.unregister('sqrt.value'); ws.unregister('sqrt.value', { - onSuccess: function (data) { - console.log('RPC successfully unregistered'); - }, - onError: function (err) { - console.log('RPC unregistration failed!',err); - } + onSuccess: (data: any) => console.log('RPC successfully unregistered'), + onError: (err: string, details: any) => console.log('RPC unregistration failed!', err) }); diff --git a/wampy/wampy.d.ts b/wampy/wampy.d.ts index 357591acf9..f74695503a 100644 --- a/wampy/wampy.d.ts +++ b/wampy/wampy.d.ts @@ -109,7 +109,7 @@ declare var wampy: Wampy; declare module 'wampy' { - export = wampy + export = wampy; } From cca2a80dda648c3ebfc5fac757f056086f3e4c33 Mon Sep 17 00:00:00 2001 From: Francis Filion Date: Fri, 3 Feb 2017 13:19:39 -0500 Subject: [PATCH 378/613] In CouchDB 2.0, the update_seq has become a string. --- pouchdb-core/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pouchdb-core/index.d.ts b/pouchdb-core/index.d.ts index 9797443f95..f591e521ca 100644 --- a/pouchdb-core/index.d.ts +++ b/pouchdb-core/index.d.ts @@ -45,7 +45,7 @@ declare namespace PouchDB { doc_count: number; /** Sequence number of the database. It starts at 0 and gets incremented every time a document is added or modified */ - update_seq: number; + update_seq: number | string; } interface Revision { @@ -221,8 +221,9 @@ declare namespace PouchDB { /** * Start the results from the change immediately after the given sequence number. * You can also pass `'now'` if you want only new changes (when `live` is `true`). + * */ - since?: 'now' | number; + since?: 'now' | number | string; /** * Request timeout (in milliseconds). From cae031eac4fb2ec35eef4fa8d3bdf8f5e9d6cf34 Mon Sep 17 00:00:00 2001 From: Larry Bahr Date: Fri, 3 Feb 2017 13:13:36 -0600 Subject: [PATCH 379/613] Added cordova_app_version_plugin Added type definitions for https://www.npmjs.com/package/cordova_app_version_plugin --- cordova_app_version_plugin/README.md | 8 ++++++ .../cordova_app_version_plugin-tests.ts | 3 +++ cordova_app_version_plugin/index.d.ts | 26 +++++++++++++++++++ cordova_app_version_plugin/tsconfig.json | 23 ++++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 cordova_app_version_plugin/README.md create mode 100644 cordova_app_version_plugin/cordova_app_version_plugin-tests.ts create mode 100644 cordova_app_version_plugin/index.d.ts create mode 100644 cordova_app_version_plugin/tsconfig.json diff --git a/cordova_app_version_plugin/README.md b/cordova_app_version_plugin/README.md new file mode 100644 index 0000000000..17e7e72ad3 --- /dev/null +++ b/cordova_app_version_plugin/README.md @@ -0,0 +1,8 @@ +# Installation +> `npm install --save @types/cordova_app_version_plugin` + +# Summary +This package contains type definitions for cordova_app_version_plugin (https://www.npmjs.com/package/cordova_app_version_plugin) + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/cordova_app_version_plugin diff --git a/cordova_app_version_plugin/cordova_app_version_plugin-tests.ts b/cordova_app_version_plugin/cordova_app_version_plugin-tests.ts new file mode 100644 index 0000000000..5e4eb16e66 --- /dev/null +++ b/cordova_app_version_plugin/cordova_app_version_plugin-tests.ts @@ -0,0 +1,3 @@ +/// + +var appVersion = window.cordova.plugins.version.getAppVersion(); // e.g. "1.5.0" diff --git a/cordova_app_version_plugin/index.d.ts b/cordova_app_version_plugin/index.d.ts new file mode 100644 index 0000000000..b8a70216a6 --- /dev/null +++ b/cordova_app_version_plugin/index.d.ts @@ -0,0 +1,26 @@ +// Type definitions for cordova_app_version_plugin v0.2.6 +// Project: https://www.npmjs.com/package/cordova_app_version_plugin +// Definitions by: Larry Bahr +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// +// Licensed under the MIT license. + +interface CordovaPlugins { + /** + * cordova_app_version_plugin interface + */ + version: CordovaAppVersionPlugin.CordovaAppVersionPlugin; +} + +/** + * Keep the type global namespace clean by using a module + */ +declare module CordovaAppVersionPlugin { + interface CordovaAppVersionPlugin { + /** + * App version from config.xml's version (e.g. ) + * @example window.cordova.plugins.version.getAppVersion() // e.g: "1.5.0" + */ + getAppVersion(): string; + } +} \ No newline at end of file diff --git a/cordova_app_version_plugin/tsconfig.json b/cordova_app_version_plugin/tsconfig.json new file mode 100644 index 0000000000..13e07865d9 --- /dev/null +++ b/cordova_app_version_plugin/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6", + "dom" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": false, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "cordova_app_version_plugin-tests.ts" + ] +} \ No newline at end of file From 896c3963361bee686e91a34c82a0f4e1d4fa63b5 Mon Sep 17 00:00:00 2001 From: Larry Bahr Date: Fri, 3 Feb 2017 13:18:01 -0600 Subject: [PATCH 380/613] Revert "Added cordova_app_version_plugin" This reverts commit cae031eac4fb2ec35eef4fa8d3bdf8f5e9d6cf34. --- cordova_app_version_plugin/README.md | 8 ------ .../cordova_app_version_plugin-tests.ts | 3 --- cordova_app_version_plugin/index.d.ts | 26 ------------------- cordova_app_version_plugin/tsconfig.json | 23 ---------------- 4 files changed, 60 deletions(-) delete mode 100644 cordova_app_version_plugin/README.md delete mode 100644 cordova_app_version_plugin/cordova_app_version_plugin-tests.ts delete mode 100644 cordova_app_version_plugin/index.d.ts delete mode 100644 cordova_app_version_plugin/tsconfig.json diff --git a/cordova_app_version_plugin/README.md b/cordova_app_version_plugin/README.md deleted file mode 100644 index 17e7e72ad3..0000000000 --- a/cordova_app_version_plugin/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Installation -> `npm install --save @types/cordova_app_version_plugin` - -# Summary -This package contains type definitions for cordova_app_version_plugin (https://www.npmjs.com/package/cordova_app_version_plugin) - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/cordova_app_version_plugin diff --git a/cordova_app_version_plugin/cordova_app_version_plugin-tests.ts b/cordova_app_version_plugin/cordova_app_version_plugin-tests.ts deleted file mode 100644 index 5e4eb16e66..0000000000 --- a/cordova_app_version_plugin/cordova_app_version_plugin-tests.ts +++ /dev/null @@ -1,3 +0,0 @@ -/// - -var appVersion = window.cordova.plugins.version.getAppVersion(); // e.g. "1.5.0" diff --git a/cordova_app_version_plugin/index.d.ts b/cordova_app_version_plugin/index.d.ts deleted file mode 100644 index b8a70216a6..0000000000 --- a/cordova_app_version_plugin/index.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -// Type definitions for cordova_app_version_plugin v0.2.6 -// Project: https://www.npmjs.com/package/cordova_app_version_plugin -// Definitions by: Larry Bahr -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// -// Licensed under the MIT license. - -interface CordovaPlugins { - /** - * cordova_app_version_plugin interface - */ - version: CordovaAppVersionPlugin.CordovaAppVersionPlugin; -} - -/** - * Keep the type global namespace clean by using a module - */ -declare module CordovaAppVersionPlugin { - interface CordovaAppVersionPlugin { - /** - * App version from config.xml's version (e.g. ) - * @example window.cordova.plugins.version.getAppVersion() // e.g: "1.5.0" - */ - getAppVersion(): string; - } -} \ No newline at end of file diff --git a/cordova_app_version_plugin/tsconfig.json b/cordova_app_version_plugin/tsconfig.json deleted file mode 100644 index 13e07865d9..0000000000 --- a/cordova_app_version_plugin/tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6", - "dom" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": false, - "baseUrl": "../", - "typeRoots": [ - "../" - ], - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "cordova_app_version_plugin-tests.ts" - ] -} \ No newline at end of file From f97b35d128d900c9ab3aa0cb431b1517ea48881c Mon Sep 17 00:00:00 2001 From: Mitchell Wills Date: Fri, 3 Feb 2017 11:02:29 -0800 Subject: [PATCH 381/613] Add includeAuthorizationData parameter to gapi.auth2 GoogleUser.getAuthResponse --- gapi.auth2/gapi.auth2-tests.ts | 6 ++++++ gapi.auth2/index.d.ts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gapi.auth2/gapi.auth2-tests.ts b/gapi.auth2/gapi.auth2-tests.ts index a3ba839a36..2cfaa49980 100644 --- a/gapi.auth2/gapi.auth2-tests.ts +++ b/gapi.auth2/gapi.auth2-tests.ts @@ -19,6 +19,12 @@ function test_getAuthInstance(){ var auth = gapi.auth2.getAuthInstance(); } +function test_getAuthResponse(){ + var user = gapi.auth2.getAuthInstance().currentUser.get(); + var authResponse = user.getAuthResponse(); + var authResponseWithAuth = user.getAuthResponse(true); +} + function test_render(){ var success = (googleUser: gapi.auth2.GoogleUser): void => { console.log(googleUser); diff --git a/gapi.auth2/index.d.ts b/gapi.auth2/index.d.ts index 593cae78d8..6037f0238e 100644 --- a/gapi.auth2/index.d.ts +++ b/gapi.auth2/index.d.ts @@ -151,7 +151,7 @@ declare namespace gapi.auth2 { /** * Get the response object from the user's auth session. */ - getAuthResponse(): AuthResponse; + getAuthResponse(includeAuthorizationData?: boolean): AuthResponse; /** * Returns true if the user granted the specified scopes. From 4908d6bad56ffcd03f93df1a2bced3f06052b272 Mon Sep 17 00:00:00 2001 From: Matt Bailey Date: Fri, 3 Feb 2017 15:00:02 -0800 Subject: [PATCH 382/613] Updated definitions with checkForm() function on Validator prototype --- jquery.validation/index.d.ts | 1 + jquery.validation/jquery.validation-tests.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/jquery.validation/index.d.ts b/jquery.validation/index.d.ts index 953755a065..2bb690c07e 100644 --- a/jquery.validation/index.d.ts +++ b/jquery.validation/index.d.ts @@ -217,6 +217,7 @@ declare namespace JQueryValidation interface Validator { element(element: string|JQuery): boolean; + checkForm(): boolean; /** * Validates the form, returns true if it is valid, false otherwise. */ diff --git a/jquery.validation/jquery.validation-tests.ts b/jquery.validation/jquery.validation-tests.ts index 15bb9f790c..0b2de520f2 100644 --- a/jquery.validation/jquery.validation-tests.ts +++ b/jquery.validation/jquery.validation-tests.ts @@ -208,6 +208,7 @@ function test_methods() { $("#myform").submit(); $("#myinput").attr(rules); }); + $("#myform").validate().checkForm(); $("#myform").validate().form(); $("#myform").validate().element("#myselect"); $("#myform").validate().element($("#myselect")); From cc903d2865dec7a3b9a148ceeb9a9090f828db72 Mon Sep 17 00:00:00 2001 From: Bowden Kelly Date: Fri, 3 Feb 2017 17:47:14 -0800 Subject: [PATCH 383/613] Update index.d.ts --- roslib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roslib/index.d.ts b/roslib/index.d.ts index 14fe2c1e3e..991585d803 100644 --- a/roslib/index.d.ts +++ b/roslib/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for roslib.js +// Type definitions for roslib.js 1.9 // Project: http://wiki.ros.org/roslibjs // Definitions by: Stefan Profanter // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 04dcec1c303f31c7ca825b898a9e7d5c7149b640 Mon Sep 17 00:00:00 2001 From: Bowden Kelly Date: Fri, 3 Feb 2017 18:18:22 -0800 Subject: [PATCH 384/613] Update index.d.ts --- cron/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/index.d.ts b/cron/index.d.ts index 79a5b96a01..d4fa027c93 100644 --- a/cron/index.d.ts +++ b/cron/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for cron 1.2.1 +// Type definitions for cron 1.2 // Project: https://www.npmjs.com/package/cron // Definitions by: Hiroki Horiuchi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 7eec158cd5956142788d1f89b65d48eb245e92b4 Mon Sep 17 00:00:00 2001 From: Bowden Kelly Date: Fri, 3 Feb 2017 18:39:05 -0800 Subject: [PATCH 385/613] Update index.d.ts --- metismenu/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metismenu/index.d.ts b/metismenu/index.d.ts index bdd500041f..8117328bf8 100644 --- a/metismenu/index.d.ts +++ b/metismenu/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for metisMenu 2.6.2 +// Type definitions for metisMenu 2.6 // Project: http://github.com/onokumus/metisMenu // Definitions by: onokums , denis // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 3b520bd3778139958d6ffae694b8a1d66085a2e6 Mon Sep 17 00:00:00 2001 From: Bowden Kelly Date: Fri, 3 Feb 2017 19:16:13 -0800 Subject: [PATCH 386/613] Update index.d.ts Removing patch version. --- validator/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/index.d.ts b/validator/index.d.ts index 36b7d23088..74bf331ed6 100644 --- a/validator/index.d.ts +++ b/validator/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for validator.js v6.2.0 +// Type definitions for validator.js v6.2 // Project: https://github.com/chriso/validator.js // Definitions by: tgfjt , Ilya Mochalov , Ayman Nedjmeddine , Louy Alakkad , Kacper Polak // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 1b19290993e68920c4123aea25980ae335ca3f41 Mon Sep 17 00:00:00 2001 From: yyc <395976266@qq.com> Date: Sat, 4 Feb 2017 17:54:55 +0800 Subject: [PATCH 387/613] fix: fix wonder-commonlib,wonder-frp->index.d.ts->global type --- wonder-commonlib/index.d.ts | 5 +++-- wonder-frp/index.d.ts | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wonder-commonlib/index.d.ts b/wonder-commonlib/index.d.ts index 464b6ada4e..9c6881920d 100644 --- a/wonder-commonlib/index.d.ts +++ b/wonder-commonlib/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for wonder-commonlib 0.1 +// Type definitions for wonder-commonlib 0.1.1 // Project: https://github.com/yyc-git/Wonder-CommonLib // Definitions by: YYC // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -21,7 +21,8 @@ declare module wdCb { } } -declare var global: any, window: Window; +declare var global:NodeJS.Global,window:Window; + declare module wdCb { var root: any; } diff --git a/wonder-frp/index.d.ts b/wonder-frp/index.d.ts index c7459d6690..bb9b146112 100644 --- a/wonder-frp/index.d.ts +++ b/wonder-frp/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for wonder-frp 0.1 +// Type definitions for wonder-frp 0.1.1 // Project: https://github.com/yyc-git/Wonder-FRP // Definitions by: YYC // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -103,7 +103,7 @@ declare module wdFrp { } } -declare var global: any, window: Window; +declare var global:NodeJS.Global,window:Window; declare module wdFrp { var root: any; } From 1be45766a6d6f0c2de3bcf0bd9e76ed93b806980 Mon Sep 17 00:00:00 2001 From: yyc <395976266@qq.com> Date: Sat, 4 Feb 2017 18:53:07 +0800 Subject: [PATCH 388/613] fix: reference to node --- wonder-commonlib/index.d.ts | 3 +++ wonder-frp/index.d.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/wonder-commonlib/index.d.ts b/wonder-commonlib/index.d.ts index 9c6881920d..1cad038d52 100644 --- a/wonder-commonlib/index.d.ts +++ b/wonder-commonlib/index.d.ts @@ -3,6 +3,9 @@ // Definitions by: YYC // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + declare module wdCb { class JudgeUtils { static isArray(arr: any): boolean; diff --git a/wonder-frp/index.d.ts b/wonder-frp/index.d.ts index bb9b146112..00910bc80d 100644 --- a/wonder-frp/index.d.ts +++ b/wonder-frp/index.d.ts @@ -4,6 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// declare module wdFrp { class JudgeUtils extends wdCb.JudgeUtils { From cec3881ae0ec736fd66366f5475a7356468aec8a Mon Sep 17 00:00:00 2001 From: Alexandre Rieux Date: Sat, 4 Feb 2017 11:00:14 +0000 Subject: [PATCH 389/613] Add bundled module --- mapbox-gl/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mapbox-gl/index.d.ts b/mapbox-gl/index.d.ts index 360eb1ce33..2e75704dde 100644 --- a/mapbox-gl/index.d.ts +++ b/mapbox-gl/index.d.ts @@ -986,3 +986,7 @@ declare namespace mapboxgl { declare module 'mapbox-gl' { export = mapboxgl; } + +declare module 'mapbox-gl/dist/mapbox-gl' { + export = mapboxgl; +} From e6bfafb4761b76c61e1d6472b2480eab10765105 Mon Sep 17 00:00:00 2001 From: Warren Seymour Date: Wed, 11 Jan 2017 15:07:21 +0000 Subject: [PATCH 390/613] Add type definition for `hapi-auth-jwt2` --- hapi-auth-jwt2/hapi-auth-jwt2-tests.ts | 41 ++++++++ hapi-auth-jwt2/index.d.ts | 126 +++++++++++++++++++++++++ hapi-auth-jwt2/tsconfig.json | 20 ++++ hapi-auth-jwt2/tslint.json | 1 + 4 files changed, 188 insertions(+) create mode 100644 hapi-auth-jwt2/hapi-auth-jwt2-tests.ts create mode 100644 hapi-auth-jwt2/index.d.ts create mode 100644 hapi-auth-jwt2/tsconfig.json create mode 100644 hapi-auth-jwt2/tslint.json diff --git a/hapi-auth-jwt2/hapi-auth-jwt2-tests.ts b/hapi-auth-jwt2/hapi-auth-jwt2-tests.ts new file mode 100644 index 0000000000..65bc862e64 --- /dev/null +++ b/hapi-auth-jwt2/hapi-auth-jwt2-tests.ts @@ -0,0 +1,41 @@ +import Hapi = require('hapi'); +import hapiAuthJwt2 = require('hapi-auth-jwt2'); + +var server = new Hapi.Server(); +server.connection({port: 8000}); + +interface User { + id: number; + name: string; +} + +interface Users { + [id: number]: User +} + +var users:Users = { + 1: { + id: 1, + name: 'Test User' + } +}; + +var validate = function(decoded: User, request: Hapi.Request, callback: hapiAuthJwt2.ValidateCallback) { + if (!users[decoded.id]) { + return callback(null, false); + } + + return callback(null, true); +} + +server.register(hapiAuthJwt2, function(err) { + server.auth.strategy('jwt', 'jwt', { + key: 'NeverShareYourSecret', + validateFunc: validate, + verifyOptions: { + algorithms: ['HS256'] + } + }); +}); + +server.start(); diff --git a/hapi-auth-jwt2/index.d.ts b/hapi-auth-jwt2/index.d.ts new file mode 100644 index 0000000000..1bcbbc817e --- /dev/null +++ b/hapi-auth-jwt2/index.d.ts @@ -0,0 +1,126 @@ +// Type definitions for hapi-auth-jwt2 7.0 +// Project: http://github.com/dwyl/hapi-auth-jwt2 +// Definitions by: Warren Seymour +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +import {Request, Response} from 'hapi'; + +/** + * A key lookup function + * + * @param decoded the *decoded* but *unverified* JWT received from client + * @param callback the key lookup callback + */ +type KeyLookup = (decoded: any, callback: KeyLookupCallback) => void; + +/** + * Called when key lookup function has completed + * + * @param err an internal error + * @param key the secret key + * @param extraInfo any additional information that you would like + * to use in `validateFunc` which can be accessed via + * `request.plugins['hapi-auth-jwt2'].extraInfo` + */ +type KeyLookupCallback = (err: any, key: string, extraInfo?: any) => void; + +/** + * Called when Validation has completed + * + * @param err an internal error + * @param valid `true` if the JWT was valid, otherwise `false` + * @param credentials alternative credentials to be set instead of `decoded` + */ +type ValidateCallback = (err: any, valid: boolean, credentials?: any) => void; + +/** + * Options passed to `hapi.auth.strategy` when this plugin is used + */ +export interface Options { + /** + * The secret key used to check the signature of the token *or* a *key lookup function* + */ + key?: string | KeyLookup; + + /** + * The function which is run once the Token has been decoded + * + * @param decoded the *decoded* and *verified* JWT received from the client in *request.headers.authorization* + * @param request the original *request* received from the client + * @param callback the validation callback + */ + validateFunc(decoded: {}, request: Request, callback: ValidateCallback): void; + + /** + * Settings to define how tokens are verified by the jsonwebtoken library + */ + verifyOptions?: { + /** + * Ignore expired tokens + */ + ignoreExpiration?: boolean; + + /** + * Do not enforce token audience + */ + audience?: boolean; + + /** + * Do not require the issuer to be valid + */ + issuer?: boolean; + + /** + * List of allowed algorithms + */ + algorithms?: string[]; + }; + + /** + * function called to decorate the response with authentication headers + * before the response headers or payload is written + * + * @param request the Request object + * @param reply is called if an error occurred + */ + responseFunc?(request: Request, reply: (err: any, response: Response) => void): void; + + /** + * If you prefer to pass your token via url, simply add a token url + * parameter to your request or use a custom parameter by setting `urlKey. + * To disable the url parameter set urlKey to `false` or ''. + * @default 'token' + */ + urlKey?: string | boolean; + + /** + * If you prefer to set your own cookie key or your project has a cookie + * called 'token' for another purpose, you can set a custom key for your + * cookie by setting `options.cookieKey='yourkeyhere'`. To disable cookies + * set cookieKey to `false` or ''. + * @default 'token' + */ + cookieKey?: string | boolean; + + /** + * If you want to set a custom key for your header token use the + * `headerKey` option. To disable header token set headerKey to `false` or + * ''. + * @default 'authorization' + */ + headerKey?: string | boolean; + + /** + * Allow custom token type, e.g. `Authorization: 12345678` + */ + tokenType?: string; + + /** + * Set to `true` to receive the complete token (`decoded.header`, + * `decoded.payload` and `decoded.signature`) as decoded argument to key + * lookup and `verifyFunc` callbacks (*not `validateFunc`*) + * @default false + */ + complete?: boolean; +} + +export default function hapiAuthJwt2(): void; diff --git a/hapi-auth-jwt2/tsconfig.json b/hapi-auth-jwt2/tsconfig.json new file mode 100644 index 0000000000..764570cbac --- /dev/null +++ b/hapi-auth-jwt2/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "hapi-auth-jwt2-tests.ts" + ] +} diff --git a/hapi-auth-jwt2/tslint.json b/hapi-auth-jwt2/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/hapi-auth-jwt2/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 2e5b5fa26748da6866af358de89788f89cb11e2e Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Sat, 4 Feb 2017 06:48:49 -0500 Subject: [PATCH 391/613] fix(passport-local-mongoose): callbacks signatures See https://github.com/saintedlama/passport-local-mongoose/blob/master/index.js#L254 and see https://github.com/saintedlama/passport-local-mongoose/blob/master/index.js#L294 --- passport-local-mongoose/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/passport-local-mongoose/index.d.ts b/passport-local-mongoose/index.d.ts index eabe00f978..5d59411de8 100644 --- a/passport-local-mongoose/index.d.ts +++ b/passport-local-mongoose/index.d.ts @@ -20,8 +20,8 @@ declare module 'mongoose' { authenticate(): (username: string, password: string, cb: (err: any, res: T, error: any) => void) => void; serializeUser(): (user: PassportLocalModel, cb: (err: any) => void) => void; deserializeUser(): (username: string, cb: (err: any) => void) => void; - register(user: T, password: string, cb: (err: any) => void): void; - findByUsername(username: string, selectHashSaltFields: boolean, cb: (err: any) => void): any; + register(user: T, password: string, cb: (err: any, account: any) => void): void; + findByUsername(username: string, selectHashSaltFields: boolean, cb: (err: any, account: any) => void): any; createStrategy(): passportLocal.Strategy; } From 6435478e4d1c6eb147c758d88cb00b938d9c16da Mon Sep 17 00:00:00 2001 From: TANAKA Koichi Date: Sun, 5 Feb 2017 01:39:17 +0900 Subject: [PATCH 392/613] Add definition for env-to-object --- env-to-object/env-to-object-tests.ts | 33 ++++++++++++++++++++++++++ env-to-object/index.d.ts | 35 ++++++++++++++++++++++++++++ env-to-object/tsconfig.json | 20 ++++++++++++++++ env-to-object/tslint.json | 1 + 4 files changed, 89 insertions(+) create mode 100644 env-to-object/env-to-object-tests.ts create mode 100644 env-to-object/index.d.ts create mode 100644 env-to-object/tsconfig.json create mode 100644 env-to-object/tslint.json diff --git a/env-to-object/env-to-object-tests.ts b/env-to-object/env-to-object-tests.ts new file mode 100644 index 0000000000..77ea18327e --- /dev/null +++ b/env-to-object/env-to-object-tests.ts @@ -0,0 +1,33 @@ +import * as envToObject from 'env-to-object'; + +const map = { + 'NODE_ENV': { + 'keypath': 'env', + 'type': 'string' + }, + 'PORT': { + 'keypath': 'server.port', + 'type': 'number' + }, + 'SSL': { + 'keypath': 'server.ssl', + 'type': 'boolean' + }, + 'LOG_LEVEL': { + 'keypath': 'logger.level', + 'type': 'string' + }, + 'INT': { + 'keypath': 'int', + 'type': 'integer', + 'radix': '2' + } +}; + +const result1:any = envToObject(map); +const result2:any = envToObject(map, { + 'my-custom-type': (str: string, opts: any) => { + let foo: any = JSON.parse(str); + return foo; + } +}); diff --git a/env-to-object/index.d.ts b/env-to-object/index.d.ts new file mode 100644 index 0000000000..1bda571f98 --- /dev/null +++ b/env-to-object/index.d.ts @@ -0,0 +1,35 @@ +// Type definitions for env-to-object 1.1 +// Project: https://github.com/kgryte/node-env-to-object#readme +// Definitions by: TANAKA Koichi +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare namespace env { + export interface Mappings { + [enviromentVariableName: string]: Mapping; + } + + export type Mapping = IntegerMapping | BooleanMapping | GenericMapping; + + interface GenericMapping { + keypath: string; + type?: string; + [opt: string]: any; + } + + interface IntegerMapping extends GenericMapping { + type: "integer"; + radix: number; + } + + interface BooleanMapping { + type: "boolean"; + strict: boolean; + } + + export interface Parsers { + [parserName: string]: (str: string, opts: any) => any; + } +} + +declare function env(map: env.Mappings, parsers?: env.Parsers): any; +export = env; diff --git a/env-to-object/tsconfig.json b/env-to-object/tsconfig.json new file mode 100644 index 0000000000..68efe0c7ca --- /dev/null +++ b/env-to-object/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "env-to-object-tests.ts" + ] +} diff --git a/env-to-object/tslint.json b/env-to-object/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/env-to-object/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 4e5c9999631e60b9a6e8b7186642abf41aa08b37 Mon Sep 17 00:00:00 2001 From: simonxca Date: Sat, 4 Feb 2017 09:04:40 -0800 Subject: [PATCH 393/613] Remove from author list --- passport-local-mongoose/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passport-local-mongoose/index.d.ts b/passport-local-mongoose/index.d.ts index eabe00f978..36a58a1828 100644 --- a/passport-local-mongoose/index.d.ts +++ b/passport-local-mongoose/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for passport-local-mongoose 4.0.0 // Project: https://github.com/saintedlama/passport-local-mongoose -// Definitions by: Linus Brolin , simonxca +// Definitions by: Linus Brolin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// From 8c493766e4d2d8cd6837630efeab93101659b3b6 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sat, 4 Feb 2017 23:31:14 +0300 Subject: [PATCH 394/613] [mongodb] Cursor & AggregationCursor methods now return generic type T Also have removed an extra `extends any` declaration --- mongodb/index.d.ts | 76 +++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index 33021e1fb9..8355bf12c5 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -1122,17 +1122,17 @@ export interface WriteOpResult { export type CursorResult = any | void | boolean; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html -export interface Cursor extends Readable { +export interface Cursor extends Readable { sortValue: string; timeout: boolean; readPreference: ReadPreference; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#addCursorFlag - addCursorFlag(flag: string, value: boolean): Cursor; + addCursorFlag(flag: string, value: boolean): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#addQueryModifier - addQueryModifier(name: string, value: boolean): Cursor; + addQueryModifier(name: string, value: boolean): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#batchSize - batchSize(value: number): Cursor; + batchSize(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#clone // https://github.com/christkv/mongodb-core/blob/2.0/lib/cursor.js#L333 clone(): Cursor; // still returns the same type @@ -1140,7 +1140,7 @@ export interface Cursor extends Readable { close(): Promise; close(callback: MongoCallback): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#comment - comment(value: string): Cursor; + comment(value: string): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#count count(applySkipLimit: boolean, callback: MongoCallback): void; count(applySkipLimit: boolean, options?: CursorCommentOptions): Promise; @@ -1149,55 +1149,55 @@ export interface Cursor extends Readable { explain(): Promise; explain(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#filter - filter(filter: Object): Cursor; + filter(filter: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#forEach forEach(iterator: IteratorCallback, callback: EndCallback): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#hasNext hasNext(): Promise; hasNext(callback: MongoCallback): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#hint - hint(hint: Object): Cursor; + hint(hint: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#isClosed isClosed(): boolean; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#limit - limit(value: number): Cursor; + limit(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#map - map(transform: Function): Cursor; + map(transform: Function): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#max - max(max: number): Cursor; + max(max: number): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#maxAwaitTimeMS - maxAwaitTimeMS(value: number): Cursor; + maxAwaitTimeMS(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#maxScan - maxScan(maxScan: Object): Cursor; + maxScan(maxScan: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#maxTimeMS - maxTimeMS(value: number): Cursor; + maxTimeMS(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#min - min(min: number): Cursor; + min(min: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#next next(): Promise; next(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#project - project(value: Object): Cursor; + project(value: Object): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#read read(size: number): string | Buffer | void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#next - returnKey(returnKey: Object): Cursor; + returnKey(returnKey: Object): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#rewind rewind(): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setCursorOption - setCursorOption(field: string, value: Object): Cursor; + setCursorOption(field: string, value: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#setReadPreference - setReadPreference(readPreference: string | ReadPreference): Cursor; + setReadPreference(readPreference: string | ReadPreference): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#showRecordId - showRecordId(showRecordId: Object): Cursor; + showRecordId(showRecordId: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#skip - skip(value: number): Cursor; + skip(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#snapshot - snapshot(snapshot: Object): Cursor; + snapshot(snapshot: Object): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#sort - sort(keyOrList: string | Object[] | Object, direction?: number): Cursor; + sort(keyOrList: string | Object[] | Object, direction?: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#stream - stream(options?: { transform?: Function }): Cursor; + stream(options?: { transform?: Function }): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#toArray toArray(): Promise; toArray(callback: MongoCallback): void; @@ -1228,11 +1228,11 @@ export interface EndCallback { export type AggregationCursorResult = any | void; // TODO: change to generic version //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html -export interface AggregationCursor extends Readable { +export interface AggregationCursor extends Readable { // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#batchSize - batchSize(value: number): AggregationCursor; + batchSize(value: number): AggregationCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#clone - clone(): AggregationCursor; + clone(): AggregationCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#close close(): Promise; close(callback: MongoCallback): void; @@ -1242,41 +1242,41 @@ export interface AggregationCursor extends Readable { explain(): Promise; explain(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#geoNear - geoNear(document: Object): AggregationCursor; + geoNear(document: Object): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#group - group(document: Object): AggregationCursor; + group(document: Object): AggregationCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#isClosed isClosed(): boolean; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#limit - limit(value: number): AggregationCursor; + limit(value: number): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#match - match(document: Object): AggregationCursor; + match(document: Object): AggregationCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#maxTimeMS - maxTimeMS(value: number): AggregationCursor; + maxTimeMS(value: number): AggregationCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#next next(): Promise; next(callback: MongoCallback): void; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#out - out(destination: string): AggregationCursor; + out(destination: string): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#project - project(document: Object): AggregationCursor; + project(document: Object): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#read read(size: number): string | Buffer | void; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#redact - redact(document: Object): AggregationCursor; + redact(document: Object): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#rewind - rewind(): AggregationCursor; + rewind(): AggregationCursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#setEncoding - skip(value: number): AggregationCursor; + skip(value: number): AggregationCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#sort - sort(document: Object): AggregationCursor; + sort(document: Object): AggregationCursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#toArray toArray(): Promise; toArray(callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unshift unshift(stream: Buffer | string): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#unwind - unwind(field: string): AggregationCursor; + unwind(field: string): AggregationCursor; } //http://mongodb.github.io/node-mongodb-native/2.1/api/CommandCursor.html From 64515f0db6fdc8080a5962601c1e7b7f583df778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Nguyen?= Date: Sun, 5 Feb 2017 08:11:04 +0100 Subject: [PATCH 395/613] Adding type definitions for cookie-signature --- cookie-signature/cookie-signature-tests.ts | 7 +++++++ cookie-signature/index.d.ts | 21 +++++++++++++++++++++ cookie-signature/tsconfig.json | 22 ++++++++++++++++++++++ cookie-signature/tslint.json | 1 + 4 files changed, 51 insertions(+) create mode 100644 cookie-signature/cookie-signature-tests.ts create mode 100644 cookie-signature/index.d.ts create mode 100644 cookie-signature/tsconfig.json create mode 100644 cookie-signature/tslint.json diff --git a/cookie-signature/cookie-signature-tests.ts b/cookie-signature/cookie-signature-tests.ts new file mode 100644 index 0000000000..f76d6dcb59 --- /dev/null +++ b/cookie-signature/cookie-signature-tests.ts @@ -0,0 +1,7 @@ +import * as cookie from "cookie-signature"; + +let val = cookie.sign('hello', 'tobiiscool'); + +val = cookie.sign('hello', 'tobiiscool'); +cookie.unsign(val, 'tobiiscool'); +cookie.unsign(val, 'luna'); diff --git a/cookie-signature/index.d.ts b/cookie-signature/index.d.ts new file mode 100644 index 0000000000..b9b29911a6 --- /dev/null +++ b/cookie-signature/index.d.ts @@ -0,0 +1,21 @@ +// Type definitions for cookie-signature 1.0 +// Project: https://github.com/tj/node-cookie-signature +// Definitions by: François Nguyen +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/** + * Sign the given `val` with `secret`. + * @param {string} val + * @param {string} secret + * @return {string} + */ +export function sign(value: string, secret: string): string; + +/** + * Unsign and decode the given `val` with `secret`, + * returning `false` if the signature is invalid. + * @param {string} val + * @param {string} secret + * @return {string|boolean} + */ +export function unsign(value: string, secret: string): string | boolean; diff --git a/cookie-signature/tsconfig.json b/cookie-signature/tsconfig.json new file mode 100644 index 0000000000..57344e816a --- /dev/null +++ b/cookie-signature/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "cookie-signature-tests.ts" + ] +} diff --git a/cookie-signature/tslint.json b/cookie-signature/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/cookie-signature/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 3117141656d5095d77a80147ed22de438efd8c51 Mon Sep 17 00:00:00 2001 From: Hinell Date: Sun, 5 Feb 2017 12:50:31 +0300 Subject: [PATCH 396/613] [mongoose] Fixed typescript version build https://travis-ci.org/DefinitelyTyped/DefinitelyTyped/builds/198517411 --- mongoose/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mongoose/index.d.ts b/mongoose/index.d.ts index 56ad48e617..444cb7c53a 100644 --- a/mongoose/index.d.ts +++ b/mongoose/index.d.ts @@ -2,10 +2,12 @@ // Project: http://mongoosejs.com/ // Definitions by: simonxca , horiuchi // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// /// + /* * Guidelines for maintaining these definitions: * - If you spot an error here or there, please submit a PR. From 0a4823399e2cd4fc95585f11d5757c70b05af2c5 Mon Sep 17 00:00:00 2001 From: TANAKA Koichi Date: Sun, 5 Feb 2017 19:23:34 +0900 Subject: [PATCH 397/613] env-to-object: fix 2nd argument Official README is wrong. --- env-to-object/env-to-object-tests.ts | 8 +++++--- env-to-object/index.d.ts | 6 +++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/env-to-object/env-to-object-tests.ts b/env-to-object/env-to-object-tests.ts index 77ea18327e..e2c1fd4e53 100644 --- a/env-to-object/env-to-object-tests.ts +++ b/env-to-object/env-to-object-tests.ts @@ -26,8 +26,10 @@ const map = { const result1:any = envToObject(map); const result2:any = envToObject(map, { - 'my-custom-type': (str: string, opts: any) => { - let foo: any = JSON.parse(str); - return foo; + parsers: { + 'my-custom-type': (str: string, opts: any) => { + let foo: any = JSON.parse(str); + return foo; + } } }); diff --git a/env-to-object/index.d.ts b/env-to-object/index.d.ts index 1bda571f98..1ec7a3c994 100644 --- a/env-to-object/index.d.ts +++ b/env-to-object/index.d.ts @@ -29,7 +29,11 @@ declare namespace env { export interface Parsers { [parserName: string]: (str: string, opts: any) => any; } + + export interface Options { + parsers: Parsers; + } } -declare function env(map: env.Mappings, parsers?: env.Parsers): any; +declare function env(map: env.Mappings, options?: env.Options): any; export = env; From 4f8a6b2510dcb0bcc631d1e6c87ac44e8b2d418d Mon Sep 17 00:00:00 2001 From: akim95 Date: Mon, 6 Feb 2017 00:47:34 +0800 Subject: [PATCH 398/613] update realm type definitions to realm 1.0 --- realm/index.d.ts | 174 ++++++++++++++++++++++++++++++++++--------- realm/realm-tests.ts | 40 +++++++++- 2 files changed, 177 insertions(+), 37 deletions(-) diff --git a/realm/index.d.ts b/realm/index.d.ts index 034d9e390f..01975fa15a 100644 --- a/realm/index.d.ts +++ b/realm/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for realm-js 0.14 +// Type definitions for realm-js 1.0 // Project: https://github.com/realm/realm-js // Definitions by: Akim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -6,13 +6,13 @@ declare namespace Realm { /** * PropertyType - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.html#~PropertyType } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~PropertyType } */ export type PropertyType = string | 'bool' | 'int' | 'float' | 'double' | 'string' | 'data' | 'date' | 'list'; /** * ObjectSchemaProperty - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.html#~ObjectSchemaProperty } + * @see { @link https://realm.io/docs/javascriptlatest/api/Realm.html#~ObjectSchemaProperty } */ export interface ObjectSchemaProperty { type: PropertyType; @@ -29,7 +29,7 @@ declare namespace Realm { /** * ObjectSchema - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.html#~ObjectSchema } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~ObjectSchema } */ export interface ObjectSchema { name: string; @@ -39,7 +39,7 @@ declare namespace Realm { /** * ObjectClass - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.html#~ObjectClass } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~ObjectClass } */ export interface ObjectClass { schema: ObjectSchema; @@ -47,15 +47,20 @@ declare namespace Realm { /** * ObjectType - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.html#~ObjectType } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~ObjectType } */ export interface ObjectType { type: ObjectClass; } + interface SyncConfiguration { + user: User; + url: string; + } + /** * realm configuration - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.html#~Configuration } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~Configuration } */ export interface Configuration { encryptionKey?: any; @@ -64,6 +69,7 @@ declare namespace Realm { readOnly?: boolean; schema?: ObjectClass[] | ObjectSchema[]; schemaVersion?: number; + sync?: SyncConfiguration; } // object props type @@ -73,13 +79,13 @@ declare namespace Realm { /** * SortDescriptor - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.Collection.html#~SortDescriptor } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Collection.html#~SortDescriptor } */ export type SortDescriptor = string | [string, boolean] | any[]; /** * Iterator - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.Collection.html#~Iterator } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Collection.html#~Iterator } */ export interface IteratorResult { done: boolean; @@ -87,12 +93,13 @@ declare namespace Realm { } export interface Iterator { - next(value?: any): IteratorResult; + next(done: boolean, value?: any): IteratorResult; + [Symbol.iterator](): any; } /** * Collection - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.Collection.html } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Collection.html } */ export interface Collection { readonly length: number; @@ -117,7 +124,7 @@ declare namespace Realm { sorted(descriptor: string | SortDescriptor, reverse?: boolean): Results; /** - * @returns Iterator + * @returns Iterator */ [Symbol.iterator](): Iterator; @@ -150,70 +157,87 @@ declare namespace Realm { /** * @param {number} start? * @param {number} end? - * @returns T[] | Object[] + * @returns T */ slice(start?: number, end?: number): T[]; /** * @param {(object:any,index?:any,collection?:any)=>void} callback * @param {any} thisArg? - * @returns Object|void + * @returns T */ find(callback: (object: any, index?: any, collection?: any) => void, thisArg?: any): T | null | undefined; /** - * @param {(object:any,index?:any,collection?:any)=>void} callback + * @param {(object:any,index?:number,collection?:any)=>void} callback * @param {any} thisArg? * @returns number */ findIndex(callback: (object: any, index?: number, collection?: any) => void, thisArg?: any): number; /** - * @param {(object:T|any,index?:number,collection?:any)=>void} callback + * @param {(object:T,index?:number,collection?:any)=>void} callback * @param {any} thisArg? * @returns void */ forEach(callback: (object: T, index?: number, collection?: any) => void, thisArg?: any): void; /** - * @param {(object:T|any,index?:number,collection?:any)=>void} callback + * @param {(object:T,index?:number,collection?:any)=>void} callback * @param {any} thisArg? * @returns boolean */ every(callback: (object: T, index?: number, collection?: any) => void, thisArg?: any): boolean; /** - * @param {(object:any,index?:number,collection?:any)=>void} callback + * @param {(object:T,index?:number,collection?:any)=>void} callback * @param {any} thisArg? * @returns boolean */ some(callback: (object: T, index?: number, collection?: any) => void, thisArg?: any): boolean; /** - * @param {(object:any,index?:number,collection?:any)=>void} callback + * @param {(object:T,index?:number,collection?:any)=>void} callback * @param {any} thisArg? * @returns any */ map(callback: (object: T, index?: number, collection?: any) => void, thisArg?: any): any[]; /** - * @param {(previousValue:T|any,object?:any,index?:number,collection?:any)=>void} callback + * @param {(previousValue:T,object?:T,index?:number,collection?:any)=>void} callback * @param {any} initialValue? * @returns any */ reduce(callback: (previousValue: T, object?: T, index?: number, collection?: any) => void, initialValue?: any): any; /** - * @param {(previousValue:any,object?:any,index?:any,collection?:any)=>void} callback + * @param {(previousValue:T,object?:T,index?:any,collection?:any)=>void} callback * @param {any} initialValue? * @returns any */ reduceRight(callback: (previousValue: T, object?: T, index?: any, collection?: any) => void, initialValue?: any): any; + + /** + * @param {(collection:any,changes:any)=>void} callback + * @returns void + */ + addListener(callback: (collection: any, changes: any) => void): void; + + /** + * @returns void + */ + removeAllListeners(): void; + + /** + * @param {()=>void} callback + * @returns void + */ + removeListener(callback: () => void): void; } /** * Object - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.Object.html } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Object.html } */ export interface Object { /** @@ -224,22 +248,22 @@ declare namespace Realm { /** * List - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.List.html } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.List.html } */ export interface List extends Collection { /** - * @returns Object|void + * @returns T */ pop(): T | null | undefined; /** - * @param {any} object + * @param {T} object * @returns number */ push(object: T): number; /** - * @returns Object|void + * @returns T */ shift(): T | null | undefined; @@ -247,12 +271,12 @@ declare namespace Realm { * @param {number} index * @param {number} count? * @param {any} object? - * @returns Object + * @returns T */ splice(index: number, count?: number, object?: any): T[]; /** - * @param {any} object + * @param {T} object * @returns number */ unshift(object: T): number; @@ -260,9 +284,81 @@ declare namespace Realm { /** * Results - * @see { @link https://realm.io/docs/react-native/latest/api/Realm.Results.html } + * @see { @link https://realm.io/docs/javascriptlatest/api/Realm.Results.html } */ export type Results = Collection; + + /** + * User + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.User.html } + */ + export interface User { + all: any; + current: User; + readonly identity: string; + readonly isAdmin: boolean; + readonly server: string; + readonly token: string; + adminUser(adminToken: string): User; + login(server: string, username: string, password: string, callback: (error: any, user: any) => void): void; + loginWithProvider(server: string, provider: string, providerToken: string, callback: (error: any, user: any) => void): void; + register(server: string, username: string, password: string, callback: (error: any, user: any) => void): void; + registerWithProvider(server: string, provider: string, providerToken: string, callback: (error: any, user: any) => void): void; + logout(): void; + openManagementRealm(): Realm; + } + + /** + * Session + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.Session.html } + */ + export interface Session { + readonly config: any; + readonly state: string; + readonly url: string; + readonly user: User; + } + + /** + * AuthError + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.AuthError.html } + */ + export interface AuthError { + readonly code: number; + readonly type: string; + } + + /** + * ChangeEvent + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.ChangeEvent.html } + */ + export interface ChangeEvent { + readonly changes: any; + readonly oldRealm: Realm; + readonly path: string; + readonly realm: Realm; + } + + /** + * LogLevel + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.html#~LogLevel } + */ + type LogLevelType = string | 'error' | 'info' | 'defug'; + + /** + * Sync + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.html } + */ + interface Sync { + User: User; + Session: Session; + AuthError: AuthError; + ChangeEvent: ChangeEvent; + addListener(serverURL: string, adminUser: User, regex: string, name: string, changeCallback: () => void): void; + removeAllListeners(name?: string[]): void; + removeListener(regex: string, name: string, changeCallback: () => void): void; + setLogLevel(logLevel: LogLevelType): void; + } } declare class Realm { @@ -274,12 +370,18 @@ declare class Realm { readonly schema: Realm.ObjectSchema[]; + readonly schemaVersion: number; + + static Sync: Realm.Sync; + + syncSession: Realm.Session; + /** - * @param {string} path? + * @param {string} path * @param {any} encryptionKey? * @returns number */ - schemaVersion(path?: string, encryptionKey?: any): number; + static schemaVersion(path: string, encryptionKey?: any): number; /** * @param {Realm.Configuration} config? @@ -293,14 +395,14 @@ declare class Realm { /** * @param {string|Realm.ObjectType} type - * @param {Realm.ObjectPropsType} properties + * @param {T&Realm.ObjectPropsType} properties * @param {boolean} update? - * @returns Realm.Object|T|any + * @returns T */ create(type: string | Realm.ObjectType, properties: T & Realm.ObjectPropsType, update?: boolean): T; /** - * @param {Realm.Object|Realm.Object[]|Realm.List|Realm.Results|any} object + * @param {Realm.Object|Realm.Object[]|Realm.List|Realm.Results|any} object * @returns void */ delete(object: Realm.Object | Realm.Object[] | Realm.List | Realm.Results | any): void; @@ -313,13 +415,13 @@ declare class Realm { /** * @param {string|Realm.ObjectType} type * @param {number|string} key - * @returns Realm.Object|void + * @returns T */ objectForPrimaryKey(type: string | Realm.ObjectType, key: number | string): T | void; /** * @param {string|Realm.ObjectType} type - * @returns Realm.Results + * @returns Realm */ objects(type: string | Realm.ObjectType): Realm.ObjectType & Realm.Results; diff --git a/realm/realm-tests.ts b/realm/realm-tests.ts index e99247919b..2daf41ef74 100644 --- a/realm/realm-tests.ts +++ b/realm/realm-tests.ts @@ -15,7 +15,7 @@ const personSchema = { const key = new Int8Array(64); // constructor test -let realm = new Realm({ +const realm = new Realm({ schema: [personSchema], encryptionKey: key }); @@ -59,3 +59,41 @@ realm.removeAllListeners(); allPerson.find((person: any) => { return person.name === 'Jack'; }); + +const currentVersion = Realm.schemaVersion(Realm.defaultPath); + +// username/password authentication +Realm.Sync.User.register('http://localhost:9080', 'username@example.com', 'p@s$w0rd', (error, user) => { /* ... */ }); + +Realm.Sync.User.login('http://localhost.com:9080', 'username@example.com', 'p@s$w0rd', (error, user) => { + + const todoSchema = { + name: 'Todo', + primaryKey: 'id', + properties: { + id: 'int', + task: 'string', + } + }; + + // sync test + const realm = new Realm({ + schema: [todoSchema], + sync: { user, url: 'realm://localhost:9080/~/todos' } + }); + + // session test + const session = realm.syncSession; + const sessionUrl = session.config.url; +}); + +// facebook authentication +const fbAccessToken = 'acc3ssT0ken...'; +Realm.Sync.User.registerWithProvider('http://localhost:9080', 'facebook', fbAccessToken, (error, user) => { /* ... */ }); + +// user test +const user = Realm.Sync.User.current; +const users = Realm.Sync.User.all; + +// access control test +const managementRealm = user.openManagementRealm(); From 68baefd577c9454269b800c7ba742323ac37c414 Mon Sep 17 00:00:00 2001 From: akim95 Date: Mon, 6 Feb 2017 01:06:24 +0800 Subject: [PATCH 399/613] fix url ref --- realm/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/realm/index.d.ts b/realm/index.d.ts index 01975fa15a..3c3a438621 100644 --- a/realm/index.d.ts +++ b/realm/index.d.ts @@ -12,7 +12,7 @@ declare namespace Realm { /** * ObjectSchemaProperty - * @see { @link https://realm.io/docs/javascriptlatest/api/Realm.html#~ObjectSchemaProperty } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.html#~ObjectSchemaProperty } */ export interface ObjectSchemaProperty { type: PropertyType; @@ -284,7 +284,7 @@ declare namespace Realm { /** * Results - * @see { @link https://realm.io/docs/javascriptlatest/api/Realm.Results.html } + * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Results.html } */ export type Results = Collection; From 01536df168ebf2629cd25a7606660db9b558c260 Mon Sep 17 00:00:00 2001 From: Hinell Date: Mon, 6 Feb 2017 00:02:44 +0300 Subject: [PATCH 400/613] [mongodb] collection.findOne is coming back Closes #14444 Quick fix according to docs and mongodb issue tracker: http://mongodb.github.io/node-mongodb-native/2.2/api/Collection.html#findOne https://jira.mongodb.org/browse/NODE-890 --- mongodb/index.d.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index bab845a01d..3603b8877c 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -620,11 +620,8 @@ export interface Collection { /** @deprecated */ find(query: Object, fields?: Object, skip?: number, limit?: number, timeout?: number): Cursor; //http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#findOne - /** @deprecated use find().limit(1).next(function(err, doc){}) */ findOne(filter: Object, callback: MongoCallback): void; - /** @deprecated use find().limit(1).next(function(err, doc){}) */ findOne(filter: Object, options?: FindOneOptions): Promise; - /** @deprecated use find().limit(1).next(function(err, doc){}) */ findOne(filter: Object, options: FindOneOptions, callback: MongoCallback): void; //http://mongodb.github.io/node-mongodb-native/2.1/api/Collection.html#findOneAndDelete findOneAndDelete(filter: Object, callback: MongoCallback): void; From 2e14c31a33f42857d1651b7d8b336a519b9431e7 Mon Sep 17 00:00:00 2001 From: Olmo del Corral Date: Mon, 6 Feb 2017 07:36:39 +0100 Subject: [PATCH 401/613] make RouteComponentProps non-optional to smoth strictNullChecks --- react-router/lib/Router.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/react-router/lib/Router.d.ts b/react-router/lib/Router.d.ts index dbd2d43fff..95b2e38267 100644 --- a/react-router/lib/Router.d.ts +++ b/react-router/lib/Router.d.ts @@ -86,11 +86,11 @@ export interface InjectedRouter { } export interface RouteComponentProps { - location?: Location; - params?: P & R; - route?: PlainRoute; - router?: InjectedRouter; - routeParams?: R; + location: Location; + params: P & R; + route: PlainRoute; + router: InjectedRouter; + routeParams: R; } export interface RouterProps extends ClassAttributes { From eae4e9814145c51b92401305e3fa1f87170870f4 Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Mon, 6 Feb 2017 12:52:39 +0530 Subject: [PATCH 402/613] Fix error in definition for fusioncharts modules. - *ERROR in* Argument of type 'FusionChartStatic' is not assignable to parameter of type 'FusionCharts'. --- fusioncharts/fusioncharts.charts.d.ts | 8 ++++---- fusioncharts/fusioncharts.gantt.d.ts | 8 ++++---- fusioncharts/fusioncharts.maps.d.ts | 8 ++++---- fusioncharts/fusioncharts.powercharts.d.ts | 8 ++++---- fusioncharts/fusioncharts.ssgrid.d.ts | 8 ++++---- fusioncharts/fusioncharts.treemap.d.ts | 8 ++++---- fusioncharts/fusioncharts.widgets.d.ts | 8 ++++---- fusioncharts/fusioncharts.zoomscatter.d.ts | 8 ++++---- fusioncharts/maps/fusioncharts.usa.d.ts | 8 ++++---- fusioncharts/maps/fusioncharts.world.d.ts | 8 ++++---- fusioncharts/themes/fusioncharts.theme.carbon.d.ts | 8 ++++---- fusioncharts/themes/fusioncharts.theme.fint.d.ts | 8 ++++---- fusioncharts/themes/fusioncharts.theme.ocean.d.ts | 8 ++++---- fusioncharts/themes/fusioncharts.theme.zune.d.ts | 8 ++++---- 14 files changed, 56 insertions(+), 56 deletions(-) diff --git a/fusioncharts/fusioncharts.charts.d.ts b/fusioncharts/fusioncharts.charts.d.ts index 214f9d79c2..f06060a054 100644 --- a/fusioncharts/fusioncharts.charts.d.ts +++ b/fusioncharts/fusioncharts.charts.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var charts: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var charts: (H: FusionChartStatic) => FusionChartStatic; export = charts; export as namespace charts; + diff --git a/fusioncharts/fusioncharts.gantt.d.ts b/fusioncharts/fusioncharts.gantt.d.ts index 7af79ff354..d29fa26f78 100644 --- a/fusioncharts/fusioncharts.gantt.d.ts +++ b/fusioncharts/fusioncharts.gantt.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var gantt: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var gantt: (H: FusionChartStatic) => FusionChartStatic; export = gantt; export as namespace gantt; + diff --git a/fusioncharts/fusioncharts.maps.d.ts b/fusioncharts/fusioncharts.maps.d.ts index 8610b8405f..1894383758 100644 --- a/fusioncharts/fusioncharts.maps.d.ts +++ b/fusioncharts/fusioncharts.maps.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var maps: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var maps: (H: FusionChartStatic) => FusionChartStatic; export = maps; export as namespace maps; + diff --git a/fusioncharts/fusioncharts.powercharts.d.ts b/fusioncharts/fusioncharts.powercharts.d.ts index 432cc4ce24..46178c8b8f 100644 --- a/fusioncharts/fusioncharts.powercharts.d.ts +++ b/fusioncharts/fusioncharts.powercharts.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var powercharts: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var powercharts: (H: FusionChartStatic) => FusionChartStatic; export = powercharts; export as namespace powercharts; + diff --git a/fusioncharts/fusioncharts.ssgrid.d.ts b/fusioncharts/fusioncharts.ssgrid.d.ts index f74376410d..b44f5336c1 100644 --- a/fusioncharts/fusioncharts.ssgrid.d.ts +++ b/fusioncharts/fusioncharts.ssgrid.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var ssgrid: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var ssgrid: (H: FusionChartStatic) => FusionChartStatic; export = ssgrid; export as namespace ssgrid; + diff --git a/fusioncharts/fusioncharts.treemap.d.ts b/fusioncharts/fusioncharts.treemap.d.ts index f8f80059ed..c555a627bc 100644 --- a/fusioncharts/fusioncharts.treemap.d.ts +++ b/fusioncharts/fusioncharts.treemap.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var treemap: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var treemap: (H: FusionChartStatic) => FusionChartStatic; export = treemap; export as namespace treemap; + diff --git a/fusioncharts/fusioncharts.widgets.d.ts b/fusioncharts/fusioncharts.widgets.d.ts index 052216721d..a4547b99b7 100644 --- a/fusioncharts/fusioncharts.widgets.d.ts +++ b/fusioncharts/fusioncharts.widgets.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var widgets: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var widgets: (H: FusionChartStatic) => FusionChartStatic; export = widgets; export as namespace widgets; + diff --git a/fusioncharts/fusioncharts.zoomscatter.d.ts b/fusioncharts/fusioncharts.zoomscatter.d.ts index 07e58585bb..106908b6df 100644 --- a/fusioncharts/fusioncharts.zoomscatter.d.ts +++ b/fusioncharts/fusioncharts.zoomscatter.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var zoomscatter: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var zoomscatter: (H: FusionChartStatic) => FusionChartStatic; export = zoomscatter; export as namespace zoomscatter; + diff --git a/fusioncharts/maps/fusioncharts.usa.d.ts b/fusioncharts/maps/fusioncharts.usa.d.ts index 159ad8ab80..16ed0d6c91 100644 --- a/fusioncharts/maps/fusioncharts.usa.d.ts +++ b/fusioncharts/maps/fusioncharts.usa.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var usa: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var usa: (H: FusionChartStatic) => FusionChartStatic; export = usa; export as namespace usa; + diff --git a/fusioncharts/maps/fusioncharts.world.d.ts b/fusioncharts/maps/fusioncharts.world.d.ts index 889afc5a7d..3e545e2556 100644 --- a/fusioncharts/maps/fusioncharts.world.d.ts +++ b/fusioncharts/maps/fusioncharts.world.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var world: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var world: (H: FusionChartStatic) => FusionChartStatic; export = world; export as namespace world; + diff --git a/fusioncharts/themes/fusioncharts.theme.carbon.d.ts b/fusioncharts/themes/fusioncharts.theme.carbon.d.ts index 0be2ca7334..79ba171231 100644 --- a/fusioncharts/themes/fusioncharts.theme.carbon.d.ts +++ b/fusioncharts/themes/fusioncharts.theme.carbon.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var carbon: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var carbon: (H: FusionChartStatic) => FusionChartStatic; export = carbon; export as namespace carbon; + diff --git a/fusioncharts/themes/fusioncharts.theme.fint.d.ts b/fusioncharts/themes/fusioncharts.theme.fint.d.ts index 8c76253ee6..cee08aa6b2 100644 --- a/fusioncharts/themes/fusioncharts.theme.fint.d.ts +++ b/fusioncharts/themes/fusioncharts.theme.fint.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var fint: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var fint: (H: FusionChartStatic) => FusionChartStatic; export = fint; export as namespace fint; + diff --git a/fusioncharts/themes/fusioncharts.theme.ocean.d.ts b/fusioncharts/themes/fusioncharts.theme.ocean.d.ts index f0dd57aa03..8b7e3828c0 100644 --- a/fusioncharts/themes/fusioncharts.theme.ocean.d.ts +++ b/fusioncharts/themes/fusioncharts.theme.ocean.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var ocean: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var ocean: (H: FusionChartStatic) => FusionChartStatic; export = ocean; export as namespace ocean; + diff --git a/fusioncharts/themes/fusioncharts.theme.zune.d.ts b/fusioncharts/themes/fusioncharts.theme.zune.d.ts index 23c04014c7..06ab4c1787 100644 --- a/fusioncharts/themes/fusioncharts.theme.zune.d.ts +++ b/fusioncharts/themes/fusioncharts.theme.zune.d.ts @@ -1,7 +1,7 @@ -interface FusionCharts { - type: string; -} -declare var zune: (H: FusionCharts) => FusionCharts; +import { FusionChartStatic } from "fusioncharts"; + +declare var zune: (H: FusionChartStatic) => FusionChartStatic; export = zune; export as namespace zune; + From b2282a583592d3976af68653f7608f9b562e11ab Mon Sep 17 00:00:00 2001 From: Rodrigo Cabello Date: Thu, 2 Feb 2017 18:59:49 +0100 Subject: [PATCH 403/613] adding web sockets definitions --- hyco-ws/hyco-ws-tests.ts | 8 ++++---- hyco-ws/index.d.ts | 30 ++++++++++++------------------ hyco-ws/tsconfig.json | 2 +- hyco-ws/tslint.json | 1 + 4 files changed, 18 insertions(+), 23 deletions(-) create mode 100644 hyco-ws/tslint.json diff --git a/hyco-ws/hyco-ws-tests.ts b/hyco-ws/hyco-ws-tests.ts index d24aa85c2c..05b500d81c 100644 --- a/hyco-ws/hyco-ws-tests.ts +++ b/hyco-ws/hyco-ws-tests.ts @@ -1,10 +1,10 @@ -import * as WebSocketRelay from 'hyco-ws'; import * as WebSocket from 'ws'; +import * as AzureRelay from 'hyco-ws'; -const wss: any = WebSocketRelay.createRelayedServer( +const wss = AzureRelay.createRelayedServer( { - server: WebSocketRelay.createRelayListenUri('uri_namespace', 'uri_path'), - token: WebSocketRelay.createRelayToken( + server: AzureRelay.createRelayListenUri('uri_namespace', 'uri_path'), + token: AzureRelay.createRelayToken( 'http://exampleurl.com}', 'key_rule', 'key') diff --git a/hyco-ws/index.d.ts b/hyco-ws/index.d.ts index 413f883c1e..d6b07d4422 100644 --- a/hyco-ws/index.d.ts +++ b/hyco-ws/index.d.ts @@ -3,12 +3,12 @@ // Definitions by: Manuel Rodrigo Cabello // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -/// /// -declare module 'hyco-ws' { - namespace WebSocketRelay { +import * as WebSocket from 'ws'; + +declare namespace hycows { class HybridConnectionWebSocketServer extends NodeJS.EventEmitter { constructor(options: Object); @@ -21,19 +21,13 @@ declare module 'hyco-ws' { controlChannel: WebSocket; } - interface RealyConnection { + export function createRelayedServer(options: Object, fn: (ws: WebSocket) => void): HybridConnectionWebSocketServer; + export function relayedConnect(address: string, fn: () => void): WebSocket; + export function createRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; + export function appendRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; + export function createRelayBaseUri(serviceBusNamespace: string, path: string): string; + export function createRelaySendUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; + export function createRelayListenUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; +} - createRelayedServer(options: Object, fn: (ws: WebSocket) => void): HybridConnectionWebSocketServer; - relayedConnect(address: string, fn: () => void): WebSocket; - createRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; - appendRelayToken(uri: string, key_name: string, key: string, expiry?: number): string; - createRelayBaseUri(serviceBusNamespace: string, path: string): string; - createRelaySendUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; - createRelayListenUri(serviceBusNamespace: string, path: string, token?: any, id?: any): string; - } - } - - var RelayConnection: WebSocketRelay.RealyConnection; - - export = RelayConnection; -} \ No newline at end of file +export = hycows; \ No newline at end of file diff --git a/hyco-ws/tsconfig.json b/hyco-ws/tsconfig.json index 0d67bbf8da..a625ff1bab 100644 --- a/hyco-ws/tsconfig.json +++ b/hyco-ws/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "experimentalDecorators": true, "baseUrl": "../", "typeRoots": [ diff --git a/hyco-ws/tslint.json b/hyco-ws/tslint.json new file mode 100644 index 0000000000..2221e40e4a --- /dev/null +++ b/hyco-ws/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } \ No newline at end of file From 91647767d2fff5cd269631f9d1eeb2681cfc8d98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kl=C3=B6pf?= Date: Mon, 6 Feb 2017 10:23:50 +0100 Subject: [PATCH 404/613] Fix definitions of serialport --- serialport/index.d.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/serialport/index.d.ts b/serialport/index.d.ts index 60c240bbda..d94ab9d79f 100644 --- a/serialport/index.d.ts +++ b/serialport/index.d.ts @@ -1,24 +1,24 @@ -// Type definitions for serialport 4.0.1 +// Type definitions for serialport 4.0 // Project: https://github.com/EmergingTechnologyAdvisors/node-serialport // Definitions by: Jeremy Foster // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module 'serialport' { class SerialPort { - constructor(path: string, options?: Object, openImmediately?: boolean, callback?: (err: string) => void) - isOpen: boolean; + constructor(path: string, options?: Object, openImmediately?: boolean, callback?: (err: any) => void) + isOpen(): boolean; on(event: string, callback?: (data?: any) => void): void; - open(callback?: () => void): void; - write(buffer: any, callback?: (err: string, bytesWritten: number) => void): void + open(callback?: (err: any) => void): void; + write(buffer: any, callback?: (err: any, bytesWritten: number) => void): void pause(): void; resume(): void; disconnected(err: Error): void; - close(callback?: (err:any) => void): void; - flush(callback?: (err:any) => void): void; - set(options: SerialPort.setOptions, callback: () => void): void; - drain(callback?: (err:any) => void): void; - update(options: SerialPort.updateOptions, callback?: () => void): void; - static list(callback: (err: string, ports: SerialPort.portConfig[]) => void): void; + close(callback?: (err: any) => void): void; + flush(callback?: (err: any) => void): void; + set(options: SerialPort.setOptions, callback: (err: any) => void): void; + drain(callback?: (err: any) => void): void; + update(options: SerialPort.updateOptions, callback?: (err: any) => void): void; + static list(callback: (err: any, ports: SerialPort.portConfig[]) => void): void; static parsers: { readline: (delimiter: string) => void, raw: (emitter: any, buffer: string) => void @@ -49,5 +49,5 @@ declare module 'serialport' { } } - export = SerialPort + export = SerialPort; } From 5b30a7bfe790829931fa3b6f9c9e527334b3b2c4 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Mon, 6 Feb 2017 19:40:19 +0900 Subject: [PATCH 405/613] add defaults field --- pg/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg/index.d.ts b/pg/index.d.ts index 75f3f33dd5..a18c9b6d42 100644 --- a/pg/index.d.ts +++ b/pg/index.d.ts @@ -130,4 +130,4 @@ export declare class Events extends events.EventEmitter { export const types: typeof pgTypes; - +export const defaults: Defaults & ClientConfig; From 3c083f098b71b70cd000a6644cb88574db47a569 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Mon, 6 Feb 2017 19:41:21 +0900 Subject: [PATCH 406/613] Update pg-tests.ts --- pg/pg-tests.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pg/pg-tests.ts b/pg/pg-tests.ts index 8936f01ee0..15dfdde3d9 100644 --- a/pg/pg-tests.ts +++ b/pg/pg-tests.ts @@ -7,6 +7,7 @@ var conString = "postgres://username:password@localhost/database"; pg.types.setTypeParser(20, (val) => Number(val)); // Client pooling +pg.defaults.ssl = true; pg.connect(conString, (err, client, done) => { if (err) { return console.error("Error fetching client from pool", err); @@ -71,4 +72,4 @@ pool.connect(function(err, client, done) { pool.on('error', function (err, client) { console.error('idle client error', err.message, err.stack) -}) \ No newline at end of file +}) From b8b063f64b46dbec26bf792b8928060ffe2af7b6 Mon Sep 17 00:00:00 2001 From: Victor Widell Date: Mon, 6 Feb 2017 11:47:15 +0100 Subject: [PATCH 407/613] Made overloads work with union types. https://github.com/Microsoft/TypeScript/issues/1805 --- pg/index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pg/index.d.ts b/pg/index.d.ts index 75f3f33dd5..b819d6b66b 100644 --- a/pg/index.d.ts +++ b/pg/index.d.ts @@ -96,11 +96,10 @@ export declare class Client extends events.EventEmitter { end(callback?: (err: Error) => void): void; release(): void; - query(queryText: string): Promise; + query(queryTextOrConfig: string | QueryConfig): Promise; query(queryText: string, values: any[]): Promise; - query(queryText: string, callback?: (err: Error, result: QueryResult) => void): Query; - query(config: QueryConfig, callback?: (err: Error, result: QueryResult) => void): Query; + query(queryTextOrConfig: string | QueryConfig, callback?: (err: Error, result: QueryResult) => void): Query; query(queryText: string, values: any[], callback?: (err: Error, result: QueryResult) => void): Query; copyFrom(queryText: string): stream.Writable; From 04f5827aca02436a55129eef6b010e653345e590 Mon Sep 17 00:00:00 2001 From: Bradley Ayers Date: Mon, 6 Feb 2017 23:41:24 +1100 Subject: [PATCH 408/613] Add 'index' parameter to fn in .map and .forEach MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Map — https://github.com/airbnb/enzyme/blob/master/docs/api/ShallowWrapper/map.md - forEach — https://github.com/airbnb/enzyme/blob/master/docs/api/ShallowWrapper/forEach.md --- enzyme/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enzyme/index.d.ts b/enzyme/index.d.ts index 5502b0eb85..eb77ce21eb 100644 --- a/enzyme/index.d.ts +++ b/enzyme/index.d.ts @@ -329,7 +329,7 @@ interface CommonWrapper { * @param fn A callback to be run for every node in the collection. Should expect a ShallowWrapper as the first * argument, and will be run with a context of the original instance. */ - forEach(fn: (wrapper: this) => any): this; + forEach(fn: (wrapper: this, index: number) => any): this; /** * Maps the current array of nodes to another array. Each node is passed in as a ShallowWrapper to the map @@ -339,7 +339,7 @@ interface CommonWrapper { * to the returned array. Should expect a ShallowWrapper as the first argument, and will be run * with a context of the original instance. */ - map(fn: (wrapper: this) => V): V[]; + map(fn: (wrapper: this, index: number) => V): V[]; /** * Applies the provided reducing function to every node in the wrapper to reduce to a single value. Each node From d88d452cf09a8d17161595cf41832e5c8d9ac799 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Mon, 6 Feb 2017 23:46:11 +0900 Subject: [PATCH 409/613] resolve most of lint error --- pg/index.d.ts | 41 ++++++++++++++--------------------------- 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/pg/index.d.ts b/pg/index.d.ts index a18c9b6d42..ca555b1f83 100644 --- a/pg/index.d.ts +++ b/pg/index.d.ts @@ -1,11 +1,9 @@ -// Type definitions for pg 6.1.0 +// Type definitions for pg 6.1 // Project: https://github.com/brianc/node-postgres // Definitions by: Phips Peter // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// -/// - import events = require("events"); import stream = require("stream"); @@ -63,41 +61,34 @@ export interface ResultBuilder extends QueryResult { } export declare class Pool extends events.EventEmitter { - - constructor(); - // `new Pool('pg://user@localhost/mydb')` is not allowed. // But it passes type check because of issue: // https://github.com/Microsoft/TypeScript/issues/7485 - constructor(config: PoolConfig); + constructor(config?: PoolConfig); connect(): Promise; connect(callback: (err: Error, client: Client, done: () => void) => void): void; end(): Promise; - query(queryText: string): Promise; - query(queryText: string, values: any[]): Promise; + query(queryText: string, values?: any[]): Promise; query(queryText: string, callback: (err: Error, result: QueryResult) => void): void; query(queryText: string, values: any[], callback: (err: Error, result: QueryResult) => void): void; - public on(event: "error", listener: (err: Error, client: Client) => void): this; - public on(event: "connect", listener: (client: Client) => void): this; - public on(event: "acquire", listener: (client: Client) => void): this; - public on(event: string, listener: Function): this; + on(event: "error", listener: (err: Error, client: Client) => void): this; + on(event: "connect" | "acquire", listener: (client: Client) => void): this; } export declare class Client extends events.EventEmitter { constructor(connection: string); constructor(config: ClientConfig); - connect(callback?: (err:Error) => void): void; + connect(callback?: (err: Error) => void): void; end(callback?: (err: Error) => void): void; release(): void; - query(queryText: string): Promise; - query(queryText: string, values: any[]): Promise; + query(queryText: string, values?: any[]): Promise; query(queryText: string, callback?: (err: Error, result: QueryResult) => void): Query; query(config: QueryConfig, callback?: (err: Error, result: QueryResult) => void): Query; @@ -109,23 +100,19 @@ export declare class Client extends events.EventEmitter { pauseDrain(): void; resumeDrain(): void; - public on(event: "drain", listener: () => void): this; - public on(event: "error", listener: (err: Error) => void): this; - public on(event: "notification", listener: (message: any) => void): this; - public on(event: "notice", listener: (message: any) => void): this; - public on(event: string, listener: Function): this; + on(event: "drain", listener: () => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "notification" | "notice", listener: (message: any) => void): this; } export declare class Query extends events.EventEmitter { - public on(event: "row", listener: (row: any, result?: ResultBuilder) => void): this; - public on(event: "error", listener: (err: Error) => void): this; - public on(event: "end", listener: (result: ResultBuilder) => void): this; - public on(event: string, listener: Function): this; + on(event: "row", listener: (row: any, result?: ResultBuilder) => void): this; + on(event: "error", listener: (err: Error) => void): this; + on(event: "end", listener: (result: ResultBuilder) => void): this; } export declare class Events extends events.EventEmitter { - public on(event: "error", listener: (err: Error, client: Client) => void): this; - public on(event: string, listener: Function): this; + on(event: "error", listener: (err: Error, client: Client) => void): this; } export const types: typeof pgTypes; From dff9fc5ff457c38d71db4766f4373ded428d4fcf Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Mon, 6 Feb 2017 23:53:51 +0900 Subject: [PATCH 410/613] =?UTF-8?q?Refer=20.md=20file=20directly=20to=20re?= =?UTF-8?q?duce=20heavy=C2=A0load?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The main page of DefinitlyTyped is heavy because of the long list of types. Linking directly to the .md files can help. --- PULL_REQUEST_TEMPLATE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index 4d9a7aab6f..1fc8897d23 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -3,8 +3,8 @@ Please fill in this template. - [ ] Make your PR against the `master` branch. - [ ] Use a meaningful title for the pull request. Include the name of the package modified. - [ ] Test the change in your own code. (Compile and run.) -- [ ] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped#make-a-pull-request). -- [ ] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped#common-mistakes). +- [ ] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request). +- [ ] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes). - [ ] Run `tsc` without errors. - [ ] Run `npm run lint package-name` if a `tslint.json` is present. From 9d060ae3fac10cecc5c3121fd6b3b7263193a6e0 Mon Sep 17 00:00:00 2001 From: Ville Saarinen Date: Mon, 6 Feb 2017 17:15:28 +0200 Subject: [PATCH 411/613] Third parameter to branch() should be optional This is in line with the API documentation, e.g. the example for renderComponent(): https://github.com/acdlite/recompose/blob/master/docs/API.md#rendercomponent --- recompose/index.d.ts | 2 +- recompose/recompose-tests.tsx | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/recompose/index.d.ts b/recompose/index.d.ts index e72302415f..bed45744aa 100644 --- a/recompose/index.d.ts +++ b/recompose/index.d.ts @@ -103,7 +103,7 @@ declare module 'recompose' { export function branch( test: predicate, trueEnhancer: InferableComponentEnhancer, - falseEnhancer: InferableComponentEnhancer + falseEnhancer?: InferableComponentEnhancer ): ComponentEnhancer; // renderComponent: https://github.com/acdlite/recompose/blob/master/docs/API.md#renderComponent diff --git a/recompose/recompose-tests.tsx b/recompose/recompose-tests.tsx index 25b52d70b0..c4c66b3e2c 100644 --- a/recompose/recompose-tests.tsx +++ b/recompose/recompose-tests.tsx @@ -148,13 +148,19 @@ function testBranch() { const innerComponent: React.StatelessComponent = (props: InnerProps) =>

props.update()}>{props.count}
; + const innerComponent2 = () =>
Hello
; const enhancer = branch( (props: OutterProps) => props.toggled, withState("count", "update", 0), withState("count", "update", 100) ); + const enhancer2 = branch( + (props: OutterProps) => props.toggled, + renderComponent(innerComponent), + ) const enhanced: React.ComponentClass = enhancer(innerComponent); + const enhanced2: React.ComponentClass = enhancer2(innerComponent); } function testRenderComponent() { From dffc2b7078db3295252a646dce2697a00552f1a3 Mon Sep 17 00:00:00 2001 From: Ville Saarinen Date: Mon, 6 Feb 2017 17:19:33 +0200 Subject: [PATCH 412/613] Increase version number --- recompose/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recompose/index.d.ts b/recompose/index.d.ts index bed45744aa..3ff504fab3 100644 --- a/recompose/index.d.ts +++ b/recompose/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Recompose v0.20.2 +// Type definitions for Recompose v0.20.3 // Project: https://github.com/acdlite/recompose // Definitions by: Iskander Sierra // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 6fd8c5eecd1bbfc55fc1379edb91e549b8fe741a Mon Sep 17 00:00:00 2001 From: z21cdevo Date: Mon, 6 Feb 2017 17:38:11 +0100 Subject: [PATCH 413/613] use correct settings exdends from daterangepicker definition --- react-bootstrap-daterangepicker/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/react-bootstrap-daterangepicker/index.d.ts b/react-bootstrap-daterangepicker/index.d.ts index e2ac7d49c6..baec72795b 100644 --- a/react-bootstrap-daterangepicker/index.d.ts +++ b/react-bootstrap-daterangepicker/index.d.ts @@ -5,12 +5,13 @@ // TypeScript Version: 2.1 /// -/// +/// declare namespace ReactBootstrapDaterangepicker { + export interface EventHandler { (event?: any, picker?: any): any; } - export interface Props extends DatepickerOptions { + export interface Props extends daterangepicker.Settings{ onShow?: EventHandler; onHide?: EventHandler; onShowCalendar?: EventHandler; From 7ca457781255646ae9375ffdc01e025185ea7ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondrej=20Slint=C3=A1k?= Date: Mon, 6 Feb 2017 23:39:25 +0100 Subject: [PATCH 414/613] Add extended AuthenticateOptions interface to passport-facebook This is useful since passing options with authType to passport's authenticate method fails since passport itself doesn't know about it. You can use this extended instead to retype it to the one that this method supports instead. --- passport-facebook/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/passport-facebook/index.d.ts b/passport-facebook/index.d.ts index bcc742dae5..7b6cedeac5 100644 --- a/passport-facebook/index.d.ts +++ b/passport-facebook/index.d.ts @@ -19,6 +19,10 @@ interface Profile extends passport.Profile { _json: any; } +export interface AuthenticateOptions extends passport.AuthenticateOptions { + authType?: string; +} + interface IStrategyOption { clientID: string; clientSecret: string; From 84d5133f5d09312f93922b5e5042fec199767189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 7 Feb 2017 00:23:17 +0100 Subject: [PATCH 415/613] range-parser --- range-parser/index.d.ts | 26 ++++++++++++++++++++++++++ range-parser/range-parser-tests.ts | 9 +++++++++ range-parser/tsconfig.json | 20 ++++++++++++++++++++ range-parser/tslint.json | 1 + 4 files changed, 56 insertions(+) create mode 100644 range-parser/index.d.ts create mode 100644 range-parser/range-parser-tests.ts create mode 100644 range-parser/tsconfig.json create mode 100644 range-parser/tslint.json diff --git a/range-parser/index.d.ts b/range-parser/index.d.ts new file mode 100644 index 0000000000..ceb5e17ff6 --- /dev/null +++ b/range-parser/index.d.ts @@ -0,0 +1,26 @@ +// Type definitions for range-parser 1.2 +// Project: https://github.com/jshttp/range-parser +// Definitions by: Tomek Åaziuk +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare const RangeParser: RangeParser.RangeParser; + +declare namespace RangeParser { + export interface Ranges extends Array { + type: string; + } + export interface Range { + start: number; + end: number; + } + export interface Options { + combine?: boolean; + } + export const enum Result { + invaild = -2, + unsatisifiable = -1, + } + export type RangeParser = (size: number, str: string, options?: Options) => Result | Ranges; +} + +export = RangeParser; diff --git a/range-parser/range-parser-tests.ts b/range-parser/range-parser-tests.ts new file mode 100644 index 0000000000..d3d70563bb --- /dev/null +++ b/range-parser/range-parser-tests.ts @@ -0,0 +1,9 @@ +import * as RangeParser from 'range-parser'; + +console.assert(RangeParser(200, `malformed`) === RangeParser.Result.invaild); +console.assert(RangeParser(200, `bytes=500-20`) === RangeParser.Result.unsatisifiable); + +const range = RangeParser(1000, `bytes=0-499`); + +console.assert(range.type === `bytes`); +console.assert(range.length === 1); diff --git a/range-parser/tsconfig.json b/range-parser/tsconfig.json new file mode 100644 index 0000000000..7c7f4ffd03 --- /dev/null +++ b/range-parser/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "range-parser-tests.ts" + ] +} diff --git a/range-parser/tslint.json b/range-parser/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/range-parser/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From a3dd726ba33d460a539488394e2b286b0dea9669 Mon Sep 17 00:00:00 2001 From: Kanchalai Tanglertsampan Date: Mon, 6 Feb 2017 17:05:14 -0800 Subject: [PATCH 416/613] Revert "Fix #11566 allows SFC to return null" This reverts commit 81730dfd225b778bfd0f0a7e1524899a372ad37c. --- react/index.d.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/react/index.d.ts b/react/index.d.ts index f25e5c0afd..e39c8c7026 100644 --- a/react/index.d.ts +++ b/react/index.d.ts @@ -204,7 +204,7 @@ declare namespace React { type SFC

= StatelessComponent

; interface StatelessComponent

{ - (props: P & { children?: ReactNode }, context?: any): ReactElement | null; + (props: P & { children?: ReactNode }, context?: any): ReactElement; propTypes?: ValidationMap

; contextTypes?: ValidationMap; defaultProps?: P; @@ -2628,9 +2628,7 @@ declare namespace React { declare global { namespace JSX { - interface JSXElement extends React.ReactElement { } - type Element = JSXElement | null; - + interface Element extends React.ReactElement { } interface ElementClass extends React.Component { render(): JSX.Element; } From 47f5a06ab00097373ee387f9b5ebad6d90d9cae9 Mon Sep 17 00:00:00 2001 From: Kanchalai Tanglertsampan Date: Mon, 6 Feb 2017 17:05:24 -0800 Subject: [PATCH 417/613] Revert "Add tests and fix broken test" This reverts commit d79f340d574873ca4deabd545ee4b9fdab1164ec. --- react-day-picker/index.d.ts | 2 +- react-dom/index.d.ts | 4 ++-- react-input-mask/index.d.ts | 2 +- react-native-scrollable-tab-view/index.d.ts | 18 +++++++++--------- .../react-native-swiper-tests.tsx | 2 +- react/index.d.ts | 4 ++-- react/test/tsx.tsx | 3 --- 7 files changed, 16 insertions(+), 19 deletions(-) diff --git a/react-day-picker/index.d.ts b/react-day-picker/index.d.ts index f2993d95c5..01c5492922 100644 --- a/react-day-picker/index.d.ts +++ b/react-day-picker/index.d.ts @@ -75,7 +75,7 @@ declare namespace ReactDayPicker { toMonth?: Date; localeUtils?: LocaleUtils; locale?: string; - captionElement?: React.ReactElement | null; + captionElement?: React.ReactElement; onDayClick?: (e: React.SyntheticEvent<{}>, day: Date, modifiers: DayModifiers) => any; onDayTouchTap?: (e: React.SyntheticEvent<{}>, day: Date, modifiers: DayModifiers) => any; onDayMouseEnter?: (e: React.SyntheticEvent<{}>, day: Date, modifiers: DayModifiers) => any; diff --git a/react-dom/index.d.ts b/react-dom/index.d.ts index bf0a246211..00520fc6ed 100644 --- a/react-dom/index.d.ts +++ b/react-dom/index.d.ts @@ -28,7 +28,7 @@ declare namespace ReactDOM { container: Element | null, callback?: (component: T) => any): T; function render

( - element: ReactElement

| null, + element: ReactElement

, container: Element | null, callback?: (component?: Component | Element) => any): Component | Element | void; @@ -57,7 +57,7 @@ declare namespace ReactDOM { callback?: () => any): void; function unstable_renderSubtreeIntoContainer

( parentComponent: Component, - element: ReactElement

| null, + element: ReactElement

, container: Element, callback?: (component?: Component | Element) => any): Component | Element | void; } diff --git a/react-input-mask/index.d.ts b/react-input-mask/index.d.ts index c6acce5858..6fc8c6008f 100644 --- a/react-input-mask/index.d.ts +++ b/react-input-mask/index.d.ts @@ -13,7 +13,7 @@ declare namespace reactInputMask { * * `9`: `0-9` * * `a`: `A-Z, a-z` * * `\*`: `A-Z, a-z, 0-9` - * + * * Any character can be escaped with backslash, which usually will appear as double backslash in JS strings. For example, German phone mask with unremoveable prefix +49 will look like `mask="+4\\9 99 999 99"` or `mask={"+4\\\\9 99 999 99"}` */ mask: string; diff --git a/react-native-scrollable-tab-view/index.d.ts b/react-native-scrollable-tab-view/index.d.ts index 9287ede79d..2f22f1bcf4 100644 --- a/react-native-scrollable-tab-view/index.d.ts +++ b/react-native-scrollable-tab-view/index.d.ts @@ -37,9 +37,9 @@ export interface renderTabBarProperties { interface ScrollableTabViewProperties extends React.Props { /** - * tabBarPosition (String) Defaults to "top". + * tabBarPosition (String) Defaults to "top". * "bottom" to position the tab bar below content. - * "overlayTop" or "overlayBottom" for a semitransparent tab bar that overlays content. Custom + * "overlayTop" or "overlayBottom" for a semitransparent tab bar that overlays content. Custom * tab bars must consume a style prop on their outer element to support this feature: style={this.props.style}. */ tabBarPosition?: 'top' | 'bottom' | 'overlayTop' | 'overlayBottom'; @@ -50,27 +50,27 @@ interface ScrollableTabViewProperties extends React.Props { initialPage?: number; /** - * (Integer) - set selected tab(can be buggy see + * (Integer) - set selected tab(can be buggy see * https://github.com/skv-headless/react-native-scrollable-tab-view/issues/126 */ page?: number; /** - * onChangeTab (Function) - function to call when tab changes, should accept 1 argument which is - * an Object containing two keys: i: the index of the tab that is selected, ref: the ref of the + * onChangeTab (Function) - function to call when tab changes, should accept 1 argument which is + * an Object containing two keys: i: the index of the tab that is selected, ref: the ref of the * tab that is selected */ onChangeTab?: (value: onChangeTabProperties) => void; /** - * onScroll (Function) - function to call when the pages are sliding, + * onScroll (Function) - function to call when the pages are sliding, * should accept 1 argument which is an Float number representing the page position in the slide frame. */ onScroll?: (value: number) => void; /** * renderTabBar (Function:ReactComponent) - accept 1 argument props and should return a component - * to use as the tab bar. The component has goToPage, tabs, activeTab and ref added to the props, + * to use as the tab bar. The component has goToPage, tabs, activeTab and ref added to the props, * and should implement setAnimationValue to be able to animate itself along with the tab content. * You can manually pass the props to the TabBar component. */ @@ -82,7 +82,7 @@ interface ScrollableTabViewProperties extends React.Props { style?: ViewStyle; /** - * contentProps (Object) - props that are applied to root ScrollView/ViewPagerAndroid. + * contentProps (Object) - props that are applied to root ScrollView/ViewPagerAndroid. * Note that overriding defaults set by the library may break functionality; see the source for details. */ contentProps?: React.ScrollViewProperties; @@ -98,7 +98,7 @@ interface ScrollableTabViewProperties extends React.Props { locked?: boolean; /** - * prerenderingSiblingsNumber (Integer) - pre-render nearby # sibling, Infinity === render all + * prerenderingSiblingsNumber (Integer) - pre-render nearby # sibling, Infinity === render all * the siblings, default to 0 === render current page. */ prerenderingSiblingsNumber?: number; diff --git a/react-native-swiper/react-native-swiper-tests.tsx b/react-native-swiper/react-native-swiper-tests.tsx index c8dae8511e..93cdfcfd18 100644 --- a/react-native-swiper/react-native-swiper-tests.tsx +++ b/react-native-swiper/react-native-swiper-tests.tsx @@ -18,7 +18,7 @@ class SwiperTest extends React.Component { super(props); } - public render(): React.ReactElement | null { + public render(): React.ReactElement { return ( diff --git a/react/index.d.ts b/react/index.d.ts index e39c8c7026..001484aa15 100644 --- a/react/index.d.ts +++ b/react/index.d.ts @@ -171,7 +171,7 @@ declare namespace React { setState(f: (prevState: S, props: P) => Pick, callback?: () => any): void; setState(state: Pick, callback?: () => any): void; forceUpdate(callBack?: () => any): void; - render(): JSX.Element; + render(): JSX.Element | null; // React.Props is now deprecated, which means that the `children` // property is not available on `P` by default, even though you can @@ -2630,7 +2630,7 @@ declare global { namespace JSX { interface Element extends React.ReactElement { } interface ElementClass extends React.Component { - render(): JSX.Element; + render(): JSX.Element | null; } interface ElementAttributesProperty { props: {}; } diff --git a/react/test/tsx.tsx b/react/test/tsx.tsx index 0b0bc096ae..0531cb52c0 100644 --- a/react/test/tsx.tsx +++ b/react/test/tsx.tsx @@ -32,6 +32,3 @@ StatelessComponent2.defaultProps = { ; - -const CustomComponent = (props: { flag: boolean }) => props.flag ? React.createElement('div') : null; -const UseComponent2 = (f: boolean) => ; From 534907f817b2624b2dc12c05a30659b61a8a5dfa Mon Sep 17 00:00:00 2001 From: Barry Stump Date: Mon, 6 Feb 2017 17:40:49 -0800 Subject: [PATCH 418/613] cassandra-driver: fix consistencies enum typo localQuorm => localQuorum --- cassandra-driver/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cassandra-driver/index.d.ts b/cassandra-driver/index.d.ts index 16466316f4..1f7f2fe33d 100644 --- a/cassandra-driver/index.d.ts +++ b/cassandra-driver/index.d.ts @@ -147,7 +147,7 @@ export namespace types { three, quorum, all, - localQuorm, + localQuorum, eachQuorum, serial, localSerial, From e791b291058bc8e9e7e5e3c4690f32124ea77b36 Mon Sep 17 00:00:00 2001 From: Kanchalai Tanglertsampan Date: Mon, 6 Feb 2017 17:54:17 -0800 Subject: [PATCH 419/613] Fix trailing whitespace that broke test --- react-input-mask/index.d.ts | 2 +- react-native-scrollable-tab-view/index.d.ts | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/react-input-mask/index.d.ts b/react-input-mask/index.d.ts index 6fc8c6008f..c6acce5858 100644 --- a/react-input-mask/index.d.ts +++ b/react-input-mask/index.d.ts @@ -13,7 +13,7 @@ declare namespace reactInputMask { * * `9`: `0-9` * * `a`: `A-Z, a-z` * * `\*`: `A-Z, a-z, 0-9` - * + * * Any character can be escaped with backslash, which usually will appear as double backslash in JS strings. For example, German phone mask with unremoveable prefix +49 will look like `mask="+4\\9 99 999 99"` or `mask={"+4\\\\9 99 999 99"}` */ mask: string; diff --git a/react-native-scrollable-tab-view/index.d.ts b/react-native-scrollable-tab-view/index.d.ts index 2f22f1bcf4..9287ede79d 100644 --- a/react-native-scrollable-tab-view/index.d.ts +++ b/react-native-scrollable-tab-view/index.d.ts @@ -37,9 +37,9 @@ export interface renderTabBarProperties { interface ScrollableTabViewProperties extends React.Props { /** - * tabBarPosition (String) Defaults to "top". + * tabBarPosition (String) Defaults to "top". * "bottom" to position the tab bar below content. - * "overlayTop" or "overlayBottom" for a semitransparent tab bar that overlays content. Custom + * "overlayTop" or "overlayBottom" for a semitransparent tab bar that overlays content. Custom * tab bars must consume a style prop on their outer element to support this feature: style={this.props.style}. */ tabBarPosition?: 'top' | 'bottom' | 'overlayTop' | 'overlayBottom'; @@ -50,27 +50,27 @@ interface ScrollableTabViewProperties extends React.Props { initialPage?: number; /** - * (Integer) - set selected tab(can be buggy see + * (Integer) - set selected tab(can be buggy see * https://github.com/skv-headless/react-native-scrollable-tab-view/issues/126 */ page?: number; /** - * onChangeTab (Function) - function to call when tab changes, should accept 1 argument which is - * an Object containing two keys: i: the index of the tab that is selected, ref: the ref of the + * onChangeTab (Function) - function to call when tab changes, should accept 1 argument which is + * an Object containing two keys: i: the index of the tab that is selected, ref: the ref of the * tab that is selected */ onChangeTab?: (value: onChangeTabProperties) => void; /** - * onScroll (Function) - function to call when the pages are sliding, + * onScroll (Function) - function to call when the pages are sliding, * should accept 1 argument which is an Float number representing the page position in the slide frame. */ onScroll?: (value: number) => void; /** * renderTabBar (Function:ReactComponent) - accept 1 argument props and should return a component - * to use as the tab bar. The component has goToPage, tabs, activeTab and ref added to the props, + * to use as the tab bar. The component has goToPage, tabs, activeTab and ref added to the props, * and should implement setAnimationValue to be able to animate itself along with the tab content. * You can manually pass the props to the TabBar component. */ @@ -82,7 +82,7 @@ interface ScrollableTabViewProperties extends React.Props { style?: ViewStyle; /** - * contentProps (Object) - props that are applied to root ScrollView/ViewPagerAndroid. + * contentProps (Object) - props that are applied to root ScrollView/ViewPagerAndroid. * Note that overriding defaults set by the library may break functionality; see the source for details. */ contentProps?: React.ScrollViewProperties; @@ -98,7 +98,7 @@ interface ScrollableTabViewProperties extends React.Props { locked?: boolean; /** - * prerenderingSiblingsNumber (Integer) - pre-render nearby # sibling, Infinity === render all + * prerenderingSiblingsNumber (Integer) - pre-render nearby # sibling, Infinity === render all * the siblings, default to 0 === render current page. */ prerenderingSiblingsNumber?: number; From 74ce2d22e797706025dc7c5e21a3b37d14f09ca9 Mon Sep 17 00:00:00 2001 From: Mike Deverell Date: Mon, 6 Feb 2017 22:51:24 -0500 Subject: [PATCH 420/613] add `optionClassName` to `ReactSelectProps` --- react-select/index.d.ts | 4 ++++ react-select/react-select-tests.tsx | 1 + 2 files changed, 5 insertions(+) diff --git a/react-select/index.d.ts b/react-select/index.d.ts index a7c0f2f17a..c3474fdb85 100644 --- a/react-select/index.d.ts +++ b/react-select/index.d.ts @@ -272,6 +272,10 @@ declare namespace ReactSelectClass { * @default false */ openOnFocus?: boolean; + /** + * className to add to each option component + */ + optionClassName?: string; /** * option component to render in dropdown */ diff --git a/react-select/react-select-tests.tsx b/react-select/react-select-tests.tsx index d2704878d9..7840f2ce9e 100644 --- a/react-select/react-select-tests.tsx +++ b/react-select/react-select-tests.tsx @@ -99,6 +99,7 @@ class SelectTest extends React.Component, {}> { className: "test-select", key: "1", options: options, + optionClassName: 'test-select-option', optionRenderer: optionRenderer, autofocus: true, autosize: true, From 906ece8d53c7b1fb9159e6be2aef0dea538bd062 Mon Sep 17 00:00:00 2001 From: Mike Deverell Date: Mon, 6 Feb 2017 22:51:39 -0500 Subject: [PATCH 421/613] add name to contributors list --- react-select/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-select/index.d.ts b/react-select/index.d.ts index c3474fdb85..b149fd4c47 100644 --- a/react-select/index.d.ts +++ b/react-select/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for react-select v1.0.0 // Project: https://github.com/JedWatson/react-select -// Definitions by: ESQUIBET Hugo , Gilad Gray , Izaak Baker , Tadas Dailyda , Mark Vujevits +// Definitions by: ESQUIBET Hugo , Gilad Gray , Izaak Baker , Tadas Dailyda , Mark Vujevits , Mike Deverell // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 From 28634dc8849bbdf61ef0a8de2e2a29fa0ebea6f6 Mon Sep 17 00:00:00 2001 From: clownwilleatme Date: Tue, 7 Feb 2017 10:19:05 +1100 Subject: [PATCH 422/613] Adding XRM v8.2 features --- xrm/index.d.ts | 838 +++++++++++++++++++++++++++++++++++++++-------- xrm/xrm-tests.ts | 27 +- 2 files changed, 736 insertions(+), 129 deletions(-) diff --git a/xrm/index.d.ts b/xrm/index.d.ts index 36bd556c13..2ed4cef363 100644 --- a/xrm/index.d.ts +++ b/xrm/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for Microsoft Dynamics xRM API v8.0 +// Type definitions for Microsoft Dynamics xRM API v8.2 // Project: http://www.microsoft.com/en-us/download/details.aspx?id=44567 -// Definitions by: David Berry , Matt Ngan , Markus Mauch , Daryl LaBar +// Definitions by: David Berry , Matt Ngan , Markus Mauch , Daryl LaBar , Tully H // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare var Xrm: Xrm.XrmStatic; @@ -93,7 +93,7 @@ declare namespace Xrm * Gets a control matching controlName. * * @tparam T A Control type - * @param {string} controlName Name of the control. + * @param {string} controlName Name of the control. * * @return The control. */ @@ -102,12 +102,22 @@ declare namespace Xrm /** * Gets a control matching controlName. * - * @param {string} controlName Name of the control. + * @param {string} controlName Name of the control. * * @return The control. */ getControl( controlName: string ): Page.Control; + /** + * Gets a control by index. + * + * @tparam T A Control type + * @param {number} index The control index. + * + * @return The control. + */ + getControl( index: number ): T; + /** * Gets a control by index. * @@ -166,11 +176,10 @@ declare namespace Xrm * @param {OpenParameters} parameters (Optional) A dictionary object that passes extra query string * parameters to the form. Invalid query string parameters will cause an * error. + * @return {Async.XrmPromise} Returns an asynchronous promise. */ - openQuickCreate( - entityLogicalName: string, - createFromEntity?: Page.LookupValue, - parameters?: Utility.OpenParameters ): Async.XrmPromise; + openQuickCreate( entityLogicalName: string, createFromEntity?: Page.LookupValue, parameters?: Utility.OpenParameters ): + Async.XrmPromise; /** * Opens an entity form. @@ -205,16 +214,194 @@ declare namespace Xrm */ openWebResource( webResourceName: string, webResourceData?: string, width?: number, height?: number ): Window; } + + /** + * Provides methods to create and manage records in the mobile clients (for phones tablets). + */ + Mobile: { + /** + * Provides methods to create and manage records in the mobile clients while working in the offline mode. + * + * @see {@link https://msdn.microsoft.com/en-us/library/mt787123.aspx} for details. + */ + offline: { + /** + * Returns whether an entity is offline enabled. + * + * @param {string} entityType The logical name of the entity. + * + * @return {boolean} True if the entity is offline enabled; otherwise False. + */ + isOfflineEnabled( entityType: string ): boolean; + + /** + * Creates an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {Object} data A dictionary object containing key : value pairs for the record to create. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks You cannot create intersect and activity party entities. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + createRecord( entityType: string, data: { [attributeName: string]: any } ): Async.XrmPromise; + + /** + * Retrieves an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} id GUID of the record to retrieve. + * @param {string} options (Optional) OData system query options to retrieve your data. Supports $select and $expand + * Example: ?$select=name&$expand=primarycontactid($select=contactid,fullname) + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks Only $select option can be specified within $expand. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + retrieveRecord( entityType: string, id: string, options: string ): Async.XrmPromise; + + /** + * Retrieves a collection of entity records in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} options (Optional) The logical name of the enti + * @param {string} maxPageSize (Optional) A positive number to indicates the number of entity records to be returned per page. + * If you do not specify this parameter, the default value is passed as 5000. + * If the number of records being retrieved is more than maxPageSize, an @odata.nextLink property + * will be returned, and you can use the value of the @odata.nextLink property with a new GET + * request to return next set of records. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks A maximum of 5000 related records can be retrieved when using $expand. + * Only $select option can be specified within $expand. + * $skip query option is not supported. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + retrieveMultipleRecords( entityType: string, options: string, maxPageSize: number ): Async.XrmPromise; + + /** + * Updates an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} id GUID of the record to update. + * @param {Object} data A dictionary object containing key : value pairs for the record to update. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks You cannot update intersect and activity party entities. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + updateRecord( entityType: string, id: string, data: { [attributeName: string]: any } ): Async.XrmPromise; + + /** + * Deletes an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} id GUID of the record to delete. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks You cannot delete intersect and activity party entities. + */ + deleteRecord( entityType: string, id: string ): Async.XrmPromise; + } + } + + /** + * Provides methods to display a web page in the side pane of web client. + * + * @see {@link https://msdn.microsoft.com/en-us/library/mt790281.aspx} for details. + */ + Panel: { + /** + * Displays the web page represented by a URL in the static area in the side pane, which appears on all pages in the web client. + * + * @param {string} url URL of the page to be loaded in the side pane static area. + * @param {string} url Title of the side pane static area. + * + * @remarks This method is only supported for the web client. + */ + LoadPanel( url: string, title: string ): void; + } } /** * Client Types for Xrm.Page.context.getClient(). */ export type Client = "Web" | "Outlook" | "Mobile"; + /** * Client States for Xrm.Page.context.getClientState(). */ export type ClientState = "Online" | "Offline"; + /** * Themes for Xrm.Page.context.getCurrentTheme(). */ @@ -254,6 +441,7 @@ declare namespace Xrm * Gets client's base URL for Dynamics CRM * * @return The client's base URL + * * @remarks For Dynamics CRM On-Premises: http(s)://server/org * For Dynamics CRM Online: https://org.crm.dynamics.com * For Dynamics CRM for Outlook (Offline): http://localhost:2525 @@ -354,6 +542,20 @@ declare namespace Xrm prependOrgName( sPath: string ): string; } + /** + * Defines save options to control how appointment, recurring appointment, or service activity records are processed. + * + * @see {@link https://msdn.microsoft.com/en-us/library/dn481607.aspx#Anchor_2} for details. + */ + interface SaveOptions + { + /** + * Indicates whether to use the Book or Reschedule messages rather than the Create or Update messages. + * Applicable to appointment, recurring appointment, or service activity records. + */ + UseSchedulingEngine?: boolean; + } + /** * Interface for the Xrm.Page.data object. */ @@ -364,16 +566,25 @@ declare namespace Xrm * * @param {boolean} save true to save the record, after the refresh. * - * @return An Async.XrmPromise. + * @return {Async.XrmPromise} Returns an asynchronous promise. */ - refresh( save: boolean ): Async.XrmPromise; + refresh( save: boolean ): Async.XrmPromise; /** * Asynchronously saves the record. * - * @return An Async.XrmPromise. + * @return {Async.XrmPromise} Returns an asynchronous promise. */ - save(): Async.XrmPromise; + save(): Async.XrmPromise; + + /** + * Asynchronously saves the record with the option to set callback functions to be executed after the save operation is completed. + * + * @param {saveOptions} saveOptions Options to control how appointment, recurring appointment, or service activity records are processed. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + */ + save( saveOptions: SaveOptions ): Async.XrmPromise; /** * The record context of the form. @@ -393,12 +604,28 @@ declare namespace Xrm */ export interface Ui { + /** + * Displays a form level notification. Any number of notifications can be displayed and will remain until removed using clearFormNotification. + * The height of the notification area is limited so each new message will be added to the top. + * + * @param {string} message The text of the notification message. + * @param {Page.ui.FormNotificationLevel} level The level of the notification which defines how the message will be displayed, such as the icon. + * @param {string} uniqueId Unique identifier for the notification which is used with clearFormNotification to remove the notification. + * + * @return true if it succeeds, otherwise false. + * + * @remarks Values for level are: ERROR Notification will use the system error icon. + * WARNING Notification will use the system warning icon. + * INFO Notification will use the system info icon. + */ + setFormNotification( message: string, level: Page.ui.FormNotificationLevel | string, uniqueId: string ): boolean; + /** * Clears the form notification described by uniqueId. * * @param {string} uniqueId Unique identifier. * - * @return true if it succeeds, otherwise false. + * @return True if it succeeds, otherwise false. */ clearFormNotification( uniqueId: string ): boolean; @@ -441,14 +668,15 @@ declare namespace Xrm getViewPortWidth(): number; /** - * Re-evaluates the ribbon's configured EnableRules + * Re-evaluates the ribbon's configured EnableRules. * * @remarks This method does not work with Microsoft Dynamics CRM for tablets. */ refreshRibbon(): void; - setFormNotification(message: string, level: Page.ui.FormNotificationLevel | string, uniqueId: string ): boolean; - + /** + * The business process flow API, used to interact with the business process flow control in a form. + */ process: Page.ui.ProcessManager; /** @@ -474,6 +702,11 @@ declare namespace Xrm * A reference to the collection of tabs on the form. */ tabs: Collection.ItemCollection; + + /** + * A collection of all the quick view controls on a form using the new form rendering engine (also called "turbo forms"). + */ + quickForms: Collection.ItemCollection; } /** @@ -481,38 +714,115 @@ declare namespace Xrm */ export module Async { - /** - * Object passed to ErrorCallbackDelegate - */ - export interface ErrorCallbackObject - { - errorCode: number; - message: string; - } - - export interface SuccessCallbackObject - { - savedEntityReference: Page.LookupValue; - } - /** * Called when the operation is successful. - * Currently, only the Xrm.Utility.openQuickCreate successCallback - * is passed a parameter so an optional parameter for it is included */ - export type SuccessCallbackDelegate = (object?: SuccessCallbackObject ) => void; - + export type SuccessCallbackDelegate = () => void; + /** * Called when the operation fails. * - * @param {ErrorCallbackObject} error The error object + * @param {ErrorCallbackObject} error The error object. */ export type ErrorCallbackDelegate = ( error: ErrorCallbackObject ) => void; /** - * Interface for Xrm.Page.data promises. + * Called when the Xrm.Utility.openQuickCreate operation is successful and a new record has been created. + * + * @param {OpenQuickCreateSuccessCallbackObject} record An object which contains a lookup value which identifies the record which has been created. + * + * @see {Xrm.Utility.openQuickCreate} */ - export interface XrmPromise + export type QuickCreateSuccessCallbackDelegate = ( record: OpenQuickCreateSuccessCallbackObject ) => void; + + /** + * Called when the offline operation is successful. + * + * @param {OfflineOperationSuccessCallbackObject} record The record returned from the operation. + * + * @see {Xrm.Mobile.offline} + */ + export type OfflineOperationSuccessCallbackDelegate = ( record: OfflineOperationSuccessCallbackObject ) => void; + + /** + * Called when the offline retrieve multiple operation is successful. + * + * @param {OfflineRetrieveMultipleSuccessCallbackDelegate} resultSet The dictionary of records retrieved from the operation. + * + * @see {Xrm.Mobile.offline.retrieveMultipleRecords} + */ + export type OfflineRetrieveMultipleSuccessCallbackDelegate = (resultSet: { [key: string]: any }[]) => void; + + /** + * Called when the operation fails. + * + * @param {OfflineErrorCallbackObject} error The error object. + * + * @see {Xrm.Mobile.offline} + */ + export type OfflineErrorCallbackDelegate = (error: OfflineErrorCallbackObject) => void; + + + /** + * Object passed to ErrorCallbackDelegate. + */ + export interface ErrorCallbackObject + { + /** + * The error code. + */ + errorCode: number; + + /** + * An error message describing the issue. + */ + message: string; + } + + /** + * Object passed to QuickCreateSuccessCallbackDelegate. + */ + export interface OpenQuickCreateSuccessCallbackObject + { + /** + * A lookup value which identifies the record which has been created. + */ + savedEntityReference: Page.LookupValue; + } + + /** + * Object passed to OfflineOperationSuccessCallbackDelegate; + */ + export interface OfflineOperationSuccessCallbackObject + { + /** + * GUID of the record; + */ + id: string; + /** + * Logical name of the entity. + */ + logicalName: string; + } + + /** + * Object passed to OfflineErrorCallbackDelegate. + */ + export interface OfflineErrorCallbackObject extends ErrorCallbackObject + { + /** + * An internal error message that might contain additional details about the issue. + */ + debugMessage: string; + } + + /** + * Interface for asynchronous promises used in Xrm.Page.data and Xrm.Utility.openQuickCreate. + * + * @tparam TSuccessCallback Generic success callback parameter. + * @tparam TErrorCallback Generic error callback parameter. + */ + export interface XrmPromise { /** * A basic 'then' promise. @@ -520,7 +830,7 @@ declare namespace Xrm * @param {SuccessCallbackDelegate} successCallback The success callback. * @param {ErrorCallbackDelegate} errorCallback The error callback. */ - then( successCallback: SuccessCallbackDelegate, errorCallback: ErrorCallbackDelegate ): void; + then( successCallback: TSuccessCallback, errorCallback: TErrorCallback ): void; } } @@ -633,19 +943,57 @@ declare namespace Xrm * Requirement Level for Xrm.Page.Attribute.getRequiredLevel() and Xrm.Page.Attribute.setRequiredLevel(). */ export type RequirementLevel = "none" | "recommended" | "required"; + /** * Save Modes for Xrm.Page.Entity.save(). */ export type SaveMode = "saveandclose" | "saveandnew"; + /** * Status for Xrm.Page.Stage.getStatus(). */ export type Status = "active" | "inactive"; + /** * Submit Mode for Xrm.Page.Attribute.getSubmitMode() and Xrm.Page.Attribute.setSubmitMode(). */ export type SubmitMode = "always" | "dirty" | "never"; + + /** + * Control types for Xrm.Page.Control.getControlType(). + */ + export type ControlType = "standard" | "iframe" | "lookup" | "optionset" | "subgrid" | "webresource" | "notes" | "timercontrol" | "kbsearch" | "quickform"; + /** + * Date attribute formats for Xrm.Page.Attribute.getFormat(), used by DateAttribute. + */ + export type DateAttributeFormat = "date" | "datetime"; + + /** + * Integer attribute formats for Xrm.Page.Attribute.getFormat(), used by NumberAttribute. + */ + export type IntegerAttributeFormat = "duration" | "none"; + + /** + * OptionSet attribute formats for Xrm.Page.Attribute.getFormat(), used by OptionSetAttribute. + */ + export type OptionSetAttributeFormat = "language" | "timezone"; + + /** + * String attribute formats for Xrm.Page.Attribute.getFormat(), used by StringAttribute. + */ + export type StringAttributeFormat = "email" | "phone" | "text" | "textarea" | "tickersymbol" | "url"; + + /** + * Attribute types for Xrm.ui.ProcessMonitor Xrm.Page.Attribute.setDisplayState(). + */ + export type AttributeType = "boolean" | "datetime" | "decimal" | "double" | "integer" | "lookup" | "memo" | "money" | "optionset" | "string"; + + /** + * Attribute formats for Xrm.Page.Attribute.getFormat(). + */ + export type AttributeFormat = DateAttributeFormat | IntegerAttributeFormat | OptionSetAttributeFormat | StringAttributeFormat; + /** * Interface for a CRM Business Process Flow instance. */ @@ -836,9 +1184,9 @@ declare namespace Xrm } /** - * Base interface for UI elements. + * Interface for UI elements with labels. */ - export interface UiElement + export interface UiLabelElement { /** * Gets the label. @@ -846,21 +1194,33 @@ declare namespace Xrm * @return The label. */ getLabel(): string; - - /** - * Gets the visibility state. - * - * @return true if the tab is visible, otherwise false. - */ - getVisible(): boolean; - + /** * Sets the label. * * @param {string} label The label. */ setLabel( label: string ): void; + } + /** + * Interface for UI elements which can have the visibility value read. + */ + export interface UiCanGetVisibleElement + { + /** + * Gets the visibility state. + * + * @return true if the tab is visible, otherwise false. + */ + getVisible(): boolean; + } + + /** + * Base interface for standard UI elements. + */ + export interface UiStandardElement extends UiCanGetVisibleElement, UiLabelElement + { /** * Sets the visibility state. * @@ -879,15 +1239,44 @@ declare namespace Xrm */ setFocus(): void; } + + /** + * Interface for controls which methods provide immediate feedback or take actions as user types in a control. + * Contains methods which can be used to perform data validations in a control even before the user commits (saves) the value in a form. + */ + export interface UiKeyPressable + { + /** + * Use this to add a function as an event handler for the keypress event so that the function is called when you type a character in the specific text or number field. + * For a sample JavaScript code that uses the addOnKeyPress method to configure the auto-completion experience, see Sample: Auto-complete in CRM controls. + * + * @param {ContextSensitiveHandler} handler The function reference. + */ + addOnKeyPress( handler: ContextSensitiveHandler ): void; + + /** + * Use this to manually fire an event handler that you created for a specific text or number field to be executed on the keypress event. + */ + fireOnKeyPress(): void; + + /** + * Use this to remove an event handler for a text or number field that you added using addOnKeyPress. + * + * Remarks: If an anonymous function is set using addOnKeyPress, it can’t be removed using this method. + * @param {ContextSensitiveHandler} handler The function reference. + */ + removeOnKeyPress( handler: ContextSensitiveHandler ): void; + } /** * Interface for Result value of AutoCompleteResultSet */ - export interface AutoCompleteResult { + export interface AutoCompleteResult + { /** * The Identifier */ - id: string|number; + id: string | number; /** * Url of the icon to display @@ -903,7 +1292,8 @@ declare namespace Xrm /** * Interface for command of AutoCompleteResultSet. This is displayed at the bottom of the auto complete view */ - export interface AutoCompleteCommand { + export interface AutoCompleteCommand + { /** * The Identifier */ @@ -928,7 +1318,8 @@ declare namespace Xrm /** * Interface for showAutoComplete argument */ - export interface AutoCompleteResultSet { + export interface AutoCompleteResultSet + { /** * Results to show */ @@ -983,17 +1374,17 @@ declare namespace Xrm export interface Privilege { /** - * true if the user can read. + * True if the user can read. */ canRead: boolean; /** - * true if the user can update. + * True if the user can update. */ canUpdate: boolean; /** - * true if the user can create. + * True if the user can create. */ canCreate: boolean; } @@ -1032,7 +1423,7 @@ declare namespace Xrm * string */ getAttributeType(): string; - + /** * Gets the attribute format. * @@ -1053,7 +1444,7 @@ declare namespace Xrm * timezone (optionset) * url (string) */ - getFormat(): string; + getFormat(): AttributeFormat; /** * Gets a boolean value indicating whether this Attribute has unsaved changes. @@ -1111,7 +1502,7 @@ declare namespace Xrm * * @param {string} requirementLevel The requirement level, as either "none", "required", or "recommended" */ - setRequiredLevel(requirementLevel: RequirementLevel | string): void; + setRequiredLevel( requirementLevel: RequirementLevel | string ): void; /** * Sets the submit mode. @@ -1120,12 +1511,26 @@ declare namespace Xrm * * @remarks The default value is "dirty" */ - setSubmitMode(submitMode: SubmitMode | string): void; + setSubmitMode( submitMode: SubmitMode | string ): void; /** * A collection of all the controls on the form that interface with this attribute. */ controls: Collection.ItemCollection; + + /** + * Gets the value. + * + * @return The value. + */ + getValue(): any; + + /** + * Sets the value. + * + * @param {any} value The value. + */ + setValue( value: any ): void; } /** @@ -1135,6 +1540,16 @@ declare namespace Xrm */ export interface NumberAttribute extends Attribute { + /** + * Gets the attribute format. + * + * @return The format of the attribute. + * + * @remarks Values returned are: duration + * none + */ + getFormat(): IntegerAttributeFormat; + /** * Gets the maximum value allowed. * @@ -1171,6 +1586,11 @@ declare namespace Xrm * @remarks Attributes on Quick Create Forms will not save values set with this method. */ setValue( value: number ): void; + + /** + * A collection of all the controls on the form that interface with this attribute. + */ + controls: Collection.ItemCollection; } /** @@ -1180,6 +1600,20 @@ declare namespace Xrm */ export interface StringAttribute extends Attribute { + /** + * Gets the attribute format. + * + * @return The format of the attribute. + * + * @remarks Values returned are: email + * phone + * text + * textarea + * tickersymbol + * url + */ + getFormat(): StringAttributeFormat; + /** * Gets maximum length allowed. * @@ -1206,6 +1640,11 @@ declare namespace Xrm * with this method. */ setValue( value: string ): void; + + /** + * A collection of all the controls on the form that interface with this attribute. + */ + controls: Collection.ItemCollection; } /** @@ -1219,7 +1658,8 @@ declare namespace Xrm * Gets the initial value of the attribute. * * @return The initial value. - * @remarks Valid for optionset and boolean attribute types + * + * @remarks Valid for OptionSet and boolean attribute types */ getInitialValue(): number | boolean; } @@ -1255,6 +1695,16 @@ declare namespace Xrm */ export interface DateAttribute extends Attribute { + /** + * Gets the attribute format. + * + * @return The format of the attribute. + * + * @remarks Values returned are: date + * datetime + */ + getFormat(): DateAttributeFormat; + /** * Gets the value. * @@ -1270,6 +1720,11 @@ declare namespace Xrm * @remarks Attributes on Quick Create Forms will not save values set with this method. */ setValue( value: Date ): void; + + /** + * A collection of all the controls on the form that interface with this attribute. + */ + controls: Collection.ItemCollection; } /** @@ -1279,6 +1734,16 @@ declare namespace Xrm */ export interface OptionSetAttribute extends EnumAttribute { + /** + * Gets the attribute format. + * + * @return The format of the attribute. + * + * @remarks Values returned are: language + * timezone + */ + getFormat(): OptionSetAttributeFormat; + /** * Gets the option matching a value. * @@ -1336,6 +1801,11 @@ declare namespace Xrm * with this method. */ setValue( value: number ): void; + + /** + * A collection of all the controls on the form that interface with this attribute. + */ + controls: Collection.ItemCollection; } /** @@ -1367,6 +1837,11 @@ declare namespace Xrm * @remarks Attributes on Quick Create Forms will not save values set with this method. */ setValue( value: LookupValue[] ): void; + + /** + * A collection of all the controls on the form that interface with this attribute. + */ + controls: Collection.ItemCollection; } /** @@ -1464,6 +1939,7 @@ declare namespace Xrm * Gets save mode, as an integer. * * @return The save mode. + * * @remarks Values returned are: 1 Save * 2 Save and Close * 59 Save and New @@ -1488,6 +1964,7 @@ declare namespace Xrm /** * Prevents the save operation from being submitted to the server. + * * @remarks All remaining "on save" handlers will continue execution. */ preventDefault(): void; @@ -1631,6 +2108,7 @@ declare namespace Xrm * Called when process change methods have completed. * * @param {string} status The result of the process change operation. + * * @remarks Values returned are: success (The operation succeeded.) * crossEntity (The previous stage is for a different entity.) * beginning (The active stage is the first stage of the active path.) @@ -1645,29 +2123,19 @@ declare namespace Xrm */ export type ProcessDictionary = { [index: string]: string }; } - + /** * Interface for Xrm.Page.ui controls. * * @sa UiElement */ - export interface Control extends UiElement, UiFocusable + export interface Control extends UiLabelElement, UiCanGetVisibleElement { /** - * Clears the notification identified by uniqueId. - * - * @param {string} uniqueId (Optional) Unique identifier. - * - * @return true if it succeeds, false if it fails. - * - * @remarks If the uniqueId parameter is not used, the current notification shown will be removed. - */ - clearNotification( uniqueId?: string ): boolean; - - /** - * Gets the control's type. + * Gets the controls type. * * @return The control type. + * * @remarks Values returned are: standard * iframe * lookup @@ -1677,16 +2145,12 @@ declare namespace Xrm * notes * timercontrol * kbsearch (CRM Online Only, use parature.d.ts) + * quickform (see ui.QuickForm) + * customcontrol: . (A custom control for mobile phone and tablet clients). + * customsubgrid: . (A custom dataset control for mobile phone and tablet clients). */ - getControlType(): string; - - /** - * Gets a boolean value, indicating whether the control is disabled. - * - * @return true if it is disabled, otherwise false. - */ - getDisabled(): boolean; - + getControlType(): ControlType | string; + /** * Gets the name of the control on the form. * @@ -1711,7 +2175,33 @@ declare namespace Xrm * @return The parent Section. */ getParent(): Section; - + } + + /** + * Interface for a standard control. + * + * @sa Control + */ + export interface StandardControl extends Control, UiStandardElement, UiFocusable + { + /** + * Clears the notification identified by uniqueId. + * + * @param {string} uniqueId (Optional) Unique identifier. + * + * @return true if it succeeds, false if it fails. + * + * @remarks If the uniqueId parameter is not used, the current notification shown will be removed. + */ + clearNotification( uniqueId?: string ): boolean; + + /** + * Gets a boolean value, indicating whether the control is disabled. + * + * @return true if it is disabled, otherwise false. + */ + getDisabled(): boolean; + /** * Sets the state of the control to either enabled, or disabled. * @@ -1731,15 +2221,7 @@ declare namespace Xrm * appears next to the control. Tapping on the icon will display the message. */ setNotification( message: string, uniqueId: string ): boolean; - } - /** - * Interface for a standard control. - * - * @sa Control - */ - export interface StandardControl extends Control - { /** * Gets the control's bound attribute. * @@ -1756,28 +2238,17 @@ declare namespace Xrm */ getAttribute(): Attribute; } - + /** - * Interace for Auto Lookup Control - * This is not an Entity Lookup, but a control that supports AutoComplete/KeyPress Events (Text) - * NOTE * This interface is not supported for CRM mobile clients (phones or tablets) and the interactive service hub. It is only available for Updated entities. + * Interface for Auto Lookup Control. + * This is not an Entity Lookup, but a control that supports AutoComplete / KeyPress Events (Text or Number) + * + * @remarks This interface is not supported for CRM mobile clients (phones or tablets) and the interactive service hub. It is only available for Updated entities. * * @sa StandardControl */ - export interface AutoLookupControl extends StandardControl { - /** - * Use this to add a function as an event handler for the keypress event so that the function is called when you type a character in the specific text or number field. - * For a sample JavaScript code that uses the addOnKeyPress method to configure the auto-completion experience, see Sample: Auto-complete in CRM controls. - * - * @param {ContextSensitiveHandler} handler The function reference. - */ - addOnKeyPress(handler: ContextSensitiveHandler): void; - - /** - * Use this to manually fire an event handler that you created for a specific text or number field to be executed on the keypress event. - */ - fireOnKeyPress(): void; - + export interface AutoLookupControl extends StandardControl, UiKeyPressable + { /** * Gets the latest value in a control as the user types characters in a specific text or number field. * This method helps you to build interactive experiences by validating data and alerting users as they type characters in a control. @@ -1790,15 +2261,7 @@ declare namespace Xrm * Hides the auto-completion drop-down list configured for a specific text field */ hideAutoComplete(): void; - - /** - * Use this to remove an event handler for a text or number field that you added using addOnKeyPress. - * - * Remarks: If an anonymous function is set using addOnKeyPress, it can’t be removed using this method. - * @param {ContextSensitiveHandler} handler The function reference. - */ - removeOnKeyPress(handler: ContextSensitiveHandler): void; - + /** * Shows upt to 10 matching strings in a drop-down list as users press keys to type charactrer in a specific text field. * On selecting an item in the drop-down list, the value in the text field changes to the selected item, the drop-down list disappears, and the OnChange event for the text field is invoked @@ -1807,6 +2270,36 @@ declare namespace Xrm showAutoComplete(resultSet: AutoCompleteResultSet): void; } + /** + * Interface for a String control. + * + * @sa StandardControl + */ + export interface StringControl extends AutoLookupControl + { + /** + * Gets the control's bound attribute. + * + * @return The attribute. + */ + getAttribute(): StringAttribute; + } + + /** + * Interface for a Number control. + * + * @sa StandardControl + */ + export interface NumberControl extends AutoLookupControl + { + /** + * Gets the control's bound attribute. + * + * @return The attribute. + */ + getAttribute(): NumberAttribute; + } + /** * Interface for a Date control. * @@ -2110,7 +2603,7 @@ declare namespace Xrm * @sa UiElement * @sa UiFocusable */ - export interface Tab extends UiElement, UiFocusable + export interface Tab extends UiStandardElement, UiFocusable { /** * Gets display state of the tab. @@ -2151,7 +2644,7 @@ declare namespace Xrm * * @sa UiElement */ - export interface Section extends UiElement + export interface Section extends UiStandardElement { /** * Gets the name of the section. @@ -2183,14 +2676,14 @@ declare namespace Xrm */ export type FormNotificationLevel = "ERROR" | "INFO" | "WARNING"; - /** + /** * Display States for Xrm.ui.ProcessMonitor.setDisplayState(). - */ + */ export type DisplayState = "collapsed" | "expanded"; - /** + /** * Interface for Xrm.Page.ui.process API - */ + */ export interface ProcessManager { /** @@ -2198,7 +2691,7 @@ declare namespace Xrm * * @param {string} displayState Display state of the process flow control, as either "expanded" or "collapsed" */ - setDisplayState(displayState: ui.DisplayState ): void; + setDisplayState( displayState: ui.DisplayState ): void; /** * Sets the visibility state. @@ -2330,7 +2823,7 @@ declare namespace Xrm } /** - * Interface for a view selector item. This object contains data that identifies a view. Use this as a parameter to + * Interface for a view selector item. This object contains data that identifies a view. Use this as a parameter to * the ViewSelector.setCurrentView method. */ export interface ViewSelectorItem @@ -2342,6 +2835,93 @@ declare namespace Xrm */ getEntityReference(): LookupValue; } + + /** + * Interface for a quick view control instance on a form. + * + * @see {@link https://msdn.microsoft.com/en-us/library/mt736908.aspx#bkmk_isLoaded} for details. + */ + export interface QuickForm extends Control, UiLabelElement, UiCanGetVisibleElement + { + /** + * Gets the constituent controls in a quick view control. + * + * @return An array of controls. + * + * @remarks Constituent controls in a quick view control are read only. + */ + getControl(): Page.Control[]; + + /** + * Gets the constituent controls in a quick view control. + * + * @tparam T A Control type + * @param {string} controlName Name of the control. + * + * @return The control. + * + * @remarks Constituent controls in a quick view control are read only. + */ + getControl( controlName: string ): T; + + /** + * Gets the constituent controls in a quick view control. + * + * @param {string} controlName Name of the control. + * + * @return The control. + * + * @remarks Constituent controls in a quick view control are read only. + */ + getControl( controlName: string ): Page.Control; + + /** + * Gets a control by index. + * + * @tparam T A Control type + * @param {number} index The control index. + * + * @return The control. + * + * @remarks Constituent controls in a quick view control are read only. + */ + getControl( index: number ): T; + + /** + * Gets a control by index. + * + * @param {number} index The control index. + * + * @return The control. + * + * @remarks Constituent controls in a quick view control are read only. + */ + getControl( index: number ): Page.Control; + + /** + * Gets the controls type. + * + * @return Returns a string value that categorizes quick view controls. + */ + getControlType(): "quickform"; + + /** + * Returns whether the data binding for the constituent controls in a quick view control is complete. + * + * @return True is the data binding for a constituent control is complete, otherwise false. + * because the quick view form that the control is bound to may not have loaded completely. + * As a result, using the getAttribute or any data-related methods on a constituent control might not work. + * The isLoaded method for the quick view control helps determine the data binding status for constituent controls in a quick view control. + * + * @remarks The data binding for the constituent controls in a quick view control may not be complete during the main form OnLoad event + */ + isLoaded(): boolean; + + /** + * Refreshes the data displayed in a quick view control. + */ + refresh(): void; + } } /** @@ -2350,7 +2930,7 @@ declare namespace Xrm * @sa UiElement * @sa UiFocusable */ - export interface NavigationItem extends UiElement, UiFocusable + export interface NavigationItem extends UiStandardElement, UiFocusable { /** * Gets the name of the item. @@ -2427,11 +3007,13 @@ declare namespace Xrm /** * Command Bar Display options for Xrm.Url.FormOpenParameters.cmdbar, Xrm.Url.ViewOpenParameters.cmdbar, and Xrm.Utility.FormOpenParameters.cmdbar. */ + export type CmdBarDisplay = "true" | "false"; /** * Navigation Bar Display options for Xrm.Url.FormOpenParameters.navbar, Xrm.Url.ViewOpenParameters.navbar, and Xrm.Utility.FormOpenParameters.navbar. */ export type NavBarDisplay = "entity" | "off" | "on"; + /** * Report Open Action options for Xrm.Url.ReportOpenParameters.actions. */ diff --git a/xrm/xrm-tests.ts b/xrm/xrm-tests.ts index 1893b9b89a..56d8f32b3c 100644 --- a/xrm/xrm-tests.ts +++ b/xrm/xrm-tests.ts @@ -75,7 +75,8 @@ Xrm.Utility.openQuickCreate("account").then(( object ) => { if (object) alert( ` /// Make all controls visible. -Xrm.Page.ui.controls.forEach(( control ) => { control.setVisible( true ); }); +// Xrm.Page.ui.controls.forEach(( control ) => { control.setVisible( true ); }); // No longer works +Xrm.Page.ui.controls.forEach((control: Xrm.Page.StandardControl) => { control.setVisible(true); }); // Must cast to StandardControl /// Make all tabs and sections visible. @@ -166,4 +167,28 @@ autoCompleteControl.hideAutoComplete(); +/// Demonstrate v8.2 quick form controls + +const quickForm = Xrm.Page.ui.quickForms.get(0); +quickForm.getControlType(); // == "quickform" +quickForm.getName(); +quickForm.getParent(); +quickForm.getVisible(); // From UiCanSetVisibleElement +quickForm.getLabel(); // From UiLabelElement +quickForm.setLabel("Label"); // From UiLabelElement +quickForm.refresh(); + +// Get standard control +const ctrl = Xrm.Page.getControl("controlName"); +ctrl.getControlType() +ctrl.getName(); +ctrl.getParent(); +ctrl.getLabel(); +ctrl.setLabel("Label name"); +ctrl.getVisible(); +ctrl.setVisible(true); + + + + From fe372f86ad9a65e3db8b0bfb8a6527ed5f7c3a6f Mon Sep 17 00:00:00 2001 From: clownwilleatme Date: Tue, 7 Feb 2017 10:20:34 +1100 Subject: [PATCH 423/613] Revert "Adding XRM v8.2 features" This reverts commit 65d062de61c4d7e014d73420c28e0999ab8f6c9d. --- xrm/index.d.ts | 828 +++++++---------------------------------------- xrm/xrm-tests.ts | 27 +- 2 files changed, 124 insertions(+), 731 deletions(-) diff --git a/xrm/index.d.ts b/xrm/index.d.ts index 2ed4cef363..36bd556c13 100644 --- a/xrm/index.d.ts +++ b/xrm/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for Microsoft Dynamics xRM API v8.2 +// Type definitions for Microsoft Dynamics xRM API v8.0 // Project: http://www.microsoft.com/en-us/download/details.aspx?id=44567 -// Definitions by: David Berry , Matt Ngan , Markus Mauch , Daryl LaBar , Tully H +// Definitions by: David Berry , Matt Ngan , Markus Mauch , Daryl LaBar // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare var Xrm: Xrm.XrmStatic; @@ -93,7 +93,7 @@ declare namespace Xrm * Gets a control matching controlName. * * @tparam T A Control type - * @param {string} controlName Name of the control. + * @param {string} controlName Name of the control. * * @return The control. */ @@ -102,22 +102,12 @@ declare namespace Xrm /** * Gets a control matching controlName. * - * @param {string} controlName Name of the control. + * @param {string} controlName Name of the control. * * @return The control. */ getControl( controlName: string ): Page.Control; - /** - * Gets a control by index. - * - * @tparam T A Control type - * @param {number} index The control index. - * - * @return The control. - */ - getControl( index: number ): T; - /** * Gets a control by index. * @@ -176,10 +166,11 @@ declare namespace Xrm * @param {OpenParameters} parameters (Optional) A dictionary object that passes extra query string * parameters to the form. Invalid query string parameters will cause an * error. - * @return {Async.XrmPromise} Returns an asynchronous promise. */ - openQuickCreate( entityLogicalName: string, createFromEntity?: Page.LookupValue, parameters?: Utility.OpenParameters ): - Async.XrmPromise; + openQuickCreate( + entityLogicalName: string, + createFromEntity?: Page.LookupValue, + parameters?: Utility.OpenParameters ): Async.XrmPromise; /** * Opens an entity form. @@ -214,194 +205,16 @@ declare namespace Xrm */ openWebResource( webResourceName: string, webResourceData?: string, width?: number, height?: number ): Window; } - - /** - * Provides methods to create and manage records in the mobile clients (for phones tablets). - */ - Mobile: { - /** - * Provides methods to create and manage records in the mobile clients while working in the offline mode. - * - * @see {@link https://msdn.microsoft.com/en-us/library/mt787123.aspx} for details. - */ - offline: { - /** - * Returns whether an entity is offline enabled. - * - * @param {string} entityType The logical name of the entity. - * - * @return {boolean} True if the entity is offline enabled; otherwise False. - */ - isOfflineEnabled( entityType: string ): boolean; - - /** - * Creates an entity record in mobile clients while working in the offline mode. - * - * @param {string} entityType The logical name of the entity. - * @param {Object} data A dictionary object containing key : value pairs for the record to create. - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - * - * @remarks You cannot create intersect and activity party entities. - * Only the following attribute types are supported in offline mode: BigInt - * Boolean - * Customer - * DateTime - * Decimal - * Double - * EntityName - * Integer - * Lookup - * Memo - * Money - * Owner - * Picklist - * String - * State - * Status - * UniqueIdentifier - */ - createRecord( entityType: string, data: { [attributeName: string]: any } ): Async.XrmPromise; - - /** - * Retrieves an entity record in mobile clients while working in the offline mode. - * - * @param {string} entityType The logical name of the entity. - * @param {string} id GUID of the record to retrieve. - * @param {string} options (Optional) OData system query options to retrieve your data. Supports $select and $expand - * Example: ?$select=name&$expand=primarycontactid($select=contactid,fullname) - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - * - * @remarks Only $select option can be specified within $expand. - * Only the following attribute types are supported in offline mode: BigInt - * Boolean - * Customer - * DateTime - * Decimal - * Double - * EntityName - * Integer - * Lookup - * Memo - * Money - * Owner - * Picklist - * String - * State - * Status - * UniqueIdentifier - */ - retrieveRecord( entityType: string, id: string, options: string ): Async.XrmPromise; - - /** - * Retrieves a collection of entity records in mobile clients while working in the offline mode. - * - * @param {string} entityType The logical name of the entity. - * @param {string} options (Optional) The logical name of the enti - * @param {string} maxPageSize (Optional) A positive number to indicates the number of entity records to be returned per page. - * If you do not specify this parameter, the default value is passed as 5000. - * If the number of records being retrieved is more than maxPageSize, an @odata.nextLink property - * will be returned, and you can use the value of the @odata.nextLink property with a new GET - * request to return next set of records. - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - * - * @remarks A maximum of 5000 related records can be retrieved when using $expand. - * Only $select option can be specified within $expand. - * $skip query option is not supported. - * Only the following attribute types are supported in offline mode: BigInt - * Boolean - * Customer - * DateTime - * Decimal - * Double - * EntityName - * Integer - * Lookup - * Memo - * Money - * Owner - * Picklist - * String - * State - * Status - * UniqueIdentifier - */ - retrieveMultipleRecords( entityType: string, options: string, maxPageSize: number ): Async.XrmPromise; - - /** - * Updates an entity record in mobile clients while working in the offline mode. - * - * @param {string} entityType The logical name of the entity. - * @param {string} id GUID of the record to update. - * @param {Object} data A dictionary object containing key : value pairs for the record to update. - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - * - * @remarks You cannot update intersect and activity party entities. - * Only the following attribute types are supported in offline mode: BigInt - * Boolean - * Customer - * DateTime - * Decimal - * Double - * EntityName - * Integer - * Lookup - * Memo - * Money - * Owner - * Picklist - * String - * State - * Status - * UniqueIdentifier - */ - updateRecord( entityType: string, id: string, data: { [attributeName: string]: any } ): Async.XrmPromise; - - /** - * Deletes an entity record in mobile clients while working in the offline mode. - * - * @param {string} entityType The logical name of the entity. - * @param {string} id GUID of the record to delete. - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - * - * @remarks You cannot delete intersect and activity party entities. - */ - deleteRecord( entityType: string, id: string ): Async.XrmPromise; - } - } - - /** - * Provides methods to display a web page in the side pane of web client. - * - * @see {@link https://msdn.microsoft.com/en-us/library/mt790281.aspx} for details. - */ - Panel: { - /** - * Displays the web page represented by a URL in the static area in the side pane, which appears on all pages in the web client. - * - * @param {string} url URL of the page to be loaded in the side pane static area. - * @param {string} url Title of the side pane static area. - * - * @remarks This method is only supported for the web client. - */ - LoadPanel( url: string, title: string ): void; - } } /** * Client Types for Xrm.Page.context.getClient(). */ export type Client = "Web" | "Outlook" | "Mobile"; - /** * Client States for Xrm.Page.context.getClientState(). */ export type ClientState = "Online" | "Offline"; - /** * Themes for Xrm.Page.context.getCurrentTheme(). */ @@ -441,7 +254,6 @@ declare namespace Xrm * Gets client's base URL for Dynamics CRM * * @return The client's base URL - * * @remarks For Dynamics CRM On-Premises: http(s)://server/org * For Dynamics CRM Online: https://org.crm.dynamics.com * For Dynamics CRM for Outlook (Offline): http://localhost:2525 @@ -542,20 +354,6 @@ declare namespace Xrm prependOrgName( sPath: string ): string; } - /** - * Defines save options to control how appointment, recurring appointment, or service activity records are processed. - * - * @see {@link https://msdn.microsoft.com/en-us/library/dn481607.aspx#Anchor_2} for details. - */ - interface SaveOptions - { - /** - * Indicates whether to use the Book or Reschedule messages rather than the Create or Update messages. - * Applicable to appointment, recurring appointment, or service activity records. - */ - UseSchedulingEngine?: boolean; - } - /** * Interface for the Xrm.Page.data object. */ @@ -566,25 +364,16 @@ declare namespace Xrm * * @param {boolean} save true to save the record, after the refresh. * - * @return {Async.XrmPromise} Returns an asynchronous promise. + * @return An Async.XrmPromise. */ - refresh( save: boolean ): Async.XrmPromise; + refresh( save: boolean ): Async.XrmPromise; /** * Asynchronously saves the record. * - * @return {Async.XrmPromise} Returns an asynchronous promise. + * @return An Async.XrmPromise. */ - save(): Async.XrmPromise; - - /** - * Asynchronously saves the record with the option to set callback functions to be executed after the save operation is completed. - * - * @param {saveOptions} saveOptions Options to control how appointment, recurring appointment, or service activity records are processed. - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - */ - save( saveOptions: SaveOptions ): Async.XrmPromise; + save(): Async.XrmPromise; /** * The record context of the form. @@ -604,28 +393,12 @@ declare namespace Xrm */ export interface Ui { - /** - * Displays a form level notification. Any number of notifications can be displayed and will remain until removed using clearFormNotification. - * The height of the notification area is limited so each new message will be added to the top. - * - * @param {string} message The text of the notification message. - * @param {Page.ui.FormNotificationLevel} level The level of the notification which defines how the message will be displayed, such as the icon. - * @param {string} uniqueId Unique identifier for the notification which is used with clearFormNotification to remove the notification. - * - * @return true if it succeeds, otherwise false. - * - * @remarks Values for level are: ERROR Notification will use the system error icon. - * WARNING Notification will use the system warning icon. - * INFO Notification will use the system info icon. - */ - setFormNotification( message: string, level: Page.ui.FormNotificationLevel | string, uniqueId: string ): boolean; - /** * Clears the form notification described by uniqueId. * * @param {string} uniqueId Unique identifier. * - * @return True if it succeeds, otherwise false. + * @return true if it succeeds, otherwise false. */ clearFormNotification( uniqueId: string ): boolean; @@ -668,15 +441,14 @@ declare namespace Xrm getViewPortWidth(): number; /** - * Re-evaluates the ribbon's configured EnableRules. + * Re-evaluates the ribbon's configured EnableRules * * @remarks This method does not work with Microsoft Dynamics CRM for tablets. */ refreshRibbon(): void; - /** - * The business process flow API, used to interact with the business process flow control in a form. - */ + setFormNotification(message: string, level: Page.ui.FormNotificationLevel | string, uniqueId: string ): boolean; + process: Page.ui.ProcessManager; /** @@ -702,11 +474,6 @@ declare namespace Xrm * A reference to the collection of tabs on the form. */ tabs: Collection.ItemCollection; - - /** - * A collection of all the quick view controls on a form using the new form rendering engine (also called "turbo forms"). - */ - quickForms: Collection.ItemCollection; } /** @@ -715,114 +482,37 @@ declare namespace Xrm export module Async { /** - * Called when the operation is successful. - */ - export type SuccessCallbackDelegate = () => void; - - /** - * Called when the operation fails. - * - * @param {ErrorCallbackObject} error The error object. - */ - export type ErrorCallbackDelegate = ( error: ErrorCallbackObject ) => void; - - /** - * Called when the Xrm.Utility.openQuickCreate operation is successful and a new record has been created. - * - * @param {OpenQuickCreateSuccessCallbackObject} record An object which contains a lookup value which identifies the record which has been created. - * - * @see {Xrm.Utility.openQuickCreate} - */ - export type QuickCreateSuccessCallbackDelegate = ( record: OpenQuickCreateSuccessCallbackObject ) => void; - - /** - * Called when the offline operation is successful. - * - * @param {OfflineOperationSuccessCallbackObject} record The record returned from the operation. - * - * @see {Xrm.Mobile.offline} - */ - export type OfflineOperationSuccessCallbackDelegate = ( record: OfflineOperationSuccessCallbackObject ) => void; - - /** - * Called when the offline retrieve multiple operation is successful. - * - * @param {OfflineRetrieveMultipleSuccessCallbackDelegate} resultSet The dictionary of records retrieved from the operation. - * - * @see {Xrm.Mobile.offline.retrieveMultipleRecords} - */ - export type OfflineRetrieveMultipleSuccessCallbackDelegate = (resultSet: { [key: string]: any }[]) => void; - - /** - * Called when the operation fails. - * - * @param {OfflineErrorCallbackObject} error The error object. - * - * @see {Xrm.Mobile.offline} - */ - export type OfflineErrorCallbackDelegate = (error: OfflineErrorCallbackObject) => void; - - - /** - * Object passed to ErrorCallbackDelegate. + * Object passed to ErrorCallbackDelegate */ export interface ErrorCallbackObject { - /** - * The error code. - */ errorCode: number; - - /** - * An error message describing the issue. - */ message: string; } - - /** - * Object passed to QuickCreateSuccessCallbackDelegate. - */ - export interface OpenQuickCreateSuccessCallbackObject - { - /** - * A lookup value which identifies the record which has been created. - */ + + export interface SuccessCallbackObject + { savedEntityReference: Page.LookupValue; } /** - * Object passed to OfflineOperationSuccessCallbackDelegate; + * Called when the operation is successful. + * Currently, only the Xrm.Utility.openQuickCreate successCallback + * is passed a parameter so an optional parameter for it is included */ - export interface OfflineOperationSuccessCallbackObject - { - /** - * GUID of the record; - */ - id: string; - /** - * Logical name of the entity. - */ - logicalName: string; - } - - /** - * Object passed to OfflineErrorCallbackDelegate. - */ - export interface OfflineErrorCallbackObject extends ErrorCallbackObject - { - /** - * An internal error message that might contain additional details about the issue. - */ - debugMessage: string; - } + export type SuccessCallbackDelegate = (object?: SuccessCallbackObject ) => void; /** - * Interface for asynchronous promises used in Xrm.Page.data and Xrm.Utility.openQuickCreate. + * Called when the operation fails. * - * @tparam TSuccessCallback Generic success callback parameter. - * @tparam TErrorCallback Generic error callback parameter. + * @param {ErrorCallbackObject} error The error object */ - export interface XrmPromise + export type ErrorCallbackDelegate = ( error: ErrorCallbackObject ) => void; + + /** + * Interface for Xrm.Page.data promises. + */ + export interface XrmPromise { /** * A basic 'then' promise. @@ -830,7 +520,7 @@ declare namespace Xrm * @param {SuccessCallbackDelegate} successCallback The success callback. * @param {ErrorCallbackDelegate} errorCallback The error callback. */ - then( successCallback: TSuccessCallback, errorCallback: TErrorCallback ): void; + then( successCallback: SuccessCallbackDelegate, errorCallback: ErrorCallbackDelegate ): void; } } @@ -943,57 +633,19 @@ declare namespace Xrm * Requirement Level for Xrm.Page.Attribute.getRequiredLevel() and Xrm.Page.Attribute.setRequiredLevel(). */ export type RequirementLevel = "none" | "recommended" | "required"; - /** * Save Modes for Xrm.Page.Entity.save(). */ export type SaveMode = "saveandclose" | "saveandnew"; - /** * Status for Xrm.Page.Stage.getStatus(). */ export type Status = "active" | "inactive"; - /** * Submit Mode for Xrm.Page.Attribute.getSubmitMode() and Xrm.Page.Attribute.setSubmitMode(). */ export type SubmitMode = "always" | "dirty" | "never"; - - /** - * Control types for Xrm.Page.Control.getControlType(). - */ - export type ControlType = "standard" | "iframe" | "lookup" | "optionset" | "subgrid" | "webresource" | "notes" | "timercontrol" | "kbsearch" | "quickform"; - /** - * Date attribute formats for Xrm.Page.Attribute.getFormat(), used by DateAttribute. - */ - export type DateAttributeFormat = "date" | "datetime"; - - /** - * Integer attribute formats for Xrm.Page.Attribute.getFormat(), used by NumberAttribute. - */ - export type IntegerAttributeFormat = "duration" | "none"; - - /** - * OptionSet attribute formats for Xrm.Page.Attribute.getFormat(), used by OptionSetAttribute. - */ - export type OptionSetAttributeFormat = "language" | "timezone"; - - /** - * String attribute formats for Xrm.Page.Attribute.getFormat(), used by StringAttribute. - */ - export type StringAttributeFormat = "email" | "phone" | "text" | "textarea" | "tickersymbol" | "url"; - - /** - * Attribute types for Xrm.ui.ProcessMonitor Xrm.Page.Attribute.setDisplayState(). - */ - export type AttributeType = "boolean" | "datetime" | "decimal" | "double" | "integer" | "lookup" | "memo" | "money" | "optionset" | "string"; - - /** - * Attribute formats for Xrm.Page.Attribute.getFormat(). - */ - export type AttributeFormat = DateAttributeFormat | IntegerAttributeFormat | OptionSetAttributeFormat | StringAttributeFormat; - /** * Interface for a CRM Business Process Flow instance. */ @@ -1184,9 +836,9 @@ declare namespace Xrm } /** - * Interface for UI elements with labels. + * Base interface for UI elements. */ - export interface UiLabelElement + export interface UiElement { /** * Gets the label. @@ -1194,33 +846,21 @@ declare namespace Xrm * @return The label. */ getLabel(): string; - - /** - * Sets the label. - * - * @param {string} label The label. - */ - setLabel( label: string ): void; - } - /** - * Interface for UI elements which can have the visibility value read. - */ - export interface UiCanGetVisibleElement - { /** * Gets the visibility state. * * @return true if the tab is visible, otherwise false. */ getVisible(): boolean; - } - - /** - * Base interface for standard UI elements. - */ - export interface UiStandardElement extends UiCanGetVisibleElement, UiLabelElement - { + + /** + * Sets the label. + * + * @param {string} label The label. + */ + setLabel( label: string ): void; + /** * Sets the visibility state. * @@ -1239,44 +879,15 @@ declare namespace Xrm */ setFocus(): void; } - - /** - * Interface for controls which methods provide immediate feedback or take actions as user types in a control. - * Contains methods which can be used to perform data validations in a control even before the user commits (saves) the value in a form. - */ - export interface UiKeyPressable - { - /** - * Use this to add a function as an event handler for the keypress event so that the function is called when you type a character in the specific text or number field. - * For a sample JavaScript code that uses the addOnKeyPress method to configure the auto-completion experience, see Sample: Auto-complete in CRM controls. - * - * @param {ContextSensitiveHandler} handler The function reference. - */ - addOnKeyPress( handler: ContextSensitiveHandler ): void; - - /** - * Use this to manually fire an event handler that you created for a specific text or number field to be executed on the keypress event. - */ - fireOnKeyPress(): void; - - /** - * Use this to remove an event handler for a text or number field that you added using addOnKeyPress. - * - * Remarks: If an anonymous function is set using addOnKeyPress, it can’t be removed using this method. - * @param {ContextSensitiveHandler} handler The function reference. - */ - removeOnKeyPress( handler: ContextSensitiveHandler ): void; - } /** * Interface for Result value of AutoCompleteResultSet */ - export interface AutoCompleteResult - { + export interface AutoCompleteResult { /** * The Identifier */ - id: string | number; + id: string|number; /** * Url of the icon to display @@ -1292,8 +903,7 @@ declare namespace Xrm /** * Interface for command of AutoCompleteResultSet. This is displayed at the bottom of the auto complete view */ - export interface AutoCompleteCommand - { + export interface AutoCompleteCommand { /** * The Identifier */ @@ -1318,8 +928,7 @@ declare namespace Xrm /** * Interface for showAutoComplete argument */ - export interface AutoCompleteResultSet - { + export interface AutoCompleteResultSet { /** * Results to show */ @@ -1374,17 +983,17 @@ declare namespace Xrm export interface Privilege { /** - * True if the user can read. + * true if the user can read. */ canRead: boolean; /** - * True if the user can update. + * true if the user can update. */ canUpdate: boolean; /** - * True if the user can create. + * true if the user can create. */ canCreate: boolean; } @@ -1423,7 +1032,7 @@ declare namespace Xrm * string */ getAttributeType(): string; - + /** * Gets the attribute format. * @@ -1444,7 +1053,7 @@ declare namespace Xrm * timezone (optionset) * url (string) */ - getFormat(): AttributeFormat; + getFormat(): string; /** * Gets a boolean value indicating whether this Attribute has unsaved changes. @@ -1502,7 +1111,7 @@ declare namespace Xrm * * @param {string} requirementLevel The requirement level, as either "none", "required", or "recommended" */ - setRequiredLevel( requirementLevel: RequirementLevel | string ): void; + setRequiredLevel(requirementLevel: RequirementLevel | string): void; /** * Sets the submit mode. @@ -1511,26 +1120,12 @@ declare namespace Xrm * * @remarks The default value is "dirty" */ - setSubmitMode( submitMode: SubmitMode | string ): void; + setSubmitMode(submitMode: SubmitMode | string): void; /** * A collection of all the controls on the form that interface with this attribute. */ controls: Collection.ItemCollection; - - /** - * Gets the value. - * - * @return The value. - */ - getValue(): any; - - /** - * Sets the value. - * - * @param {any} value The value. - */ - setValue( value: any ): void; } /** @@ -1540,16 +1135,6 @@ declare namespace Xrm */ export interface NumberAttribute extends Attribute { - /** - * Gets the attribute format. - * - * @return The format of the attribute. - * - * @remarks Values returned are: duration - * none - */ - getFormat(): IntegerAttributeFormat; - /** * Gets the maximum value allowed. * @@ -1586,11 +1171,6 @@ declare namespace Xrm * @remarks Attributes on Quick Create Forms will not save values set with this method. */ setValue( value: number ): void; - - /** - * A collection of all the controls on the form that interface with this attribute. - */ - controls: Collection.ItemCollection; } /** @@ -1600,20 +1180,6 @@ declare namespace Xrm */ export interface StringAttribute extends Attribute { - /** - * Gets the attribute format. - * - * @return The format of the attribute. - * - * @remarks Values returned are: email - * phone - * text - * textarea - * tickersymbol - * url - */ - getFormat(): StringAttributeFormat; - /** * Gets maximum length allowed. * @@ -1640,11 +1206,6 @@ declare namespace Xrm * with this method. */ setValue( value: string ): void; - - /** - * A collection of all the controls on the form that interface with this attribute. - */ - controls: Collection.ItemCollection; } /** @@ -1658,8 +1219,7 @@ declare namespace Xrm * Gets the initial value of the attribute. * * @return The initial value. - * - * @remarks Valid for OptionSet and boolean attribute types + * @remarks Valid for optionset and boolean attribute types */ getInitialValue(): number | boolean; } @@ -1695,16 +1255,6 @@ declare namespace Xrm */ export interface DateAttribute extends Attribute { - /** - * Gets the attribute format. - * - * @return The format of the attribute. - * - * @remarks Values returned are: date - * datetime - */ - getFormat(): DateAttributeFormat; - /** * Gets the value. * @@ -1720,11 +1270,6 @@ declare namespace Xrm * @remarks Attributes on Quick Create Forms will not save values set with this method. */ setValue( value: Date ): void; - - /** - * A collection of all the controls on the form that interface with this attribute. - */ - controls: Collection.ItemCollection; } /** @@ -1734,16 +1279,6 @@ declare namespace Xrm */ export interface OptionSetAttribute extends EnumAttribute { - /** - * Gets the attribute format. - * - * @return The format of the attribute. - * - * @remarks Values returned are: language - * timezone - */ - getFormat(): OptionSetAttributeFormat; - /** * Gets the option matching a value. * @@ -1801,11 +1336,6 @@ declare namespace Xrm * with this method. */ setValue( value: number ): void; - - /** - * A collection of all the controls on the form that interface with this attribute. - */ - controls: Collection.ItemCollection; } /** @@ -1837,11 +1367,6 @@ declare namespace Xrm * @remarks Attributes on Quick Create Forms will not save values set with this method. */ setValue( value: LookupValue[] ): void; - - /** - * A collection of all the controls on the form that interface with this attribute. - */ - controls: Collection.ItemCollection; } /** @@ -1939,7 +1464,6 @@ declare namespace Xrm * Gets save mode, as an integer. * * @return The save mode. - * * @remarks Values returned are: 1 Save * 2 Save and Close * 59 Save and New @@ -1964,7 +1488,6 @@ declare namespace Xrm /** * Prevents the save operation from being submitted to the server. - * * @remarks All remaining "on save" handlers will continue execution. */ preventDefault(): void; @@ -2108,7 +1631,6 @@ declare namespace Xrm * Called when process change methods have completed. * * @param {string} status The result of the process change operation. - * * @remarks Values returned are: success (The operation succeeded.) * crossEntity (The previous stage is for a different entity.) * beginning (The active stage is the first stage of the active path.) @@ -2123,19 +1645,29 @@ declare namespace Xrm */ export type ProcessDictionary = { [index: string]: string }; } - + /** * Interface for Xrm.Page.ui controls. * * @sa UiElement */ - export interface Control extends UiLabelElement, UiCanGetVisibleElement + export interface Control extends UiElement, UiFocusable { /** - * Gets the controls type. + * Clears the notification identified by uniqueId. + * + * @param {string} uniqueId (Optional) Unique identifier. + * + * @return true if it succeeds, false if it fails. + * + * @remarks If the uniqueId parameter is not used, the current notification shown will be removed. + */ + clearNotification( uniqueId?: string ): boolean; + + /** + * Gets the control's type. * * @return The control type. - * * @remarks Values returned are: standard * iframe * lookup @@ -2145,12 +1677,16 @@ declare namespace Xrm * notes * timercontrol * kbsearch (CRM Online Only, use parature.d.ts) - * quickform (see ui.QuickForm) - * customcontrol: . (A custom control for mobile phone and tablet clients). - * customsubgrid: . (A custom dataset control for mobile phone and tablet clients). */ - getControlType(): ControlType | string; - + getControlType(): string; + + /** + * Gets a boolean value, indicating whether the control is disabled. + * + * @return true if it is disabled, otherwise false. + */ + getDisabled(): boolean; + /** * Gets the name of the control on the form. * @@ -2175,33 +1711,7 @@ declare namespace Xrm * @return The parent Section. */ getParent(): Section; - } - - /** - * Interface for a standard control. - * - * @sa Control - */ - export interface StandardControl extends Control, UiStandardElement, UiFocusable - { - /** - * Clears the notification identified by uniqueId. - * - * @param {string} uniqueId (Optional) Unique identifier. - * - * @return true if it succeeds, false if it fails. - * - * @remarks If the uniqueId parameter is not used, the current notification shown will be removed. - */ - clearNotification( uniqueId?: string ): boolean; - - /** - * Gets a boolean value, indicating whether the control is disabled. - * - * @return true if it is disabled, otherwise false. - */ - getDisabled(): boolean; - + /** * Sets the state of the control to either enabled, or disabled. * @@ -2221,7 +1731,15 @@ declare namespace Xrm * appears next to the control. Tapping on the icon will display the message. */ setNotification( message: string, uniqueId: string ): boolean; + } + /** + * Interface for a standard control. + * + * @sa Control + */ + export interface StandardControl extends Control + { /** * Gets the control's bound attribute. * @@ -2238,17 +1756,28 @@ declare namespace Xrm */ getAttribute(): Attribute; } - + /** - * Interface for Auto Lookup Control. - * This is not an Entity Lookup, but a control that supports AutoComplete / KeyPress Events (Text or Number) - * - * @remarks This interface is not supported for CRM mobile clients (phones or tablets) and the interactive service hub. It is only available for Updated entities. + * Interace for Auto Lookup Control + * This is not an Entity Lookup, but a control that supports AutoComplete/KeyPress Events (Text) + * NOTE * This interface is not supported for CRM mobile clients (phones or tablets) and the interactive service hub. It is only available for Updated entities. * * @sa StandardControl */ - export interface AutoLookupControl extends StandardControl, UiKeyPressable - { + export interface AutoLookupControl extends StandardControl { + /** + * Use this to add a function as an event handler for the keypress event so that the function is called when you type a character in the specific text or number field. + * For a sample JavaScript code that uses the addOnKeyPress method to configure the auto-completion experience, see Sample: Auto-complete in CRM controls. + * + * @param {ContextSensitiveHandler} handler The function reference. + */ + addOnKeyPress(handler: ContextSensitiveHandler): void; + + /** + * Use this to manually fire an event handler that you created for a specific text or number field to be executed on the keypress event. + */ + fireOnKeyPress(): void; + /** * Gets the latest value in a control as the user types characters in a specific text or number field. * This method helps you to build interactive experiences by validating data and alerting users as they type characters in a control. @@ -2261,7 +1790,15 @@ declare namespace Xrm * Hides the auto-completion drop-down list configured for a specific text field */ hideAutoComplete(): void; - + + /** + * Use this to remove an event handler for a text or number field that you added using addOnKeyPress. + * + * Remarks: If an anonymous function is set using addOnKeyPress, it can’t be removed using this method. + * @param {ContextSensitiveHandler} handler The function reference. + */ + removeOnKeyPress(handler: ContextSensitiveHandler): void; + /** * Shows upt to 10 matching strings in a drop-down list as users press keys to type charactrer in a specific text field. * On selecting an item in the drop-down list, the value in the text field changes to the selected item, the drop-down list disappears, and the OnChange event for the text field is invoked @@ -2270,36 +1807,6 @@ declare namespace Xrm showAutoComplete(resultSet: AutoCompleteResultSet): void; } - /** - * Interface for a String control. - * - * @sa StandardControl - */ - export interface StringControl extends AutoLookupControl - { - /** - * Gets the control's bound attribute. - * - * @return The attribute. - */ - getAttribute(): StringAttribute; - } - - /** - * Interface for a Number control. - * - * @sa StandardControl - */ - export interface NumberControl extends AutoLookupControl - { - /** - * Gets the control's bound attribute. - * - * @return The attribute. - */ - getAttribute(): NumberAttribute; - } - /** * Interface for a Date control. * @@ -2603,7 +2110,7 @@ declare namespace Xrm * @sa UiElement * @sa UiFocusable */ - export interface Tab extends UiStandardElement, UiFocusable + export interface Tab extends UiElement, UiFocusable { /** * Gets display state of the tab. @@ -2644,7 +2151,7 @@ declare namespace Xrm * * @sa UiElement */ - export interface Section extends UiStandardElement + export interface Section extends UiElement { /** * Gets the name of the section. @@ -2676,14 +2183,14 @@ declare namespace Xrm */ export type FormNotificationLevel = "ERROR" | "INFO" | "WARNING"; - /** + /** * Display States for Xrm.ui.ProcessMonitor.setDisplayState(). - */ + */ export type DisplayState = "collapsed" | "expanded"; - /** + /** * Interface for Xrm.Page.ui.process API - */ + */ export interface ProcessManager { /** @@ -2691,7 +2198,7 @@ declare namespace Xrm * * @param {string} displayState Display state of the process flow control, as either "expanded" or "collapsed" */ - setDisplayState( displayState: ui.DisplayState ): void; + setDisplayState(displayState: ui.DisplayState ): void; /** * Sets the visibility state. @@ -2823,7 +2330,7 @@ declare namespace Xrm } /** - * Interface for a view selector item. This object contains data that identifies a view. Use this as a parameter to + * Interface for a view selector item. This object contains data that identifies a view. Use this as a parameter to * the ViewSelector.setCurrentView method. */ export interface ViewSelectorItem @@ -2835,93 +2342,6 @@ declare namespace Xrm */ getEntityReference(): LookupValue; } - - /** - * Interface for a quick view control instance on a form. - * - * @see {@link https://msdn.microsoft.com/en-us/library/mt736908.aspx#bkmk_isLoaded} for details. - */ - export interface QuickForm extends Control, UiLabelElement, UiCanGetVisibleElement - { - /** - * Gets the constituent controls in a quick view control. - * - * @return An array of controls. - * - * @remarks Constituent controls in a quick view control are read only. - */ - getControl(): Page.Control[]; - - /** - * Gets the constituent controls in a quick view control. - * - * @tparam T A Control type - * @param {string} controlName Name of the control. - * - * @return The control. - * - * @remarks Constituent controls in a quick view control are read only. - */ - getControl( controlName: string ): T; - - /** - * Gets the constituent controls in a quick view control. - * - * @param {string} controlName Name of the control. - * - * @return The control. - * - * @remarks Constituent controls in a quick view control are read only. - */ - getControl( controlName: string ): Page.Control; - - /** - * Gets a control by index. - * - * @tparam T A Control type - * @param {number} index The control index. - * - * @return The control. - * - * @remarks Constituent controls in a quick view control are read only. - */ - getControl( index: number ): T; - - /** - * Gets a control by index. - * - * @param {number} index The control index. - * - * @return The control. - * - * @remarks Constituent controls in a quick view control are read only. - */ - getControl( index: number ): Page.Control; - - /** - * Gets the controls type. - * - * @return Returns a string value that categorizes quick view controls. - */ - getControlType(): "quickform"; - - /** - * Returns whether the data binding for the constituent controls in a quick view control is complete. - * - * @return True is the data binding for a constituent control is complete, otherwise false. - * because the quick view form that the control is bound to may not have loaded completely. - * As a result, using the getAttribute or any data-related methods on a constituent control might not work. - * The isLoaded method for the quick view control helps determine the data binding status for constituent controls in a quick view control. - * - * @remarks The data binding for the constituent controls in a quick view control may not be complete during the main form OnLoad event - */ - isLoaded(): boolean; - - /** - * Refreshes the data displayed in a quick view control. - */ - refresh(): void; - } } /** @@ -2930,7 +2350,7 @@ declare namespace Xrm * @sa UiElement * @sa UiFocusable */ - export interface NavigationItem extends UiStandardElement, UiFocusable + export interface NavigationItem extends UiElement, UiFocusable { /** * Gets the name of the item. @@ -3007,13 +2427,11 @@ declare namespace Xrm /** * Command Bar Display options for Xrm.Url.FormOpenParameters.cmdbar, Xrm.Url.ViewOpenParameters.cmdbar, and Xrm.Utility.FormOpenParameters.cmdbar. */ - export type CmdBarDisplay = "true" | "false"; /** * Navigation Bar Display options for Xrm.Url.FormOpenParameters.navbar, Xrm.Url.ViewOpenParameters.navbar, and Xrm.Utility.FormOpenParameters.navbar. */ export type NavBarDisplay = "entity" | "off" | "on"; - /** * Report Open Action options for Xrm.Url.ReportOpenParameters.actions. */ diff --git a/xrm/xrm-tests.ts b/xrm/xrm-tests.ts index 56d8f32b3c..1893b9b89a 100644 --- a/xrm/xrm-tests.ts +++ b/xrm/xrm-tests.ts @@ -75,8 +75,7 @@ Xrm.Utility.openQuickCreate("account").then(( object ) => { if (object) alert( ` /// Make all controls visible. -// Xrm.Page.ui.controls.forEach(( control ) => { control.setVisible( true ); }); // No longer works -Xrm.Page.ui.controls.forEach((control: Xrm.Page.StandardControl) => { control.setVisible(true); }); // Must cast to StandardControl +Xrm.Page.ui.controls.forEach(( control ) => { control.setVisible( true ); }); /// Make all tabs and sections visible. @@ -167,28 +166,4 @@ autoCompleteControl.hideAutoComplete(); -/// Demonstrate v8.2 quick form controls - -const quickForm = Xrm.Page.ui.quickForms.get(0); -quickForm.getControlType(); // == "quickform" -quickForm.getName(); -quickForm.getParent(); -quickForm.getVisible(); // From UiCanSetVisibleElement -quickForm.getLabel(); // From UiLabelElement -quickForm.setLabel("Label"); // From UiLabelElement -quickForm.refresh(); - -// Get standard control -const ctrl = Xrm.Page.getControl("controlName"); -ctrl.getControlType() -ctrl.getName(); -ctrl.getParent(); -ctrl.getLabel(); -ctrl.setLabel("Label name"); -ctrl.getVisible(); -ctrl.setVisible(true); - - - - From 0c3a0003e1858ece009bc33f93e25cd2c6970886 Mon Sep 17 00:00:00 2001 From: clownwilleatme Date: Tue, 7 Feb 2017 10:34:09 +1100 Subject: [PATCH 424/613] Adding XRM v8.2 --- xrm/index.d.ts | 836 ++++++++++++++++++++++++++++++++++++++++------- xrm/xrm-tests.ts | 26 +- 2 files changed, 734 insertions(+), 128 deletions(-) diff --git a/xrm/index.d.ts b/xrm/index.d.ts index 36bd556c13..01c627f33d 100644 --- a/xrm/index.d.ts +++ b/xrm/index.d.ts @@ -93,7 +93,7 @@ declare namespace Xrm * Gets a control matching controlName. * * @tparam T A Control type - * @param {string} controlName Name of the control. + * @param {string} controlName Name of the control. * * @return The control. */ @@ -102,12 +102,22 @@ declare namespace Xrm /** * Gets a control matching controlName. * - * @param {string} controlName Name of the control. + * @param {string} controlName Name of the control. * * @return The control. */ getControl( controlName: string ): Page.Control; + /** + * Gets a control by index. + * + * @tparam T A Control type + * @param {number} index The control index. + * + * @return The control. + */ + getControl( index: number ): T; + /** * Gets a control by index. * @@ -166,11 +176,10 @@ declare namespace Xrm * @param {OpenParameters} parameters (Optional) A dictionary object that passes extra query string * parameters to the form. Invalid query string parameters will cause an * error. + * @return {Async.XrmPromise} Returns an asynchronous promise. */ - openQuickCreate( - entityLogicalName: string, - createFromEntity?: Page.LookupValue, - parameters?: Utility.OpenParameters ): Async.XrmPromise; + openQuickCreate( entityLogicalName: string, createFromEntity?: Page.LookupValue, parameters?: Utility.OpenParameters ): + Async.XrmPromise; /** * Opens an entity form. @@ -205,16 +214,194 @@ declare namespace Xrm */ openWebResource( webResourceName: string, webResourceData?: string, width?: number, height?: number ): Window; } + + /** + * Provides methods to create and manage records in the mobile clients (for phones tablets). + */ + Mobile: { + /** + * Provides methods to create and manage records in the mobile clients while working in the offline mode. + * + * @see {@link https://msdn.microsoft.com/en-us/library/mt787123.aspx} for details. + */ + offline: { + /** + * Returns whether an entity is offline enabled. + * + * @param {string} entityType The logical name of the entity. + * + * @return {boolean} True if the entity is offline enabled; otherwise False. + */ + isOfflineEnabled( entityType: string ): boolean; + + /** + * Creates an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {Object} data A dictionary object containing key : value pairs for the record to create. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks You cannot create intersect and activity party entities. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + createRecord( entityType: string, data: { [attributeName: string]: any } ): Async.XrmPromise; + + /** + * Retrieves an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} id GUID of the record to retrieve. + * @param {string} options (Optional) OData system query options to retrieve your data. Supports $select and $expand + * Example: ?$select=name&$expand=primarycontactid($select=contactid,fullname) + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks Only $select option can be specified within $expand. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + retrieveRecord( entityType: string, id: string, options: string ): Async.XrmPromise; + + /** + * Retrieves a collection of entity records in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} options (Optional) The logical name of the enti + * @param {string} maxPageSize (Optional) A positive number to indicates the number of entity records to be returned per page. + * If you do not specify this parameter, the default value is passed as 5000. + * If the number of records being retrieved is more than maxPageSize, an @odata.nextLink property + * will be returned, and you can use the value of the @odata.nextLink property with a new GET + * request to return next set of records. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks A maximum of 5000 related records can be retrieved when using $expand. + * Only $select option can be specified within $expand. + * $skip query option is not supported. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + retrieveMultipleRecords( entityType: string, options: string, maxPageSize: number ): Async.XrmPromise; + + /** + * Updates an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} id GUID of the record to update. + * @param {Object} data A dictionary object containing key : value pairs for the record to update. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks You cannot update intersect and activity party entities. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + updateRecord( entityType: string, id: string, data: { [attributeName: string]: any } ): Async.XrmPromise; + + /** + * Deletes an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} id GUID of the record to delete. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks You cannot delete intersect and activity party entities. + */ + deleteRecord( entityType: string, id: string ): Async.XrmPromise; + } + } + + /** + * Provides methods to display a web page in the side pane of web client. + * + * @see {@link https://msdn.microsoft.com/en-us/library/mt790281.aspx} for details. + */ + Panel: { + /** + * Displays the web page represented by a URL in the static area in the side pane, which appears on all pages in the web client. + * + * @param {string} url URL of the page to be loaded in the side pane static area. + * @param {string} url Title of the side pane static area. + * + * @remarks This method is only supported for the web client. + */ + LoadPanel( url: string, title: string ): void; + } } /** * Client Types for Xrm.Page.context.getClient(). */ export type Client = "Web" | "Outlook" | "Mobile"; + /** * Client States for Xrm.Page.context.getClientState(). */ export type ClientState = "Online" | "Offline"; + /** * Themes for Xrm.Page.context.getCurrentTheme(). */ @@ -254,6 +441,7 @@ declare namespace Xrm * Gets client's base URL for Dynamics CRM * * @return The client's base URL + * * @remarks For Dynamics CRM On-Premises: http(s)://server/org * For Dynamics CRM Online: https://org.crm.dynamics.com * For Dynamics CRM for Outlook (Offline): http://localhost:2525 @@ -354,6 +542,20 @@ declare namespace Xrm prependOrgName( sPath: string ): string; } + /** + * Defines save options to control how appointment, recurring appointment, or service activity records are processed. + * + * @see {@link https://msdn.microsoft.com/en-us/library/dn481607.aspx#Anchor_2} for details. + */ + interface SaveOptions + { + /** + * Indicates whether to use the Book or Reschedule messages rather than the Create or Update messages. + * Applicable to appointment, recurring appointment, or service activity records. + */ + UseSchedulingEngine?: boolean; + } + /** * Interface for the Xrm.Page.data object. */ @@ -364,16 +566,25 @@ declare namespace Xrm * * @param {boolean} save true to save the record, after the refresh. * - * @return An Async.XrmPromise. + * @return {Async.XrmPromise} Returns an asynchronous promise. */ - refresh( save: boolean ): Async.XrmPromise; + refresh( save: boolean ): Async.XrmPromise; /** * Asynchronously saves the record. * - * @return An Async.XrmPromise. + * @return {Async.XrmPromise} Returns an asynchronous promise. */ - save(): Async.XrmPromise; + save(): Async.XrmPromise; + + /** + * Asynchronously saves the record with the option to set callback functions to be executed after the save operation is completed. + * + * @param {saveOptions} saveOptions Options to control how appointment, recurring appointment, or service activity records are processed. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + */ + save( saveOptions: SaveOptions ): Async.XrmPromise; /** * The record context of the form. @@ -393,12 +604,28 @@ declare namespace Xrm */ export interface Ui { + /** + * Displays a form level notification. Any number of notifications can be displayed and will remain until removed using clearFormNotification. + * The height of the notification area is limited so each new message will be added to the top. + * + * @param {string} message The text of the notification message. + * @param {Page.ui.FormNotificationLevel} level The level of the notification which defines how the message will be displayed, such as the icon. + * @param {string} uniqueId Unique identifier for the notification which is used with clearFormNotification to remove the notification. + * + * @return true if it succeeds, otherwise false. + * + * @remarks Values for level are: ERROR Notification will use the system error icon. + * WARNING Notification will use the system warning icon. + * INFO Notification will use the system info icon. + */ + setFormNotification( message: string, level: Page.ui.FormNotificationLevel | string, uniqueId: string ): boolean; + /** * Clears the form notification described by uniqueId. * * @param {string} uniqueId Unique identifier. * - * @return true if it succeeds, otherwise false. + * @return True if it succeeds, otherwise false. */ clearFormNotification( uniqueId: string ): boolean; @@ -441,14 +668,15 @@ declare namespace Xrm getViewPortWidth(): number; /** - * Re-evaluates the ribbon's configured EnableRules + * Re-evaluates the ribbon's configured EnableRules. * * @remarks This method does not work with Microsoft Dynamics CRM for tablets. */ refreshRibbon(): void; - setFormNotification(message: string, level: Page.ui.FormNotificationLevel | string, uniqueId: string ): boolean; - + /** + * The business process flow API, used to interact with the business process flow control in a form. + */ process: Page.ui.ProcessManager; /** @@ -474,6 +702,11 @@ declare namespace Xrm * A reference to the collection of tabs on the form. */ tabs: Collection.ItemCollection; + + /** + * A collection of all the quick view controls on a form using the new form rendering engine (also called "turbo forms"). + */ + quickForms: Collection.ItemCollection; } /** @@ -481,38 +714,115 @@ declare namespace Xrm */ export module Async { - /** - * Object passed to ErrorCallbackDelegate - */ - export interface ErrorCallbackObject - { - errorCode: number; - message: string; - } - - export interface SuccessCallbackObject - { - savedEntityReference: Page.LookupValue; - } - /** * Called when the operation is successful. - * Currently, only the Xrm.Utility.openQuickCreate successCallback - * is passed a parameter so an optional parameter for it is included */ - export type SuccessCallbackDelegate = (object?: SuccessCallbackObject ) => void; - + export type SuccessCallbackDelegate = () => void; + /** * Called when the operation fails. * - * @param {ErrorCallbackObject} error The error object + * @param {ErrorCallbackObject} error The error object. */ export type ErrorCallbackDelegate = ( error: ErrorCallbackObject ) => void; /** - * Interface for Xrm.Page.data promises. + * Called when the Xrm.Utility.openQuickCreate operation is successful and a new record has been created. + * + * @param {OpenQuickCreateSuccessCallbackObject} record An object which contains a lookup value which identifies the record which has been created. + * + * @see {Xrm.Utility.openQuickCreate} */ - export interface XrmPromise + export type QuickCreateSuccessCallbackDelegate = ( record: OpenQuickCreateSuccessCallbackObject ) => void; + + /** + * Called when the offline operation is successful. + * + * @param {OfflineOperationSuccessCallbackObject} record The record returned from the operation. + * + * @see {Xrm.Mobile.offline} + */ + export type OfflineOperationSuccessCallbackDelegate = ( record: OfflineOperationSuccessCallbackObject ) => void; + + /** + * Called when the offline retrieve multiple operation is successful. + * + * @param {OfflineRetrieveMultipleSuccessCallbackDelegate} resultSet The dictionary of records retrieved from the operation. + * + * @see {Xrm.Mobile.offline.retrieveMultipleRecords} + */ + export type OfflineRetrieveMultipleSuccessCallbackDelegate = (resultSet: { [key: string]: any }[]) => void; + + /** + * Called when the operation fails. + * + * @param {OfflineErrorCallbackObject} error The error object. + * + * @see {Xrm.Mobile.offline} + */ + export type OfflineErrorCallbackDelegate = (error: OfflineErrorCallbackObject) => void; + + + /** + * Object passed to ErrorCallbackDelegate. + */ + export interface ErrorCallbackObject + { + /** + * The error code. + */ + errorCode: number; + + /** + * An error message describing the issue. + */ + message: string; + } + + /** + * Object passed to QuickCreateSuccessCallbackDelegate. + */ + export interface OpenQuickCreateSuccessCallbackObject + { + /** + * A lookup value which identifies the record which has been created. + */ + savedEntityReference: Page.LookupValue; + } + + /** + * Object passed to OfflineOperationSuccessCallbackDelegate; + */ + export interface OfflineOperationSuccessCallbackObject + { + /** + * GUID of the record; + */ + id: string; + /** + * Logical name of the entity. + */ + logicalName: string; + } + + /** + * Object passed to OfflineErrorCallbackDelegate. + */ + export interface OfflineErrorCallbackObject extends ErrorCallbackObject + { + /** + * An internal error message that might contain additional details about the issue. + */ + debugMessage: string; + } + + /** + * Interface for asynchronous promises used in Xrm.Page.data and Xrm.Utility.openQuickCreate. + * + * @tparam TSuccessCallback Generic success callback parameter. + * @tparam TErrorCallback Generic error callback parameter. + */ + export interface XrmPromise { /** * A basic 'then' promise. @@ -520,7 +830,7 @@ declare namespace Xrm * @param {SuccessCallbackDelegate} successCallback The success callback. * @param {ErrorCallbackDelegate} errorCallback The error callback. */ - then( successCallback: SuccessCallbackDelegate, errorCallback: ErrorCallbackDelegate ): void; + then( successCallback: TSuccessCallback, errorCallback: TErrorCallback ): void; } } @@ -633,19 +943,57 @@ declare namespace Xrm * Requirement Level for Xrm.Page.Attribute.getRequiredLevel() and Xrm.Page.Attribute.setRequiredLevel(). */ export type RequirementLevel = "none" | "recommended" | "required"; + /** * Save Modes for Xrm.Page.Entity.save(). */ export type SaveMode = "saveandclose" | "saveandnew"; + /** * Status for Xrm.Page.Stage.getStatus(). */ export type Status = "active" | "inactive"; + /** * Submit Mode for Xrm.Page.Attribute.getSubmitMode() and Xrm.Page.Attribute.setSubmitMode(). */ export type SubmitMode = "always" | "dirty" | "never"; + + /** + * Control types for Xrm.Page.Control.getControlType(). + */ + export type ControlType = "standard" | "iframe" | "lookup" | "optionset" | "subgrid" | "webresource" | "notes" | "timercontrol" | "kbsearch" | "quickform"; + /** + * Date attribute formats for Xrm.Page.Attribute.getFormat(), used by DateAttribute. + */ + export type DateAttributeFormat = "date" | "datetime"; + + /** + * Integer attribute formats for Xrm.Page.Attribute.getFormat(), used by NumberAttribute. + */ + export type IntegerAttributeFormat = "duration" | "none"; + + /** + * OptionSet attribute formats for Xrm.Page.Attribute.getFormat(), used by OptionSetAttribute. + */ + export type OptionSetAttributeFormat = "language" | "timezone"; + + /** + * String attribute formats for Xrm.Page.Attribute.getFormat(), used by StringAttribute. + */ + export type StringAttributeFormat = "email" | "phone" | "text" | "textarea" | "tickersymbol" | "url"; + + /** + * Attribute types for Xrm.ui.ProcessMonitor Xrm.Page.Attribute.setDisplayState(). + */ + export type AttributeType = "boolean" | "datetime" | "decimal" | "double" | "integer" | "lookup" | "memo" | "money" | "optionset" | "string"; + + /** + * Attribute formats for Xrm.Page.Attribute.getFormat(). + */ + export type AttributeFormat = DateAttributeFormat | IntegerAttributeFormat | OptionSetAttributeFormat | StringAttributeFormat; + /** * Interface for a CRM Business Process Flow instance. */ @@ -836,9 +1184,9 @@ declare namespace Xrm } /** - * Base interface for UI elements. + * Interface for UI elements with labels. */ - export interface UiElement + export interface UiLabelElement { /** * Gets the label. @@ -846,21 +1194,33 @@ declare namespace Xrm * @return The label. */ getLabel(): string; - - /** - * Gets the visibility state. - * - * @return true if the tab is visible, otherwise false. - */ - getVisible(): boolean; - + /** * Sets the label. * * @param {string} label The label. */ setLabel( label: string ): void; + } + /** + * Interface for UI elements which can have the visibility value read. + */ + export interface UiCanGetVisibleElement + { + /** + * Gets the visibility state. + * + * @return true if the tab is visible, otherwise false. + */ + getVisible(): boolean; + } + + /** + * Base interface for standard UI elements. + */ + export interface UiStandardElement extends UiCanGetVisibleElement, UiLabelElement + { /** * Sets the visibility state. * @@ -879,15 +1239,44 @@ declare namespace Xrm */ setFocus(): void; } + + /** + * Interface for controls which methods provide immediate feedback or take actions as user types in a control. + * Contains methods which can be used to perform data validations in a control even before the user commits (saves) the value in a form. + */ + export interface UiKeyPressable + { + /** + * Use this to add a function as an event handler for the keypress event so that the function is called when you type a character in the specific text or number field. + * For a sample JavaScript code that uses the addOnKeyPress method to configure the auto-completion experience, see Sample: Auto-complete in CRM controls. + * + * @param {ContextSensitiveHandler} handler The function reference. + */ + addOnKeyPress( handler: ContextSensitiveHandler ): void; + + /** + * Use this to manually fire an event handler that you created for a specific text or number field to be executed on the keypress event. + */ + fireOnKeyPress(): void; + + /** + * Use this to remove an event handler for a text or number field that you added using addOnKeyPress. + * + * Remarks: If an anonymous function is set using addOnKeyPress, it can’t be removed using this method. + * @param {ContextSensitiveHandler} handler The function reference. + */ + removeOnKeyPress( handler: ContextSensitiveHandler ): void; + } /** * Interface for Result value of AutoCompleteResultSet */ - export interface AutoCompleteResult { + export interface AutoCompleteResult + { /** * The Identifier */ - id: string|number; + id: string | number; /** * Url of the icon to display @@ -903,7 +1292,8 @@ declare namespace Xrm /** * Interface for command of AutoCompleteResultSet. This is displayed at the bottom of the auto complete view */ - export interface AutoCompleteCommand { + export interface AutoCompleteCommand + { /** * The Identifier */ @@ -928,7 +1318,8 @@ declare namespace Xrm /** * Interface for showAutoComplete argument */ - export interface AutoCompleteResultSet { + export interface AutoCompleteResultSet + { /** * Results to show */ @@ -983,17 +1374,17 @@ declare namespace Xrm export interface Privilege { /** - * true if the user can read. + * True if the user can read. */ canRead: boolean; /** - * true if the user can update. + * True if the user can update. */ canUpdate: boolean; /** - * true if the user can create. + * True if the user can create. */ canCreate: boolean; } @@ -1032,7 +1423,7 @@ declare namespace Xrm * string */ getAttributeType(): string; - + /** * Gets the attribute format. * @@ -1053,7 +1444,7 @@ declare namespace Xrm * timezone (optionset) * url (string) */ - getFormat(): string; + getFormat(): AttributeFormat; /** * Gets a boolean value indicating whether this Attribute has unsaved changes. @@ -1111,7 +1502,7 @@ declare namespace Xrm * * @param {string} requirementLevel The requirement level, as either "none", "required", or "recommended" */ - setRequiredLevel(requirementLevel: RequirementLevel | string): void; + setRequiredLevel( requirementLevel: RequirementLevel | string ): void; /** * Sets the submit mode. @@ -1120,12 +1511,26 @@ declare namespace Xrm * * @remarks The default value is "dirty" */ - setSubmitMode(submitMode: SubmitMode | string): void; + setSubmitMode( submitMode: SubmitMode | string ): void; /** * A collection of all the controls on the form that interface with this attribute. */ controls: Collection.ItemCollection; + + /** + * Gets the value. + * + * @return The value. + */ + getValue(): any; + + /** + * Sets the value. + * + * @param {any} value The value. + */ + setValue( value: any ): void; } /** @@ -1135,6 +1540,16 @@ declare namespace Xrm */ export interface NumberAttribute extends Attribute { + /** + * Gets the attribute format. + * + * @return The format of the attribute. + * + * @remarks Values returned are: duration + * none + */ + getFormat(): IntegerAttributeFormat; + /** * Gets the maximum value allowed. * @@ -1171,6 +1586,11 @@ declare namespace Xrm * @remarks Attributes on Quick Create Forms will not save values set with this method. */ setValue( value: number ): void; + + /** + * A collection of all the controls on the form that interface with this attribute. + */ + controls: Collection.ItemCollection; } /** @@ -1180,6 +1600,20 @@ declare namespace Xrm */ export interface StringAttribute extends Attribute { + /** + * Gets the attribute format. + * + * @return The format of the attribute. + * + * @remarks Values returned are: email + * phone + * text + * textarea + * tickersymbol + * url + */ + getFormat(): StringAttributeFormat; + /** * Gets maximum length allowed. * @@ -1206,6 +1640,11 @@ declare namespace Xrm * with this method. */ setValue( value: string ): void; + + /** + * A collection of all the controls on the form that interface with this attribute. + */ + controls: Collection.ItemCollection; } /** @@ -1219,7 +1658,8 @@ declare namespace Xrm * Gets the initial value of the attribute. * * @return The initial value. - * @remarks Valid for optionset and boolean attribute types + * + * @remarks Valid for OptionSet and boolean attribute types */ getInitialValue(): number | boolean; } @@ -1255,6 +1695,16 @@ declare namespace Xrm */ export interface DateAttribute extends Attribute { + /** + * Gets the attribute format. + * + * @return The format of the attribute. + * + * @remarks Values returned are: date + * datetime + */ + getFormat(): DateAttributeFormat; + /** * Gets the value. * @@ -1270,6 +1720,11 @@ declare namespace Xrm * @remarks Attributes on Quick Create Forms will not save values set with this method. */ setValue( value: Date ): void; + + /** + * A collection of all the controls on the form that interface with this attribute. + */ + controls: Collection.ItemCollection; } /** @@ -1279,6 +1734,16 @@ declare namespace Xrm */ export interface OptionSetAttribute extends EnumAttribute { + /** + * Gets the attribute format. + * + * @return The format of the attribute. + * + * @remarks Values returned are: language + * timezone + */ + getFormat(): OptionSetAttributeFormat; + /** * Gets the option matching a value. * @@ -1336,6 +1801,11 @@ declare namespace Xrm * with this method. */ setValue( value: number ): void; + + /** + * A collection of all the controls on the form that interface with this attribute. + */ + controls: Collection.ItemCollection; } /** @@ -1367,6 +1837,11 @@ declare namespace Xrm * @remarks Attributes on Quick Create Forms will not save values set with this method. */ setValue( value: LookupValue[] ): void; + + /** + * A collection of all the controls on the form that interface with this attribute. + */ + controls: Collection.ItemCollection; } /** @@ -1464,6 +1939,7 @@ declare namespace Xrm * Gets save mode, as an integer. * * @return The save mode. + * * @remarks Values returned are: 1 Save * 2 Save and Close * 59 Save and New @@ -1488,6 +1964,7 @@ declare namespace Xrm /** * Prevents the save operation from being submitted to the server. + * * @remarks All remaining "on save" handlers will continue execution. */ preventDefault(): void; @@ -1631,6 +2108,7 @@ declare namespace Xrm * Called when process change methods have completed. * * @param {string} status The result of the process change operation. + * * @remarks Values returned are: success (The operation succeeded.) * crossEntity (The previous stage is for a different entity.) * beginning (The active stage is the first stage of the active path.) @@ -1645,29 +2123,19 @@ declare namespace Xrm */ export type ProcessDictionary = { [index: string]: string }; } - + /** * Interface for Xrm.Page.ui controls. * * @sa UiElement */ - export interface Control extends UiElement, UiFocusable + export interface Control extends UiLabelElement, UiCanGetVisibleElement { /** - * Clears the notification identified by uniqueId. - * - * @param {string} uniqueId (Optional) Unique identifier. - * - * @return true if it succeeds, false if it fails. - * - * @remarks If the uniqueId parameter is not used, the current notification shown will be removed. - */ - clearNotification( uniqueId?: string ): boolean; - - /** - * Gets the control's type. + * Gets the controls type. * * @return The control type. + * * @remarks Values returned are: standard * iframe * lookup @@ -1677,16 +2145,12 @@ declare namespace Xrm * notes * timercontrol * kbsearch (CRM Online Only, use parature.d.ts) + * quickform (see ui.QuickForm) + * customcontrol: . (A custom control for mobile phone and tablet clients). + * customsubgrid: . (A custom dataset control for mobile phone and tablet clients). */ - getControlType(): string; - - /** - * Gets a boolean value, indicating whether the control is disabled. - * - * @return true if it is disabled, otherwise false. - */ - getDisabled(): boolean; - + getControlType(): ControlType | string; + /** * Gets the name of the control on the form. * @@ -1711,7 +2175,33 @@ declare namespace Xrm * @return The parent Section. */ getParent(): Section; - + } + + /** + * Interface for a standard control. + * + * @sa Control + */ + export interface StandardControl extends Control, UiStandardElement, UiFocusable + { + /** + * Clears the notification identified by uniqueId. + * + * @param {string} uniqueId (Optional) Unique identifier. + * + * @return true if it succeeds, false if it fails. + * + * @remarks If the uniqueId parameter is not used, the current notification shown will be removed. + */ + clearNotification( uniqueId?: string ): boolean; + + /** + * Gets a boolean value, indicating whether the control is disabled. + * + * @return true if it is disabled, otherwise false. + */ + getDisabled(): boolean; + /** * Sets the state of the control to either enabled, or disabled. * @@ -1731,15 +2221,7 @@ declare namespace Xrm * appears next to the control. Tapping on the icon will display the message. */ setNotification( message: string, uniqueId: string ): boolean; - } - /** - * Interface for a standard control. - * - * @sa Control - */ - export interface StandardControl extends Control - { /** * Gets the control's bound attribute. * @@ -1756,28 +2238,17 @@ declare namespace Xrm */ getAttribute(): Attribute; } - + /** - * Interace for Auto Lookup Control - * This is not an Entity Lookup, but a control that supports AutoComplete/KeyPress Events (Text) - * NOTE * This interface is not supported for CRM mobile clients (phones or tablets) and the interactive service hub. It is only available for Updated entities. + * Interface for Auto Lookup Control. + * This is not an Entity Lookup, but a control that supports AutoComplete / KeyPress Events (Text or Number) + * + * @remarks This interface is not supported for CRM mobile clients (phones or tablets) and the interactive service hub. It is only available for Updated entities. * * @sa StandardControl */ - export interface AutoLookupControl extends StandardControl { - /** - * Use this to add a function as an event handler for the keypress event so that the function is called when you type a character in the specific text or number field. - * For a sample JavaScript code that uses the addOnKeyPress method to configure the auto-completion experience, see Sample: Auto-complete in CRM controls. - * - * @param {ContextSensitiveHandler} handler The function reference. - */ - addOnKeyPress(handler: ContextSensitiveHandler): void; - - /** - * Use this to manually fire an event handler that you created for a specific text or number field to be executed on the keypress event. - */ - fireOnKeyPress(): void; - + export interface AutoLookupControl extends StandardControl, UiKeyPressable + { /** * Gets the latest value in a control as the user types characters in a specific text or number field. * This method helps you to build interactive experiences by validating data and alerting users as they type characters in a control. @@ -1790,15 +2261,7 @@ declare namespace Xrm * Hides the auto-completion drop-down list configured for a specific text field */ hideAutoComplete(): void; - - /** - * Use this to remove an event handler for a text or number field that you added using addOnKeyPress. - * - * Remarks: If an anonymous function is set using addOnKeyPress, it can’t be removed using this method. - * @param {ContextSensitiveHandler} handler The function reference. - */ - removeOnKeyPress(handler: ContextSensitiveHandler): void; - + /** * Shows upt to 10 matching strings in a drop-down list as users press keys to type charactrer in a specific text field. * On selecting an item in the drop-down list, the value in the text field changes to the selected item, the drop-down list disappears, and the OnChange event for the text field is invoked @@ -1807,6 +2270,36 @@ declare namespace Xrm showAutoComplete(resultSet: AutoCompleteResultSet): void; } + /** + * Interface for a String control. + * + * @sa StandardControl + */ + export interface StringControl extends AutoLookupControl + { + /** + * Gets the control's bound attribute. + * + * @return The attribute. + */ + getAttribute(): StringAttribute; + } + + /** + * Interface for a Number control. + * + * @sa StandardControl + */ + export interface NumberControl extends AutoLookupControl + { + /** + * Gets the control's bound attribute. + * + * @return The attribute. + */ + getAttribute(): NumberAttribute; + } + /** * Interface for a Date control. * @@ -2110,7 +2603,7 @@ declare namespace Xrm * @sa UiElement * @sa UiFocusable */ - export interface Tab extends UiElement, UiFocusable + export interface Tab extends UiStandardElement, UiFocusable { /** * Gets display state of the tab. @@ -2151,7 +2644,7 @@ declare namespace Xrm * * @sa UiElement */ - export interface Section extends UiElement + export interface Section extends UiStandardElement { /** * Gets the name of the section. @@ -2183,14 +2676,14 @@ declare namespace Xrm */ export type FormNotificationLevel = "ERROR" | "INFO" | "WARNING"; - /** + /** * Display States for Xrm.ui.ProcessMonitor.setDisplayState(). - */ + */ export type DisplayState = "collapsed" | "expanded"; - /** + /** * Interface for Xrm.Page.ui.process API - */ + */ export interface ProcessManager { /** @@ -2198,7 +2691,7 @@ declare namespace Xrm * * @param {string} displayState Display state of the process flow control, as either "expanded" or "collapsed" */ - setDisplayState(displayState: ui.DisplayState ): void; + setDisplayState( displayState: ui.DisplayState ): void; /** * Sets the visibility state. @@ -2330,7 +2823,7 @@ declare namespace Xrm } /** - * Interface for a view selector item. This object contains data that identifies a view. Use this as a parameter to + * Interface for a view selector item. This object contains data that identifies a view. Use this as a parameter to * the ViewSelector.setCurrentView method. */ export interface ViewSelectorItem @@ -2342,6 +2835,93 @@ declare namespace Xrm */ getEntityReference(): LookupValue; } + + /** + * Interface for a quick view control instance on a form. + * + * @see {@link https://msdn.microsoft.com/en-us/library/mt736908.aspx#bkmk_isLoaded} for details. + */ + export interface QuickForm extends Control, UiLabelElement, UiCanGetVisibleElement + { + /** + * Gets the constituent controls in a quick view control. + * + * @return An array of controls. + * + * @remarks Constituent controls in a quick view control are read only. + */ + getControl(): Page.Control[]; + + /** + * Gets the constituent controls in a quick view control. + * + * @tparam T A Control type + * @param {string} controlName Name of the control. + * + * @return The control. + * + * @remarks Constituent controls in a quick view control are read only. + */ + getControl( controlName: string ): T; + + /** + * Gets the constituent controls in a quick view control. + * + * @param {string} controlName Name of the control. + * + * @return The control. + * + * @remarks Constituent controls in a quick view control are read only. + */ + getControl( controlName: string ): Page.Control; + + /** + * Gets a control by index. + * + * @tparam T A Control type + * @param {number} index The control index. + * + * @return The control. + * + * @remarks Constituent controls in a quick view control are read only. + */ + getControl( index: number ): T; + + /** + * Gets a control by index. + * + * @param {number} index The control index. + * + * @return The control. + * + * @remarks Constituent controls in a quick view control are read only. + */ + getControl( index: number ): Page.Control; + + /** + * Gets the controls type. + * + * @return Returns a string value that categorizes quick view controls. + */ + getControlType(): "quickform"; + + /** + * Returns whether the data binding for the constituent controls in a quick view control is complete. + * + * @return True is the data binding for a constituent control is complete, otherwise false. + * because the quick view form that the control is bound to may not have loaded completely. + * As a result, using the getAttribute or any data-related methods on a constituent control might not work. + * The isLoaded method for the quick view control helps determine the data binding status for constituent controls in a quick view control. + * + * @remarks The data binding for the constituent controls in a quick view control may not be complete during the main form OnLoad event + */ + isLoaded(): boolean; + + /** + * Refreshes the data displayed in a quick view control. + */ + refresh(): void; + } } /** @@ -2350,7 +2930,7 @@ declare namespace Xrm * @sa UiElement * @sa UiFocusable */ - export interface NavigationItem extends UiElement, UiFocusable + export interface NavigationItem extends UiStandardElement, UiFocusable { /** * Gets the name of the item. @@ -2427,11 +3007,13 @@ declare namespace Xrm /** * Command Bar Display options for Xrm.Url.FormOpenParameters.cmdbar, Xrm.Url.ViewOpenParameters.cmdbar, and Xrm.Utility.FormOpenParameters.cmdbar. */ + export type CmdBarDisplay = "true" | "false"; /** * Navigation Bar Display options for Xrm.Url.FormOpenParameters.navbar, Xrm.Url.ViewOpenParameters.navbar, and Xrm.Utility.FormOpenParameters.navbar. */ export type NavBarDisplay = "entity" | "off" | "on"; + /** * Report Open Action options for Xrm.Url.ReportOpenParameters.actions. */ @@ -2709,4 +3291,4 @@ declare namespace XrmEnum SystemView = 1039, UserView = 4230 } -} +} \ No newline at end of file diff --git a/xrm/xrm-tests.ts b/xrm/xrm-tests.ts index 1893b9b89a..fd371c94de 100644 --- a/xrm/xrm-tests.ts +++ b/xrm/xrm-tests.ts @@ -75,7 +75,8 @@ Xrm.Utility.openQuickCreate("account").then(( object ) => { if (object) alert( ` /// Make all controls visible. -Xrm.Page.ui.controls.forEach(( control ) => { control.setVisible( true ); }); +// Xrm.Page.ui.controls.forEach(( control ) => { control.setVisible( true ); }); // No longer works +Xrm.Page.ui.controls.forEach((control: Xrm.Page.StandardControl) => { control.setVisible(true); }); // Must cast to StandardControl /// Make all tabs and sections visible. @@ -166,4 +167,27 @@ autoCompleteControl.hideAutoComplete(); +/// Demonstrate v8.2 quick form controls + +const quickForm = Xrm.Page.ui.quickForms.get(0); +quickForm.getControlType(); // == "quickform" +quickForm.getName(); +quickForm.getParent(); +quickForm.getVisible(); // From UiCanSetVisibleElement +quickForm.getLabel(); // From UiLabelElement +quickForm.setLabel("Label"); // From UiLabelElement +quickForm.refresh(); + +// Get standard control +const ctrl = Xrm.Page.getControl("controlName"); +ctrl.getControlType() +ctrl.getName(); +ctrl.getParent(); +ctrl.getLabel(); +ctrl.setLabel("Label name"); +ctrl.getVisible(); +ctrl.setVisible(true); + + + From ff6194f4930bf11767ffc9f54a82f0c2a8968292 Mon Sep 17 00:00:00 2001 From: clownwilleatme Date: Tue, 7 Feb 2017 14:27:08 +1100 Subject: [PATCH 425/613] Xrm.Mobile.offline interface, string unions - Moving Xrm.Mobile and Xrm.Mobile.offline into interfaces. - Removing union string types for: - Xrm.Page.ui.setFormNotification - Xrm.Page.Attribute.setSubmitMode - Xrm.Page.data.entity.save - Xrm.Page.Attribute.setDisplayState --- xrm/index.d.ts | 336 +++++++++++++++++++++++++------------------------ 1 file changed, 175 insertions(+), 161 deletions(-) diff --git a/xrm/index.d.ts b/xrm/index.d.ts index 01c627f33d..821d7ff111 100644 --- a/xrm/index.d.ts +++ b/xrm/index.d.ts @@ -117,7 +117,7 @@ declare namespace Xrm * @return The control. */ getControl( index: number ): T; - + /** * Gets a control by index. * @@ -218,162 +218,8 @@ declare namespace Xrm /** * Provides methods to create and manage records in the mobile clients (for phones tablets). */ - Mobile: { - /** - * Provides methods to create and manage records in the mobile clients while working in the offline mode. - * - * @see {@link https://msdn.microsoft.com/en-us/library/mt787123.aspx} for details. - */ - offline: { - /** - * Returns whether an entity is offline enabled. - * - * @param {string} entityType The logical name of the entity. - * - * @return {boolean} True if the entity is offline enabled; otherwise False. - */ - isOfflineEnabled( entityType: string ): boolean; + Mobile: Mobile; - /** - * Creates an entity record in mobile clients while working in the offline mode. - * - * @param {string} entityType The logical name of the entity. - * @param {Object} data A dictionary object containing key : value pairs for the record to create. - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - * - * @remarks You cannot create intersect and activity party entities. - * Only the following attribute types are supported in offline mode: BigInt - * Boolean - * Customer - * DateTime - * Decimal - * Double - * EntityName - * Integer - * Lookup - * Memo - * Money - * Owner - * Picklist - * String - * State - * Status - * UniqueIdentifier - */ - createRecord( entityType: string, data: { [attributeName: string]: any } ): Async.XrmPromise; - - /** - * Retrieves an entity record in mobile clients while working in the offline mode. - * - * @param {string} entityType The logical name of the entity. - * @param {string} id GUID of the record to retrieve. - * @param {string} options (Optional) OData system query options to retrieve your data. Supports $select and $expand - * Example: ?$select=name&$expand=primarycontactid($select=contactid,fullname) - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - * - * @remarks Only $select option can be specified within $expand. - * Only the following attribute types are supported in offline mode: BigInt - * Boolean - * Customer - * DateTime - * Decimal - * Double - * EntityName - * Integer - * Lookup - * Memo - * Money - * Owner - * Picklist - * String - * State - * Status - * UniqueIdentifier - */ - retrieveRecord( entityType: string, id: string, options: string ): Async.XrmPromise; - - /** - * Retrieves a collection of entity records in mobile clients while working in the offline mode. - * - * @param {string} entityType The logical name of the entity. - * @param {string} options (Optional) The logical name of the enti - * @param {string} maxPageSize (Optional) A positive number to indicates the number of entity records to be returned per page. - * If you do not specify this parameter, the default value is passed as 5000. - * If the number of records being retrieved is more than maxPageSize, an @odata.nextLink property - * will be returned, and you can use the value of the @odata.nextLink property with a new GET - * request to return next set of records. - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - * - * @remarks A maximum of 5000 related records can be retrieved when using $expand. - * Only $select option can be specified within $expand. - * $skip query option is not supported. - * Only the following attribute types are supported in offline mode: BigInt - * Boolean - * Customer - * DateTime - * Decimal - * Double - * EntityName - * Integer - * Lookup - * Memo - * Money - * Owner - * Picklist - * String - * State - * Status - * UniqueIdentifier - */ - retrieveMultipleRecords( entityType: string, options: string, maxPageSize: number ): Async.XrmPromise; - - /** - * Updates an entity record in mobile clients while working in the offline mode. - * - * @param {string} entityType The logical name of the entity. - * @param {string} id GUID of the record to update. - * @param {Object} data A dictionary object containing key : value pairs for the record to update. - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - * - * @remarks You cannot update intersect and activity party entities. - * Only the following attribute types are supported in offline mode: BigInt - * Boolean - * Customer - * DateTime - * Decimal - * Double - * EntityName - * Integer - * Lookup - * Memo - * Money - * Owner - * Picklist - * String - * State - * Status - * UniqueIdentifier - */ - updateRecord( entityType: string, id: string, data: { [attributeName: string]: any } ): Async.XrmPromise; - - /** - * Deletes an entity record in mobile clients while working in the offline mode. - * - * @param {string} entityType The logical name of the entity. - * @param {string} id GUID of the record to delete. - * - * @return {Async.XrmPromise} Returns an asynchronous promise. - * - * @remarks You cannot delete intersect and activity party entities. - */ - deleteRecord( entityType: string, id: string ): Async.XrmPromise; - } - } - /** * Provides methods to display a web page in the side pane of web client. * @@ -618,7 +464,7 @@ declare namespace Xrm * WARNING Notification will use the system warning icon. * INFO Notification will use the system info icon. */ - setFormNotification( message: string, level: Page.ui.FormNotificationLevel | string, uniqueId: string ): boolean; + setFormNotification( message: string, level: Page.ui.FormNotificationLevel, uniqueId: string ): boolean; /** * Clears the form notification described by uniqueId. @@ -709,6 +555,174 @@ declare namespace Xrm quickForms: Collection.ItemCollection; } + /** + * Interface for methods to create and manage records in the mobile clients (for phones tablets). + */ + export interface Mobile + { + /** + * Provides methods to create and manage records in the mobile clients while working in the offline mode. + * + * @see {@link https://msdn.microsoft.com/en-us/library/mt787123.aspx} for details. + */ + offline: MobileOffline; + } + + /** + * Interface for the Mobile.offline methods to create and manage records in the mobile clients while working in the offline mode. + * + * @see {@link https://msdn.microsoft.com/en-us/library/mt787123.aspx} for details. + */ + export interface MobileOffline + { + /** + * Returns whether an entity is offline enabled. + * + * @param {string} entityType The logical name of the entity. + * + * @return {boolean} True if the entity is offline enabled; otherwise False. + */ + isOfflineEnabled( entityType: string ): boolean; + + /** + * Creates an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {Object} data A dictionary object containing key : value pairs for the record to create. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks You cannot create intersect and activity party entities. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + createRecord( entityType: string, data: { [attributeName: string]: any } ): Async.XrmPromise; + + /** + * Retrieves an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} id GUID of the record to retrieve. + * @param {string} options (Optional) OData system query options to retrieve your data. Supports $select and $expand + * Example: ?$select=name&$expand=primarycontactid($select=contactid,fullname) + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks Only $select option can be specified within $expand. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + retrieveRecord( entityType: string, id: string, options: string ): Async.XrmPromise; + + /** + * Retrieves a collection of entity records in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} options (Optional) The logical name of the enti + * @param {string} maxPageSize (Optional) A positive number to indicates the number of entity records to be returned per page. + * If you do not specify this parameter, the default value is passed as 5000. + * If the number of records being retrieved is more than maxPageSize, an @odata.nextLink property + * will be returned, and you can use the value of the @odata.nextLink property with a new GET + * request to return next set of records. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks A maximum of 5000 related records can be retrieved when using $expand. + * Only $select option can be specified within $expand. + * $skip query option is not supported. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + retrieveMultipleRecords( entityType: string, options: string, maxPageSize: number ): Async.XrmPromise; + + /** + * Updates an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} id GUID of the record to update. + * @param {Object} data A dictionary object containing key : value pairs for the record to update. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks You cannot update intersect and activity party entities. + * Only the following attribute types are supported in offline mode: BigInt + * Boolean + * Customer + * DateTime + * Decimal + * Double + * EntityName + * Integer + * Lookup + * Memo + * Money + * Owner + * Picklist + * String + * State + * Status + * UniqueIdentifier + */ + updateRecord( entityType: string, id: string, data: { [attributeName: string]: any } ): Async.XrmPromise; + + /** + * Deletes an entity record in mobile clients while working in the offline mode. + * + * @param {string} entityType The logical name of the entity. + * @param {string} id GUID of the record to delete. + * + * @return {Async.XrmPromise} Returns an asynchronous promise. + * + * @remarks You cannot delete intersect and activity party entities. + */ + deleteRecord( entityType: string, id: string ): Async.XrmPromise; + } + /** * A definition module for asynchronous interface declarations. */ @@ -1502,7 +1516,7 @@ declare namespace Xrm * * @param {string} requirementLevel The requirement level, as either "none", "required", or "recommended" */ - setRequiredLevel( requirementLevel: RequirementLevel | string ): void; + setRequiredLevel( requirementLevel: RequirementLevel ): void; /** * Sets the submit mode. @@ -1511,7 +1525,7 @@ declare namespace Xrm * * @remarks The default value is "dirty" */ - setSubmitMode( submitMode: SubmitMode | string ): void; + setSubmitMode( submitMode: SubmitMode ): void; /** * A collection of all the controls on the form that interface with this attribute. @@ -1922,7 +1936,7 @@ declare namespace Xrm * @param {string} saveMode (Optional) the save mode to save, as either "saveandclose" or * "saveandnew". */ - save( saveMode: SaveMode | string): void; + save( saveMode: SaveMode ): void; /** * The collection of attributes for the record. @@ -2631,7 +2645,7 @@ declare namespace Xrm * * @param {string} displayState Display state of the tab, as either "expanded" or "collapsed" */ - setDisplayState(displayState: ui.DisplayState | string ): void; + setDisplayState(displayState: ui.DisplayState ): void; /** * A reference to the collection of form sections within this tab. From 892bc67f321c1db486862bb29a73bc9af4565b2f Mon Sep 17 00:00:00 2001 From: clownwilleatme Date: Tue, 7 Feb 2017 17:08:22 +1100 Subject: [PATCH 426/613] Modifying the unit test to fix errors Modify the unit test to set the string variables which are used for calls to attribute.setSubmitMode and attribute.setRequiredLevel to use const strings as strings declared as var or let fail. This is by design for string union types in TypeScript - see: https://github.com/Microsoft/TypeScript/issues/9489 --- xrm/xrm-tests.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xrm/xrm-tests.ts b/xrm/xrm-tests.ts index fd371c94de..1242236f36 100644 --- a/xrm/xrm-tests.ts +++ b/xrm/xrm-tests.ts @@ -124,15 +124,15 @@ Xrm.Page.ui.setFormNotification("Test", level, "uniqueId"); /// Demonstrate Requirement Level and Submit Mode both via string parameters and String Literal Types let requirementLevel: Xrm.Page.RequirementLevel = "none"; -let requirementLevelString = "none"; +const requirementLevelString = "none"; let submitMode: Xrm.Page.SubmitMode = "always"; -let submitModeString = "always"; +const submitModeString = "always"; let attribute = Xrm.Page.getAttribute("customerid"); attribute.setSubmitMode(submitMode); -attribute.setSubmitMode(submitMode); +attribute.setSubmitMode(submitModeString); // Works if the string is a const attribute.setRequiredLevel(requirementLevel); -attribute.setRequiredLevel(requirementLevelString); +attribute.setRequiredLevel(requirementLevelString); // Works if the string is a const /// Demonstrate v8 AutoComplete From ec8c18fc630ee0cf41d38aa28c1fb381c97b951b Mon Sep 17 00:00:00 2001 From: Sindre Moen Date: Tue, 7 Feb 2017 09:07:44 +0100 Subject: [PATCH 427/613] Specify TypeScript version 2.1 --- mongoose/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/mongoose/index.d.ts b/mongoose/index.d.ts index 0ede2141a8..2c7361a437 100644 --- a/mongoose/index.d.ts +++ b/mongoose/index.d.ts @@ -2,6 +2,7 @@ // Project: http://mongoosejs.com/ // Definitions by: simonxca , horiuchi , sindrenm // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// /// From 0deee581f54a47beeb1ebc35f0755145e7a358a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 7 Feb 2017 09:52:44 +0100 Subject: [PATCH 428/613] cannot redeclare block-scoped variable fix --- range-parser/index.d.ts | 3 +-- range-parser/range-parser-tests.ts | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/range-parser/index.d.ts b/range-parser/index.d.ts index ceb5e17ff6..e90f448e11 100644 --- a/range-parser/index.d.ts +++ b/range-parser/index.d.ts @@ -3,7 +3,7 @@ // Definitions by: Tomek Åaziuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -declare const RangeParser: RangeParser.RangeParser; +declare function RangeParser(size: number, str: string, options?: RangeParser.Options): RangeParser.Result | RangeParser.Ranges; declare namespace RangeParser { export interface Ranges extends Array { @@ -20,7 +20,6 @@ declare namespace RangeParser { invaild = -2, unsatisifiable = -1, } - export type RangeParser = (size: number, str: string, options?: Options) => Result | Ranges; } export = RangeParser; diff --git a/range-parser/range-parser-tests.ts b/range-parser/range-parser-tests.ts index d3d70563bb..77dab456c1 100644 --- a/range-parser/range-parser-tests.ts +++ b/range-parser/range-parser-tests.ts @@ -5,5 +5,7 @@ console.assert(RangeParser(200, `bytes=500-20`) === RangeParser.Result.unsatisif const range = RangeParser(1000, `bytes=0-499`); -console.assert(range.type === `bytes`); -console.assert(range.length === 1); +if (typeof range !== 'number') { + console.assert(range.type === `bytes`); + console.assert(range.length === 1); +} From 5a1e852204023a4027259065348da69752459afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 7 Feb 2017 10:32:18 +0100 Subject: [PATCH 429/613] add undocumented properties --- webtorrent/index.d.ts | 26 +++++++++++++++----------- webtorrent/webtorrent-tests.ts | 1 - 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/webtorrent/index.d.ts b/webtorrent/index.d.ts index 074adccb74..554094421e 100644 --- a/webtorrent/index.d.ts +++ b/webtorrent/index.d.ts @@ -5,9 +5,10 @@ /// -import * as ParseTorrent from 'parse-torrent'; -import * as SimplePeer from 'simple-peer'; -import * as http from 'http'; +import { Instance as ParseTorrent } from 'parse-torrent'; +import { Instance as SimplePeer } from 'simple-peer'; +import { RequestOptions, Server } from 'http'; +import { Wire } from 'bittorrent-protocol'; declare const WebTorrent: WebTorrent.WebTorrent; @@ -32,14 +33,15 @@ declare namespace WebTorrent { maxWebConns?: number; path?: string; store?: (chunkLength: number, storeOpts: { length: number, files: File[], torrent: Torrent, }) => any; + name?: string; } export interface Instance extends NodeJS.EventEmitter { on(event: 'torrent', callback: (torrent: Torrent) => void): this; on(event: 'error', callback: (err: Error | string) => void): this; - add(torrent: string | Buffer | ParseTorrent.Instance, opts?: TorrentOptions, cb?: (torrent: Torrent) => any): Torrent; - add(torrent: string | Buffer | ParseTorrent.Instance, cb?: (torrent: Torrent) => any): Torrent; + add(torrent: string | Buffer | ParseTorrent, opts?: TorrentOptions, cb?: (torrent: Torrent) => any): Torrent; + add(torrent: string | Buffer | ParseTorrent, cb?: (torrent: Torrent) => any): Torrent; seed(input: string | string[] | File | File[] | FileList | Buffer | Buffer[] | NodeJS.ReadableStream | NodeJS.ReadableStream[], opts?: TorrentOptions, cb?: (torrent: Torrent) => any): Torrent; seed(input: string | string[] | File | File[] | FileList | Buffer | Buffer[] | NodeJS.ReadableStream | NodeJS.ReadableStream[], cb?: (torrent: Torrent) => any): Torrent; @@ -59,6 +61,8 @@ declare namespace WebTorrent { readonly progress: number; readonly ratio: number; + + readonly name: string; } export interface Torrent extends NodeJS.EventEmitter { @@ -92,19 +96,21 @@ declare namespace WebTorrent { readonly path: string; + readonly ready: boolean; + destroy(cb?: (err: Error | string) => void): void; - addPeer(peer: string | SimplePeer.Instance): boolean; + addPeer(peer: string | SimplePeer): boolean; addWebSeed(url: string): void; - removePeer(peer: string | SimplePeer.Instance): void; + removePeer(peer: string | SimplePeer): void; select(start: number, end: number, priority?: number, notify?: () => void): void; deselect(start: number, end: number, priority: number): void; - createServer(opts?: http.RequestOptions): http.Server; + createServer(opts?: RequestOptions): Server; pause(): void; @@ -112,13 +118,11 @@ declare namespace WebTorrent { on(event: 'infoHash' | 'metadata' | 'ready' | 'done', callback: () => void): this; - on(event: 'warning' | 'error', callback: (err: Error | string) => void): this; on(event: 'download' | 'upload', callback: (bytes: number) => void): this; - // TODO: wire is a bittorrent-protocol instance - on(event: 'wire', callback: (wire: any, addr?: string) => void): this; + on(event: 'wire', callback: (wire: Wire, addr?: string) => void): this; on(event: 'noPeers', callback: (announceType: 'tracker' | 'dht') => void): this; } diff --git a/webtorrent/webtorrent-tests.ts b/webtorrent/webtorrent-tests.ts index 895d734817..ba08944d58 100644 --- a/webtorrent/webtorrent-tests.ts +++ b/webtorrent/webtorrent-tests.ts @@ -52,7 +52,6 @@ client.add(magnetURI, {}, function(torrent) { torrent.on('wire', function(wire, addr) { console.log('connected to peer with address ' + addr); - wire.use(); }); }); From a8aab5614bb014c0302982d88185deaf59dcc5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 7 Feb 2017 10:58:02 +0100 Subject: [PATCH 430/613] fix --- webtorrent/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webtorrent/index.d.ts b/webtorrent/index.d.ts index 554094421e..207015f871 100644 --- a/webtorrent/index.d.ts +++ b/webtorrent/index.d.ts @@ -61,8 +61,6 @@ declare namespace WebTorrent { readonly progress: number; readonly ratio: number; - - readonly name: string; } export interface Torrent extends NodeJS.EventEmitter { @@ -98,6 +96,8 @@ declare namespace WebTorrent { readonly ready: boolean; + readonly name: string; + destroy(cb?: (err: Error | string) => void): void; addPeer(peer: string | SimplePeer): boolean; From 91ffde5df1f7067254394d117d3654faea23c862 Mon Sep 17 00:00:00 2001 From: Steven Liekens Date: Tue, 7 Feb 2017 11:13:11 +0100 Subject: [PATCH 431/613] Improve declaration of FunctionColumnData Resolves #12686 --- jquery.datatables/index.d.ts | 3 ++- jquery.datatables/jquery.datatables-tests.ts | 11 +++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/jquery.datatables/index.d.ts b/jquery.datatables/index.d.ts index 5d1bbd50c9..2640dbabe6 100644 --- a/jquery.datatables/index.d.ts +++ b/jquery.datatables/index.d.ts @@ -1587,7 +1587,8 @@ declare namespace DataTables { } interface FunctionColumnData { - (row: any, t: string, s: any, meta: CellMetaSettings): void; + (row: any, t: 'set', s: any, meta: CellMetaSettings): void; + (row: any, t: 'display' | 'sort' | 'filter' | 'type', s: undefined, meta: CellMetaSettings): any; } interface ObjectColumnData { diff --git a/jquery.datatables/jquery.datatables-tests.ts b/jquery.datatables/jquery.datatables-tests.ts index 1bf6e26593..3bcc931a5f 100644 --- a/jquery.datatables/jquery.datatables-tests.ts +++ b/jquery.datatables/jquery.datatables-tests.ts @@ -43,10 +43,17 @@ $(document).ready(function () { sort: "asc" }; - var colDataFunc: DataTables.FunctionColumnData = function (row, type, set, meta) { + var colDataFunc: DataTables.FunctionColumnData = (row: any, type: 'set' | 'display' | 'sort' | 'filter' | 'type', set: any, meta: DataTables.CellMetaSettings) => { meta.col; meta.row; meta.settings; + switch (type) { + case 'set': + row.value = set; + return; + default: + return row.value; + } }; var colRenderObject: DataTables.ObjectColumnRender = { @@ -276,7 +283,7 @@ $(document).ready(function () { bScrollbarLeft: true, bScrollOversize: true } - + //#endregion //#region "Init" From 4a8052290cc86a13f677cc25a5a9b82a64318b47 Mon Sep 17 00:00:00 2001 From: Yaroslav Serhieiev Date: Tue, 7 Feb 2017 13:08:46 +0200 Subject: [PATCH 432/613] jasmine: added keyof validation to spyOn --- jasmine-es6-promise-matchers/index.d.ts | 1 + jasmine-expect/index.d.ts | 1 + jasmine-jquery/index.d.ts | 1 + jasmine-matchers/index.d.ts | 1 + jasmine-node/index.d.ts | 1 + jasmine-promise-matchers/index.d.ts | 1 + jasmine/index.d.ts | 3 ++- jasminewd2/index.d.ts | 1 + karma-jasmine/index.d.ts | 1 + 9 files changed, 10 insertions(+), 1 deletion(-) diff --git a/jasmine-es6-promise-matchers/index.d.ts b/jasmine-es6-promise-matchers/index.d.ts index 493a6a5312..89e3146c2c 100644 --- a/jasmine-es6-promise-matchers/index.d.ts +++ b/jasmine-es6-promise-matchers/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/bvaughn/jasmine-es6-promise-matchers // Definitions by: Stephen Lautier // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// diff --git a/jasmine-expect/index.d.ts b/jasmine-expect/index.d.ts index c8ffd8dced..c2ee7e0ee5 100644 --- a/jasmine-expect/index.d.ts +++ b/jasmine-expect/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/JamieMason/Jasmine-Matchers // Definitions by: UserPixel // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// diff --git a/jasmine-jquery/index.d.ts b/jasmine-jquery/index.d.ts index cbd713fd37..fb91e0c37b 100644 --- a/jasmine-jquery/index.d.ts +++ b/jasmine-jquery/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/velesin/jasmine-jquery // Definitions by: Gregor Stamac // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// /// diff --git a/jasmine-matchers/index.d.ts b/jasmine-matchers/index.d.ts index 23990c8364..ac44d25c1c 100644 --- a/jasmine-matchers/index.d.ts +++ b/jasmine-matchers/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/uxebu/jasmine-matchers // Definitions by: Bart van der Schoor // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /* Typings 2013 Bart van der Schoor diff --git a/jasmine-node/index.d.ts b/jasmine-node/index.d.ts index 59a3b11d8a..5c8022d706 100644 --- a/jasmine-node/index.d.ts +++ b/jasmine-node/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/mhevery/jasmine-node // Definitions by: Sven Reglitzki // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// diff --git a/jasmine-promise-matchers/index.d.ts b/jasmine-promise-matchers/index.d.ts index 1693c9fdca..c511019b62 100644 --- a/jasmine-promise-matchers/index.d.ts +++ b/jasmine-promise-matchers/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/bvaughn/jasmine-promise-matchers // Definitions by: Matthew Hill // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// diff --git a/jasmine/index.d.ts b/jasmine/index.d.ts index 7bf232acba..e18361dec4 100644 --- a/jasmine/index.d.ts +++ b/jasmine/index.d.ts @@ -2,6 +2,7 @@ // Project: http://jasmine.github.io/ // Definitions by: Boris Yankov , Theodore Brown , David Pärsson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 // For ddescribe / iit use : https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/karma-jasmine/karma-jasmine.d.ts @@ -35,7 +36,7 @@ interface DoneFn extends Function { fail: (message?: Error|string) => void; } -declare function spyOn(object: any, method: string): jasmine.Spy; +declare function spyOn(object: T, method: keyof T): jasmine.Spy; declare function runs(asyncMethod: Function): void; declare function waitsFor(latchMethod: () => boolean, failureMessage?: string, timeout?: number): void; diff --git a/jasminewd2/index.d.ts b/jasminewd2/index.d.ts index cff5236b50..9d8ecde76e 100644 --- a/jasminewd2/index.d.ts +++ b/jasminewd2/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/angular/jasminewd // Definitions by: Sammy Jelin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// diff --git a/karma-jasmine/index.d.ts b/karma-jasmine/index.d.ts index a5f0a22f5b..46b7978251 100644 --- a/karma-jasmine/index.d.ts +++ b/karma-jasmine/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/karma-runner/karma-jasmine // Definitions by: Michel Salib // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 /// From f928cdd8f35426322dd389169c3fe782a0cb8bfe Mon Sep 17 00:00:00 2001 From: denis Date: Tue, 7 Feb 2017 12:36:59 +0100 Subject: [PATCH 433/613] Make d3-array work with stirctNullChecks Add tslint.json Set strictNullChecks to true Changes variables names in tests Add accessors functions in tests Add tests for mean, median, quantile, sum, deviation, variance and scan Add undefined to Primitive type Remove useless declarations (number extends Numeric) Add unions of undefined where needed Improve permute with keyof --- d3-array/d3-array-tests.ts | 252 +++++++++++++++---------------------- d3-array/index.d.ts | 70 +++-------- d3-array/tsconfig.json | 2 +- d3-array/tslint.json | 6 + 4 files changed, 126 insertions(+), 204 deletions(-) create mode 100644 d3-array/tslint.json diff --git a/d3-array/d3-array-tests.ts b/d3-array/d3-array-tests.ts index 26ef2d3ef5..d000d0937b 100644 --- a/d3-array/d3-array-tests.ts +++ b/d3-array/d3-array-tests.ts @@ -25,7 +25,6 @@ class NumCoercible { } } - class MixedObject { public num: number; @@ -40,18 +39,23 @@ class MixedObject { this.date = date; } } + let num: number; -let str: string; -let numeric: NumCoercible; let date: Date; -let extentNum: [number, number]; -let extentStr: [string, string]; -let extentNumeric: [NumCoercible, NumCoercible]; -let extentDateMixed: [d3Array.Primitive, d3Array.Primitive]; -let extentMixed: [d3Array.Primitive | NumCoercible, d3Array.Primitive | NumCoercible]; -let extentDate: [Date, Date]; + +let numOrUndefined: number | undefined; +let strOrUndefined: string | undefined; +let numericOrUndefined: NumCoercible | undefined; +let dateOrUndefined: Date | undefined; +let numOrUndefinedExtent: [number, number] | [undefined, undefined]; +let strOrUndefinedExtent: [string, string] | [undefined, undefined]; +let numericOrUndefinedExtent: [NumCoercible, NumCoercible] | [undefined, undefined]; +let dateMixedOrUndefined: [Date , Date] | [undefined, undefined]; +let mixedOrUndefinedExtent: [d3Array.Primitive | NumCoercible, d3Array.Primitive | NumCoercible] | [undefined, undefined]; +let dateOrUndefinedExtent: [Date, Date] | [undefined, undefined]; let numbersArray = [10, 20, 30, 40, 50]; +let numbersOrUndefinedArray = [10, 20, undefined, 40, 50]; let stringyNumbersArray = ['10', '20', '30', '40', '50']; let numericArray = [new NumCoercible(10), new NumCoercible(20), new NumCoercible(30), new NumCoercible(40), new NumCoercible(50)]; let dateArray = [new Date(2016, 6, 1), new Date(2016, 7, 30), new Date(2015, 3, 15)]; @@ -62,7 +66,27 @@ let mixedObjectArray = [ new MixedObject(40, new Date(2014, 3, 15)), new MixedObject(50, new Date(2017, 4, 15)) ]; +let mixedObjectOrUndefinedArray = [...mixedObjectArray, undefined] +function accessorMixedObjectToNum(datum: MixedObject, index: number, array: Array): number { + return datum.num; +} + +function accessorMixedObjectToStr(datum: MixedObject, index: number, array: Array): string { + return datum.str; +} + +function accessorMixedObjectToNumeric(datum: MixedObject, index: number, array: Array): NumCoercible { + return datum.numeric; +} + +function accessorMixedObjectToDate(datum: MixedObject, index: number, array: Array): Date { + return datum.date; +} + +function accessorMixedObjectToNumOrUndefined(datum: MixedObject | undefined, index: number, array: Array): number | undefined { + return datum ? datum.num : undefined; +} // ----------------------------------------------------------------------------- // Test Statistics @@ -72,186 +96,103 @@ let mixedObjectArray = [ // without accessors -num = d3Array.max(numbersArray); -str = d3Array.max(stringyNumbersArray); -numeric = d3Array.max(numericArray); -date = d3Array.max(dateArray); +numOrUndefined = d3Array.max(numbersArray); +strOrUndefined = d3Array.max(stringyNumbersArray); +numericOrUndefined = d3Array.max(numericArray); +dateOrUndefined = d3Array.max(dateArray); // with accessors -num = d3Array.max(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.num; -}); - -str = d3Array.max(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.str; -}); - -numeric = d3Array.max(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.numeric; -}); - -date = d3Array.max(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.date; -}); +numOrUndefined = d3Array.max(mixedObjectArray, accessorMixedObjectToNum); +strOrUndefined = d3Array.max(mixedObjectArray, accessorMixedObjectToStr); +numericOrUndefined = d3Array.max(mixedObjectArray, accessorMixedObjectToNumeric); +dateOrUndefined = d3Array.max(mixedObjectArray, accessorMixedObjectToDate); // min() ----------------------------------------------------------------------- // without accessors -num = d3Array.min(numbersArray); -str = d3Array.min(stringyNumbersArray); -numeric = d3Array.min(numericArray); -date = d3Array.min(dateArray); +numOrUndefined = d3Array.min(numbersArray); +strOrUndefined = d3Array.min(stringyNumbersArray); +numericOrUndefined = d3Array.min(numericArray); +dateOrUndefined = d3Array.min(dateArray); // with accessors -num = d3Array.min(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.num; -}); - -str = d3Array.min(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.str; -}); - -numeric = d3Array.min(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.numeric; -}); - -date = d3Array.min(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.date; -}); +numOrUndefined = d3Array.min(mixedObjectArray, accessorMixedObjectToNum); +strOrUndefined = d3Array.min(mixedObjectArray, accessorMixedObjectToStr); +numericOrUndefined = d3Array.min(mixedObjectArray, accessorMixedObjectToNumeric); +dateOrUndefined = d3Array.min(mixedObjectArray, accessorMixedObjectToDate); // extent() -------------------------------------------------------------------- // without accessors -extentNum = d3Array.extent(numbersArray); -extentStr = d3Array.extent(stringyNumbersArray); -extentNumeric = d3Array.extent(numericArray); -extentDate = d3Array.extent(dateArray); -extentMixed = d3Array.extent([new NumCoercible(10), 13, '12', true]); +numOrUndefinedExtent = d3Array.extent(numbersArray); +strOrUndefinedExtent = d3Array.extent(stringyNumbersArray); +numericOrUndefinedExtent = d3Array.extent(numericArray); +dateOrUndefinedExtent = d3Array.extent(dateArray); // with accessors -extentNum = d3Array.extent(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.num; -}); - -extentStr = d3Array.extent(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.str; -}); - -extentMixed = d3Array.extent(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.numeric; -}); - -extentDateMixed = d3Array.extent(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.date; -}); +numOrUndefinedExtent = d3Array.extent(mixedObjectArray, accessorMixedObjectToNum); +strOrUndefinedExtent = d3Array.extent(mixedObjectArray, accessorMixedObjectToStr); +mixedOrUndefinedExtent = d3Array.extent(mixedObjectArray, accessorMixedObjectToNumeric); +dateMixedOrUndefined = d3Array.extent(mixedObjectArray, accessorMixedObjectToDate); // mean() ---------------------------------------------------------------------- -num = d3Array.mean(numbersArray); +numOrUndefined = d3Array.mean(numbersArray); +numOrUndefined = d3Array.mean(numericArray); +numOrUndefined = d3Array.mean(numbersOrUndefinedArray); -num = d3Array.mean(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.num; -}); +numOrUndefined = d3Array.mean(mixedObjectArray, accessorMixedObjectToNum); +numOrUndefined = d3Array.mean(mixedObjectOrUndefinedArray, accessorMixedObjectToNumOrUndefined); // median() -------------------------------------------------------------------- -num = d3Array.median(numbersArray); +numOrUndefined = d3Array.median(numbersArray); +numOrUndefined = d3Array.median(numericArray); +numOrUndefined = d3Array.median(numbersOrUndefinedArray); -num = d3Array.median(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.num; -}); +numOrUndefined = d3Array.median(mixedObjectArray, accessorMixedObjectToNum); +numOrUndefined = d3Array.median(mixedObjectOrUndefinedArray, accessorMixedObjectToNumOrUndefined); // quantile() ------------------------------------------------------------------ -num = d3Array.quantile(numbersArray, 0.5); +numOrUndefined = d3Array.quantile(numbersArray, 0.5); +numOrUndefined = d3Array.quantile(numericArray, 0.5); +numOrUndefined = d3Array.quantile(numbersOrUndefinedArray, 0.5); -num = d3Array.quantile(mixedObjectArray, 0.5, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.num; -}); +numOrUndefined = d3Array.quantile(mixedObjectArray, 0.5, accessorMixedObjectToNum); +numOrUndefined = d3Array.quantile(mixedObjectOrUndefinedArray, 0.5, accessorMixedObjectToNumOrUndefined); // sum() ----------------------------------------------------------------------- +numOrUndefined = d3Array.sum(numbersArray); +numOrUndefined = d3Array.sum(numericArray); +numOrUndefined = d3Array.sum(numbersOrUndefinedArray); -num = d3Array.sum(numbersArray); - -num = d3Array.sum(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.num; -}); +numOrUndefined = d3Array.sum(mixedObjectArray, accessorMixedObjectToNum); +numOrUndefined = d3Array.sum(mixedObjectOrUndefinedArray, accessorMixedObjectToNumOrUndefined); // deviation() ----------------------------------------------------------------- -num = d3Array.deviation(numbersArray); +numOrUndefined = d3Array.deviation(numbersArray); +numOrUndefined = d3Array.deviation(numericArray); +numOrUndefined = d3Array.deviation(numbersOrUndefinedArray); -num = d3Array.deviation(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.num; -}); +numOrUndefined = d3Array.deviation(mixedObjectArray, accessorMixedObjectToNum); +numOrUndefined = d3Array.deviation(mixedObjectOrUndefinedArray, accessorMixedObjectToNumOrUndefined); // variance() ------------------------------------------------------------------ -num = d3Array.variance(numbersArray); +numOrUndefined = d3Array.variance(numbersArray); +numOrUndefined = d3Array.variance(numericArray); +numOrUndefined = d3Array.variance(numbersOrUndefinedArray); -num = d3Array.variance(mixedObjectArray, function (datum, index, array) { - let d: MixedObject = datum; - let i: number = index; - let arr: Array = array; - return datum.num; -}); +numOrUndefined = d3Array.variance(mixedObjectArray, accessorMixedObjectToNum); +numOrUndefined = d3Array.variance(mixedObjectOrUndefinedArray, accessorMixedObjectToNumOrUndefined); // ----------------------------------------------------------------------------- // Test Searching Arrays @@ -259,8 +200,18 @@ num = d3Array.variance(mixedObjectArray, function (datum, index, array) { // scan() ---------------------------------------------------------------------- -num = d3Array.scan(mixedObjectArray, function (a, b) { - return a.num - b.num; // a and b are of type MixedObject +numOrUndefined = d3Array.scan(numbersArray) + +numOrUndefined = d3Array.scan(mixedObjectArray, function (a, b) { + let aElem: MixedObject = a; + let bElem: MixedObject = b; + return a.num - b.num; +}); + +numOrUndefined = d3Array.scan(mixedObjectOrUndefinedArray, function (a, b) { + let aElem: MixedObject | undefined = a; + let bElem: MixedObject | undefined = b; + return a && b ? a.num - b.num : NaN; }); // bisectLeft() ---------------------------------------------------------------- @@ -334,12 +285,14 @@ num = mixedObjectDateBisectorObject.right(mixedObjectArray, new Date(2015, 3, 14 // ascending() ----------------------------------------------------------------- +num = d3Array.ascending(undefined, 20); num = d3Array.ascending(10, 20); num = d3Array.ascending('10', '20'); num = d3Array.ascending(new Date(2016, 6, 13), new Date(2016, 6, 14)); // descending() ---------------------------------------------------------------- +num = d3Array.descending(undefined, 20); num = d3Array.descending(10, 20); num = d3Array.descending('10', '20'); num = d3Array.descending(new Date(2016, 6, 13), new Date(2016, 6, 14)); @@ -364,12 +317,11 @@ let testArrays: MixedObject[][] = [ ] ]; - let mergedArray: MixedObject[]; mergedArray = d3Array.merge(testArrays); // inferred type mergedArray = d3Array.merge(testArrays); // explicit type -// mergedArray = d3.merge([[10, 40, 30], [15, 30]]); // fails, type mismatch +// mergedArray = d3Array.merge([[10, 40, 30], [15, 30]]); // fails, type mismatch // pairs() --------------------------------------------------------------------- diff --git a/d3-array/index.d.ts b/d3-array/index.d.ts index e3bd2d549d..8bcfeb7519 100644 --- a/d3-array/index.d.ts +++ b/d3-array/index.d.ts @@ -11,7 +11,7 @@ /** * Administrivia: JavaScript primitive types and Date */ -export type Primitive = number | string | boolean | Date; +export type Primitive = number | string | boolean | Date | undefined; /** * Administrivia: anything with a valueOf(): number method is comparable, so we allow it in numeric operations @@ -20,17 +20,11 @@ interface Numeric { valueOf(): number; } - // -------------------------------------------------------------------------------------- // Descriptive Statistics // -------------------------------------------------------------------------------------- -/** - * Return the maximum value in the array of numbers using natural order. - */ -export function max(array: number[]): number | undefined; - /** * Return the maximum value in the array of strings using natural order. */ @@ -41,11 +35,6 @@ export function max(array: string[]): string | undefined; */ export function max(array: T[]): T | undefined; -/** - * Return the maximum value in the array using natural order and a projection function to map values to numbers. - */ -export function max(array: T[], accessor: (datum: T, index: number, array: T[]) => number): number | undefined; - /** * Return the maximum value in the array using natural order and a projection function to map values to strings. */ @@ -56,11 +45,6 @@ export function max(array: T[], accessor: (datum: T, index: number, array: T[ */ export function max(array: T[], accessor: (datum: T, index: number, array: T[]) => U): U | undefined; -/** - * Return the minimum value in the array using natural order. - */ -export function min(array: number[]): number | undefined; - /** * Return the minimum value in the array using natural order. */ @@ -71,11 +55,6 @@ export function min(array: string[]): string | undefined; */ export function min(array: T[]): T | undefined; -/** - * Return the minimum value in the array using natural order. - */ -export function min(array: T[], accessor: (datum: T, index: number, array: T[]) => number): number | undefined; - /** * Return the minimum value in the array using natural order. */ @@ -88,11 +67,6 @@ export function min(array: T[], accessor: (datum: T, index -/** - * Return the min and max simultaneously. - */ -export function extent(array: number[]): [number, number] | [undefined, undefined]; - /** * Return the min and max simultaneously. */ @@ -103,16 +77,6 @@ export function extent(array: string[]): [string, string] | [undefined, undefine */ export function extent(array: T[]): [T, T] | [undefined, undefined]; -/** - * Return the min and max simultaneously. - */ -export function extent(array: Array): [T | Primitive, T | Primitive] | [undefined, undefined]; - -/** - * Return the min and max simultaneously. - */ -export function extent(array: T[], accessor: (datum: T, index: number, array: T[]) => number): [number, number] | [undefined, undefined]; - /** * Return the min and max simultaneously. */ @@ -121,64 +85,65 @@ export function extent(array: T[], accessor: (datum: T, index: number, array: /** * Return the min and max simultaneously. */ -export function extent(array: T[], accessor: (datum: T, index: number, array: T[]) => U): [U, U ] | [undefined, undefined]; +export function extent(array: T[], accessor: (datum: T, index: number, array: T[]) => U): [U, U] | [undefined, undefined]; /** * Return the mean of an array of numbers */ -export function mean(array: number[]): number | undefined; -export function mean(array: T[], accessor: (datum: T, index: number, array: T[]) => number): number | undefined; +export function mean(array: (T | undefined)[]): number | undefined; +export function mean(array: T[], accessor: (datum: T, index: number, array: T[]) => number | undefined): number | undefined; /** * Return the median of an array of numbers */ -export function median(array: number[]): number | undefined; -export function median(array: T[], accessor: (element: T, i: number, array: T[]) => number): number | undefined; +export function median(array: (T | undefined)[]): number | undefined; +export function median(array: T[], accessor: (element: T, i: number, array: T[]) => number | undefined): number | undefined; /** * Returns the p-quantile of an array of numbers */ -export function quantile(array: number[], p: number): number | undefined; -export function quantile(array: T[], p: number, accessor: (element: T, i: number, array: T[]) => number): number | undefined; +export function quantile(array: (T | undefined)[], p: number): number | undefined; +export function quantile(array: T[], p: number, accessor: (element: T, i: number, array: T[]) => number | undefined): number | undefined; /** * Compute the sum of an array of numbers. */ -export function sum(array: number[]): number; +export function sum(array: (T | undefined)[]): number; /** * Compute the sum of an array, using the given accessor to convert values to numbers. */ -export function sum(array: T[], accessor: (datum: T, index: number, array: T[]) => number): number; +export function sum(array: T[], accessor: (datum: T, index: number, array: T[]) => number | undefined): number; /** * Compute the standard deviation, defined as the square root of the bias-corrected variance, of the given array of numbers. */ -export function deviation(array: number[]): number | undefined; +export function deviation(array: (T | undefined)[]): number | undefined; /** * Compute the standard deviation, defined as the square root of the bias-corrected variance, of the given array, * using the given accessor to convert values to numbers. */ -export function deviation(array: T[], accessor: (datum: T, index: number, array: T[]) => number): number | undefined; +export function deviation(array: T[], accessor: (datum: T, index: number, array: T[]) => number | undefined): number | undefined; /** * Compute an unbiased estimator of the population variance of the given array of numbers. */ -export function variance(array: number[]): number | undefined; +export function variance(array: (T | undefined)[]): number | undefined; /** * Compute an unbiased estimator of the population variance of the given array, * using the given accessor to convert values to numbers. */ -export function variance(array: T[], accessor: (datum: T, index: number, array: T[]) => number): number | undefined; +export function variance(array: T[], accessor: (datum: T, index: number, array: T[]) => number | undefined): number | undefined; // -------------------------------------------------------------------------------------- // Searching Arrays // -------------------------------------------------------------------------------------- -export function scan(array: T[], comparator: (a: T, b: T) => number): number; +export function scan(array: number[], comparator?: (a: number, b: number) => number): number | undefined; +export function scan(array: T[], comparator: (a: T, b: T) => number): number | undefined; export function bisectLeft(array: number[], x: number, lo?: number, hi?: number): number; export function bisectLeft(array: string[], x: string, lo?: number, hi?: number): number; @@ -234,8 +199,7 @@ export function permute(array: { [key: number]: T }, keys: number[]): T[]; /** * Given the specified object, return an array corresponding to the list of property names in 'keys'. */ -export function permute(object: { [key: string]: T }, keys: string[]): T[]; - +export function permute(object: T, keys: K[]): T[K][]; /** * Generates a 0-based numeric sequence. The output range does not include 'stop'. diff --git a/d3-array/tsconfig.json b/d3-array/tsconfig.json index db900a4087..b70f6aed80 100644 --- a/d3-array/tsconfig.json +++ b/d3-array/tsconfig.json @@ -7,7 +7,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/d3-array/tslint.json b/d3-array/tslint.json new file mode 100644 index 0000000000..68d10d72a6 --- /dev/null +++ b/d3-array/tslint.json @@ -0,0 +1,6 @@ +{ + "extends": "../tslint.json", + "rules": { + "unified-signatures": false + } +} From 7b8d5a69e46c5f6bf5e9286a878cfebfda93b12b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 7 Feb 2017 13:13:50 +0100 Subject: [PATCH 434/613] pump --- pump/index.d.ts | 18 +++++++++++++++++ pump/pump-tests.ts | 48 ++++++++++++++++++++++++++++++++++++++++++++++ pump/tsconfig.json | 20 +++++++++++++++++++ pump/tslint.json | 1 + 4 files changed, 87 insertions(+) create mode 100644 pump/index.d.ts create mode 100644 pump/pump-tests.ts create mode 100644 pump/tsconfig.json create mode 100644 pump/tslint.json diff --git a/pump/index.d.ts b/pump/index.d.ts new file mode 100644 index 0000000000..735f5a0dba --- /dev/null +++ b/pump/index.d.ts @@ -0,0 +1,18 @@ +// Type definitions for pump 1.0 +// Project: https://github.com/mafintosh/pump +// Definitions by: Tomek Åaziuk +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +declare function pump(streams: pump.Stream[], callback?: pump.Callback): pump.Stream; + +// callback have to be passed as last argument +declare function pump(...streams: Array): pump.Stream[]; + +declare namespace pump { + export type Callback = (err: Error) => any; + export type Stream = NodeJS.ReadableStream | NodeJS.WritableStream; +} + +export = pump; diff --git a/pump/pump-tests.ts b/pump/pump-tests.ts new file mode 100644 index 0000000000..57b8b27665 --- /dev/null +++ b/pump/pump-tests.ts @@ -0,0 +1,48 @@ +import * as pump from 'pump'; +import { createReadStream, createWriteStream } from 'fs'; +import { Transform } from 'stream'; + +const rs = createReadStream('/dev/random'); +const ws = createWriteStream('/dev/null'); + +function toHex() { + const reverse: Transform = new Transform(); + + (reverse as any)._transform = (chunk: any, enc: any, callback: any) => { + reverse.push(chunk.toString('hex')); + callback(); + }; + + return reverse; +} + +let wsClosed = false; +let rsClosed = false; +let callbackCalled = false; + +function check() { + if (wsClosed && rsClosed && callbackCalled) process.exit(0); +} + +ws.on('close', () => { + wsClosed = true; + check(); +}); + +rs.on('close', () => { + rsClosed = true; + check(); +}); + +pump(rs, toHex(), toHex(), toHex(), ws, () => { + callbackCalled = true; + check(); +}); + +setTimeout(() => { + rs.destroy(); +}, 1000); + +setTimeout(() => { + throw new Error('timeout'); +}, 5000); diff --git a/pump/tsconfig.json b/pump/tsconfig.json new file mode 100644 index 0000000000..b7d71ceb05 --- /dev/null +++ b/pump/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "pump-tests.ts" + ] +} diff --git a/pump/tslint.json b/pump/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/pump/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 42ccab4293c3f7132357d5992327f003f6c14bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 7 Feb 2017 13:15:50 +0100 Subject: [PATCH 435/613] return type fix --- pump/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pump/index.d.ts b/pump/index.d.ts index 735f5a0dba..7361399a6a 100644 --- a/pump/index.d.ts +++ b/pump/index.d.ts @@ -5,7 +5,7 @@ /// -declare function pump(streams: pump.Stream[], callback?: pump.Callback): pump.Stream; +declare function pump(streams: pump.Stream[], callback?: pump.Callback): pump.Stream[]; // callback have to be passed as last argument declare function pump(...streams: Array): pump.Stream[]; From 9db4204e1b6285529308bf075ac3e0459f0a3355 Mon Sep 17 00:00:00 2001 From: rinzeb Date: Tue, 7 Feb 2017 13:21:31 +0100 Subject: [PATCH 436/613] Update xlsx typings Add optional 'options' parameter to function sheet_to_csv. (https://github.com/SheetJS/js-xlsx/blob/53f7f6d9446ccd680c9b13992d6dcdccde49a8f6/bits/90_utils.js#L132) --- xlsx/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlsx/index.d.ts b/xlsx/index.d.ts index 3c78abb140..4e4eb060f7 100644 --- a/xlsx/index.d.ts +++ b/xlsx/index.d.ts @@ -143,7 +143,7 @@ export interface IUtils { range?: any; header?: "A"|number|string[]; }):T[]; - sheet_to_csv(worksheet: IWorkSheet):any; + sheet_to_csv(worksheet: IWorkSheet, options?: { FS: string, RS: string }): string; sheet_to_formulae(worksheet: IWorkSheet):any; encode_cell(cell: ICell): any; encode_range(s: ICell, e: ICell): any; From 3cb6c152729034a76e946e68eb21ae949c832b93 Mon Sep 17 00:00:00 2001 From: akim95 Date: Tue, 7 Feb 2017 21:00:28 +0800 Subject: [PATCH 437/613] added type definition for sub module ListView --- realm/react-native/index.d.ts | 4 ++++ realm/realm-tests.ts | 4 ++++ realm/tsconfig.json | 1 + 3 files changed, 9 insertions(+) create mode 100644 realm/react-native/index.d.ts diff --git a/realm/react-native/index.d.ts b/realm/react-native/index.d.ts new file mode 100644 index 0000000000..f1698332af --- /dev/null +++ b/realm/react-native/index.d.ts @@ -0,0 +1,4 @@ +import * as React from 'react-native'; + +export var ListView: React.ListView; +export type ListView = React.ListView; diff --git a/realm/realm-tests.ts b/realm/realm-tests.ts index 2daf41ef74..71dccefdfa 100644 --- a/realm/realm-tests.ts +++ b/realm/realm-tests.ts @@ -1,4 +1,5 @@ import * as Realm from 'realm'; +import { ListView } from 'realm/react-native'; // schema test const personSchema = { @@ -97,3 +98,6 @@ const users = Realm.Sync.User.all; // access control test const managementRealm = user.openManagementRealm(); + +// ListView test +const ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2}); diff --git a/realm/tsconfig.json b/realm/tsconfig.json index 0dc37a0163..5241fe5f57 100644 --- a/realm/tsconfig.json +++ b/realm/tsconfig.json @@ -17,6 +17,7 @@ }, "files": [ "index.d.ts", + "react-native/index.d.ts", "realm-tests.ts" ] } \ No newline at end of file From c8e7ddb2e76c509bc384d06d7adeecef67ea7b87 Mon Sep 17 00:00:00 2001 From: akim95 Date: Tue, 7 Feb 2017 21:29:17 +0800 Subject: [PATCH 438/613] update tsconfig.json --- realm/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/realm/tsconfig.json b/realm/tsconfig.json index 5241fe5f57..ae6e53ac64 100644 --- a/realm/tsconfig.json +++ b/realm/tsconfig.json @@ -2,7 +2,8 @@ "compilerOptions": { "module": "commonjs", "lib": [ - "es6" + "es6", + "dom" ], "noImplicitAny": true, "noImplicitThis": true, From e43508e07fc95363c20ba04dacdcc3b72a889a4a Mon Sep 17 00:00:00 2001 From: akim95 Date: Tue, 7 Feb 2017 21:37:15 +0800 Subject: [PATCH 439/613] added TS version header --- realm/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/realm/index.d.ts b/realm/index.d.ts index 3c3a438621..974f2a4ed1 100644 --- a/realm/index.d.ts +++ b/realm/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/realm/realm-js // Definitions by: Akim // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 declare namespace Realm { /** From 1c2b6defd2d31dfa01a53167a22235b0ca65d508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20=C5=81aziuk?= Date: Tue, 7 Feb 2017 14:51:18 +0100 Subject: [PATCH 440/613] xdg-basedir --- xdg-basedir/index.d.ts | 11 +++++++++++ xdg-basedir/tsconfig.json | 20 ++++++++++++++++++++ xdg-basedir/tslint.json | 1 + xdg-basedir/xdg-basedir-tests.ts | 3 +++ 4 files changed, 35 insertions(+) create mode 100644 xdg-basedir/index.d.ts create mode 100644 xdg-basedir/tsconfig.json create mode 100644 xdg-basedir/tslint.json create mode 100644 xdg-basedir/xdg-basedir-tests.ts diff --git a/xdg-basedir/index.d.ts b/xdg-basedir/index.d.ts new file mode 100644 index 0000000000..d18bc389f9 --- /dev/null +++ b/xdg-basedir/index.d.ts @@ -0,0 +1,11 @@ +// Type definitions for xdg-basedir 2.0 +// Project: https://github.com/sindresorhus/xdg-basedir +// Definitions by: Tomek Åaziuk +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export const data: string | null; +export const config: string | null; +export const cache: string | null; +export const runtime: string | null; +export const dataDirs: string[]; +export const configDirs: string[]; diff --git a/xdg-basedir/tsconfig.json b/xdg-basedir/tsconfig.json new file mode 100644 index 0000000000..44428e6cc7 --- /dev/null +++ b/xdg-basedir/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "xdg-basedir-tests.ts" + ] +} diff --git a/xdg-basedir/tslint.json b/xdg-basedir/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/xdg-basedir/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } diff --git a/xdg-basedir/xdg-basedir-tests.ts b/xdg-basedir/xdg-basedir-tests.ts new file mode 100644 index 0000000000..a6b7073c18 --- /dev/null +++ b/xdg-basedir/xdg-basedir-tests.ts @@ -0,0 +1,3 @@ +import * as xdg from 'xdg-basedir'; + +console.log(JSON.stringify(xdg, undefined, 2)); From c36bac815267d5d5757ea2454ef8efe0256ea428 Mon Sep 17 00:00:00 2001 From: akim95 Date: Tue, 7 Feb 2017 21:54:52 +0800 Subject: [PATCH 441/613] update ListView definition --- realm/react-native/index.d.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/realm/react-native/index.d.ts b/realm/react-native/index.d.ts index f1698332af..51010b44c7 100644 --- a/realm/react-native/index.d.ts +++ b/realm/react-native/index.d.ts @@ -1,4 +1,3 @@ -import * as React from 'react-native'; +import { ListView } from 'react-native'; -export var ListView: React.ListView; -export type ListView = React.ListView; +export { ListView }; \ No newline at end of file From beba0a4154f3b8be91d892729ef04161d6a1e738 Mon Sep 17 00:00:00 2001 From: akim95 Date: Tue, 7 Feb 2017 21:56:27 +0800 Subject: [PATCH 442/613] fix no newline --- realm/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realm/react-native/index.d.ts b/realm/react-native/index.d.ts index 51010b44c7..0563ca5914 100644 --- a/realm/react-native/index.d.ts +++ b/realm/react-native/index.d.ts @@ -1,3 +1,3 @@ import { ListView } from 'react-native'; -export { ListView }; \ No newline at end of file +export { ListView }; From b9e1f8fedb32bade37fc5efb42401666cbd418a7 Mon Sep 17 00:00:00 2001 From: Chunlei Hou Date: Tue, 7 Feb 2017 22:13:43 +0800 Subject: [PATCH 443/613] add three-octree.d.ts and three-ctmloader.d.ts --- three/index.d.ts | 8 ++++-- three/test/examples/ctm/ctmloader.ts | 7 +++++ three/test/examples/octree.ts | 11 ++++++++ three/three-ctmloader.d.ts | 36 ++++++++++++++++++++++++ three/three-octree.d.ts | 42 ++++++++++++++++++++++++++++ 5 files changed, 101 insertions(+), 3 deletions(-) create mode 100644 three/test/examples/ctm/ctmloader.ts create mode 100644 three/test/examples/octree.ts create mode 100644 three/three-ctmloader.d.ts create mode 100644 three/three-octree.d.ts diff --git a/three/index.d.ts b/three/index.d.ts index b4b4995ee8..35149e1d8f 100644 --- a/three/index.d.ts +++ b/three/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for three.js 0.83 // Project: http://mrdoob.github.com/three.js/ -// Definitions by: Kon , Satoru Kimura , Florent Poujol , SereznoKot +// Definitions by: Kon , Satoru Kimura , Florent Poujol , SereznoKot , HouChunlei // Definitions: https://github.com/borisyankov/DefinitelyTyped /// @@ -20,6 +20,8 @@ /// /// /// +/// +/// declare namespace THREE { export const REVISION: string; @@ -1996,7 +1998,7 @@ declare namespace THREE { mimeType: MimeType; path: string; responseType: string; - withCredentials: string + withCredentials: string load(url: string, onLoad?: (responseText: string) => void, onProgress?: (request: ProgressEvent) => void, onError?:(event: ErrorEvent) => void): any; setMimeType(mimeType: MimeType): FileLoader; @@ -3589,7 +3591,7 @@ declare namespace THREE { radius: number; phi: number; theta: number; - + set(radius: number, phi: number, theta: number): Spherical; clone(): this; copy(other: this): this; diff --git a/three/test/examples/ctm/ctmloader.ts b/three/test/examples/ctm/ctmloader.ts new file mode 100644 index 0000000000..e35cffb6a4 --- /dev/null +++ b/three/test/examples/ctm/ctmloader.ts @@ -0,0 +1,7 @@ +/// + +let _ctmloader = new THREE.CTMLoader(); +_ctmloader.load('https://github.com/mrdoob/three.js/blob/master/examples/models/ctm/ben.ctm', (geo: any) => { + console.log(geo.position); +}); + diff --git a/three/test/examples/octree.ts b/three/test/examples/octree.ts new file mode 100644 index 0000000000..de7de86ac7 --- /dev/null +++ b/three/test/examples/octree.ts @@ -0,0 +1,11 @@ +/// + +let _octree = new THREE.Octree({ + underferred: false, + depthMax: Infinity, + objectsThreshold: 8, + overlapPct: 0.15, +}); + +console.log(_octree.getDepthEnd()); + diff --git a/three/three-ctmloader.d.ts b/three/three-ctmloader.d.ts new file mode 100644 index 0000000000..276f14b6a3 --- /dev/null +++ b/three/three-ctmloader.d.ts @@ -0,0 +1,36 @@ +// Type definitions for three.js (CTMLoader.js) +// Project: https://github.com/mrdoob/three.js/blob/master/examples/js/loaders/ctm/CTMLoader.js +// Definitions by: Hou Chunlei +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +declare namespace THREE { + export class CTMLoader extends THREE.Loader { + constructor(); + + /** + * load multiple CTM parts defined in JSON. + * @param url(required) + * @param callback(required) + * @param parameters + */ + loadParts(url: string, callback: () => any, parameters?: any): any; + + /** + * Load CTMLoader compressed models + * @param url(required) + * @param callback(required) + * @param parameters + */ + load(url: string, callback: () => any, parameters?: any): any; + + /** + * create buffergeometry by ctm file. + * @param file(required) + * @param callback(required) + */ + createModel(file: string, callback: () => any): any; + + } +} diff --git a/three/three-octree.d.ts b/three/three-octree.d.ts new file mode 100644 index 0000000000..3ce479e81f --- /dev/null +++ b/three/three-octree.d.ts @@ -0,0 +1,42 @@ +// Type definitions for three.js (Octree.js) +// Project: https://github.com/mrdoob/three.js/blob/master/examples/js/Octree.js +// Definitions by: Hou Chunlei +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +/// + +declare namespace THREE { + export class Octree { + constructor(parameters?: any); + + update(): void; + + add(object: any, options?: any): any; + + addDeferred(object: any, options?: any): any; + + addObjectData(object: any, part: any): any; + + remove(object: any): any; + + extend(octree: Octree): any; + + rebuild(): any; + + updateObject(object: any): any; + + search(position: THREE.Vector3, radius: number, organizeByObject: boolean, direction: THREE.Vector3): any; + + setRoot(root: any): any; + + getDepthEnd(): number; + + getNodeCountEnd(): number; + + getObjectCountEnd(): number; + + toConsole(): any; + + + } +} From 0055a7b7589ee0fe2d1770b7ad0150c7e009da96 Mon Sep 17 00:00:00 2001 From: VorobeY1326 Date: Tue, 7 Feb 2017 19:24:55 +0500 Subject: [PATCH 444/613] Definition for dropkickjs library --- dropkickjs/dropkickjs-tests.ts | 91 ++++++++++++++++++++++++++++++++++ dropkickjs/index.d.ts | 52 +++++++++++++++++++ dropkickjs/tsconfig.json | 20 ++++++++ dropkickjs/tslint.json | 1 + 4 files changed, 164 insertions(+) create mode 100644 dropkickjs/dropkickjs-tests.ts create mode 100644 dropkickjs/index.d.ts create mode 100644 dropkickjs/tsconfig.json create mode 100644 dropkickjs/tslint.json diff --git a/dropkickjs/dropkickjs-tests.ts b/dropkickjs/dropkickjs-tests.ts new file mode 100644 index 0000000000..af46b43c02 --- /dev/null +++ b/dropkickjs/dropkickjs-tests.ts @@ -0,0 +1,91 @@ +/// + +//constructor +var constructorNoOptions = new Dropkick('#my-select'); +var constructorNoOptions2 = new Dropkick(new HTMLSelectElement()); +var constructorOptions = new Dropkick('#my-select', {}); +var constructorOptions2 = new Dropkick(new HTMLSelectElement(), {}); + +//options +var options : DropkickOptions = { + disabled: true, + form: new HTMLFormElement(), + length: 1, + mobile: true, + multiple: true, + options: ['test'], + selectedIndex: 0, + selectedOptions: ['test'], + value: 'test', + change() { }, + close() { }, + open() { }, + initialize: () => { } +} +var withFullOptions = new Dropkick('#test', options); + +var dk = new Dropkick('#test'); + +//fields (same as options) +var o1 = dk.disabled; +var o2 = dk.form; +var o3 = dk.length; +var o4 = dk.mobile; +var o5 = dk.multiple; +var o6 = dk.options; +var o7 = dk.selectedIndex; +var o8 = dk.selectedOptions; +var o9 = dk.value; + +//methods +dk.add('new'); +dk.add(new HTMLSelectElement()); +dk.add('new', 'old'); +dk.add('new', 1); + +dk.disable(); +dk.disable(false); +dk.disable(4, true); +dk.disable(4); + +dk.dispose(); + +dk.focus(); + +dk.hide(4); +dk.hide(4, false); + +var node = dk.item(4); + +dk.open(); + +dk.refresh(); + +dk.remove(4); + +dk.reset(); +dk.reset(true); + +var words = dk.search("qwer", "fuzzy"); + +var node2 = dk.select(4); +var node3 = dk.select("AL"); +var node4 = dk.select(4, true); + +var node5 = dk.selectOne(4); +var node6 = dk.selectOne(4, true); + +//real life example +var fieldValue = ''; +var selectOptions : DropkickOptions = { + open(this: Dropkick) { + const optionsList = (this).data.elem.lastChild; //undocumented but useful data field + if (optionsList.scrollWidth > optionsList.offsetWidth) { + optionsList.style.width = optionsList.scrollWidth + 25 + 'px'; + } + }, + change: () => { + fieldValue = select.value; + } +}; +var select = new Dropkick('#select', options); \ No newline at end of file diff --git a/dropkickjs/index.d.ts b/dropkickjs/index.d.ts new file mode 100644 index 0000000000..80818ff789 --- /dev/null +++ b/dropkickjs/index.d.ts @@ -0,0 +1,52 @@ +// Type definitions for dropkickjs v2.1.9 +// Project: http://dropkickjs.com/ +// Definitions by Dmitry Pesterev +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +interface DropkickOptions { + disabled?: boolean; + form?: Node; + length?: number; + mobile?: boolean; + multiple?: boolean; + options?: Array; + selectedIndex?: number; + selectedOptions?: Array; + value?: string; + + change?: () => void; + close?: () => void; + initialize?: () => void; + open?: () => void; +} + +declare class Dropkick { + constructor(id: string, options?: DropkickOptions); + constructor(element: HTMLElement, options?: DropkickOptions); + + add(value: string | Node, before?: number | string): void; + close(): void; + disable(disabled?: boolean): void; + disable(index: number, disabled?: boolean): void; + dispose(): void; + focus(): void; + hide(index: number, hidden?: boolean): void; + item(index: number): Node; + open(): void; + refresh(): void; + remove(index: number): void; + reset(clear?: boolean): void; + search(string: string, mode?: string): Array; + select(element: number|string, selectDisabled?: boolean): Node; + selectOne(element: number, selectDisabled?: boolean): Node; + + disabled: boolean; + form: Node; + length: number; + mobile: boolean; + multiple: boolean; + options: Array; + selectedIndex: number; + selectedOptions: Array; + value: string; +} \ No newline at end of file diff --git a/dropkickjs/tsconfig.json b/dropkickjs/tsconfig.json new file mode 100644 index 0000000000..e0699ecf5c --- /dev/null +++ b/dropkickjs/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "baseUrl": "../", + "typeRoots": [ + "../" + ], + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "dropkickjs-tests.ts" + ] +} \ No newline at end of file diff --git a/dropkickjs/tslint.json b/dropkickjs/tslint.json new file mode 100644 index 0000000000..2221e40e4a --- /dev/null +++ b/dropkickjs/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } \ No newline at end of file From 8191468f643e2f21be9f45e79c6b6a4287c34db6 Mon Sep 17 00:00:00 2001 From: Chunlei Hou Date: Tue, 7 Feb 2017 22:31:36 +0800 Subject: [PATCH 445/613] add three-octree.d.ts and three-ctmloader.d.ts --- three/three-ctmloader.d.ts | 46 +++++++++++++++++++------------------- three/tsconfig.json | 6 +++-- 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/three/three-ctmloader.d.ts b/three/three-ctmloader.d.ts index 276f14b6a3..0dd56a3b9a 100644 --- a/three/three-ctmloader.d.ts +++ b/three/three-ctmloader.d.ts @@ -6,31 +6,31 @@ /// declare namespace THREE { - export class CTMLoader extends THREE.Loader { - constructor(); + export class CTMLoader extends THREE.Loader { + constructor(); - /** - * load multiple CTM parts defined in JSON. - * @param url(required) - * @param callback(required) - * @param parameters - */ - loadParts(url: string, callback: () => any, parameters?: any): any; + /** + * load multiple CTM parts defined in JSON. + * @param url(required) + * @param callback(required) + * @param parameters + */ + loadParts(url: string, callback: () => any, parameters?: any): any; - /** - * Load CTMLoader compressed models - * @param url(required) - * @param callback(required) - * @param parameters - */ - load(url: string, callback: () => any, parameters?: any): any; + /** + * Load CTMLoader compressed models + * @param url(required) + * @param callback(required) + * @param parameters + */ + load(url: string, callback: (geo: any) => any, parameters?: any): any; - /** - * create buffergeometry by ctm file. - * @param file(required) - * @param callback(required) - */ - createModel(file: string, callback: () => any): any; + /** + * create buffergeometry by ctm file. + * @param file(required) + * @param callback(required) + */ + createModel(file: string, callback: () => any): any; - } + } } diff --git a/three/tsconfig.json b/three/tsconfig.json index e140c6668c..37a325d404 100644 --- a/three/tsconfig.json +++ b/three/tsconfig.json @@ -49,6 +49,8 @@ "test/canvas/canvas_particles_floor.ts", "test/examples/detector.ts", "test/examples/effects/vreffect.ts", - "test/examples/controls/vrcontrols.ts" + "test/examples/controls/vrcontrols.ts", + "test/examples/ctm/ctmloader.ts", + "test/examples/octree.ts" ] -} \ No newline at end of file +} From e6d4014e92ddca6cdf9c50a30de4cb754a743d79 Mon Sep 17 00:00:00 2001 From: VorobeY1326 Date: Tue, 7 Feb 2017 19:40:38 +0500 Subject: [PATCH 446/613] Header fix --- dropkickjs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dropkickjs/index.d.ts b/dropkickjs/index.d.ts index 80818ff789..1884749629 100644 --- a/dropkickjs/index.d.ts +++ b/dropkickjs/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for dropkickjs v2.1.9 // Project: http://dropkickjs.com/ -// Definitions by Dmitry Pesterev +// Definitions by: Dmitry Pesterev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface DropkickOptions { From 59dc6f0c84c28bcebe2b5016eb58f940e7c73f88 Mon Sep 17 00:00:00 2001 From: VorobeY1326 Date: Tue, 7 Feb 2017 19:46:40 +0500 Subject: [PATCH 447/613] Fixed tslint warnings --- dropkickjs/index.d.ts | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/dropkickjs/index.d.ts b/dropkickjs/index.d.ts index 1884749629..8af96c1a57 100644 --- a/dropkickjs/index.d.ts +++ b/dropkickjs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for dropkickjs v2.1.9 +// Type definitions for dropkickjs v2.1 // Project: http://dropkickjs.com/ // Definitions by: Dmitry Pesterev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -9,9 +9,9 @@ interface DropkickOptions { length?: number; mobile?: boolean; multiple?: boolean; - options?: Array; + options?: string[]; selectedIndex?: number; - selectedOptions?: Array; + selectedOptions?: string[]; value?: string; change?: () => void; @@ -21,8 +21,7 @@ interface DropkickOptions { } declare class Dropkick { - constructor(id: string, options?: DropkickOptions); - constructor(element: HTMLElement, options?: DropkickOptions); + constructor(id: string|HTMLElement, options?: DropkickOptions); add(value: string | Node, before?: number | string): void; close(): void; @@ -36,7 +35,7 @@ declare class Dropkick { refresh(): void; remove(index: number): void; reset(clear?: boolean): void; - search(string: string, mode?: string): Array; + search(string: string, mode?: string): string[]; select(element: number|string, selectDisabled?: boolean): Node; selectOne(element: number, selectDisabled?: boolean): Node; @@ -45,8 +44,8 @@ declare class Dropkick { length: number; mobile: boolean; multiple: boolean; - options: Array; + options: string[]; selectedIndex: number; - selectedOptions: Array; + selectedOptions: string[]; value: string; } \ No newline at end of file From 723a4cdf203a7326e70e921b704ee57c57bf83ac Mon Sep 17 00:00:00 2001 From: VorobeY1326 Date: Tue, 7 Feb 2017 19:49:58 +0500 Subject: [PATCH 448/613] And now tslint will pass --- dropkickjs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dropkickjs/index.d.ts b/dropkickjs/index.d.ts index 8af96c1a57..1e0a4f4acf 100644 --- a/dropkickjs/index.d.ts +++ b/dropkickjs/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for dropkickjs v2.1 +// Type definitions for dropkickjs 2.1 // Project: http://dropkickjs.com/ // Definitions by: Dmitry Pesterev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped From 06b31f56fc7f8e83185dd8fe1a94f558254fafa8 Mon Sep 17 00:00:00 2001 From: Jesper Broni Andersen Date: Tue, 7 Feb 2017 16:01:03 +0100 Subject: [PATCH 449/613] angular: Add preAssignBindingsEnabled to ICompileProvider --- angular/index.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/angular/index.d.ts b/angular/index.d.ts index 73535e9922..099ac2fc27 100644 --- a/angular/index.d.ts +++ b/angular/index.d.ts @@ -1254,6 +1254,16 @@ declare namespace angular { debugInfoEnabled(): boolean; debugInfoEnabled(enabled: boolean): ICompileProvider; + /** + * Call this method to enable/disable whether directive controllers are assigned bindings before calling the controller's constructor. + * If enabled (true), the compiler assigns the value of each of the bindings to the properties of the controller object before the constructor of this object is called. + * If disabled (false), the compiler calls the constructor first before assigning bindings. + * Defaults to false. + * See: https://docs.angularjs.org/api/ng/provider/$compileProvider#preAssignBindingsEnabled + */ + preAssignBindingsEnabled(): boolean; + preAssignBindingsEnabled(enabled: boolean): ICompileProvider; + /** * Sets the number of times $onChanges hooks can trigger new changes before giving up and assuming that the model is unstable. * Increasing the TTL could have performance implications, so you should not change it without proper justification. From 103d3580a5e28aaba3178191b71eef2dfc79c40a Mon Sep 17 00:00:00 2001 From: Bastien Date: Tue, 7 Feb 2017 17:33:37 +0100 Subject: [PATCH 450/613] set ngfMinDuration as optional parameter --- ng-file-upload/index.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ng-file-upload/index.d.ts b/ng-file-upload/index.d.ts index 2455c8daf5..d9aadbd2d5 100644 --- a/ng-file-upload/index.d.ts +++ b/ng-file-upload/index.d.ts @@ -41,7 +41,11 @@ declare module 'angular' { * Validate error name: minDuration * @type {(number|string)} */ - ngfMinDuration: number | string; + ngfMinDuration?: number | string; + /** + * Validate error name: minSize + * @type {(number|string)} + */ ngfMinSize?: number | string; /** * Validate error name: minRatio From 238d84f545eca19ac05b55405c692dac823ddef3 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Wed, 8 Feb 2017 02:34:58 +0900 Subject: [PATCH 451/613] add 'end' event to Client --- pg/index.d.ts | 1 + pg/pg-tests.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/pg/index.d.ts b/pg/index.d.ts index a2178d4823..ed03211e6b 100644 --- a/pg/index.d.ts +++ b/pg/index.d.ts @@ -100,6 +100,7 @@ export declare class Client extends events.EventEmitter { on(event: "drain", listener: () => void): this; on(event: "error", listener: (err: Error) => void): this; on(event: "notification" | "notice", listener: (message: any) => void): this; + on(event: "end", listener: () => void): this; } export declare class Query extends events.EventEmitter { diff --git a/pg/pg-tests.ts b/pg/pg-tests.ts index 15dfdde3d9..c4bbb0316c 100644 --- a/pg/pg-tests.ts +++ b/pg/pg-tests.ts @@ -43,6 +43,7 @@ client.connect((err) => { }); return null; }); +client.on('end', () => console.log("Client was disconnected.")); // client pooling From 52ae53f859138ce8ef37cfca624edfeee27ef367 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Wed, 8 Feb 2017 02:36:34 +0900 Subject: [PATCH 452/613] use arrow function on tests --- pg/pg-tests.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pg/pg-tests.ts b/pg/pg-tests.ts index c4bbb0316c..bdf49ab240 100644 --- a/pg/pg-tests.ts +++ b/pg/pg-tests.ts @@ -4,7 +4,7 @@ import * as pg from "pg"; var conString = "postgres://username:password@localhost/database"; // https://github.com/brianc/node-pg-types -pg.types.setTypeParser(20, (val) => Number(val)); +pg.types.setTypeParser(20, val => Number(val)); // Client pooling pg.defaults.ssl = true; @@ -28,7 +28,7 @@ pg.connect(conString, (err, client, done) => { // Simple var client = new pg.Client(conString); -client.connect((err) => { +client.connect(err => { if (err) { return console.error("Could not connect to postgres", err); } @@ -57,11 +57,11 @@ var config = { }; var pool = new pg.Pool(config); -pool.connect(function(err, client, done) { +pool.connect((err, client, done) => { if(err) { return console.error('error fetching client from pool', err); } - client.query('SELECT $1::int AS number', ['1'], function(err, result) { + client.query('SELECT $1::int AS number', ['1'], (err, result) => { done(); if(err) { @@ -71,6 +71,6 @@ pool.connect(function(err, client, done) { }); }); -pool.on('error', function (err, client) { +pool.on('error', (err, client) => { console.error('idle client error', err.message, err.stack) }) From 4342e2b37f6bd653c100589516062e4422ed7c6b Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Wed, 8 Feb 2017 02:45:49 +0900 Subject: [PATCH 453/613] restoring callback-less and removing optional --- pg/index.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pg/index.d.ts b/pg/index.d.ts index ed03211e6b..67ed0c355d 100644 --- a/pg/index.d.ts +++ b/pg/index.d.ts @@ -88,8 +88,11 @@ export declare class Client extends events.EventEmitter { end(callback?: (err: Error) => void): void; release(): void; - query(queryTextOrConfig: string | QueryConfig, callback?: (err: Error, result: QueryResult) => void): Query; - query(queryText: string, values: any[], callback?: (err: Error, result: QueryResult) => void): Query; + query(queryTextOrConfig: string | QueryConfig): Promise; + query(queryText: string, values: any[]): Promise; + + query(queryTextOrConfig: string | QueryConfig, callback: (err: Error, result: QueryResult) => void): Query; + query(queryText: string, values: any[], callback: (err: Error, result: QueryResult) => void): Query; copyFrom(queryText: string): stream.Writable; copyTo(queryText: string): stream.Readable; From 01208d2b66a40d7805ffb8d3269cd3443af8275c Mon Sep 17 00:00:00 2001 From: Benjamin Lim Date: Mon, 6 Feb 2017 06:28:22 +0800 Subject: [PATCH 454/613] chore: update tsconfig/tslint config --- webpack/tsconfig.json | 4 ++-- webpack/tslint.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 webpack/tslint.json diff --git a/webpack/tsconfig.json b/webpack/tsconfig.json index f85a099ac3..1a1c5440ce 100644 --- a/webpack/tsconfig.json +++ b/webpack/tsconfig.json @@ -5,7 +5,7 @@ "es6" ], "noImplicitAny": true, - "noImplicitThis": false, + "noImplicitThis": true, "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ @@ -19,4 +19,4 @@ "index.d.ts", "webpack-tests.ts" ] -} \ No newline at end of file +} diff --git a/webpack/tslint.json b/webpack/tslint.json new file mode 100644 index 0000000000..377cc837d4 --- /dev/null +++ b/webpack/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } From 469a20b7a711e75fa08ae5ac4ad452b7ddfedf60 Mon Sep 17 00:00:00 2001 From: Benjamin Lim Date: Mon, 6 Feb 2017 06:28:31 +0800 Subject: [PATCH 455/613] style: fix lint errors --- webpack/index.d.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/webpack/index.d.ts b/webpack/index.d.ts index a557034131..d172cd4bc6 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -472,7 +472,7 @@ declare namespace webpack { apply(thisArg: Webpack, ...args: any[]): void; } - type UglifyCommentFunction = (astNode: any, comment: any) => boolean + type UglifyCommentFunction = (astNode: any, comment: any) => boolean; interface UglifyPluginOptions extends UglifyJS.MinifyOptions { beautify?: boolean; @@ -810,7 +810,7 @@ declare namespace webpack { data?: any; - callback: loaderCallback | void; + callback: loaderCallback | undefined; /** @@ -861,7 +861,7 @@ declare namespace webpack { * The resource file. * In the example: "/abc/resource.js" */ - resourcePath: string + resourcePath: string; /** * The query of the resource. @@ -898,14 +898,14 @@ declare namespace webpack { * @param request * @param callback */ - resolve(context: string, request: string, callback: (err: Error, result: string) => void): any + resolve(context: string, request: string, callback: (err: Error, result: string) => void): any; /** * Resolve a request like a require expression. * @param context * @param request */ - resolveSync(context: string, request: string): string + resolveSync(context: string, request: string): string; /** @@ -928,7 +928,7 @@ declare namespace webpack { * Add a directory as dependency of the loader result. * @param directory */ - addContextDependency(directory: string): void + addContextDependency(directory: string): void; /** * Remove all dependencies of the loader result. Even initial dependencies and these of other loaders. Consider using pitch. @@ -991,7 +991,7 @@ declare namespace webpack { * @param content * @param sourceMap */ - emitFile(name: string, content: Buffer|String, sourceMap: any): void + emitFile(name: string, content: Buffer|string, sourceMap: any): void; /** From c42802e29d38a7636d2ea5bdd7e43b09b6f5e17f Mon Sep 17 00:00:00 2001 From: Benjamin Lim Date: Mon, 6 Feb 2017 06:41:18 +0800 Subject: [PATCH 456/613] style: fix indentation --- webpack/index.d.ts | 18 ++-- webpack/webpack-tests.ts | 192 +++++++++++++++++++-------------------- 2 files changed, 105 insertions(+), 105 deletions(-) diff --git a/webpack/index.d.ts b/webpack/index.d.ts index d172cd4bc6..09e1a22421 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -832,16 +832,16 @@ declare namespace webpack { * In the example: * [ * { request: "/abc/loader1.js?xyz", - * path: "/abc/loader1.js", - * query: "?xyz", - * module: [Function] - * }, + * path: "/abc/loader1.js", + * query: "?xyz", + * module: [Function] + * }, * { request: "/abc/node_modules/loader2/index.js", - * path: "/abc/node_modules/loader2/index.js", - * query: "", - * module: [Function] - * } - *] + * path: "/abc/node_modules/loader2/index.js", + * query: "", + * module: [Function] + * } + * ] */ loaders: any[]; diff --git a/webpack/webpack-tests.ts b/webpack/webpack-tests.ts index 7c1f109a2d..be36076307 100644 --- a/webpack/webpack-tests.ts +++ b/webpack/webpack-tests.ts @@ -196,9 +196,9 @@ configuration = { }; configuration = { - resolve: { - root: __dirname - } + resolve: { + root: __dirname + } }; rule = { @@ -289,12 +289,12 @@ plugin = new webpack.optimize.UglifyJsPlugin({ } }); plugin = new webpack.optimize.UglifyJsPlugin({ - sourceMap: false, - comments: true, - beautify: true, - test: 'foo', - exclude: /node_modules/, - include: 'test' + sourceMap: false, + comments: true, + beautify: true, + test: 'foo', + exclude: /node_modules/, + include: 'test' }); plugin = new webpack.optimize.UglifyJsPlugin({ mangle: { @@ -302,9 +302,9 @@ plugin = new webpack.optimize.UglifyJsPlugin({ } }); plugin = new webpack.optimize.UglifyJsPlugin({ - comments: function(astNode: any, comment: any) { - return false; - } + comments: function(astNode: any, comment: any) { + return false; + } }); plugin = new webpack.optimize.CommonsChunkPlugin(options); plugin = new CommonsChunkPlugin({ @@ -383,7 +383,7 @@ plugin = new webpack.NoErrorsPlugin(); plugin = new webpack.NoEmitOnErrorsPlugin(); plugin = new webpack.WatchIgnorePlugin(paths); plugin = new webpack.LoaderOptionsPlugin({ - debug: true + debug: true }); // @@ -412,19 +412,19 @@ compiler.watch({ // watch options: // pass a number to set the polling interval }, function(err, stats) { // ... - }); +}); // or compiler.watch({ // watch options: ignored: 'foo/**/*' }, function(err, stats) { // ... - }); +}); // or compiler.watch({ // watch options: ignored: /node_modules/ }, function(err, stats) { // ... - }); +}); declare function handleFatalError(err: Error): void; declare function handleSoftErrors(errs: string[]): void; @@ -438,26 +438,26 @@ webpack({ return handleFatalError(err); var jsonStats = stats.toJson(); var jsonStatsWithAllOptions = stats.toJson({ - assets: true, - assetsSort: "field", - cached: true, - children: true, - chunks: true, - chunkModules: true, - chunkOrigins: true, - chunksSort: "field", - context: "../src/", - errors: true, - errorDetails: true, - hash: true, - modules: true, - modulesSort: "field", - publicPath: true, - reasons: true, - source: true, - timings: true, - version: true, - warnings: true + assets: true, + assetsSort: "field", + cached: true, + children: true, + chunks: true, + chunkModules: true, + chunkOrigins: true, + chunksSort: "field", + context: "../src/", + errors: true, + errorDetails: true, + hash: true, + modules: true, + modulesSort: "field", + publicPath: true, + reasons: true, + source: true, + timings: true, + version: true, + warnings: true }); if(jsonStats.errors.length > 0) return handleSoftErrors(jsonStats.errors); @@ -491,51 +491,51 @@ rule = { } configuration = { - module: { - rules: [ - { oneOf: [ - { - test: { - and: [ - /a.\.js$/, - /b\.js$/ - ] - }, - loader: "./loader?first" - }, - { - test: [ - require.resolve("./a"), - require.resolve("./c"), - ], - issuer: require.resolve("./b"), - use: [ - "./loader?second-1", - { - loader: "./loader", - options: "second-2" - }, - { - loader: "./loader", - options: { - get: function() { return "second-3"; } - } - } - ] - }, - { - test: { - or: [ - require.resolve("./a"), - require.resolve("./c"), - ] - }, - loader: "./loader", - options: "third" - } - ]} - ] - } + module: { + rules: [ + { oneOf: [ + { + test: { + and: [ + /a.\.js$/, + /b\.js$/ + ] + }, + loader: "./loader?first" + }, + { + test: [ + require.resolve("./a"), + require.resolve("./c"), + ], + issuer: require.resolve("./b"), + use: [ + "./loader?second-1", + { + loader: "./loader", + options: "second-2" + }, + { + loader: "./loader", + options: { + get: function() { return "second-3"; } + } + } + ] + }, + { + test: { + or: [ + require.resolve("./a"), + require.resolve("./c"), + ] + }, + loader: "./loader", + options: "third" + } + ]} + ] + } } const resolve: webpack.Resolve = { @@ -543,35 +543,35 @@ const resolve: webpack.Resolve = { } const performance: webpack.PerformanceOptions = { - hints: 'error', - maxEntrypointSize: 400000, - maxAssetSize: 100000, - assetFilter: function(assetFilename) { - return assetFilename.endsWith('.js'); - }, + hints: 'error', + maxEntrypointSize: 400000, + maxAssetSize: 100000, + assetFilter: function(assetFilename) { + return assetFilename.endsWith('.js'); + }, }; configuration = { - performance, + performance, }; function loader(this: webpack.loader.LoaderContext, source: string, sourcemap: string): void { - this.cacheable(); + this.cacheable(); - this.async(); + this.async(); - this.addDependency(''); + this.addDependency(''); - this.resolve('context', 'request', ( err: Error, result: string) => {}); + this.resolve('context', 'request', ( err: Error, result: string) => {}); - this.emitError('wraning'); + this.emitError('wraning'); - this.callback(null, source); + this.callback(null, source); } module loader { - export const raw: boolean = true; - export const pitch = (remainingRequest: string, precedingRequest: string, data: any) => {}; + export const raw: boolean = true; + export const pitch = (remainingRequest: string, precedingRequest: string, data: any) => {}; } const loaderRef: webpack.loader.Loader = loader; console.log(loaderRef.raw === true); From 7463c5be2d100666880d980478395a0a18a89d8f Mon Sep 17 00:00:00 2001 From: Benjamin Lim Date: Mon, 6 Feb 2017 09:18:30 +0800 Subject: [PATCH 457/613] fix: pass failing tests remove undefined from LoaderContext.callback type --- webpack/index.d.ts | 2 +- webpack/webpack-tests.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/webpack/index.d.ts b/webpack/index.d.ts index 09e1a22421..5f3dcb1688 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -810,7 +810,7 @@ declare namespace webpack { data?: any; - callback: loaderCallback | undefined; + callback: loaderCallback; /** diff --git a/webpack/webpack-tests.ts b/webpack/webpack-tests.ts index be36076307..0969070323 100644 --- a/webpack/webpack-tests.ts +++ b/webpack/webpack-tests.ts @@ -217,7 +217,8 @@ declare var require: any; declare var path: any; configuration = { plugins: [ - function() { + /** @todo `this` should be typed as webpack.compiler.Compiler (which should be webpack.Compiler), not webpack.Webpack */ + function(this: any) { this.plugin("done", function(stats: any) { require("fs").writeFileSync( path.join(__dirname, "...", "stats.json"), From 2b25f6b2b8bfff0d8d4ee24a39daa1bfceb82a42 Mon Sep 17 00:00:00 2001 From: Benjamin Lim Date: Mon, 6 Feb 2017 09:22:28 +0800 Subject: [PATCH 458/613] chore: remove OccurenceOrderPlugin --- webpack/index.d.ts | 6 ++---- webpack/webpack-tests.ts | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/webpack/index.d.ts b/webpack/index.d.ts index 5f3dcb1688..5def0965ff 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -598,9 +598,7 @@ declare namespace webpack { * Assign the module and chunk ids by occurrence count. Ids that are used often get lower (shorter) ids. * This make ids predictable, reduces to total file size and is recommended. */ - // TODO: This is a typo, and will be removed in Webpack 2. - OccurenceOrderPlugin: optimize.OccurenceOrderPluginStatic; - OccurrenceOrderPlugin: optimize.OccurenceOrderPluginStatic; + OccurrenceOrderPlugin: optimize.OccurrenceOrderPluginStatic; /** * Minimize all JavaScript output of chunks. Loaders are switched into minimizing mode. * You can pass an object containing UglifyJs options. @@ -1027,7 +1025,7 @@ declare namespace webpack { interface MinChunkSizePluginStatic { new (options: any): Plugin; } - interface OccurenceOrderPluginStatic { + interface OccurrenceOrderPluginStatic { new (preferEntry: boolean): Plugin; } interface UglifyJsPluginStatic { diff --git a/webpack/webpack-tests.ts b/webpack/webpack-tests.ts index 0969070323..a536a2713f 100644 --- a/webpack/webpack-tests.ts +++ b/webpack/webpack-tests.ts @@ -280,7 +280,7 @@ plugin = new webpack.BannerPlugin(banner, options); plugin = new webpack.optimize.DedupePlugin(); plugin = new webpack.optimize.LimitChunkCountPlugin(options); plugin = new webpack.optimize.MinChunkSizePlugin(options); -plugin = new webpack.optimize.OccurenceOrderPlugin(preferEntry); +plugin = new webpack.optimize.OccurrenceOrderPlugin(preferEntry); plugin = new webpack.optimize.OccurrenceOrderPlugin(preferEntry); plugin = new webpack.optimize.UglifyJsPlugin(options); plugin = new webpack.optimize.UglifyJsPlugin(); From dca67839219fbffde30a367397bdd54b6a52a68d Mon Sep 17 00:00:00 2001 From: Benjamin Lim Date: Mon, 6 Feb 2017 09:56:31 +0800 Subject: [PATCH 459/613] chore: remove LabeledModulesPlugin BREAKING CHANGE: remove webpack.Dependencies interface --- webpack/index.d.ts | 12 +----------- webpack/webpack-tests.ts | 1 - 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/webpack/index.d.ts b/webpack/index.d.ts index 5def0965ff..c077ef232a 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -492,7 +492,7 @@ declare namespace webpack { /** * dependencies namespace */ - dependencies: Dependencies; + dependencies: {}; /** * Replace resources that matches resourceRegExp with newResource. * If newResource is relative, it is resolve relative to the previous resource. @@ -613,13 +613,6 @@ declare namespace webpack { AggressiveMergingPlugin: optimize.AggressiveMergingPluginStatic; } - interface Dependencies { - /** - * Support Labeled Modules. - */ - LabeledModulesPlugin: dependencies.LabeledModulesPluginStatic; - } - interface DirectoryDescriptionFilePluginStatic { new (file: string, files: string[]): Plugin; } @@ -1041,9 +1034,6 @@ declare namespace webpack { } namespace dependencies { - interface LabeledModulesPluginStatic { - new (): Plugin; - } } namespace compiler { diff --git a/webpack/webpack-tests.ts b/webpack/webpack-tests.ts index a536a2713f..9515f6045b 100644 --- a/webpack/webpack-tests.ts +++ b/webpack/webpack-tests.ts @@ -345,7 +345,6 @@ plugin = new CommonsChunkPlugin({ // (3 children must share the module before it's separated) }); plugin = new webpack.optimize.AggressiveMergingPlugin(options); -plugin = new webpack.dependencies.LabeledModulesPlugin(); plugin = new webpack.DefinePlugin(definitions); plugin = new webpack.DefinePlugin({ VERSION: JSON.stringify("5fa3b9"), From f522cb689bda7db05d6cd951820ed43988370cd5 Mon Sep 17 00:00:00 2001 From: Benjamin Lim Date: Tue, 7 Feb 2017 08:23:53 +0800 Subject: [PATCH 460/613] chore: remove ResolverPlugin --- webpack/index.d.ts | 23 ----------------------- webpack/webpack-tests.ts | 20 -------------------- 2 files changed, 43 deletions(-) diff --git a/webpack/index.d.ts b/webpack/index.d.ts index c077ef232a..9801249051 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -515,10 +515,6 @@ declare namespace webpack { * This can boost performance. Try to profile the build first to determine clever prefetching points. */ PrefetchPlugin: PrefetchPluginStatic; - /** - * Apply a plugin (or array of plugins) to one or more resolvers (as specified in types). - */ - ResolverPlugin: ResolverPluginStatic; /** * Adds a banner to the top of each generated chunk. */ @@ -613,10 +609,6 @@ declare namespace webpack { AggressiveMergingPlugin: optimize.AggressiveMergingPluginStatic; } - interface DirectoryDescriptionFilePluginStatic { - new (file: string, files: string[]): Plugin; - } - interface NormalModuleReplacementPluginStatic { new (resourceRegExp: any, newResource: any): Plugin; } @@ -635,21 +627,6 @@ declare namespace webpack { new (request: any): Plugin; } - interface ResolverPluginStatic { - new (plugins: Plugin[], files?: string[]): Plugin; - DirectoryDescriptionFilePlugin: DirectoryDescriptionFilePluginStatic; - /** - * This plugin will append a path to the module directory to find a match, - * which can be useful if you have a module which has an incorrect “main†entry in its package.json/bower.json etc (e.g. "main": "Gruntfile.js"). - * You can use this plugin as a special case to load the correct file for this module. Example: - */ - FileAppendPlugin: FileAppendPluginStatic; - } - - interface FileAppendPluginStatic { - new (files: string[]): Plugin; - } - interface BannerPluginStatic { new (banner: any, options: any): Plugin; } diff --git a/webpack/webpack-tests.ts b/webpack/webpack-tests.ts index 9515f6045b..e2e643a1da 100644 --- a/webpack/webpack-tests.ts +++ b/webpack/webpack-tests.ts @@ -32,18 +32,6 @@ rule = { query: { mimetype: "image/png" } }; -// -// https://webpack.github.io/docs/using-plugins.html -// - -configuration = { - plugins: [ - new webpack.ResolverPlugin([ - new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin("bower.json", ["main"]) - ], ["normal", "loader"]) - ] -}; - // // http://webpack.github.io/docs/tutorials/getting-started/ // @@ -268,14 +256,6 @@ plugin = new webpack.IgnorePlugin(requestRegExp, contextRegExp); plugin = new webpack.PrefetchPlugin(context, request); plugin = new webpack.PrefetchPlugin(request); -plugin = new webpack.ResolverPlugin(plugins, types); -plugin = new webpack.ResolverPlugin(plugins); -plugin = new webpack.ResolverPlugin([ - new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin("bower.json", ["main"]) -], ["normal", "loader"]); -plugin = new webpack.ResolverPlugin([ - new webpack.ResolverPlugin.FileAppendPlugin(['/dist/compiled-moduled.js']) -]); plugin = new webpack.BannerPlugin(banner, options); plugin = new webpack.optimize.DedupePlugin(); plugin = new webpack.optimize.LimitChunkCountPlugin(options); From f0bebc6824ff1ba77616f660c87928f4eb8a72ad Mon Sep 17 00:00:00 2001 From: Benjamin Lim Date: Tue, 7 Feb 2017 08:31:40 +0800 Subject: [PATCH 461/613] chore: remove overloaded CommonsChunkPlugin constructor https://github.com/webpack/webpack/blob/d7384e2f6a17187e59ec2831b41ee813ec158f14/lib/optimize/CommonsChunkPlugin.js#L10-L25 --- .../extract-text-webpack-plugin-tests.ts | 5 ++++- webpack/index.d.ts | 1 - webpack/webpack-tests.ts | 14 ++++++++------ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/extract-text-webpack-plugin/extract-text-webpack-plugin-tests.ts b/extract-text-webpack-plugin/extract-text-webpack-plugin-tests.ts index 62e522a348..63177ebde3 100644 --- a/extract-text-webpack-plugin/extract-text-webpack-plugin-tests.ts +++ b/extract-text-webpack-plugin/extract-text-webpack-plugin-tests.ts @@ -58,7 +58,10 @@ configuration = { configuration = { // ... plugins: [ - new optimize.CommonsChunkPlugin("commons", "commons.js"), + new optimize.CommonsChunkPlugin({ + name: "commons", + filename: "commons.js", + }), new ExtractTextPlugin("[name].css") ] }; diff --git a/webpack/index.d.ts b/webpack/index.d.ts index 9801249051..43ced0bce5 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -1002,7 +1002,6 @@ declare namespace webpack { new (options?: UglifyPluginOptions): Plugin; } interface CommonsChunkPluginStatic { - new (chunkName: string, filenames?: string | string[]): Plugin; new (options?: any): Plugin; } interface AggressiveMergingPluginStatic { diff --git a/webpack/webpack-tests.ts b/webpack/webpack-tests.ts index e2e643a1da..4ed9fc3b31 100644 --- a/webpack/webpack-tests.ts +++ b/webpack/webpack-tests.ts @@ -62,7 +62,10 @@ configuration = { filename: "bundle.js" }, plugins: [ - new webpack.optimize.CommonsChunkPlugin(/* chunkName= */"vendor", /* filename= */"vendor.bundle.js") + new webpack.optimize.CommonsChunkPlugin({ + name: "vendor", + filename: "vendor.bundle.js", + }), ] }; @@ -126,10 +129,6 @@ configuration = { output: { filename: "[name].js" }, - plugins: [ - new CommonsChunkPlugin("admin-commons.js", ["ap1", "ap2"]), - new CommonsChunkPlugin("commons.js", ["p1", "p2", "admin-commons.js"]) - ] }; //